SIGSEGV when cancelling async calls

Bug #684624 reported by Mikkel Kamstrup Erlandsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libzeitgeist
Fix Released
Undecided
Unassigned

Bug Description

This bug was reported by Michal Hruby, his words below:
-------------------------

0.2.12 can die a horrible death when one cancels
find_events/get_events/search call, resulting in:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4d4c53f in zeitgeist_log_find_events_finish (self=0xc88dc0,
   res=0xde9460, error=0x713958) at zeitgeist-log.c:655
655 return _zeitgeist_simple_result_set_new (events, events->len);
(gdb) bt
#0 0x00007ffff4d4c53f in zeitgeist_log_find_events_finish (self=0xc88dc0,
   res=0xde9460, error=0x713958) at zeitgeist-log.c:655
#1 0x0000000000476027 in synapse_zeitgeist_plugin_real_search_co (
   data=0x7137d0) at zeitgeist-plugin.c:1481
#2 0x00007ffff4d4b628 in dispatch_async_callback (source_object=0xaa7050,
   res=0xde9460, user_data=0xe91d20) at zeitgeist-log.c:262
#3 0x00007ffff4d5ceef in generic_async_callback (source_object=0xc84440,
   res=0xde9760, user_data=0xde9460) at eggzeitgeistlog.c:522
#4 0x00007ffff4b131d9 in ?? () from /usr/lib/libeggdbus-1.so.0
#5 0x00007ffff4b135a5 in egg_dbus_connection_pending_call_cancel ()
  from /usr/lib/libeggdbus-1.so.0
#6 0x00007ffff4b1367d in ?? () from /usr/lib/libeggdbus-1.so.0
#7 0x00007ffff44045de in g_closure_invoke ()
  from /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff4418598 in ?? () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff4419a76 in g_signal_emit_valist ()
  from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff441a033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff486478e in g_cancellable_cancel ()
  from /usr/lib/libgio-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#12 0x00000000004336b3 in _lambda7_ (instance=<value optimized out>,
   self=<value optimized out>) at data-sink.c:1310
#13 __lambda7__gcallback (instance=<value optimized out>,
   self=<value optimized out>) at data-sink.c:1319
#14 0x00007ffff44045de in g_closure_invoke ()
  from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff4418598 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff4419a76 in g_signal_emit_valist ()
  from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff441a033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff486478e in g_cancellable_cancel ()
  from /usr/lib/libgio-2.0.so.0

I fixed the issue in
https://code.launchpad.net/~mhr3/libzeitgeist/eggdbus-stable-patch, and
it'd be nice to have one more bug fix release of the 0.2 branch - and
it'd also have the new vapi, yay! :)

Related branches

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Fixed in 0.2.14

Changed in libzeitgeist:
status: New → Fix Released
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.