Closed Bug 295479 Opened 20 years ago Closed 20 years ago

segfault when I try to view a specific email

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: chrisg792, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Firefox/1.0.4
Build Identifier: Thunderbird version 1.0.2 (20050330) built on a gentoo system with ebuild mail-client/mozilla-thunderbird-1.0.2

Mozilla is crashing reliably on me when I try to open a specific email message. 

My setup is imap and the email is a list mail message.. I don't know if the
email is well formed or not but even if it is malformed I'd argue that
thunderbird should be able to display it. 

I'll attach the bad mail to this bug if the bugzilla will let me. 

Reproducible: Always

Steps to Reproduce:
1. open thunderbird
2. with the default tbird screen layout (including message view panel) click on
the bad email
3. *crash*

Actual Results:  
Mozilla segfaults

Expected Results:  
It should have allowed me to view the email. 

Here is the stacktrace of the thread that is encountering the segfault.

>  0 _ZNK16nsQueryInterfaceclERK4nsIDPPv PC=0x2b042097, FP=0x7fffd83c
[/usr/lib/MozillaFirefox/libxpcom.so]
   1 _ZN13nsCOMPtr_base14assign_from_qiE16nsQueryInterfaceRK4nsID PC=0x2b04218c,
FP=0x7fffd85c [/usr/lib/MozillaFirefox/libxpcom.so]
   2 NSGetModule      PC=0x2b645fa0, FP=0x7fffd9ac
[/usr/lib/MozillaThunderbird/components/libxpconnect.so]
   3 Unknown          PC=0x2b6338a2, FP=0x7fffda0c
   4 Unknown          PC=0x2b6329cb, FP=0x7fffdb2c
   5 NSGetModule      PC=0x2b6458db, FP=0x7fffde1c
[/usr/lib/MozillaThunderbird/components/libxpconnect.so]
   6 NSGetModule      PC=0x2b640a56, FP=0x7fffde4c
[/usr/lib/MozillaThunderbird/components/libxpconnect.so]
   7 _ZN14nsXPTCStubBase7Stub249Ev PC=0x2b035cd0, FP=0x7fffdf2c
[/usr/lib/MozillaFirefox/libxpcom.so]
   8 Unknown          PC=0x08e15bb8, FP=0x7fffdf2c
   9 _ZN16nsEnigMimeVerify14OnStartRequestEP10nsIRequestP11nsISupports
PC=0x2c9dcc85, FP=0x7fffe2f4
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  10 _ZN20nsPipeFilterListener5WriteEPKcjP10nsIRequestP11nsISupports
PC=0x2c9e8948, FP=0x7fffe31c
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  11
_ZN20nsPipeFilterListener15OnDataAvailableEP10nsIRequestP11nsISupportsP14nsIInputStreamjj
PC=0x2c9e93b1, FP=0x7fffe748
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  12 _ZN18nsEnigMimeListener10SendStreamEPKcjP10nsIRequestP11nsISupports
PC=0x2c9d7e03, FP=0x7fffe774
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  13 _ZN18nsEnigMimeListener8TransmitEPKcjP10nsIRequestP11nsISupports
PC=0x2c9d7d59, FP=0x7fffe79c
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  14 _ZN18nsEnigMimeListener12StartRequestEP10nsIRequestP11nsISupports
PC=0x2c9d84ef, FP=0x7fffe828
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  15 _ZN18nsEnigMimeListener5WriteEPKcjP10nsIRequestP11nsISupports
PC=0x2c9d7c9d, FP=0x7fffe848
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  16
_ZN18nsEnigMimeListener15OnDataAvailableEP10nsIRequestP11nsISupportsP14nsIInputStreamjj
PC=0x2c9d8344, FP=0x7fffec78
[/home/chrisg/.thunderbird/7a7widl7.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so]
  17 NSGetModule      PC=0x2c3b0127, FP=0x7fffecd8
[/usr/lib/MozillaThunderbird/components/libmail.so]
  18 NSGetModule      PC=0x2c3a4b50, FP=0x7fffed48
[/usr/lib/MozillaThunderbird/components/libmail.so]
  19 NSGetModule      PC=0x2c2dbf3c, FP=0x7fffed98
[/usr/lib/MozillaThunderbird/components/libmail.so]
  20 NSGetModule      PC=0x2b6c2b29, FP=0x7fffedc8
[/usr/lib/MozillaThunderbird/components/libnecko.so]
  21 NSGetModule      PC=0x2b6c285d, FP=0x7fffede8
[/usr/lib/MozillaThunderbird/components/libnecko.so]
  22 _ZN23nsInputStreamReadyEvent12EventHandlerEP7PLEvent PC=0x2b00634d,
FP=0x7fffee08 [/usr/lib/MozillaFirefox/libxpcom.so]
  23 PL_HandleEvent   PC=0x2b01b7d0, FP=0x7fffee28
[/usr/lib/MozillaFirefox/libxpcom.so]
  24 PL_ProcessPendingEvents PC=0x2b01b712, FP=0x7fffee48
[/usr/lib/MozillaFirefox/libxpcom.so]
  25 _ZN16nsEventQueueImpl15NotifyObserversEPKc PC=0x2b01d192, FP=0x7fffee78
[/usr/lib/MozillaFirefox/libxpcom.so]
  26 _ZN12nsBaseWidget14FreeNativeDataEPvj PC=0x2b5d3396, FP=0x7fffeee0
[/usr/lib/MozillaThunderbird/components/libwidget_gtk2.so]
  27 _ZN12nsBaseWidget14FreeNativeDataEPvj PC=0x2b5d3384, FP=0x7fffeef0
[/usr/lib/MozillaThunderbird/components/libwidget_gtk2.so]
  28 Unknown          PC=0x00000001, FP=0x7fffef00
  29 Unknown          PC=0x00000064, FP=0x7fffef04
  30 Unknown          PC=0x082dae68, FP=0x7fffef08
  31 Unknown          PC=0x00000002, FP=0x7fffef0c
  32 Unknown          PC=0x00000002, FP=0x7fffef10
  33 Unknown          PC=0x7fffef34, FP=0x7fffef14
  34 g_io_watch_funcs PC=0x2afa1880, FP=0x7fffef34 [/usr/lib/libglib-2.0.so.0]
  35 g_main_context_acquire PC=0x2af42397, FP=0x7fffef34 [/usr/lib/libglib-2.0.so.0]
> Mozilla is crashing reliably on me when I try to open a specific email message.

Obviously I mean TB is crashing. 


> Actual Results:  
> Mozilla segfaults

TB segfaults

can you force tbird to be built w/ symbols?
looks like you have enigmail installed, and enigmail is crashing...have you
tried contacting the enigmail folks?
(In reply to comment #4)
> looks like you have enigmail installed, and enigmail is crashing...have you
> tried contacting the enigmail folks?

Ahh -- good point. I saw that the leafmost frame was in 
a 'ns' toolkit item and I didn't walk up the stack and see 
enigmail. 

No I haven't contacted them but I will. Thx. 
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #5)
> (In reply to comment #4)
> > looks like you have enigmail installed, and enigmail is crashing...have you
> > tried contacting the enigmail folks?
> 
> Ahh -- good point. I saw that the leafmost frame was in 
> a 'ns' toolkit item and I didn't walk up the stack and see 
> enigmail. 
> 
> No I haven't contacted them but I will. Thx. 


Further confirmation that this is in enigmail was that i was able
to look at the email in question by turning off 'decript/verify all messages'.
Then with the 'bad email' open I asked to have the message decrypted and
got a segfault. Sounds like the bug is definitely in their code. I'll 
go bug them now. Thanks again.
The Gentoo build of Thunderbird is known not to work with the Enigmail XPI
provided on the Enigmail web page (the libraries are not binary compatible).
Please use either an Enigmail build by Gentoo or a Thunderbird build by mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: