Bug 2829

Summary: Mozilla Thunderbird crashes with a Segmentation Fault when trying to view Account Settings
Product: Mageia Reporter: Chris Gatewood <chris>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal CC: doktor5000, marja11
Version: 1   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: gtk-qt-engine CVE:
Status comment:

Description Chris Gatewood 2011-09-24 18:38:33 CEST
Description of problem:
Mozilla Thunderbird crashes with a Segmentation Fault when attempting to view the Edit -> Account Settings window.

Details from a debug:
[chris@localhost ~]$ thunderbird --debug
/usr/lib/thunderbird-3.1.12/run-mozilla.sh -g /usr/lib/thunderbird-3.1.12/thunderbird-bin
MOZILLA_FIVE_HOME=/usr/lib/thunderbird-3.1.12
  LD_LIBRARY_PATH=/usr/lib/thunderbird-3.1.12:/usr/lib/thunderbird-3.1.12/plugins:/usr/lib/thunderbird-3.1.12
DISPLAY=:0
DYLD_LIBRARY_PATH=/usr/lib/thunderbird-3.1.12:/usr/lib/thunderbird-3.1.12
     LIBRARY_PATH=/usr/lib/thunderbird-3.1.12:/usr/lib/thunderbird-3.1.12/components:/usr/lib/thunderbird-3.1.12
       SHLIB_PATH=/usr/lib/thunderbird-3.1.12:/usr/lib/thunderbird-3.1.12
          LIBPATH=/usr/lib/thunderbird-3.1.12:/usr/lib/thunderbird-3.1.12
       ADDON_PATH=/usr/lib/thunderbird-3.1.12
      MOZ_PROGRAM=/usr/lib/thunderbird-3.1.12/thunderbird-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/lib/thunderbird-3.1.12/run-mozilla.sh: line 118: type: ddd: not found
/usr/bin/gdb --args /usr/lib/thunderbird-3.1.12/thunderbird-bin
GNU gdb (GDB) 7.1-6.mga1 (Mageia release 1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/thunderbird-3.1.12/thunderbird-bin...(no debugging symbols found)...done.
(gdb) start
Function "main" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Temporary breakpoint 1 (main) pending.
Starting program: /usr/lib/thunderbird-3.1.12/thunderbird-bin 
[Thread debugging using libthread_db enabled]
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libssl3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libsmime3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libnssutil3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libnss3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib/libstdc++.so.6.0.14.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libgcc_s-4.5.2.so.1.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib/libssl.so.1.0.0.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib/libcrypto.so.1.0.0.debug
[New Thread 0xb1bf6b70 (LWP 23878)]
[New Thread 0xb11ffb70 (LWP 23879)]
[New Thread 0xb09feb70 (LWP 23880)]
[New Thread 0xb01fdb70 (LWP 23881)]
[New Thread 0xaf5ffb70 (LWP 23882)]
[New Thread 0xaebffb70 (LWP 23883)]
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1 [New Thread 0xad9ffb70 (LWP 23884)]
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libsoftokn3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libnssdbm3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libfreebl3.so.debug
warning: no loadable sections found in added symbol-file /usr/lib/debug/lib/libnssckbi.so.debug
[New Thread 0xac6ffb70 (LWP 23887)]
[New Thread 0xabefeb70 (LWP 23888)]
[New Thread 0xab6fdb70 (LWP 23889)]
[New Thread 0xaacffb70 (LWP 23890)]
[New Thread 0xaa4feb70 (LWP 23891)]
[New Thread 0xa9cfdb70 (LWP 23892)]
[New Thread 0xa94fcb70 (LWP 23893)]
[Thread 0xa94fcb70 (LWP 23893) exited]
[New Thread 0xa94fcb70 (LWP 23905)]
[New Thread 0x9eaffb70 (LWP 23907)]
[New Thread 0x9e2feb70 (LWP 23909)]
[New Thread 0x9dafdb70 (LWP 23911)]

Program received signal SIGSEGV, Segmentation fault.
comp_func_Source_sse2 (dst=0x9d14a004, src=0xbfff6bbc, length=1, const_alpha=82)
    at painting/qdrawhelper_sse2.cpp:228
228             const __m128i oneMinusConstAlpha =  _mm_set1_epi16(ialpha);
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xffffe424 in __kernel_vsyscall ()
(gdb) continue
Continuing.
[Thread 0x9dafdb70 (LWP 23911) exited]
[Thread 0x9e2feb70 (LWP 23909) exited]
[Thread 0x9eaffb70 (LWP 23907) exited]
[Thread 0xa94fcb70 (LWP 23905) exited]
[Thread 0xa9cfdb70 (LWP 23892) exited]
[Thread 0xaa4feb70 (LWP 23891) exited]
[Thread 0xaacffb70 (LWP 23890) exited]
[Thread 0xab6fdb70 (LWP 23889) exited]
[Thread 0xabefeb70 (LWP 23888) exited]
[Thread 0xac6ffb70 (LWP 23887) exited]
[Thread 0xad9ffb70 (LWP 23884) exited]
[Thread 0xaebffb70 (LWP 23883) exited]
[Thread 0xaf5ffb70 (LWP 23882) exited]
[Thread 0xb01fdb70 (LWP 23881) exited]
[Thread 0xb09feb70 (LWP 23880) exited]
[Thread 0xb11ffb70 (LWP 23879) exited]
[Thread 0xb1bf6b70 (LWP 23878) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit

This was the original set of lines I received before installing all the "debug" packages recommended:

Program received signal SIGSEGV, Segmentation fault.
0xb555e172 in ?? () from /usr/lib/libQtGui.so.4

Version-Release number of selected component (if applicable):
3.1.12 and 4.7.3

How reproducible:
Very

Steps to Reproduce:
1. Start Thunderbird (and add Account if this is the first time)
2. Try to click Edit -> Account Settings
3. Segmentation Fault Occurs

This happens on 2 different systems of mine running Mageia. An AMD-based Desktop, and an Intel-based laptop. Both have different graphics cards, one is Intel, the other Nvidia.

If I can provide any other information, let me know.
Manuel Hiebel 2011-09-24 23:42:14 CEST

CC: (none) => doktor5000

Comment 1 Chris Gatewood 2011-09-24 23:47:56 CEST
After further testing, I found it specifically happens only when selecting the "Qt4" or "Use my KDE Style in GTK Applications" theme of the Qt-Gtk Theming engine (gtk-qt-engine-1.1-5.r5.3.mga1).

Selecting another theme such as Raleigh or one of the Ia Ora choices works fine.
Comment 2 Manuel Hiebel 2011-09-24 23:53:34 CEST
gtk-qt-engine is know as bogus yes... :/
(just search the keyword on google)
Comment 3 Manuel Hiebel 2011-09-29 15:15:00 CEST
dmorgan, ok to close this bug ?

Assignee: bugsquad => dmorganec
Source RPM: mozilla-thunderbird-3.1.12-1.mga1.src.rpm / qt4-4.7.3-1.mga1.src.rpm => gtk-qt-engine
Severity: critical => major

Comment 4 Marja Van Waes 2011-12-31 19:55:34 CET
Is this bug still valid?

CC: (none) => marja11

Comment 5 Florian Hubold 2012-01-01 13:33:50 CET
I'd say close, as it hasn't been reported again and doesn't happen on a default setup.

Status: NEW => RESOLVED
Resolution: (none) => INVALID