[Bug 27242] tp_g_signal_connect_object: Invalid read in object_remove_closure when observer is destroyed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 22 17:17:48 CET 2010
http://bugs.freedesktop.org/show_bug.cgi?id=27242
--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-03-22 09:17:48 PST ---
>From your backtrace, it appears this happens when the signal-receiver (the
"observer" in the terminology used in that code) loses its last reference, this
causes disconnection of the signal, and that causes the closure to be
invalidated, which somehow causes the closure to be removed from an object that
doesn't exist (it's unclear whether that object was meant to be the observer or
the emitter).
I've been unable to cause this situation in a simple test case, using GLib
2.22.4-1 (Debian unstable) and telepathy-glib git master. What version of GLib
are you using, and is it possible that it's buggy or behaves differently?
Could you try building and running tests/signal-connect-object.c from this
branch? It works for me, but if it fails for you then that might be
informative...
http://git.collabora.co.uk/?p=user/smcv/telepathy-glib-smcv.git;a=shortlog;h=refs/heads/signal-connect-test
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list