Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338285 - Thunderbird 3.1.3 crashes when mousing over some links
Summary: Thunderbird 3.1.3 crashes when mousing over some links
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 16:41 UTC by Phil Stracchino (Unix Ronin)
Modified: 2012-01-28 21:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
"safe" email message example (LiveJournal comment notification) (safe,4.34 KB, text/plain)
2010-09-21 20:35 UTC, Phil Stracchino (Unix Ronin)
Details
"unsafe" message example (Dreamwidth comment notification) (unsafe,7.79 KB, text/plain)
2010-09-21 20:40 UTC, Phil Stracchino (Unix Ronin)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2010-09-21 16:41:58 UTC
Thunderbird 3.1.3 crashes when certain links in email messages are moused over.

Example:  The "Reply" link in a comment notification message from LiveJournal is fine.  You can mouse over it, click it, everything works fine.  Mousing over the (identically formatted, as far as I can see) "Reply" link in a comment notification message from Dreamwidth, another LiveJournal-based site, even for an instant, will invariably cause Thunderbird-3.1.3 to crash within one second.

I have not yet figured out a pattern as to why the crash occurs only on some links, or which ones.  I know that links in Dreamwidth comment notifications *always* cause a Thunderbird crash; I know that some links in messages from SOME other sites will occasionally cause it to crash, but haven't found a pattern; I know that comment notifications from LiveJournal consistently do NOT crash it; I know that the problem did not occur in thunderbird-3.0.x.  Occasionally, just mousing into the message pane will cause the crash.

The one thing I do notice, which may or may not have anything to do with the problem, is that in the MIME encoding is different between LiveJournal and Dreamwidth.  The LiveJournal message is Content-Type text/plain; the Dreamwidth message is multipart/alternative.  The following is the applicable part of the headers of a "non-offending" LiveJournal notification:


Received: (qmail 1510 invoked from network); 20 Sep 2010 23:03:38 -0000
Received: from unknown (HELO livejournal.com) (208.93.0.128)
  by s010600010271e9f9.vs.shawcable.net with SMTP; 20 Sep 2010 23:03:38 -0000
Received: from localhost (theschwartz [127.0.0.1])
	by livejournal.com (TheSchwartzMTA) with ESMTP id bab0cc51c144eade5344a2156ac557c8008302188154;
	Mon, 20 Sep 2010 23:03:41 +0000 (UTC)
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset="us-ascii"
X-Mailer: MIME::Lite 3.025 (F2.74; A; B3.07; Q3.07)
Date: Mon, 20 Sep 2010 23:03:40 +0000
From: "devnoise - LJ Comment" <lj_notify@livejournal.com>
To: unixronin@co.ordinate.org
Subject: There is no bus
X-Lj-Journal: unixronin
X-Esn-Debug-00: c=FiredEvent j=8302049428 f=0 t=1285023820 g=1285024120 p=8676 ep=2:1423103:19435
References: <entry-1423103-790104@livejournal.com> <comment-1423103-4974936@livejournal.com>
In-Reply-To: <comment-1423103-4974936@livejournal.com>
X-Lj-Recipient: unixronin
Message-Id: <comment-1423103-4975448@livejournal.com>
X-Esn-Debug-01: c=ProcessSub j=8302049438 f=0 t=1285023820 g=1285024120 p=29874 uid=1423103 sub=(u=1423103,s=3,i=,j=1423103,e=2,a1=0,a2=0,n=2,c=1158987184,x=0,f=0)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000
 definitions=2010-09-20_14:2010-09-20,2010-09-20,1970-01-01 signatures=0
X-Proofpoint-Spam-Reason: eusafe

devnoise (devnoise) replied to a comment left by The watcher over there
(dafydd) in your LiveJournal post
(http://unixronin.livejournal.com/790104.html). The comment they replied to
was:
[....]


This is the equivalent portion of an "offending" Dreamwidth notification:


Received: (qmail 27190 invoked from network); 14 Sep 2010 13:02:49 -0000
Received: from unknown (HELO dreamwidth.org) (69.174.244.44)
  by s010600055d081bf9.vs.shawcable.net with SMTP; 14 Sep 2010 13:02:49 -0000
Received: from localhost (theschwartz [127.0.0.1])
	by dreamwidth.org (TheSchwartzMTA) with ESMTP id 79bd73f4ef67847ba6068e04ea36d04600136257883;
	Tue, 14 Sep 2010 13:02:57 +0000 (UTC)
MIME-Version: 1.0
Content-Transfer-Encoding: binary
Content-Type: multipart/alternative; boundary="_----------=_128446937516733109835"
X-Mailer: MIME::Lite 3.023 (F2.76; T1.26; A2.04; B3.07_01; Q3.07)
Date: Tue, 14 Sep 2010 13:02:55 +0000
From: "robhansen - DW Comment" <dw_null@dreamwidth.org>
To: unixronin@co.ordinate.org
Subject: Reply to your entry. [ unixronin - 771876 ]
References:  <entry-191680-771876@dreamwidth.org>
In-Reply-To: <entry-191680-771876@dreamwidth.org>
X-Journal-Name: unixronin
X-Lj-Recipient: unixronin
Message-Id: <comment-191680-4987428@dreamwidth.org>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000
 definitions=2010-09-14_03:2010-09-14,2010-09-13,1970-01-01 signatures=0
X-Proofpoint-Spam-Reason: eusafe

This is a multi-part message in MIME format.

--_----------=_128446937516733109835
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Rob Hansen (robhansen) replied to your Dreamwidth entry ""Aladdin Sane
called"" (http://unixronin.dreamwidth.org/771876.html) in which you said:


Reproducible: Always

Steps to Reproduce:
I don't know a way to guarantee reproducing this elsewhere.  My best shot at it would be to forward example messages known to cause the crash here.  All that is necessary is to mouse over a link in any "offending" message, but I don't know for sure what makes an "offending" message.  I can forward known "working" and "offending" example messages to a developer upon request.
Actual Results:  
When even briefly mousing over any link in an "offending" message, or very occasionally even just mousing into the message pane showing an "offending" message, Thunderbird crashes almost instantly.

Expected Results:  
With a "non-offending" message, I can mouse over and click links with no ill effects whatsoever.

Add-ons installed are those shipped with Thunderbird itself, plus x11-plugins/enigmail-1.1.2-r2, plus https://addons.mozilla.org/af/thunderbird/addon/54317/


babylon5:alaric:~:2 $ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r6-babylon5 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r6-babylon5-i686-AMD_Athlon-TM-_XP_2400+-with-gentoo-1.12.13
Timestamp of tree: Tue, 21 Sep 2010 05:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo                 ftp://mirror.iawnet.sandia.gov/pub/gentoo                 http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.chem.wisc.edu/gentoo                 http://gentoo.osuosl.org                 http://www.gtlib.gatech.edu/pub/gentoo                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/robbat2 /var/lib/alaric"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fltk fortran gdbm gif gpm gtk hal iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session speex spell sse ssl startup-notification svg sysfs tcpd theora threads tiff tk tools truetype unicode usb utils vorbis x264 x86 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="cmipci emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-21 16:47:38 UTC
Please attach the message file to avoid line wrapping within comments.
Comment 2 Phil Stracchino (Unix Ronin) 2010-09-21 20:35:53 UTC
Created attachment 248293 [details]
"safe" email message example (LiveJournal comment notification)
Comment 3 Phil Stracchino (Unix Ronin) 2010-09-21 20:40:21 UTC
Created attachment 248294 [details]
"unsafe" message example (Dreamwidth comment notification)

Mousing over any of the four "From here you can..." links in this message will cause Thunderbird 3.1.3 to crash.  The other links in the message appear safe.
Comment 4 Jory A. Pratt gentoo-dev 2010-09-22 00:31:03 UTC
(In reply to comment #3)
> Created an attachment (id=248294) [details]
> "unsafe" message example (Dreamwidth comment notification)
> 
> Mousing over any of the four "From here you can..." links in this message will
> cause Thunderbird 3.1.3 to crash.  The other links in the message appear safe.
> 

You will actually either need to forward one of the offending emails to mozilla@gentoo.org or get a proper backtrace.
Comment 5 Phil Stracchino (Unix Ronin) 2010-09-22 11:33:26 UTC
I've just tested forwarding one of the offending messages to a different mailbox of mine, and it doesn't work.  It looks as though the forward is re-encapsulating or reformatting the message in such a way that the problem no longer occurs.  A bounce/redirect would probably work, but Thunderbird doesn't have a built-in message redirect function, and the redirect extension I used to have doesn't work in Thunderbird 3.1.

I will TRY to get a backtrace, but I've not had a good success rate at it so far.  When I've tried it with other packages, I've been unable to reproduce the problem with a debugging build.
Comment 6 Phil Stracchino (Unix Ronin) 2010-09-22 11:45:28 UTC
...Yup, confirmed that forwarding the messages resets the Content-Type to text/plain, and the problem goes away.  Which does at least mean I have a workaround by forwarding them to a different mailbox.

I'm going to change some mail delivery settings a moment to generate a test message I CAN redirect.
Comment 7 Phil Stracchino (Unix Ronin) 2010-09-22 12:11:48 UTC
(In reply to comment #6)
> ...Yup, confirmed that forwarding the messages resets the Content-Type to
> text/plain, and the problem goes away.  Which does at least mean I have a
> workaround by forwarding them to a different mailbox.
> 
> I'm going to change some mail delivery settings a moment to generate a test
> message I CAN redirect.


...And sent.
Comment 8 Phil Stracchino (Unix Ronin) 2010-09-24 22:03:30 UTC
New information (thought to try it today):  This only occurs if viewing message body as HTML (either original or simple).  If I view message bodies as text, the crash does not occur and the links work.

This data is probably not unexpected, but I figured I should confirm it anyway.
Comment 9 Sergey S. Starikoff 2010-09-30 09:42:59 UTC
The similiar problem.

My Thunderbird is configured to use plain text format by default.
I'm not shure about appearing of this problem if the default mail format is html.
Comment 10 Phil Stracchino (Unix Ronin) 2010-09-30 11:06:22 UTC
(In reply to comment #9)
> The similiar problem.
> 
> My Thunderbird is configured to use plain text format by default.
> I'm not shure about appearing of this problem if the default mail format is
> html.

Sergey, you're correct, this problem only occurs using HTML rendering.
Comment 11 Sergey S. Starikoff 2010-09-30 11:30:23 UTC
(In reply to comment #10)
> Sergey, you're correct, this problem only occurs using HTML rendering.
> 
You've don't understood me.

I'm not shure if the problem of html-rendering appears in the case of using html as default format for e-mails.
Comment 12 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 06:40:21 UTC
Does this still happen with thunderbird-9.0? Please test and reopen if necessary. Thanks!
Comment 13 Phil Stracchino (Unix Ronin) 2012-01-28 21:16:08 UTC
(In reply to comment #12)
> Does this still happen with thunderbird-9.0? Please test and reopen if
> necessary. Thanks!

I have just retested with 9.0 and I confirm that this problem is no longer reproducible.
Comment 14 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 21:19:10 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > Does this still happen with thunderbird-9.0? Please test and reopen if
> > necessary. Thanks!
> 
> I have just retested with 9.0 and I confirm that this problem is no longer
> reproducible.

Thanks for getting back to us! Closing as FIXED.