Closed Bug 769361 Opened 12 years ago Closed 12 years ago

Thunderbird-trunk crashes on startup

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arky, Unassigned)

Details

(Keywords: crash, Whiteboard: [has stack trace])

Attachments

(1 file)

thunderbird-trunk fails to start on my Ubuntu 12.04 

(thunderbird-trunk:4592): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3393: signal name `selection_changed' is invalid for instance `0xa4147280'
Segmentation fault (core dumped)
Severity: normal → critical
Keywords: crash
Got a backtrace:

[New Thread 0xa3bffb40 (LWP 5170)]
[New Thread 0xa33feb40 (LWP 5171)]
[New Thread 0xa2bfdb40 (LWP 5172)]
[Thread 0xb3efdb40 (LWP 5154) exited]
[New Thread 0xb3efdb40 (LWP 5173)]
[New Thread 0xa04ffb40 (LWP 5174)]

Program received signal SIGSEGV, Segmentation fault.
0x08053031 in ?? ()
(gdb) backtrace 
#0  0x08053031 in ?? ()
#1  0x004395e5 in PR_Free () from /usr/lib/thunderbird-trunk/libnspr4.so
#2  0x01638b85 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#3  0x0163adcd in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#4  0x0163af4f in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#5  0x016416bf in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#6  0x0159a1b1 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#7  0x00996980 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#8  0x00996a3a in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#9  0x01786094 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#10 0x0179651e in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#11 0x01764f18 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#12 0x016b1eca in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#13 0x017ba5aa in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#14 0x017ba6d2 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#15 0x0139f386 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#16 0x01250227 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#17 0x0097f7c7 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#18 0x0097f9f5 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#19 0x0097fc1b in XRE_main () from /usr/lib/thunderbird-trunk/libxul.so
#20 0x08049c35 in ?? ()
---Type <return> to continue, or q <return> to quit--- 
#21 0x0029b4d3 in __libc_start_main (main=0x80499c0, argc=1, 
    ubp_av=0xbffff1e4, init=0x8055f90 <__libc_csu_init>, 
    fini=0x8056000 <__libc_csu_fini>, rtld_fini=0x11f270 <_dl_fini>, 
    stack_end=0xbffff1dc) at libc-start.c:226
#22 0x08049c9d in _start ()
Program received signal SIGSEGV, Segmentation fault.
0x08053031 in ?? ()
(gdb) backtrace 
#0  0x08053031 in ?? ()
#1  0x004395e5 in PR_Free () from /usr/lib/thunderbird-trunk/libnspr4.so
#2  0x01638b85 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#3  0x0163adcd in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#4  0x0163af4f in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#5  0x016416bf in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#6  0x0159a1b1 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#7  0x00996980 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#8  0x00996a3a in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#9  0x01786094 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#10 0x0179651e in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#11 0x01764f18 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#12 0x016b1eca in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#13 0x017ba5aa in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#14 0x017ba6d2 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#15 0x0139f386 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#16 0x01250227 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#17 0x0097f7c7 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#18 0x0097f9f5 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
#19 0x0097fc1b in XRE_main () from /usr/lib/thunderbird-trunk/libxul.so
#20 0x08049c35 in ?? ()
---Type <return> to continue, or q <return> to quit--- 
#21 0x0029b4d3 in __libc_start_main (main=0x80499c0, argc=1, 
    ubp_av=0xbffff1e4, init=0x8055f90 <__libc_csu_init>, 
    fini=0x8056000 <__libc_csu_fini>, rtld_fini=0x11f270 <_dl_fini>, 
    stack_end=0xbffff1dc) at libc-start.c:226
#22 0x08049c9d in _start ()
(gdb) bt full
#0  0x08053031 in ?? ()
No symbol table info available.
#1  0x004395e5 in PR_Free () from /usr/lib/thunderbird-trunk/libnspr4.so
No symbol table info available.
#2  0x01638b85 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#3  0x0163adcd in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#4  0x0163af4f in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#5  0x016416bf in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#6  0x0159a1b1 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#7  0x00996980 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#8  0x00996a3a in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#9  0x01786094 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#10 0x0179651e in ?? () from /usr/lib/thunderbird-trunk/libxul.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x01764f18 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#12 0x016b1eca in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#13 0x017ba5aa in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#14 0x017ba6d2 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#15 0x0139f386 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#16 0x01250227 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#17 0x0097f7c7 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#18 0x0097f9f5 in ?? () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#19 0x0097fc1b in XRE_main () from /usr/lib/thunderbird-trunk/libxul.so
No symbol table info available.
#20 0x08049c35 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#21 0x0029b4d3 in __libc_start_main (main=0x80499c0, argc=1, 
    ubp_av=0xbffff1e4, init=0x8055f90 <__libc_csu_init>, 
    fini=0x8056000 <__libc_csu_fini>, rtld_fini=0x11f270 <_dl_fini>, 
    stack_end=0xbffff1dc) at libc-start.c:226
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {4337652, 0, 0, 0, 
                -1999891442, 608670065}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x1, 0x8049c7c}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 1}}}
        not_first_call = <optimized out>
#22 0x08049c9d in _start ()
Attached file Backtrace-with-Error
Program received signal SIGSEGV, Segmentation fault.
0x08053031 in arena_dalloc_small (ptr=<optimized out>, chunk=<optimized out>, arena=<optimized out>, mapelm=<optimized out>)
    at /build/buildd/thunderbird-trunk-16.0~a1~hg20120629r10546.97930/mozilla/memory/mozjemalloc/jemalloc.c:4569
4569	/build/buildd/thunderbird-trunk-16.0~a1~hg20120629r10546.97930/mozilla/memory/mozjemalloc/jemalloc.c: No such file or directory.
#0  0x08053031 in arena_dalloc_small (ptr=<optimized out>, chunk=<optimized out>, arena=<optimized out>, mapelm=<optimized out>)
    at /build/buildd/thunderbird-trunk-16.0~a1~hg20120629r10546.97930/mozilla/memory/mozjemalloc/jemalloc.c:4569
        run_pageind = <optimized out>
        run_mapelm = <optimized out>
        run = <optimized out>
        bin = <optimized out>
        size = <optimized out>
#1  arena_dalloc (ptr=<error reading variable: Cannot access memory at address 0xbfffd984>, 
    ptr@entry=<error reading variable: Cannot access memory at address 0xbfffd9ac>, offset=<optimized out>)
    at /build/buildd/thunderbird-trunk-16.0~a1~hg20120629r10546.97930/mozilla/memory/mozjemalloc/jemalloc.c:4637
        chunk = <error reading variable chunk (Cannot access memory at address 0xbfffd988)>
        arena = <error reading variable arena (Cannot access memory at address 0xbfffd980)>
        pageind = <optimized out>
Whiteboard: [has stack trace]
Looks like an allocator mismatch.
(In reply to Mike Hommey [:glandium] from comment #4)
> Looks like an allocator mismatch.

Or, more likely, a double-free.
Thanks, Is there a patch for this. I have been able to use Thunderbird-trunk for a week now :(
(In reply to arky from comment #6)
> Thanks, Is there a patch for this. I have been able to use Thunderbird-trunk
> for a week now :(

arky, are you still running clean? If  you are, please close the bug, with resolution WORKSFORME.

I haven't seen any patches. But, several ill-defined startup crashes are out there.
Whiteboard: [has stack trace] → [closeme 2012-09-15][wfm?][has stack trace]
Thanks! It works for me now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
(In reply to arky from comment #8)
> Thanks! It works for me now.

that's lovely arky. but what changed?
Whiteboard: [closeme 2012-09-15][wfm?][has stack trace] → [has stack trace]
I have no idea, the debugging tool so long and after 20 days the new nightly build fixed my problem.
You need to log in before you can comment on or make changes to this bug.