Bug 90618 - empathy-chat crashes in libtelepathy-logger while reading pidgin logs
Summary: empathy-chat crashes in libtelepathy-logger while reading pidgin logs
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-24 15:39 UTC by CapSel
Modified: 2019-12-03 19:32 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description CapSel 2015-05-24 15:39:03 UTC
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.
Comment 1 Vincent Untz 2015-10-23 14:44:11 UTC
I'm hitting the same crash with polari (although, interestingly enough, empathy is not crashing).

I solved that by moving away the irc logs from libpurple...
Comment 2 GitLab Migration User 2019-12-03 19:32:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/40.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.