empathy-chat crashes in libtelepathy-logger while reading pidgin logs
Submitted by CapSel
Assigned to Telepathy bugs list
Description
telepathy logger 0.8.2 empathy 3.12.10
I've been using pidgin (in KDE) for a long time. Now I've decided to try gnome3. After double clicking on the contact list in empathy on some contacts empathy-chat did open a chat window. For other contacts this bug caused crash. I've seen in dmesg series of logs about crash in libtelepathy-logger.so.3.3.0.
I've compiled empathy and telepathy-logger with debugging symbols and that's what I've found with gdb:
[Switching to Thread 0x7fca97fff700 (LWP 2114)]
0x00007fcb07c287d7 in tpl_log_iter_pidgin_get_events (iter=<optimized out>, num_events=5, error=<optimized out>)
at log-iter-pidgin.c:87
87 event = TPL_EVENT (priv->next_event->data);
(gdb) bt
#0 0x00007fcb07c287d7 in tpl_log_iter_pidgin_get_events (iter=<optimized out>, num_events=5, error=<optimized out>)
at log-iter-pidgin.c:87
#1 0x00007fcb07c34703 in tpl_log_walker_fill_cache_async_thread (simple=0x7fca700032b0, object=<optimized out>,
cancellable=<optimized out>) at log-walker.c:310
#2 0x00007fcb09c02b0f in ?? () from /usr/lib/libgio-2.0.so.0
#3 0x00007fcb09bef126 in ?? () from /usr/lib/libgio-2.0.so.0
#4 0x00007fcb09c139c5 in ?? () from /usr/lib/libgio-2.0.so.0
#5 0x00007fcb0918bfb8 in ?? () from /usr/lib/libglib-2.0.so.0
#6 0x00007fcb0918b625 in ?? () from /usr/lib/libglib-2.0.so.0
#7 0x00007fcb08cf3354 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007fcb08a31bfd in clone () from /usr/lib/libc.so.6
(gdb) print priv
$1 = (TplLogIterPidginPriv *) 0x1e9cd20
(gdb) print priv->next_event
$2 = (GList *) 0x0
(gdb) list
82
83 priv->next_event = g_list_last (priv->events);
84 priv->next_date = g_list_previous (priv->next_date);
85 }
86
87 event = TPL_EVENT (priv->next_event->data);
88 events = g_list_prepend (events, g_object_ref (event));
89 i++;
90
91 priv->next_event = g_list_previous (priv->next_event);
My ~/.purple was a symbolic link. After removing it crashes stopped.
This problem is repeatable 100% of time (with symlink in place) so if you need something more sent me an email.