fdo notification backend: Crashes when dbus call fails
@baedert
Submitted by Timm Bäder Link to original bug (#784814)
Description
I'm not familiar enough with dbus to know what the problem is or where the FreedesktopNotification instance gets freed, but here's the backtrace:
#0 0x00007ffff3994233 in notification_sent (source_object=0x7fffe000b0b0, result=0x55555a31be10, user_data=0x55555a405470)
at /home/baedert/Source/gnome/glib/gio/gfdonotificationbackend.c:334
#1 0x00007ffff3a26be7 in g_task_return_now (task=0x55555a31be10) at /home/baedert/Source/gnome/glib/gio/gtask.c:1145
#2 0x00007ffff3a26d02 in g_task_return (task=0x55555a31be10, type=G_TASK_RETURN_ERROR) at /home/baedert/Source/gnome/glib/gio/gtask.c:1203
#3 0x00007ffff3a27d2f in g_task_return_error (task=0x55555a31be10, error=0x555557a42540) at /home/baedert/Source/gnome/glib/gio/gtask.c:1777
#4 0x00007ffff39e9e64 in g_dbus_connection_call_done (source=0x7fffe000b0b0, result=0x55555a324140, user_data=0x55555a31be10)
at /home/baedert/Source/gnome/glib/gio/gdbusconnection.c:5720
#5 0x00007ffff3a26be7 in g_task_return_now (task=0x55555a324140) at /home/baedert/Source/gnome/glib/gio/gtask.c:1145
#6 0x00007ffff3a26d02 in g_task_return (task=0x55555a324140, type=G_TASK_RETURN_ERROR) at /home/baedert/Source/gnome/glib/gio/gtask.c:1203
#7 0x00007ffff3a27d2f in g_task_return_error (task=0x55555a324140, error=0x555557a42540) at /home/baedert/Source/gnome/glib/gio/gtask.c:1777
#8 0x00007ffff3a27df6 in g_task_return_new_error (task=0x55555a324140, domain=1151, code=24, format=0x7ffff3ac699d "%s")
at /home/baedert/Source/gnome/glib/gio/gtask.c:1811
#9 0x00007ffff39e28d6 in send_message_data_deliver_error (task=0x55555a324140, domain=1151, code=24, message=0x7ffff3ac627f "Timeout was reached")
at /home/baedert/Source/gnome/glib/gio/gdbusconnection.c:1836
#10 0x00007ffff39e29ca in send_message_with_reply_timeout_cb (user_data=0x55555a324140)
at /home/baedert/Source/gnome/glib/gio/gdbusconnection.c:1878
#11 0x00007ffff3432f63 in g_timeout_dispatch.lto_priv.227 (source=0x55555a2c10b0, callback=0x7ffff39e298b <send_message_with_reply_timeout_cb>,
user_data=0x55555a324140) at /home/baedert/Source/gnome/glib/glib/gmain.c:4629
#12 0x00007ffff34310e6 in g_main_dispatch (context=0x555555a0ddd0) at /home/baedert/Source/gnome/glib/glib/gmain.c:3148
#13 0x00007ffff3431fb5 in g_main_context_dispatch (context=0x555555a0ddd0) at /home/baedert/Source/gnome/glib/glib/gmain.c:3813
#14 0x00007ffff3432199 in g_main_context_iterate (context=0x555555a0ddd0, block=1, dispatch=1, self=0x555555a1cef0)
at /home/baedert/Source/gnome/glib/glib/gmain.c:3886
#15 0x00007ffff343225d in g_main_context_iteration (context=0x555555a0ddd0, may_block=1) at /home/baedert/Source/gnome/glib/glib/gmain.c:3947
#16 0x00007ffff3a02fb8 in g_application_run (application=0x555555a210f0, argc=1, argv=0x7fffffffda08)
at /home/baedert/Source/gnome/glib/gio/gapplication.c:2378
#17 0x000055555564b5cb in _vala_main (args=0x7fffffffda08, args_length1=1) at main.c:49
#18 0x000055555564b614 in main (argc=1, argv=0x7fffffffda08) at main.c:57
Printing n seems to result in garbage: $5 = {backend = 0x3, id = 0x55555a1fc100 "\005", notify_id = 1445275904, default_action = 0x0, default_action_target = 0x55555a427ba0}
Version: 2.53.x