Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119677

Summary: Spams can lock up the whole thunderbird, including loss of data.
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Severity: normal CC: guillaume.ramelet, js_cote, ninja
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description DEMAINE Benoît-Pierre, aka DoubleHP 2006-01-20 04:38:30 UTC
I receive some spams that have no sender, no det, no subject, and dated from 1970. Since moved from 1.0 to 1.5 (after esync last week), such spams make Thunderbird use 100% CPU, or 66% for TB, and 33 for FF.

I then have to kill thunderbird, implying loss of emails on work which of course can be saved ( I will still try a memdump), log onto webmail, and suppress those spams.

Then restarting TB works ... for 1 or 2h until an other 'invalid' email/spam comes in.

Since webmail does not allow to view raw email, and TB crashes, I have no way to dump you the source of email.

Maybe linked with
Surely linked with the bug about TB not automatically saving drafts !!!


$ emerge --info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r2, 2.6.15-gentoo-r1-Gentoo-moon_02 i686)
System uname: 2.6.15-gentoo-r1-Gentoo-moon_02 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
CFLAGS="-O2 -march=pentium3 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
FEATURES="autoconfig distlocks keeptemp keepwork noclean sandbox sfperms strict"
USE="x86 X a52 aac aalib acpi aim alsa amuled apache2 apic apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bl bmp bonjour bootsplash bzip2 cdda cdparanoia cdr cmov cpudetection crypt cups curl cx8 dbus de dga directfb doc dts dv dvb dvd dvdread dynamic eds emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac flash foomaticdb fortran fpu freetype fxsr gd gdbm ggi gif glut gnome gnutls gpm gs gstreamer gtk gtk2 hal howl httpd i8x0 icq idn ieee1394 imagemagick imlib ipv6 irc jabber jack java javascript jpeg kde lcms libcaca libg++ libwww lirc listentcp live lj logrotate lzo mad mca mce mikmod mmx mmxext mng mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv ncurses network nls no-htdocs nsplugin ogg oggvorbis opengl oss pae pam pat pcre pdflib perl pge png pse pse36 python qt quicktime rar readline real rss rtc samba screen sdl sensord sep silc skey skins sndfile speex spell sse ssl stream subtitles svg svga swat symlink tcpd tetex tga theora threads tiff truetype truetype-fonts tsc type1-fonts udev unicode urandom usb v4l v4l2 vcd vim vlm vme vorbis win32codecs wmf wxwindows xanim xinerama xml2 xmms xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-20 05:17:08 UTC
Please, report such issues upstream, can't see what are you expecting from us. We don't write TB, we are just distributing it.
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2006-01-20 06:26:43 UTC
because I dont hold any list of gentoo paches, and it ahhepened several times that upsream point me to distributiuon specific bugs due to distribution paches. That is why I will not report myself bugs happening into distribution directly to upstream ...

and even met the case where bugs of standaline applications (aka I downloaded and comiled myself) were due to Gentoo patches for libc !!!

Happened for valgrind, xmms, cdrecord, mplayer, firefox, two OCR applications, RPL/2 ... not to repeat past mistakes again and again. So now, I report to my distribution.

And what upstream cant deal is the fact I mentionned about when TB locks up the CPU, it takes less than 70%, and make FF use more than 18% at least, up to 29%., what makes me think about a syslib or gecko problem, or something common between FF and TB in Gentoo.

And finally, after I report Xmms bugs to Debian lists last year, the deb maint replied me that it was useless to bug upstream, and 2month later, he released himself a patch for my bug, because other people in Debian met it ...

What is upstream going to say if only Gentoo users complain about what I complain here ?  and no slak, no deb, no RH, no MDK (oups, not mandrake any more ... nm )
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 08:39:34 UTC
*** Bug 129814 has been marked as a duplicate of this bug. ***
Comment 4 David Masover 2006-05-14 02:20:43 UTC
I have an IMAP share that I can access just fine on Thunderbird on my Powerbook, but not at all on Thunderbird on my AMD64 Gentoo.  While it could be a 64-bit bug, I suspect it is a Gentoo bug.  Still, I'll report it upstream later, if no one else has.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2006-05-14 02:34:37 UTC
fact is ... it bugs less and less often on spam ... but more and more 'any time', especially when 'nothing occurs' (no new email, just 'I want to bug *now*'), or when trying to save draft (auto save draft when writing new email _ I tweaked autosave to use local dir).

Since it now bugs when nothing special occurs (or maybe new RSS entries, or things I can not be aware of using alternate event monitors), I really dont understand whats hapening.
Comment 6 Jory A. Pratt 2006-05-14 04:22:54 UTC
Unless you test -bin and confirm it is in the source compile for gentoo  with the patches that are actually from upstream bugs, nothing I am gonna do, -bin should be tested to make sure it is gentoo specific, if it happens in -bin then report it upstream if it does not then open a bug with us.
Comment 7 David Masover 2006-05-22 17:45:10 UTC
(In reply to comment #6)
> Unless you test -bin and confirm it is in the source compile for gentoo  with
> the patches that are actually from upstream bugs

Testing -bin does not confirm that.  I'm on amd64.  Who's to say that it's not simply 64-bit support that causes the bug?

Anyway, we'll never know now.  This was my Trash folder which caused the bug, there's over 10k messages in there, and I have no way of knowing which one caused the problem.  However, I could reproduce it pretty consistently by attempting to open Trash -- my PPC Mac OS X Thunderbird could open it, my amd64 Linux Thunderbird couldn't.  Thunderbird-bin appears to have cached whatever was causing the crash, and now Thunderbird works correctly on that folder.

I could probably reproduce it by wiping .thunderbird, right?
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2006-05-23 17:00:04 UTC
I still have freezes of TB about once every two days. (upgraded last week, still happens).

I can add a new comment about the fact I now also have dead crashes: since about one month, it happens that Thunderbird process just dies away ! without me clicking on kill button. Happens under vnc, E16 and E17. It can die any time, when I am not focusing it, or when reading, or writing email. I have about 100 events per hours (mailing lists, RSS, automatic filters that move or delete emails, spam detector ...) so that I know my process is quiet busy ... from the human side, I only interact with about 2 to 5 events per hour. All other events are hidden to me.

So those bug are not specifically linked to things I do/interract with my mouse, but I cant cant sware if they are linked to network things, or if cprocess would die even offline ...

cant either tell why sometimes dies and sometimes freezes ... but it does !
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-05-24 09:48:19 UTC
*** Bug 134227 has been marked as a duplicate of this bug. ***
Comment 10 Christian Marie (RETIRED) gentoo-dev 2006-12-25 19:57:33 UTC
Is this reproducable under Reopen if so.
Comment 11 DEMAINE Benoît-Pierre, aka DoubleHP 2006-12-25 23:00:17 UTC
Just happened to me right now in, does this one count ?
Comment 12 David Masover 2006-12-26 00:47:36 UTC
(In reply to comment #10)
> Is this reproducable under Reopen if so.

It's been forever since I've tried to. As far as I can tell, my TB is working flawlessly. Does anyone have one of the spams that triggers this?
Comment 13 DEMAINE Benoît-Pierre, aka DoubleHP 2007-01-05 08:15:37 UTC