notify-send crashed with SIGABRT in g_return_if_fail_warning()

Bug #721777 reported by Fabien Tassin
108
This bug affects 22 people
Affects Status Importance Assigned to Milestone
libnotify4 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libnotify4

I find this regularly in my /var/crash.
It's from a script doing something like:

notify-send -i /usr/share/icons/gnome/48x48/status/dialog-warning.png foo

works most of the time, but sometimes dies with:

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
aborting...
Aborted (core dumped)

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: libnotify-bin 0.7.1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-4.31-generic 2.6.38-rc5
Uname: Linux 2.6.38-4-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Feb 19 05:05:08 2011
ExecutablePath: /usr/bin/notify-send
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100331)
ProcCmdline: notify-send -i /usr/share/icons/gnome/256x256/categories/applications-internet.png opening\ firewall\ on\ cube
ProcCwd: /home/fta
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/usr/bin/tcsh
Signal: 6
SourcePackage: libnotify4
StacktraceTop:
 g_return_if_fail_warning (log_domain=0x95378c "GLib-GObject", pretty_function=0x955c22 "g_object_unref", expression=0x954df6 "G_IS_OBJECT (object)") at /build/buildd/glib2.0-2.28.0/glib/gmessages.c:586
 g_object_unref (_object=0x0) at /build/buildd/glib2.0-2.28.0/gobject/gobject.c:2669
 g_dbus_proxy_finalize (object=0x8a50408) at /build/buildd/glib2.0-2.28.0/gio/gdbusproxy.c:159
 g_object_unref (_object=0x8a50408) at /build/buildd/glib2.0-2.28.0/gobject/gobject.c:2734
 g_initable_new_valist (object_type=145024832, first_property_name=0x470932 "g-flags", var_args=0xbfcb48c0 "\001", cancellable=0x0, error=0x0) at /build/buildd/glib2.0-2.28.0/gio/ginitable.c:221
Title: notify-send crashed with SIGABRT in g_return_if_fail_warning()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare wireshark

Revision history for this message
Fabien Tassin (fta) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libnotify4 (Ubuntu):
status: New → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate an useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

libgcc1: installed version 1:4.5.2-3ubuntu1, latest version: 1:4.5.2-3ubuntu2
libc6-dbg: installed version 2.13~pre1-0ubuntu1, latest version: 2.13-0ubuntu1
debconf: installed version 1.5.36ubuntu3, latest version: 1.5.36ubuntu4
gcc-4.5-base: installed version 4.5.2-3ubuntu1, latest version: 4.5.2-3ubuntu2
libgcc1-dbg: installed version 1:4.5.2-3ubuntu1, latest version: 1:4.5.2-3ubuntu2
libxcb1-dbg: installed version 1.6-1, latest version: 1.7-2
libbz2-1.0: installed version 1.0.5-6, latest version: 1.0.5-6ubuntu1
libxcb1: installed version 1.6-1, latest version: 1.7-2
libc-bin: installed version 2.13~pre1-0ubuntu1, latest version: 2.13-0ubuntu1
debconf-i18n: installed version 1.5.36ubuntu3, latest version: 1.5.36ubuntu4
libc6: installed version 2.13~pre1-0ubuntu1, latest version: 2.13-0ubuntu1

Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.

Thank you for your understanding, and sorry for the inconvenience!

tags: removed: need-i386-retrace
Revision history for this message
Fabien Tassin (fta) wrote :

here is the proper stack trace, with G_DEBUG=fatal_criticals:

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
aborting...

Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
------------------------------------------------
(gdb) bt
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00298e61 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x0029c33e in abort () at abort.c:92
#3 0x001c7077 in g_logv (log_domain=0x17178c "GLib-GObject", log_level=<value optimized out>, format=0x2108a0 "%s: assertion `%s' failed", args1=0xbffff46c "\"<\027") at /build/buildd/glib2.0-2.28.0/glib/gmessages.c:557
#4 0x001c70b2 in g_log (log_domain=0x17178c "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=0x2108a0 "%s: assertion `%s' failed") at /build/buildd/glib2.0-2.28.0/glib/gmessages.c:577
#5 0x001c72dd in g_return_if_fail_warning (log_domain=0x17178c "GLib-GObject", pretty_function=0x173c22 "g_object_unref", expression=0x172df6 "G_IS_OBJECT (object)") at /build/buildd/glib2.0-2.28.0/glib/gmessages.c:586
#6 0x00143802 in g_object_unref (_object=0x0) at /build/buildd/glib2.0-2.28.0/gobject/gobject.c:2669
#7 0x0049fad3 in g_dbus_proxy_finalize (object=0x8056408) at /build/buildd/glib2.0-2.28.0/gio/gdbusproxy.c:159
#8 0x0014396c in g_object_unref (_object=0x8056408) at /build/buildd/glib2.0-2.28.0/gobject/gobject.c:2734
#9 0x00436292 in g_initable_new_valist (object_type=134563680, first_property_name=0x4e3932 "g-flags", var_args=0xbffff5a0 "\001", cancellable=0x0, error=0x0) at /build/buildd/glib2.0-2.28.0/gio/ginitable.c:221
#10 0x004362d9 in g_initable_new (object_type=134563680, cancellable=0x0, error=0x0, first_property_name=0x4e3932 "g-flags") at /build/buildd/glib2.0-2.28.0/gio/ginitable.c:139
#11 0x004a1230 in g_dbus_proxy_new_for_bus_sync (bus_type=G_BUS_TYPE_SESSION, flags=G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, info=0x0, name=0x13334d "org.freedesktop.Notifications", object_path=0x1333dc "/org/freedesktop/Notifications", interface_name=0x13334d "org.freedesktop.Notifications", cancellable=0x0, error=0x0) at /build/buildd/glib2.0-2.28.0/gio/gdbusproxy.c:1881
#12 0x00130f66 in _notify_get_proxy (error=0x0) at notify.c:229
#13 0x001320d3 in notify_notification_show (notification=0x8052290, error=0x0) at notification.c:518
#14 0x080493d1 in main (argc=1, argv=0xbffff854) at notify-send.c:269

visibility: private → public
Changed in libnotify4 (Ubuntu):
status: Invalid → New
Revision history for this message
Fabien Tassin (fta) wrote :

I can reproduce easily.

It started on 2011-02-14.

Revision history for this message
Fabien Tassin (fta) wrote :

seems to be a regression in the last dbus-glib..

Revision history for this message
Vsevolod Velichko (torkvemada) wrote :

with libnotify-bin 0.7.2-0ubuntu2 problem can be reproduced.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libnotify4 (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

This version has expired long time ago, and is no more supported

Changed in libnotify4 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.