Closed Bug 221695 Opened 21 years ago Closed 21 years ago

Thunderbird crashes when opening an encrypted mail message

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 223600
Thunderbird0.5

People

(Reporter: pekka.kurki, Assigned: mscott)

Details

(Keywords: crash)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030615 Build Identifier: Mozilla Thunderbird 0.2 (20030904) Thunderbird crashes when opening an encrypted mail message. A mail with digital signature and encryption crashes TB when read, a mail just digital signature alone works OK. The same message can be read on Mozilla 1.4 OK. The certificates seem to be OK and accessable. Sending encrypted mails works OK. Reproducible: Always Steps to Reproduce: 1. Send an encrypted and signed mail to yourself 2. Get it from POP server 3. Try to open the mail message Actual Results: Thunderbird windows disappear w/o error message Expected Results: The mail message should be displayed
I have also seen this, but I get the following error message: INTERNAL ERROR on Browser End: Could not get the JVM manager System error?:: Unknown error: 0
Sorry, should add my build ID etc shouldn't I: Mozilla Thunderbird 0.2 (20030914) This is a FreeBSD 5.1 box and thunderbird was compiled from the ports collection.
I get the error message "INTERNAL ERROR on Browser End: Could not get the JVM manager", too...
I'm getting a similar error message, on thunderbird 0.3 (20031014) under RedHat 9 / KDE. INTERNAL ERROR on Browser End: Could not get the JVM manager System error?:: Success It appears to attacment related for me rather than digital signatures. I have several linux and one windows thunderbird pointing at the same LDAP server. Only one fails, the rest work, suggesting it's configuration/environment related. I will leave the failing one alone for now, in case anyone can think of some tests that should be performed.
I'm seeing this as well. Doing IMAP to a UW server, running under FreeBSD 4.8-STABLE. Thunderbird 0.3 compiled from ports. Thunderbird exits immediately when it hits some PGP signed messages. It doesn't seem to mind all PGP signed messages, just some. I'll attach the offending message to this bug.
This is cut from my inbox. It is the raw message that Thunderbird dies on each time it opens it.
This is a PGP signed message that doesn't cause Thunderbird to crash, however it doesn't seem to appear flagged as PGP signed within Thunderbird either.
Carl are you running with the enigmail extension to enable PGP support or this is a pure thunderbird crash with no enigmail when viewing a PGP message?
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.5
Hi Scott, No enigmail extension. The only extensions I have are "RAF" (opens and closes the preview pane) and "addressContext" (which is disabled). I can try installing the enigmail extension if you like?
that's ok. since enigmail is not installed, this crash is a thunderbird issue :)
I was using in my original error case standard certificate from an CA (TC Trust Center) an the encryption module: NSS internal PKCS #11, no plugins, no PGP
I wonder if this is linux only. Using the 11/19 windows build, the example message does not crash for me.
I guess you mean Unix only. I'm running FreeBSD, which is not a distribution of Linux. :)
I hope this is of some help, but the bad news is that I didn't crash. This is from a debug build of today's cvs (25-nov), and here's my mozconfig: Also I posted this here because I replied this to you on mozillazine and it appears not to have gone, (perhaps the msg size?). ---------mozconfig-------- export MOZ_THUNDERBIRD=1 mk_add_options MOZ_THUNDERBIRD=1 ac_add_options --enable-crypto ac_add_options --disable-mathml ac_add_options --disable-installer ac_add_options --disable-activex ac_add_options --disable-activex-scripting ac_add_options --disable-tests ac_add_options --disable-oji ac_add_options --disable-necko-disk-cache #ac_add_options --disable-debug ac_add_options --enable-debug ac_add_options --disable-profilesharing ac_add_options --enable-image-decoders=png,gif,jpeg,bmp ac_add_options --enable-extensions=wallet,spellcheck,xmlextras ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res,data ac_add_options "--enable-optimize=-O3 -march=athlon-xp -msse " ac_add_options --enable-xft ac_add_options --disable-freetype2 ac_add_options --enable-default-toolkit=gtk2 ------------------------------- Code: (gdb) cont Continuing. Type Manifest File: /d2/src/firebird/mozilla/dist/bin/components/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?, file nsPrefService.cpp, line 757 [New Thread 1098718128 (LWP 5086)] GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24 WEBSHELL+ = 1 [New Thread 1135020976 (LWP 5093)] [New Thread 1143413680 (LWP 5094)] WEBSHELL+ = 2 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, line 3185 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, line 3185 Note: verifyreflow is disabled Note: styleverifytree is disabled Note: frameverifytree is disabled [New Thread 1152572336 (LWP 5097)] [New Thread 1160965040 (LWP 5098)] [New Thread 1169357744 (LWP 5099)] WEBSHELL+ = 3 WEBSHELL+ = 4 [New Thread 1187244976 (LWP 5107)] CSS Error (jar:file:///root/.thunderbird/default/po3b6z2x.slt/chrome/skypilot_mod.jar!/messenger/messageBody.css :61.6): Unknown namespace prefix 'html'. Selector expected. Ruleset ignored due to bad selector. mailCharsetLoadListener: ISO-8859-1 -- And this is while viewing the message and hitting file/quit. mailCharsetLoadListener: ISO-8859-1 On metadata item. JavaScript error: line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.quit]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goQuitApplication :: line 38" data: no] nsPluginHostImpl::Observe "quit-application" WARNING: requested removal of nonexistent window , file nsWindowWatcher.cpp, line 945 WEBSHELL- = 3 WEBSHELL- = 2 WEBSHELL- = 1 nsPluginHostImpl::Observe "xpcom-shutdown" WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsExceptionService.cpp, line 189 nsPluginHostImpl dtor WEBSHELL- = 0 GC Cache: hits: 4529 3301 824 917 164 234 134 142 301 101 hits: 10647, misses: 4183, hit percent: 71.793661% Program exited normally. (gdb)
Sorry, but on the above stacktrace, I meant to add: Distro: Fedora core 1 GCC 3.3.2-2 Glibc 2.3.2-101.1 Kernel: 2.6.0-test10-bk1
Hmm I wonder if this is FreeBSD specific? Thanks a lot Yek for trying to get me a debug stack trace on Linux. Shame it did not co-operate and crash for us.
Any hints on making the damn thing generate a core? I recompiled it with DEBUG on and ran it with the -g option which threw it into gdb but still got no backtrace when it crashed. Here is what it said; ----------------------------------------------------------------------------- WARNING: empty damage rect: update caller to avoid fcn call overhead, file nsFrame.cpp, line 2551 WARNING: empty damage rect: update caller to avoid fcn call overhead, file nsFrame.cpp, line 2551 LoadPlugin() /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so returned 8c50120 INTERNAL ERROR on Browser End: Could not get the JVM manager System error?:: Unknown error: 0 (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program exited with code 0377. (gdb) back No stack. (gdb) ----------------------------------------------------------------------------- hmmm, so I've just removed the link to the java browser plugin in /usr/X11R6/lib/browser_plugins and Thunderbird now doesn't crash. It can read the messages in FreeBSD-Gnome from Joe Marcus Clarke that were making it crash reliably before. I'm running the FreeBSD native JDK 1.4.2p5 which only has the NS610 plugin. This plugin is working fine in Mozilla 1.5 and Firebird 0.7 (also all natively compiled).
That's odd. Thunderbird does not support plugins. We explicitly disable them and the windows build does not even package up the plugin module. I wonder how the Unix build is even able to find the java plugin, it shouldn't. I also didn't see any code in the raw message that should cause a plugin to try to get invoked. Very weird.
Well, it says it's trying to load plugins. Here some lines extracted from the debug output; *** Registering nsPluginModule components (all right -- a generic module!) . . LoadPlugin: failed to initialize shared library /usr/X11R6/lib/browser_plugins/libflashplayer_linux.so [/usr/X11R6/lib/browser_plugins/libflashplayer_linux.so: Undefined symbol "overrideShellClassRec"] LoadPlugin() /usr/X11R6/lib/browser_plugins/libflashplayer_linux.so returned 0
Related/dup of bug 223600 and bug 224291?
Severity: major → critical
Keywords: crash
Now I updated to version 0.4 - and even more messages crash Thundirbird now. At least the mail I have incuded (which includes a flash) crash Thunderbird. Also a mail including a Powerpoint presentation crashes Thunderbird 0.4
mail with plugins crash tbird on linux *** This bug has been marked as a duplicate of 223600 ***
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: