[Bug 37288] New: Crash on _get_entities_async_thread's GSimpleAsyncResult

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 16:30:03 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37288

           Summary: Crash on _get_entities_async_thread's
                    GSimpleAsyncResult
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: pochu27 at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


[ See https://bugzilla.gnome.org/show_bug.cgi?id=650394 ]

_get_entities_async_thread has:

  lst = _tpl_log_manager_get_entities (async_data->manager,
event_info->account);

  g_simple_async_result_set_op_res_gpointer (simple, lst,
      (GDestroyNotify) tpl_log_manager_search_free);

That's wrong as _tpl_log_manager_get_entities doesn't return a list of
TplLogSearchHit, but a list of TplEntity. We should call _list_of_object_free
instead.

The bt is:

Thread 1 (Thread 0x7ffff7fa49c0 (LWP 17726)):
#0  0x00007fffeda41a80 in g_object_unref () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007ffff3b0c6cd in _tpl_log_manager_search_hit_free (hit=0x10fd000) at
log-manager.c:750
#2  0x00007ffff3b0c705 in tpl_log_manager_search_free (hits=0xb16520) at
log-manager.c:770
#3  0x00007fffedce6dff in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffeda41be4 in g_object_unref () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007fffedce7cde in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fffed174bcd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fffed1753a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fffed1759f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffefad1af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x000000000044fee3 in main (argc=1, argv=0x7fffffffe108) at empathy.c:566

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list