Ticket #145 (defect)

Opened 1 year ago

Last modified 1 year ago

Crash when using the Bubble theme

Status: new

Reported by: ebylund Assigned to: chipx86
Priority: normal Milestone:
Component: notification-daemon Version:
Severity: major Keywords:
Cc: D-BUS Version:
Patch Included: 1 OS/Distro Version:

notification-daemon crashes when displaying notifications with (multiple?) buttons when the Bubble theme is enabled (the default in openSUSE).

Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2b77d1b1fe30 (LWP 30086)]
0x00002b77d0590b45 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b77d0590b45 in raise () from /lib64/libc.so.6
#1  0x00002b77d05920e0 in abort () from /lib64/libc.so.6
#2  0x00002b77d02ce6aa in IA__g_logv (log_domain=0x2b77ccc667d7 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, 
    format=0x2b77d03162bd "%s: assertion `%s' failed", args1=0x7fffe0233550) at gmessages.c:497
#3  0x00002b77d02ce743 in IA__g_log (log_domain=0x7586 <Address 0x7586 out of bounds>, log_level=30086, format=0x6 <Address 0x6 out of bounds>)
    at gmessages.c:517
#4  0x00002b77d55687da in _layout_window (bubble_widget=0x88a020, alignment=<value optimized out>) at eggnotificationbubblewidget.c:212
#5  0x00002b77d5568e57 in egg_notification_bubble_widget_set_pos (bubble_widget=0x88a020, x=567, y=664) at eggnotificationbubblewidget.c:630
#6  0x000000000040605e in notify_stack_shift_notifications (stack=0x64c0f0, nw=0x88a200, nw_l=0x0, init_width=585, init_height=<value optimized out>, 
    nw_x=0x7fffe023381c, nw_y=0x7fffe0233818) at stack.c:234
#7  0x00000000004062cc in notify_stack_add_window (stack=0x64c0f0, nw=0x88a200, new_notification=1) at stack.c:252
#8  0x00000000004043ec in notify_daemon_notify_handler (daemon=0x628d90, app_name=<value optimized out>, id=0, icon=0x8d7d00 "", 
    summary=<value optimized out>, body=0x8d7c60 "", actions=0x716570, hints=0x726740, timeout=5000, context=0x884f80) at daemon.c:972
#9  0x00000000004051ca in dbus_glib_marshal_notification_daemon_VOID__STRING_UINT_STRING_STRING_STRING_BOXED_BOXED_INT_POINTER (closure=0x7fffe0233b90, 
    return_value=<value optimized out>, n_param_values=<value optimized out>, param_values=0x8d2e40, invocation_hint=<value optimized out>, 
    marshal_data=0x403ec0) at notificationdaemon-dbus-glue.h:100
#10 0x00002b77caa9c200 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#11 0x00002b77cacc9019 in ?? () from /lib64/libdbus-1.so.3
#12 0x00002b77cacbcfa7 in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
#13 0x00002b77caa98fb5 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#14 0x00002b77d02c6064 in IA__g_main_context_dispatch (context=0x642f20) at gmain.c:2061
#15 0x00002b77d02c935d in g_main_context_iterate (context=0x642f20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2694
#16 0x00002b77d02c9657 in IA__g_main_loop_run (loop=0x650680) at gmain.c:2898
#17 0x00002b77ccafdef3 in IA__gtk_main () at gtkmain.c:1144
#18 0x0000000000404ed4 in main (argc=1, argv=0x7fffe02340d8) at daemon.c:1111
#19 0x00002b77d057db54 in __libc_start_main () from /lib64/libc.so.6
#20 0x0000000000403739 in _start ()

Attachments

notification-daemon-0.3.7-bubble-theme-fix.patch (2.1 kB) - added by ebylund on 09/28/07 16:12:27.
Patch fixing the bug
notify-test.python (1.0 kB) - added by ebylund on 10/01/07 11:16:13.
Test program

Change History

09/28/07 16:12:27: Modified by ebylund

  • attachment notification-daemon-0.3.7-bubble-theme-fix.patch added.

Patch fixing the bug

09/28/07 16:12:54: Modified by ebylund

  • patch_included set to 1.

10/01/07 11:12:39: Modified by ebylund

Ok, it only crashes when modifying/reusing a notification that has a number of actions defined.

10/01/07 11:16:13: Modified by ebylund

  • attachment notify-test.python added.

Test program