After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696328 - empathy-debugger crashed with SIGSEGV
empathy-debugger crashed with SIGSEGV
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
3.6.x
Other Linux
: Normal critical
: 3.8
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-21 20:28 UTC by Bilal Shahid
Modified: 2013-09-09 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug-window: ellipsize the message text renderer (1.17 KB, patch)
2013-09-09 13:17 UTC, Guillaume Desmottes
committed Details | Review

Description Bilal Shahid 2013-03-21 20:28:21 UTC
Originally reported at:
  https://bugs.launchpad.net/bugs/1123068

Just opening help -> debug caused this error after a second or two.

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: empathy 3.6.3-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
Uname: Linux 3.8.0-2-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Tue Feb 12 14:35:16 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/empathy-debugger
InstallationDate: Installed on 2012-11-09 (94 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121109)
MarkForUpload: True
ProcCmdline: /usr/bin/empathy-debugger -s Empathy.Call
ProcEnviron:
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f42338d58a6:	mov    0x1c(%rax),%esi
 PC (0x7f42338d58a6) ok
 source "0x1c(%rax)" (0x0000001c) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: empathy
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
Title: empathy-debugger crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
XsessionErrors:
 (gnome-settings-daemon:2194): media-keys-plugin-WARNING **: Unable to get default sink
 (gnome-settings-daemon:2194): media-keys-plugin-WARNING **: Unable to get default sink
 (gnome-settings-daemon:2194): media-keys-plugin-WARNING **: Unable to get default sink
Comment 1 Bilal Shahid 2013-03-21 20:28:55 UTC


  • #0 composite_aligned_boxes
    at /build/buildd/cairo-1.12.14/src/cairo-traps-compositor.c line 1276
  • #1 clip_and_composite_boxes
    at /build/buildd/cairo-1.12.14/src/cairo-traps-compositor.c line 1766
  • #2 _cairo_traps_compositor_fill
    at /build/buildd/cairo-1.12.14/src/cairo-traps-compositor.c line 2215
  • #3 _cairo_compositor_fill
    at /build/buildd/cairo-1.12.14/src/cairo-compositor.c line 203
  • #4 _cairo_xlib_surface_fill
    at /build/buildd/cairo-1.12.14/src/cairo-xlib-surface.c line 1645
  • #5 _cairo_surface_fill
    at /build/buildd/cairo-1.12.14/src/cairo-surface.c line 2238
  • #6 _cairo_surface_offset_fill
    at /build/buildd/cairo-1.12.14/src/cairo-surface-offset.c line 239
  • #7 _cairo_surface_subsurface_fill
    at /build/buildd/cairo-1.12.14/src/cairo-surface-subsurface.c line 165
  • #8 _cairo_surface_fill
    at /build/buildd/cairo-1.12.14/src/cairo-surface.c line 2238
  • #9 _cairo_gstate_fill
    at /build/buildd/cairo-1.12.14/src/cairo-gstate.c line 1308
  • #10 _cairo_default_context_fill
    at /build/buildd/cairo-1.12.14/src/cairo-default-context.c line 1053
  • #11 cairo_fill
    at /build/buildd/cairo-1.12.14/src/cairo.c line 2201
  • #12 gtk_border_image_render_slice
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkborderimage.c line 210
  • #13 _gtk_border_image_render
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkborderimage.c line 306
  • #14 render_frame_internal
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkthemingengine.c line 1751
  • #15 gtk_render_frame
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkstylecontext.c line 3842
  • #16 gtk_button_draw
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkbutton.c line 1724
  • #17 _gtk_marshal_BOOLEAN__BOXEDv
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkmarshalers.c line 130
  • #18 gtk_widget_draw_marshallerv
    at /build/buildd/gtk+3.0-3.6.4/./gtk/gtkwidget.c line 851
  • #19 g_closure_add_marshal_guards
    at /build/buildd/glib2.0-2.35.8/./gobject/gclosure.c line 389
  • #20 thread_memory_from_self
    at /build/buildd/glib2.0-2.35.8/./glib/gslice.c line 500
  • #21 g_slice_free_chain_with_offset
    at /build/buildd/glib2.0-2.35.8/./glib/gslice.c line 1160
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??

Comment 2 Guillaume Desmottes 2013-05-24 13:50:33 UTC
I can reproduce this but valgrind isn't helping :(
Comment 3 Guillaume Desmottes 2013-05-31 14:16:19 UTC
Seems related to https://bugs.freedesktop.org/show_bug.cgi?id=63196

I tried with Cairo master and now get this fatal error:

(lt-empathy-debugger:25388): Gdk-ERROR **: The program 'lt-empathy-debugger' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 2809 error_code 11 request_code 130 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 4 Guillaume Desmottes 2013-05-31 14:30:25 UTC
Actually this seems to be a Gtk+ issue. I doesn't crash with Gtk+ 3.6.4 but does with 3.8 (just tested with f9dd457b25c66bf86925369339766ceb9112a92c here).
Comment 5 Guillaume Desmottes 2013-05-31 14:56:57 UTC
Interesting, if I comment out "g_object_set (G_OBJECT (cell), "text", tp_debug_message_get_message (msg), NULL);" in debug_window_message_formatter() it doesn't crash.
Comment 6 Guillaume Desmottes 2013-09-09 13:17:40 UTC
Created attachment 254478 [details] [review]
debug-window: ellipsize the message text renderer

Ridiculously long messages were crashing empathy-debugger because Pango
weren't able to display them all.
Comment 7 Simon McVittie 2013-09-09 13:19:35 UTC
Review of attachment 254478 [details] [review]:

Yay!
Comment 8 Guillaume Desmottes 2013-09-09 13:24:10 UTC
Attachment 254478 [details] pushed as fa72bed - debug-window: ellipsize the message text renderer