lightning-sunbird crashed with SIGSEGV in raise()

Bug #127092 reported by Erik Meitner
16
Affects Status Importance Assigned to Milestone
gray-theme (Ubuntu)
Fix Released
Undecided
Unassigned
lightning-extension-locales (Ubuntu)
Invalid
Undecided
Unassigned
lightning-sunbird (Ubuntu)
Invalid
Medium
Mozilla Bugs

Bug Description

Binary package hint: thunderbird

Double click any message in the Drafts folder of my Local Folders. Message window begins to open and TB crashes. Not sure if it is related but this began right after I had done some tweaking to the desktop theme settings.

After testing I found that sometimes it crashes without throwing SIGSEGV and apport does not catch it. In this case this is dumped when TB was run from a terminal:

$ thunderbird

***MEMORY-WARNING***: thunderbird-bin[27340]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
*** glibc detected *** /usr/lib/thunderbird/thunderbird-bin: munmap_chunk(): invalid pointer: 0x08e49020 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb745007b]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb76888e1]
/usr/lib/thunderbird/components/libgfx_gtk.so[0xb5452be6]
/usr/lib/thunderbird/components/libgfx_gtk.so[0xb5472189]
/usr/lib/thunderbird/components/libgklayout.so[0xb4d82c2d]
/usr/lib/thunderbird/components/libgklayout.so[0xb4d839b7]
/usr/lib/thunderbird/components/libgklayout.so[0xb4dc9a0b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edaa61]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda8d0]
/usr/lib/thunderbird/components/libgklayout.so[0xb4edb71b]
/usr/lib/thunderbird/components/libgklayout.so[0xb4eda9c5]
/usr/lib/thunderbird/components/libgklayout.so[0xb4dc1549]
/usr/lib/thunderbird/components/libgklayout.so[0xb4dc13a4]
/usr/lib/thunderbird/components/libgklayout.so[0xb4dc0c17]
/usr/lib/thunderbird/components/libgklayout.so[0xb4d9c1b5]
/usr/lib/thunderbird/components/libgklayout.so[0xb507a625]
/usr/lib/thunderbird/components/libgklayout.so[0xb507d1c9]
/usr/lib/thunderbird/components/libgklayout.so[0xb5083610]
/usr/lib/thunderbird/components/libgklayout.so[0xb50856d9]
/usr/lib/thunderbird/components/libgklayout.so[0xb50864f8]
/usr/lib/thunderbird/components/libgklayout.so[0xb507a326]
/usr/lib/thunderbird/components/libwidget_gtk2.so[0xb5dad2fe]
/usr/lib/thunderbird/components/libwidget_gtk2.so[0xb5da4fb2]
/usr/lib/thunderbird/components/libwidget_gtk2.so[0xb5da503b]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b91732]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb771a742]
/usr/lib/libgobject-2.0.so.0[0xb772c695]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6d6)[0xb772d9a6]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb772dd99]
/usr/lib/libgtk-x11-2.0.so.0[0xb7cca378]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x42f)[0xb7b8aa7f]
/usr/lib/libgdk-x11-2.0.so.0[0xb79c66c1]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0x97)[0xb79c68e7]
/usr/lib/libgdk-x11-2.0.so.0[0xb79c694b]
/usr/lib/libgdk-x11-2.0.so.0[0xb79ac9d8]
/usr/lib/libglib-2.0.so.0[0xb767f541]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb768110c]
/usr/lib/libglib-2.0.so.0[0xb768454f]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb76848f9]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:03 3968485 /usr/lib/thunderbird/thunderbird-bin
0805a000-0805b000 rw-p 00012000 08:03 3968485 /usr/lib/thunderbird/thunderbird-bin
0805b000-094d4000 rw-p 0805b000 00:00 0 [heap]
adb50000-add91/usr/lib/thunderbird/run-mozilla.sh: line 131: 27340 Aborted (core dumped) "$prog" ${1+"$@"}

ProblemType: Crash
Architecture: i386
Date: Thu Jul 19 20:53:13 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/lib/thunderbird/thunderbird-bin
NonfreeKernelModules: vmnet vmmon ath_hal
Package: thunderbird 2.0.0.4-0ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/lib/thunderbird/thunderbird-bin
ProcCwd: /home/emeitner
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
Signal: 11
SourcePackage: thunderbird
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 raise () from /lib/tls/i686/cmov/libpthread.so.0
Title: thunderbird-bin crashed with SIGSEGV in raise()
Uname: Linux cheren 2.6.22-8-generic #1 SMP Thu Jul 12 15:59:45 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse lpadmin plugdev scanner src video www-data

Revision history for this message
Erik Meitner (e.meitner) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()
raise () from /lib/tls/i686/cmov/libpthread.so.0

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Revision history for this message
Erik Meitner (e.meitner) wrote : Re: thunderbird-bin crashed with SIGSEGV in raise()

This was reproducabel every time I tried. I then changed my theme controls from "Grey" back to "glossy" - what I had before the problem started. No more crashes. I will see if other apps have issues with this theme.

Revision history for this message
Erik Meitner (e.meitner) wrote :
Download full text (7.9 KiB)

It seems that Mozilla sunbird hangs at startup with the "Gray" theme. The following is dumped to the terminal before it hangs totally and needs to be killed:

$ ~/bin/sunbird-0.5/sunbird

***MEMORY-WARNING***: sunbird-bin[29223]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
*** Calendar schema version is: 7
Starting calendar alarm service
observer added
*** glibc detected *** /home/emeitner/bin/sunbird-0.5/sunbird-bin: double free or corruption (out): 0x091fead0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb72aa8f1]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb72adf50]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb77b58e1]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x823a81a]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x823b0ce]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82397ca]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x8285dbe]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82851d2]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82bd675]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c462]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c52f]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c602]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x838c3c8]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82bacc5]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82babe4]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82babad]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82a3844]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x8489fc4]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x848da4e]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x848d4a7]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x848c45c]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x848ee26]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x8489937]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x82679be]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x8260560]
/home/emeitner/bin/sunbird-0.5/sunbird-bin[0x8264df0]
/usr/...

Read more...

Revision history for this message
Punho Chan (punhochan) wrote :

I confirmed this problem is somehow related to gnome theme. What I am using are:

* Ubuntu Gutsy 7.10
* Compiz v 1:0.6.2

When I use theme 'Milky 2.1', my Thunderbird and Firefox die from time to time. But if I use theme 'Clearlooks', they works normally. I didn't have time to try other themes.

Changed in gray-theme:
importance: Undecided → Medium
Revision history for this message
tweedledee (terrywatt-deactivatedaccount) wrote :

This problem is reproducible on multiple computers with Gutsy and sunbird (either 0.5 or 0.7): some themes cause the program to crash with a traceback very similar to above (e.g., Redmond), while others (Human, Clearlooks, Raleigh) allow the program to work fine. The crash always occurs upon spawning a secondary window, or upon starting the program with no existing profile (which is probably also starting a second window).

Revision history for this message
John Vivirito (gnomefreak) wrote :

Eric please test with our package not mozilla's if you come up with same please file a bug upstream with mozilla and give us link on this bug.

Changed in lightning-sunbird:
assignee: nobody → mozilla-bugs
status: New → Incomplete
Revision history for this message
John Vivirito (gnomefreak) wrote :

Has anyone triued reproducing this on a Hardy install?

Revision history for this message
tweedledee (terrywatt-deactivatedaccount) wrote :

I tried with the beta live CD - no change, problem still exists. I've noticed that it appears to only happen with engines that have not been updated in several years, so while I only encounter this problem with sunbird/mozilla apps, I'm wondering if it instead has to do with some change in GTK that didn't get incorporated into some engines?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Does sunbird work with default theme or themes that we package?

Revision history for this message
tweedledee (terrywatt-deactivatedaccount) wrote :

Most, not all. It fails with at least the Redmond and one other (that escapes me at the moment) with a default install. In my recent test, I used the beta live cd, installed sunbird 0.7 from repos; it works with the Human theme, crashes once I change the theme to Redmond.

Revision history for this message
Erik Meitner (e.meitner) wrote :

I cannot reproduce this on Hardy with mozilla-thunderbird(2.0.0.12+nobinonly-0ubuntu1) using the Redmond or Grey desktop themes.
Will try to test with Sunbird soon.

Revision history for this message
tweedledee (terrywatt-deactivatedaccount) wrote :

Still true with Sunbird using Redmond theme, either 32-bit or 64-bit, with Hardy final.

Revision history for this message
John Vivirito (gnomefreak) wrote :

This isnt lightning-sunbird's fault if its only that theme it is most likely a theme issue, Can you please look upstream sunbird for this bug. I will check with Ubuntu's head developer for mozilla apps before closing this.
Does the Grey theme work now?
Can you please give me step by step instructions on how to reproduce this so i can have it happen here and test a patch if i think its easily fixed. when you say desktop theme you mean the window boarder themes? But i would like to see if i can reproduce this since i will be working on sunbird again with help from other mozilla team devs.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Set to inprogress to let others im working on it. I have a very important meetings tomorrow one firs thting in morning second in afternoon so if i can get this built over night or tomorrow i will upload to one of our PPAs

Changed in lightning-extension-locales:
assignee: nobody → gnomefreak
status: New → In Progress
Revision history for this message
John Vivirito (gnomefreak) wrote :

Closed due to it doesnt crash anylonger.

Changed in lightning-sunbird:
status: Incomplete → Invalid
Revision history for this message
John Vivirito (gnomefreak) wrote :

This grey theme has been fixed in either grey or sunbird i cant remember what one it was off hand

Changed in gray-theme:
status: New → Fix Released
Revision history for this message
John Vivirito (gnomefreak) wrote :

Changed to Triage since this isnt an official release.

Changed in lightning-extension-locales:
status: In Progress → Triaged
Revision history for this message
John Vivirito (gnomefreak) wrote :

sorry aded that to wrong bug report.

Changed in lightning-extension-locales:
assignee: gnomefreak → nobody
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.