If I try to open thunderbird (from mozilla-thunderbird-bin-1.0.7) as a non root user I get a segmentation fault. If I try as root, it works fine. Reproducible: Always Steps to Reproduce: 1. try to open thunderbird as non root user 2. 3. Actual Results: I get the following segmentation fault: rodrigo@fellini ~ $ thunderbird No running windows found (thunderbird-bin:11257): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?) /usr/libexec/mozilla-launcher: line 116: 11257 Segmentation fault "$mozbin" "$@" thunderbird-bin exited with non-zero status (139) Expected Results: Opened successfully. fellini rodrigo # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.11-win4lin i686) ================================================================= System uname: 2.6.11-win4lin i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" 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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirror.sdv.fr http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/" LANG="pt_BR" MAKEOPTS="-j9" PKGDIR="/var/packages/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-fabrica" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apm arts audiofile avi bitmap-fonts bzip2 bzlib cddb cdparanoia cdr crypt cups curl dga dts dvd edl eds emboss encode faac faad fam fame ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gmp gpm gstreamer gtk2 imagemagick imlib jbig jpeg jpeg2k kde kdeenablefinal lcms ldap libcaca libg++ libwww live lzo mad matroska md5sum mikmod mjpeg mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline real ruby samba scanner sdl speex spell ssl svg svga tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wmf xine xinerama xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Created attachment 71596 [details] Run against existing .thunderbird directory
Comment on attachment 71596 [details] Run against existing .thunderbird directory Sorry, wrong bug
please check permissions on $HOME/.thunderbird/* seems to me you have started it using sudo or root through su. If this is the case as root chown -R username:users /home/username to fix permissions on your entire user dir.
Answering Comment #3: the problem isn't this. Just for certainty, I executed the chmod you suggested but nothing changed. I fixed the problem. Analysing a strace of thunderbird I saw that it had problems accessing some nscd files/directories. I started nscd and did the chmods nscd init script asked me to. After that thunderbird worked fine. As far as my personal problem matters, this bug can be closed. I am not closing it myself just in case someone wants to further investigate the reason that the unavailability of nscd affected thunderbird from mozilla-thunderbird-bin but not thunderbird from mozilla-thunderbird.
Created attachment 73794 [details] The strace file with the segmentation fault (strace -ff -tt -v -o...) I said this bug could be closed. Well, I take it back :) Thunderbird isn't starting again with the same symptons: it works as root but not as a regular user. Just for the sake of completude, I rechecked the permissions on $HOME/.thunderbird/*. Everything is fine. I made a strace of thunderbird as I did last time I had this problem. It was through strace I found out the thunderbird was having problems with nscd. Well, now the problems are elsewhere. Apparently it's having problems with a getrlimit call: 11:31:37.765024 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 11:31:37.765208 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 11:31:37.765284 rt_sigaction(SIGSEGV, NULL, {0xb7978dd0, [], 0}, 8) = 0 The above lines are taken from the strace log I sent. What's happening? How can I fix this?
Is this issue still present? Have you tried upgrading Thunderbird to 1.5.0.5 (released today)? I'm trying to clean up old bugs at the moment. If you're still having problems, please advise... otherwise I'll resolve this bug. Thanks, Stuart Longland
(In reply to comment #6) > Is this issue still present? I really can't say. I'm not even using Thunderbird anymore. > Have you tried upgrading Thunderbird to 1.5.0.5 > (released today)? No. > I'm trying to clean up old bugs at the moment. If you're still having > problems, please advise... otherwise I'll resolve this bug. As far as I'm concerned, this bug can be closed.
Okay... I'll resolve it WORKSFORME... if anyone strikes trouble, feel free to re-open the bug and I'll look into it. Appologies for the delay getting to this bug. (The mozilla herd has gone through quite a bit of termoil lately and things are only just settling down.)