Package: libnotify1
Version: 0.5.0-2
Severity: normal

libnotify raises the following exception in notify_uninit if it is
called immediately after notify_init:

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

If notify_notification_new is called between notify_init and
notify_uninit, the exception is not raised.

Code to reproduce:

    #include <libnotify/notify.h>

    int main (void)
    {
        notify_init ("test");
        notify_uninit ();
        return 0;
    }

Backtrace:

    #0  IA__g_return_if_fail_warning (log_domain=0x7ffff5145712 "GLib-GObject", 
        pretty_function=0x7ffff5147370 "IA__g_object_unref", 
        expression=0x7ffff514653a "G_IS_OBJECT (object)")
        at /scratch/build-area/glib2.0-2.24.2/glib/gmessages.c:577
    #1  0x00007ffff7bda02a in notify_uninit () from /usr/lib/libnotify.so.1
    #2  0x00000000004007c7 in main () at notify.c:6

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnotify1 depends on:
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libdbus-glib-1-2       0.88-2            simple interprocess messaging syst
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 

Versions of packages libnotify1 recommends:
ii  notification-daemon           0.5.0-2    daemon to displays passive pop-up 

libnotify1 suggests no packages.

-- no debconf information

Reply via email to