When connecting with an SMTP server that supports STARTTLS, thunderbird 2.0.0.6 (20070902) on AMD64 crashes (AMD Athlon634 X2). This is reproducible, but does not occur on when tested on my Intel core 2 duo laptop. Thunderbird was built with debug USE flag, below is emerge --info and the GDB output: Please ask for anything I forgot or for additional information. I was sure I reported this many versions ago, but could not find the bug report. I apologize for any duplication of efforts. --[snip]-- # emerge --info Portage 2.1.3.11 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5-SMP x86_64) ================================================================= System uname: 2.6.22-gentoo-r5-SMP x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Timestamp of tree: Mon, 01 Oct 2007 07:30:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fno-gcse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -fno-gcse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa amd64 apache2 arts avi berkdb bidi bitmap-fonts cli cracklib crypt cups dbus divx4linux dri dvd dvdread eds emboss encode faad ffmpeg flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal iconv ieee1394 imlib ipv6 isdnlog jpeg kde kdeenablefinal ldap lm_sensors logrotate lzw lzw-tiff matroska midi mozilla mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wma wxwindows xine xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="streamzap" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY --[snip]-- --[snip]-- gpg: writing to stdout gpg: DSA/SHA1 signature from: "63A94EDC William A. Arlofski <waa@revpol.com>" 2007-10-01 21:48:01.706 enigmail.js: Enigmail.stillActive: 2007-10-01 21:48:01.706 enigmailCommon.js: EnigConvertToUnicode: ISO-8859-15 2007-10-01 21:48:01.707 enigmailMsgComposeOverlay.js: enigReplaceEditorText: 2007-10-01 21:48:01.713 enigmailMsgComposeOverlay.js: EnigEditorInsertText 2007-10-01 21:48:01.726 enigmailMsgComposeOverlay.js: EnigEditorInsertText 2007-10-01 21:48:01.747 enigmailMessengerOverlay.js: enigConfirmBeforeSend: sendFlags=97 ++WEBSHELL == 7 ++DOMWINDOW == 14 ++DOMWINDOW == 15 --WEBSHELL == 6 ++WEBSHELL == 7 ++DOMWINDOW == 16 ++DOMWINDOW == 17 Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649. ###!!! ASSERTION: index exceeds allowable range: 'i <= mLength', file ../../../dist/include/string/nsTString.h, line 133 Break: at file ../../../dist/include/string/nsTString.h, line 133 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47182467704176 (LWP 20439)] 0x00002aaaaaf1d277 in ?? () from /usr/lib64/mozilla-thunderbird/components/libmail.so (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00002ae982a11e69 in raise () from /lib/libpthread.so.0 (gdb) cont Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) --[snip]--
Created attachment 132393 [details] Wireshark .TXT dump of two SMTP conversations - one manual, one from Thunderbird on AMD64 I am not sure this is clear in my initial submission: Thunderbird crashes when the server reports STARTTLS is available after Thunderbird sends the EHLO command. Reproducing this problem does not require TSL, or SSL to be enabled in the Thunderbird SMTP server settings. Here are two telnet (port 25) sessions to two servers, each running qmail. One supports STARTTLS, the other does not. Also attached is a wireshark TXT dump of two SMTP connections to the same email server packets 1-14 are a manual conversation. Packet 15 starts the conversation that Thunderbird has with the same server. Thunderbird crashes immediately after packet 23 when Thunderbird sends the FIN,ACK packet. Here is a simple manual telnet session to port 25 on a mail server that Thunderbird is crashing on showing the server reports 250-STARTTLS: $ telnet mail.revpol.com 25 Trying 69.77.167.179... Connected to mail.revpol.com. Escape character is '^]'. 220 ESMTP EHLO [192.168.254.waamanual] 250- 250-STARTTLS 250-SIZE 25000000 250-PIPELINING 250 8BITMIME quit 221 Connection closed by foreign host. Here is a simple manual telnet session to port 25 on a mail server that Thunderbird is NOT crashing on: $ telnet mail.ehbmail.com 25 Trying 69.37.81.108... Connected to mail.ehbmail.com. Escape character is '^]'. 220 mail.ehbmail.com ESMTP EHLO [192.168.254.waamanual] 250-mail.ehbmail.com 250-SIZE 0 250-PIPELINING 250 8BITMIME quit 221 mail.ehbmail.com Connection closed by foreign host.
Does this still happen?
Yes. Current version: mail-client/mozilla-thunderbird-2.0.0.14 Works fine on 32bit laptop, same crashing on AMD64 Athlon 64bit desktop . Same version on both. -- Bill
With -bin it doesn't happen on amd64, i guess?
sigh.... I tried the -bin to be sure before answering your question. I am 99% positive that even the -bin exhibited the same behavior in the past though. When I emerged the latest mozilla-thunderbird-bin and tried it, it did NOT crash! So, I unemerged the -bin and tried with the currently installed locally compiled via emerge version and IT WORKS TOO! I have not had a chance to look at or follow the change logs etc, but something must have been fixed with regards to this bug since the 2.0.0.6 and prior versions and the current 2.0.0.14 installed now. I also had not recently checked because this bug report was not updated in a while and I figured that I must be the only one affected by the bug. :) Cheers and THANKS! -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/
Closing then