Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126344 - mail-client/mozilla-thunderbird-1.5-r1 crashes when editing messages
Summary: mail-client/mozilla-thunderbird-1.5-r1 crashes when editing messages
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: 2006-03-15 13:51 UTC by P Nienaber
Modified: 2006-12-22 08:12 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P Nienaber 2006-03-15 13:51:41 UTC
This has only happened a handful of times, and I have /not/ figured out how to reproduce it reliably.  I've also, unfortunately, usually been very busy trying to get a message sent when it happens and so I try to reconstruct the message from memory rather than reconstructing what I did to trigger the bug.  However, others have told me they have experienced similar problems, and this is a big issue, so now it's a bug.

The crashes have /always/ happened (for me) when editing a message.  IIRC, what usually triggers it is cutting/deleting a decent-sized block of text (a few lines) that have been highlighted.  Also IIRC (getting a bit more fuzzy here, but I might as well mention it) I think it's usually been when the text being deleted contains formatting, either as a result of a paste from elsewhere or as a result of hitting reply/forward.
Comment 1 P Nienaber 2006-03-15 13:54:59 UTC
Er, right, and one of these:

I should mention that thunderbird is built with sys-devel/gcc-4.0.2-r3, not 4.1.0.

Portage 2.1_pre5-r4 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-ck1 x86_64)
=================================================================
System uname: 2.6.15-ck1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/db/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aim alsa apache2 avi berkdb bitmap-fonts bzip2 cddb crypt cscope cups dri dvd dvdr eds emboss encode fbcon flac foomaticdb fortran gif gimpprint gpm gtk gtk2 imap imlib javascript joystick jpeg kerberos krb4 lzw lzw-tiff mad mp3 mpeg ncurses new-login nptl nptlonly nvidia objc ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline real sdl spell ssl tcpd threads tiff truetype-fonts type1-fonts unicode usb v4l2 vorbis xine xml xmms xpm xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Mario Bachmann 2006-03-18 23:39:47 UTC
I have the same behaviour since several versions of mozilla-thunderbird and gcc.

Actually i use mail-client/mozilla-thunderbird-1.5-r1 .

emerge --info
Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r0, 2.6.15.6 i686)
=================================================================
System uname: 2.6.15.6 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/mnt/data/archiv/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://duron/gentoo-portage"
USE="x86 3dnow X acl acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cairo cdr cjk crypt cups dri dvb dvd dvdr eds emboss encode esd exif
 ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal icq imlib ipv6 jabber java jpeg jpeg2k kde ldap
 libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl oss pam pdflib perl png pyth
on qt quicktime readline sdl speex spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l vhosts vorbis win32codecs wmf xine xine
rama xml2 xmms xprint xv yahoo zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 3 Axis 2006-03-19 10:48:46 UTC
I've gotten this crash a lot since upgrading to 1.5. As said, it happens when deleting a selection of text (with the backspace or delete keys).

Terminal shows: 

/usr/libexec/mozilla-launcher: line 119: 24532 Segmentation fault      "$mozbin" "$@"
thunderbird-bin exited with non-zero status (139)

My thunderbird was built with gcc 3.4.
Comment 4 Frank Wales 2006-03-23 07:16:44 UTC
(In reply to comment #3)
> I've gotten this crash a lot since upgrading to 1.5. As said, it happens when
> deleting a selection of text (with the backspace or delete keys).

I think I can duplicate this rather annoying bug.  Try the following:

+ use 'Write' to open a blank composition window

+ enter this text into the body of the message (don't bother with recipients or a Subject line):

jfjfjfjfjfjfjfjfjfj
jfjfjfjfjfjfjfjfjfj
jfjfjfjfjfjfjfjfjfj

 + now go to the start of the second line, and enter a line of 'k's, with
an enter, to give you:

jfjfjfjfjfjfjfjfjfj
kkkkkkkkkkkkkkkkkkk
jfjfjfjfjfjfjfjfjfj
jfjfjfjfjfjfjfjfjfj

 + move the cursor to the very end of the message, and then just hold down
the backspace key -- somewhere in the middle of the message, thunderbird
crashes

(I don't think there'e anything special about the letters I used, it's just
what I typed, so you might as well try the same characters.)

My emerge info output follows -- note that it looks like it ought to be fairly unstable, but my laptop is extremely stable anyway :-).  This looks like a straightforward coding bug in how TB handles its message data structures, rather than a platform problem.  Hopefully, if others can duplicate the problem with what I've written here, it might make debugging it easier.


Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mcpu=pentium-m -mtune=pentium-m -ffast-math -falign-functions=64 -finline-functions -funswitch-loops -fomit-frame-pointer -fforce-addr -fforce-mem -fno-ident -fno-regmove -ftracer -funit-at-a-time -fweb -maccumulate-outgoing-args -mno-push-args -mno-align-stringops -minline-all-stringops -pipe"
CHOST="i686-pc-linux-gnu"
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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mcpu=pentium-m -mtune=pentium-m -ffast-math -falign-functions=64 -finline-functions -funswitch-loops -fomit-frame-pointer -fforce-addr -fforce-mem -fno-ident -fno-regmove -ftracer -funit-at-a-time -fweb -maccumulate-outgoing-args -mno-push-args -mno-align-stringops -minline-all-stringops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.arc.ltd/gentoo http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common -s"
LINGUAS="en_GB"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage-overlay"
SYNC="rsync://gromit/gentoo-portage"
USE="x86 X X509 aac acl acpi aim alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bootsplash bzip2 cdr crypt css cups curl dbus divx4linux doc dri dts dvd dvdread eds emacs emboss encode esd ethereal evo evolution exif expat fam ffmpeg fftw firefox flac foomaticdb fortran freetype gd gdbm gif glut gmail gmp gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile hal id3 idea idn imagemagick imap imlib ipod jabber jack java javascript jikes jpeg junit kde kdeenablefinal lame lcms libg++ libwww live logrotate lzo mad matroska mhash mikmod mjpeg mmx mmxext mng mozdevelop mozilla mozsvg mp3 mpeg mplayer msn mysql ncurses network nfs nls nptl nptlonly nsplugin nvidia objc oci8 odbc offensive ogg oggvorbis openal opengl oscar pam pcmcia pcre pda pdflib perl pic png postgres python qt quicktime rc5 readline real recode rhino rss rtc ruby samba sdl slang smartcard smime spell sql sqlite sse sse2 ssl subversion svg svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xanim xine xml xml2 xmms xscreensaver xv xvid xvmc yahoo zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL
Comment 5 P Nienaber 2006-03-26 18:41:18 UTC
Duplication method works for me.  Continues to be reproducable with a clean profile.
Comment 6 Alexey Spiridonov 2006-03-29 12:08:11 UTC
(In reply to comment #5)

The exact method described doesn't work for me, but typing a little more text, then munging it around with cut-and-paste a few times, then going to the end of the message and holding backspace does work.

However, I cannot get this to happen with mozilla-thunderbird-bin. I think this is a Gentoo-specific bug.
Comment 7 Lee Harr 2006-04-01 16:58:23 UTC
I see this one regularly also. Using 1.5-r2 on AMD Athlon (should change bug "hardware" to All?) I've lost several long compositions to this. Very annoying. (should bump up severity?)

I asked in the Thunderbird support forum if this is a known issue. Was told they "can't support 3rd party builds."
Comment 8 P Nienaber 2006-04-01 17:11:29 UTC
I'll get around to it when I can, but can someone post a GDB backtrace of this happening?
Comment 9 Jan Boysen 2006-04-02 16:03:44 UTC
I have the same symthom on AMD64...

after I compiled Thunderbird with USE="+debug" I get that error message..
I think that causes the Segfault:

WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsFilteredContentIterator.cpp, line 110
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(res)) failed, file mozInlineSpellChecker.cpp, line 905
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/xpcom/nsCOMPtr.h, line 849
Break: at file ../../../dist/include/xpcom/nsCOMPtr.h, line 849
/usr/libexec/mozilla-launcher: line 117: 18175 Segmentation fault      "$mozbin" "$@"
thunderbird-bin exited with non-zero status (139)

additionaly the backtrace as requested:

(gdb) bt
#0  0x00002aaab37142b1 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#1  0x00002aaab3731d32 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#2  0x00002aaab36bbfe2 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#3  0x00002aaab36e67ae in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#4  0x00002aaab36ed61d in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#5  0x00002aaab3722040 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#6  0x00002aaab372a1fe in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libeditor.so
#7  0x00002aaab26dee49 in CopyASCIItoUCS2 () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#8  0x00002aaab26e373f in CopyASCIItoUCS2 () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#9  0x00002aaab2691001 in CopyASCIItoUCS2 () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#10 0x00002aaab26b392e in CopyASCIItoUCS2 () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#11 0x00002aaab24bb27d in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#12 0x00002aaab24bc291 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#13 0x00002aaab27e5bc0 in nsSupportsArray::Count () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#14 0x00002aaab27e6715 in nsSupportsArray::Count () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#15 0x00002aaab27d89b7 in nsSupportsArray::Count () from /usr/lib64/mozilla-thunderbird/components/libgklayout.so
#16 0x00002aaab0b68949 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so
#17 0x00002aaab0b5e2b1 in ?? () from /usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so
#18 0x00002aaaab7aee49 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00002aaaac2b08d0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x00002aaaac2c710d in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#21 0x00002aaaac2c6050 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0x00002aaaac2c659a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0x00002aaaab8da33f in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00002aaaab8d9ea2 in gtk_widget_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002aaaab8e95be in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00002aaaab8e9656 in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x00002aaaab7aee49 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00002aaaac2b0bc0 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#29 0x00002aaaac2b08d0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#30 0x00002aaaac2c733f in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#31 0x00002aaaac2c6050 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#32 0x00002aaaac2c659a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#33 0x00002aaaab8da33f in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x00002aaaab8d9ea2 in gtk_widget_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x00002aaaab7ad35e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x00002aaaab7ac08e in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x00002aaaabb63266 in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0
#38 0x00002aaaac51a77a in g_main_depth () from /usr/lib/libglib-2.0.so.0
#39 0x00002aaaac51bb77 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00002aaaac51c078 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0x00002aaaac51c7cf in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#42 0x00002aaaab7ab7bf in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#43 0x00002aaab0b66791 in ?? () from /usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so
#44 0x00002aaab12953c6 in NSGetModule () from /usr/lib64/mozilla-thunderbird/components/libtoolkitcomps.so
#45 0x0000000000408ea4 in ?? ()
#46 0x00002aaaacf54674 in __libc_start_main () from /lib/libc.so.6
#47 0x0000000000403b0a in ?? ()
#48 0x00007fffff8b5528 in ?? ()
#49 0x000000000000001c in ?? ()
#50 0x0000000000000001 in ?? ()
#51 0x00007fffff8b662c in ?? ()
#52 0x0000000000000000 in ?? ()
(gdb)  
Comment 10 Mario Bachmann 2006-04-15 09:54:30 UTC
when i start thunderbird at the command line (xterm), i got the following messages after editing a reply email using the backspace key to remove some old text with the blue vertical line in front:

# thunderbird 
No running windows found
MimeDummy_initialize: class_name=MimeDummy
MimeDummy_parse_begin:
MimeDummy_parse_begin: nchildren=2
MimeDummy_parse_begin: sibling class_name=MimeEncryptedCMS
MimeDummy_parse_begin: sibling superclass_name=MimeEncrypted
MimeDummy_parse_begin: found MimeEncrypted
MimeEnig_init:
MimeEnig_eof:
MimeEnig_free:
Hash Manager Error : 1
Error - could not open affix description file /usr/lib/mozilla-thunderbird/components/myspell/de-DE.aff
Failure loading aff file /usr/lib/mozilla-thunderbird/components/myspell/de-DE.aff
MimeEnig_init:
MimeEnig_eof:
MimeEnig_free:
/usr/libexec/mozilla-launcher: line 117:  7723 Speicherzugriffsfehler  "$mozbin" "$@"
thunderbird-bin exited with non-zero status (139)

emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16.2 i686)
=================================================================
System uname: 2.6.16.2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/mnt/data/archiv/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://duron/gentoo-portage"
USE="x86 3dnow X acl acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cairo cdr cjk crypt cups dri dvb dvd dvdr eds emboss encode esd exif ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal icq imlib ipv6 isdnlog jabber java jpeg jpeg2k kde ldap libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl oss pam pdflib perl png pppd python qt quicktime readline sdl speex spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l vhosts vorbis win32codecs wmf xine xinerama xml2 xmms xprint xv yahoo zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_v4l video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS


emerge -pv mozilla-thunderbird

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] mail-client/mozilla-thunderbird-1.5-r3  USE="crypt gnome ipv6 ldap xinerama xprint -debug" 0 kB
Comment 11 Jory A. Pratt 2006-04-15 10:06:58 UTC
(In reply to comment #10)
> when i start thunderbird at the command line (xterm), i got the following
> messages after editing a reply email using the backspace key to remove some old
> text with the blue vertical line in front:
> 
> # thunderbird 
> No running windows found
> MimeDummy_initialize: class_name=MimeDummy
> MimeDummy_parse_begin:
> MimeDummy_parse_begin: nchildren=2
> MimeDummy_parse_begin: sibling class_name=MimeEncryptedCMS
> MimeDummy_parse_begin: sibling superclass_name=MimeEncrypted
> MimeDummy_parse_begin: found MimeEncrypted
> MimeEnig_init:
> MimeEnig_eof:
> MimeEnig_free:
> Hash Manager Error : 1
> Error - could not open affix description file
> /usr/lib/mozilla-thunderbird/components/myspell/de-DE.aff
> Failure loading aff file
> /usr/lib/mozilla-thunderbird/components/myspell/de-DE.aff

It is a problem with the locale not the gentoo build.
Comment 12 Frank Wales 2006-04-15 10:32:13 UTC
* POSSIBLE WORKAROUND *

In reading what Jan posted (comment #9) more closely, I noticed this:

>[...]
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(res)) failed, file
> mozInlineSpellChecker.cpp, line 905
> ###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().:

Specifically, it appears to be the inline spelling checker that explodes.  

So, I unchecked:
 
   Preferences -> Composition -> Spelling -> Enable spell as you type

(which is hideously ungrammatical, by the way, but that's not important right now).

Now, my previous crash-every-time test case in comment #4 no longer works, and indeed, I seem unable to crash Thunderbird after a couple of minutes of determined cut-and-pastery.

Does disabling as-you-type spelling checking de-crashify Thunderbird for the other people affected by this bug?
Comment 13 Adam Piątyszek 2006-04-27 00:39:48 UTC
(In reply to comment #12)
> * POSSIBLE WORKAROUND *
[...] 
> Specifically, it appears to be the inline spelling checker that explodes.  
> 
> So, I unchecked:
> 
>    Preferences -> Composition -> Spelling -> Enable spell as you type
> 
> (which is hideously ungrammatical, by the way, but that's not important right
> now).
> 
> Now, my previous crash-every-time test case in comment #4 no longer works, and
> indeed, I seem unable to crash Thunderbird after a couple of minutes of
> determined cut-and-pastery.
> 
> Does disabling as-you-type spelling checking de-crashify Thunderbird for the
> other people affected by this bug?

It seems that your workaround solves the problem of crashing Thunderbird when editing messagess. Here are my USE flags for Thunderbird:

[ebuild   R   ] mail-client/mozilla-thunderbird-1.5.0.2  +crypt -debug -gnome -ipv6 -ldap -xinerama +xprint 0 kB

/ediap


Comment 14 Frank Wales 2006-04-27 02:44:40 UTC
(In reply to comment #13)
> It seems that your workaround solves the problem of crashing Thunderbird when
> editing messagess. 

Jolly good.

> Here are my USE flags for Thunderbird:
> 
> [ebuild   R   ] mail-client/mozilla-thunderbird-1.5.0.2  +crypt -debug -gnome
> -ipv6 -ldap -xinerama +xprint 0 kB

And mine are the same, except I have '-xprint'.
Comment 15 Jory A. Pratt 2006-12-21 20:50:11 UTC
Is this still an issue ... no responce within 72 hours will result in bug being closed.
Comment 16 Adam Piątyszek 2006-12-21 23:49:19 UTC
(In reply to comment #15)
> Is this still an issue ... no responce within 72 hours will result in bug being
> closed.

Do not know, since I use mozilla-thunderbird-bin for some time and automatic check spelling does not cause any crashes... But I can not confirm that it is the case for mozilla-thunderbird-1.5.0.x.

BR,
/ediap
Comment 17 Frank Wales 2006-12-22 04:57:24 UTC
(In reply to comment #15)

I've turned on the spell-checker for the first time since I added the test-case and workaround, and Thunderbird no longer crashes for me.

So I'm happy to see this bug closed.

For the record, I'm now running thunderbird-1.5.0.7, and my emerge info is now:

Gentoo Base System version 1.12.5
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Last Sync: Sun, 10 Dec 2006 06:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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-r2, 1.10
sys-devel/binutils:  2.16.1-r2, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -mcpu=pentium-m -mtune=pentium-m -fomit-frame-pointer -funit-at-a-time -mmmx -msse -msse2 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -mcpu=pentium-m -mtune=pentium-m -fomit-frame-pointer -funit-at-a-time -mmmx -msse -msse2 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://www.arc.ltd/gentoo http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
LINGUAS="en_GB"
MAKEOPTS="-j8"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage-overlay /usr/portage/local/layman/pro-audio"
SYNC="rsync://gromit/gentoo-portage"
USE="x86 X X509 aac acpi aim alsa apache2 arts audiofile bash-completion berkdb bitmap-fonts bluetooth bonobo bootsplash branding bzip2 cdparanoia cdr cli cracklib crypt css cups curl dbus divx4linux dlloader doc dri dvd dvdread eds elibc_glibc emacs emboss encode esd ethereal evo evolution examples exif fftw firefox flac foomaticdb fortran freetype gdbm gif gmail gnome gphoto2 gstreamer gtk gtk2 gzip hal iconv id3 idea imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipod isdnlog jabber jack java javascript jikes jpeg junit kde kdeenablefinal kernel_linux lame libg++ libwww linguas_en_GB live logrotate lzo mad matroska mikmod mjpeg mmx mng mono mozdevelop mozsvg mp3 mpeg mplayer msn mysql ncurses net network nfs nls no-seamonkey nptl nptlonly nsplugin nvidia objc oci8 odbc offensive ogg opengl oscar pam pcmcia pcre pda pdf perl pic png pppd python qt qt3 qt4 quicktime rc5 readline real reflection rhino rss rtc ruby samba sdl session smartcard smime spell spl sql sse sse2 ssl subversion svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode unzip usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs wmf xanim xcomposite xml xorg xscreensaver xv xvmc yahoo zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 18 Christian Marie (RETIRED) gentoo-dev 2006-12-22 08:12:14 UTC
Sounds resolved, reopen if you think not.