Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266820 - mail-client/mozilla-thunderbird-2.0.0.21 hangs in nsAutoMonitor::Wait() forever
Summary: mail-client/mozilla-thunderbird-2.0.0.21 hangs in nsAutoMonitor::Wait() forever
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 03:21 UTC by georg.lippold
Modified: 2010-03-22 01:24 UTC (History)
1 user (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 georg.lippold 2009-04-20 03:21:48 UTC
I have multiple IMAP accounts configured in Thunderbird. Additionally, my network connection is unreliable (sometimes the wireless connection drops due to distance problems for several seconds (up to 2 minutes)). I noticed that Thunderbird often hangs and is only able to be shut down by a "killall thunderbird-bin" or the like.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
A stacktrace of Thunderbird with gdb after recompiling Thunderbird with "debug":

(gdb) where
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7c91cb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7ce3e8f in PR_WaitCondVar () from /usr/lib/nspr/libnspr4.so.7
#3  0xb7ce3f18 in PR_Wait () from /usr/lib/nspr/libnspr4.so.7
#4  0xb7d77328 in nsAutoMonitor::Wait ()
   from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#5  0xb7d74512 in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#6  0xbff428f0 in ?? ()
#7  0xffffffff in ?? ()
#8  0xbff428fc in ?? ()
#9  0x80470007 in ?? ()
#10 0x80470007 in ?? ()
#11 0xb7c97b36 in __errno_location () from /lib/libpthread.so.0
#12 0x08efd2f8 in ?? ()
#13 0xbff42c04 in ?? ()
#14 0x00000001 in ?? ()
#15 0x08efd2f8 in ?? ()
#16 0x00000001 in ?? ()
#17 0xb7e04ff4 in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#18 0x08eee6c4 in ?? ()
#19 0xbff4295c in ?? ()
#20 0xb7d7573d in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#21 0x08efd26c in ?? ()
#22 0xbff4293c in ?? ()
#23 0xbff42938 in ?? ()
#24 0xb7d772fb in nsAutoMonitor::~nsAutoMonitor ()
   from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#25 0xb7d7419d in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#26 0x08ef0f78 in ?? ()
#27 0x00001000 in ?? ()
#28 0xbff429b4 in ?? ()
#29 0xb5dbcff4 in ?? () from /usr/lib/mozilla-thunderbird/components/libmail.so
#30 0xbff429ec in ?? ()
#31 0xb59a01ce in ?? () from /usr/lib/mozilla-thunderbird/components/libmail.so
#32 0x08efd26c in ?? ()
#33 0x08ef0f78 in ?? ()
#34 0x00001000 in ?? ()
#35 0xbff429b4 in ?? ()
#36 0x08efd260 in ?? ()
#37 0x08efd26c in ?? ()
#38 0xb7deeca8 in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#39 0x00000094 in ?? ()
#40 0x08bc09a8 in ?? ()
#41 0xb7e04ff4 in ?? () from /usr/lib/mozilla-thunderbird/libxpcom_core.so
#42 0xbff429cc in ?? ()
#43 0x00000000 in ?? ()
(gdb)

To me this looks like the destructor of nsAutoMonitor was calling nsAutoMonitor::Wait() and hanging there forever. Maybe a timeout in Wait() would be possible (something like 2 seconds or so?).


emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-Genuine_Intel-R-_CPU_2160_@_1.80GHz-with-glibc2.0
Timestamp of tree: Sat, 18 Apr 2009 13:15:03 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=native -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/ppp /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/www/localhost"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -mtune=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.mirror.aarnet.edu.au/pub/gentoo ftp://ftp.mirror.aarnet.edu.au/pub/gentoo"
LANG="en_DK.UTF8"
LC_ALL="en_DK.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_DK en_GB en_AU de de_DE"
MAKEOPTS="-j5"
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="/usr/portage/local/layman/xfce-dev /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X X509 a52 aac ace acl acpi admin aim alsa amr ao apache2 async audacious audiofile autocreate automount autosieve bash-completion bdf berkdb binary-drivers bl bluetooth bonjour branding bzip2 cairo cddb cdparanoia cdr cli colordiff cpudetection cpufreq cracklib crypt css cups dbus dga dri dts dvb dvd dvdnav dvdr dvdread dvi dxr2 dxr3 ecc eds emboss encode esd evo fam fastcgi fat ffmpeg firefox flac flatfile fortran ftp gcj gdbm gif gnome gpm gs gstreamer gtk hal hddtemp icecast iconv icq id3 idea idled idn imagemagick imap ipv6 irc isdnlog jabber java5 java6 javascript jce jpeg jpeg2k junit kde kpathsea ladspa lame latex ldap libnotify mad matroska md5sum midi mikmod mime mmap mmx mng modplug mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 mpi mplayer mpu401 msn mudflap musepack musicbrainz nas ncurses nfs nis nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp osc oscar pam pcre pdf perl php pmu png pnm portaudio posix ppds pppd pulseaudio python qt3 qt3support qt4 quicktime rar readline realmedia reflection replytolist rt61pci rtc sasl screen sdl sensord server session shorten silc smime smp sox speex spell spl srt ssl startup-notification svg swat sysfs syslog sysvipc szip tcpd tetex tga theora threads tiff tivo tools transcode transparency truetype tta type1 unicode unsupported_8bit upnp urandom usb uuencode v4l v4l2 vcd vidix vim-syntax vorbis vorbis-psy wav wavpack wifi win32codecs wma wmf wmp x264 x86 xcomposite xext xfce xml xorg xpm xprint xscreensaver xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel usb-audio" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_DK en_GB en_AU de de_DE" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2009-04-21 16:24:29 UTC
Try with mail-client/mozilla-thunderbird-bin and with a clean profile.
Comment 2 Tolga Dalman 2009-10-09 11:14:38 UTC
I'm seeing similar problems while composing new emails.

(In reply to comment #1)
> Try with mail-client/mozilla-thunderbird-bin and with a clean profile.

Although this is what I'm going to do next, it doesn't help with the fact that mail-client/mozilla-thunderbird seems to be broken and should be either fixed or removed entirely.

 

Comment 3 Jory A. Pratt gentoo-dev 2009-10-09 11:30:13 UTC
(In reply to comment #2)
snip
> Although this is what I'm going to do next, it doesn't help with the fact that
> mail-client/mozilla-thunderbird seems to be broken and should be either fixed
> or removed entirely.

Your not being forced to use thunderbird, there are plenty of options in the tree. If you can reproduce it with thunderbird-bin then we can work with upstream to come to a solution that will work for all users. I for one an unable to duplicate such a problem with thunderbird-3.0_beta4.
Comment 4 Tolga Dalman 2009-10-09 14:06:01 UTC
> Your not being forced to use thunderbird, there are plenty of options in the
> tree. If you can reproduce it with thunderbird-bin then we can work with
> upstream to come to a solution that will work for all users. I for one an
> unable to duplicate such a problem with thunderbird-3.0_beta4.

The point is, that thunderbird is currently broken for me and other users. Until thunderbird 3 reaches stable phase I am going to use the -bin version. It sounds promising to me that you have no problems with version 3 :)
 

Comment 5 Jory A. Pratt gentoo-dev 2010-03-22 01:24:25 UTC
(In reply to comment #4)
> > Your not being forced to use thunderbird, there are plenty of options in the
> > tree. If you can reproduce it with thunderbird-bin then we can work with
> > upstream to come to a solution that will work for all users. I for one an
> > unable to duplicate such a problem with thunderbird-3.0_beta4.
> 
> The point is, that thunderbird is currently broken for me and other users.
> Until thunderbird 3 reaches stable phase I am going to use the -bin version. It
> sounds promising to me that you have no problems with version 3 :)
> 
> 

tb-3.0.3 is stable update summary and reopen if problem persists.