[Bug 27242] New: 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 15:41:20 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27242

           Summary: tp_g_signal_connect_object: Invalid read in
                    object_remove_closure when observer is destroyed
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk


To reproduce:
- Get
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/connect-weak-613583
- Start Empathy
- Stop Empathy
- Empathy crashes because of this error

==13124== Invalid read of size 4
==13124==    at 0xD79237F: object_remove_closure (gobject.c:3017)
==13124==    by 0xD79046C: g_closure_invalidate (gclosure.c:269)
==13124==    by 0xD79023C: g_closure_unref (gclosure.c:589)
==13124==    by 0xD79F98C: handler_unref_R (gsignal.c:637)
==13124==    by 0xD79FD37: g_signal_handler_disconnect (gsignal.c:2384)
==13124==    by 0x5F66B62: observer_destroyed_cb (util.c:896)
==13124==    by 0xD791DDF: weak_refs_notify (gobject.c:1992)
==13124==    by 0xDBF31B1: g_datalist_clear (gdataset.c:120)
==13124==    by 0xD792550: g_object_unref (gobject.c:2441)
==13124==    by 0x43F0CE: main (empathy.c:737)
==13124==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

This used to work fine using empathy_signal_connect_weak so I guess that's a
tp-glib issue.


-- 
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