GNOME Bugzilla – Bug 678807
empathy-chat crashed with SIGSEGV in _tp_base_client_handle_channels()
Last modified: 2012-06-27 15:04:04 UTC
Created attachment 217230 [details] stacktrace Crashed when opening chat window ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: empathy 3.5.1-0ubuntu3 ProcVersionSignature: Ubuntu 3.5.0-1.1-generic 3.5.0-rc3 Uname: Linux 3.5.0-1-generic x86_64 ApportVersion: 2.2.5-0ubuntu1 Architecture: amd64 Date: Mon Jun 25 14:16:14 2012 ExecutablePath: /usr/lib/empathy/empathy-chat InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1) ProcCmdline: /usr/lib/empathy/empathy-chat ProcEnviron: SHELL=/bin/bash PATH=(custom, no user) LANGUAGE=nl:en_AU:en LANG=nl_BE.UTF-8 SegvAnalysis: Segfault happened at: 0x7f36a4bae0d8: mov 0x8(%rax),%r8 PC (0x7f36a4bae0d8) ok source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)! destination "%r8" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: empathy StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libtelepathy-glib.so.0 ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 g_cclosure_marshal_generic () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2 Title: empathy-chat crashed with SIGSEGV in ffi_call_unix64() UpgradeStatus: Upgraded to quantal on 2012-06-19 (5 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare XsessionErrors: (gnome-shell-calendar-server:2299): GLib-GIO-ERROR **: Settings schema 'org.gnome.evolution.calendar' is not installed (remmina:20717): Gtk-WARNING **: drawing failure for widget `GtkDrawingArea': invalid matrix (not invertible)
Comment on attachment 217230 [details] stacktrace [Please attach text files as text files. Thanks!]
Is this reproducible? Which version of telepathy-glib has been used to produce this trace?
I can confirm this bug, it happens to me on ubuntu precise (empathy 3.4.2.1) but with telepathy-glib from master (~0.19.1). Since it does not seems to happen with proper ubuntu precise, I guess this is a regression in tp-glib 0.19.x.
+ Trace 230436
The line is: DEBUG ("Failed to create TpChannel: %s", error->message); So I assume ensure_channel() returns a NULL channel and a NULL error. That must not happen.
Reported against tp-glib: https://bugs.freedesktop.org/show_bug.cgi?id=51444
That's indeed a race in tp-glib but I cooked a simple workaround in Empathy to fix the crash in 3.4.
Fixed in master and 3.4. I'll do a 3.4 release soon.
thanks