Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox 3, Thunderbird, Bluefish HTML editor all crash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 269
Location: Calgary, Alberta

PostPosted: Sat Oct 18, 2008 7:34 pm    Post subject: Firefox 3, Thunderbird, Bluefish HTML editor all crash Reply with quote

Hi:

When I run Firefox 3 (compiled), Thunderbird, or Bluefish editor, and I try to do anything that requires the "open file" dialog, the application crashes.

I noticed in Thunderbird that it only crashes if I try to go to my home directory. I've just installed BlueFish, so the default directory is probably my home directory.

I installed firefox-bin and don't have the problem with it, but everything else is compiled and I'd prefer to use the source-built firefox anyway.

Here's the console output for Thunderbird when it crashes in this way:

Code:

$ thunderbird
No running windows found
Registering Enigmail account manager extension.
Enigmail account manager extension registered.
*** glibc detected *** /usr/lib/mozilla-thunderbird/thunderbird-bin: free(): invalid next size (fast): 0xacd063b0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7462a00]
/lib/libc.so.6(cfree+0x89)[0xb74646f9]
/usr/lib/libgio-2.0.so.0[0xb73d78c0]
/usr/lib/libgio-2.0.so.0[0xb73d4cae]
/usr/lib/libgio-2.0.so.0(g_content_type_guess+0x9b)[0xb739963b]
/usr/lib/libgio-2.0.so.0[0xb73cd667]
/usr/lib/libgio-2.0.so.0[0xb73ce179]
/usr/lib/libgio-2.0.so.0[0xb73cc31f]
/usr/lib/libgio-2.0.so.0[0xb73a8d4a]
/usr/lib/libgio-2.0.so.0[0xb73ba5a9]
/usr/lib/libgio-2.0.so.0[0xb73b3e84]
/usr/lib/libglib-2.0.so.0[0xb779ecf7]
/usr/lib/libglib-2.0.so.0[0xb779d16f]
/lib/libpthread.so.0[0xb7d3c18b]
/lib/libc.so.6(clone+0x5e)[0xb74be09e]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 fd:03 171628     /usr/lib/mozilla-thunderbird/thunderbird-bin
0805a000-0805b000 r--p 00012000 fd:03 171628     /usr/lib/mozilla-thunderbird/thunderbird-bin
0805b000-0805c000 rw-p 00013000 fd:03 171628     /usr/lib/mozilla-thunderbird/thunderbird-bin
0805c000-094d9000 rw-p 0805c000 00:00 0          [heap]
acd00000-acd21000 rw-p acd00000 00:00 0
acd21000-ace00000 ---p acd21000 00:00 0
acf00000-acf21000 rw-p acf00000 00:00 0
acf21000-ad000000 ---p acf21000 00:00 0
ad08d000-ad77c000 r--p 00000000 fd:03 1327452    /usr/share/icons/gnome/icon-theme.cache
ad77c000-ad908000 r--p 00000000 fd:03 1983229    /usr/share/icons/hicolor/icon-theme.cache
ad908000-ad909000 ---p ad908000 00:00 0
ad909000-ae109000 rw-p ad909000 00:00 0
ae109000-ae10a000 ---p ae109000 00:00 0
ae10a000-ae90a000 rw-p ae10a000 00:00 0
ae90a000-ae90b000 ---p ae90a000 00:00 0
ae90b000-af10b000 rw-p ae90b000 00:00 0
af10b000-af10c000 ---p af10b000 00:00 0
af10c000-afb00000 rw-p af10c000 00:00 0
afb79000-afb7a000 ---p afb79000 00:00 0
afb7a000-b037a000 rw-p afb7a000 00:00 0
b037a000-b037b000 ---p b037a000 00:00 0
b037b000-b0c7c000 rw-p b037b000 00:00 0
b0c9d000-b0cfd000 rw-s 00000000 00:08 42565635   /SYSV00000000 (deleted)
b0cfd000-b0cfe000 ---p b0cfd000 00:00 0
b0cfe000-b14fe000 rw-p b0cfe000 00:00 0
b14fe000-b14ff000 ---p b14fe000 00:00 0
b14ff000-b1cff000 rw-p b14ff000 00:00 0
b1cff000-b1d00000 ---p b1cff000 00:00 0
b1d00000-b26f5000 rw-p b1d00000 00:00 0
b26f5000-b2700000 ---p b26f5000 00:00 0
b2700000-b2800000 rw-p b2700000 00:00 0
b2800000-b2900000 rw-p b2800000 00:00 0
b2910000-b2991000 rw-p b2910000 00:00 0
b2991000-b29d5000 r-xp 00000000 fd:03 613400     /usr/lib/nss/libnssckbi.so.12
b29d5000-b29dc000 r--p 00044000 fd:03 613400     /usr/lib/nss/libnssckbi.so.12
b29dc000-b29e0000 rw-p 0004b000 fd:03 613400     /usr/lib/nss/libnssckbi.so.12
b29e0000-b29ef000 r--p 00000000 fd:03 1086666    /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
b29ef000-b2a00000 r--p 00000000 fd:03 1086664    /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
b2a00000-b2af7000 rw-p b2a00000 00:00 0
b2af7000-b2b00000 ---p b2af7000 00:00 0
b2b07000-b2b09000 r--p 00000000 fd:03 901284     /usr/share/locale/en_CA/LC_MESSAGES/atk10.mo
b2b09000-b2b12000 r--p 00000000 fd:03 901399     /usr/share/locale/en_CA/LC_MESSAGES/glib20.mo
b2b12000-b2b32000 r-xp 00000000 fd:03 180810     /usr/lib/gio/modules/libgvfsdbus.so
b2b32000-b2b33000 r--p 0001f000 fd:03 180810     /usr/lib/gio/modules/libgvfsdbus.so
b2b33000-b2b34000 rw-p 00020000 fd:03 180810     /usr/lib/gio/modules/libgvfsdbus.so
b2b34000-b2b38000 r--p 00000000 fd:03 1097753    /usr/share/fonts/75dpi/courR12.pcf.gz
b2b38000-b2b3c000 r--p 00000000 fd:03 1097776    /usr/share/fonts/75dpi/helvR10.pcf.gz
b2b3c000-b2b40000 r--p 00000000 fd:03 1086708    /usr/share/fonts/100dpi/helvB10.pcf.gz
b2b40000-b2b45000 r--p 00000000 fd:03 1086711    /usr/share/fonts/100dpi/helvB18.pcf.gz
b2b45000-b2b55000 r--p 00000000 fd:03 1086663    /usr/share/fonts/ttf-bitstream-vera/VeraBI.ttf
b2b55000-b2b65000 r--p 00000000 fd:03 1086667    /usr/share/fonts/ttf-bitstream-vera/VeraIt.ttf
b2b65000-b2ba3000 r-xp 00000000 fd:03 606495     /usr/lib/nss/libfreebl3.so.12
b2ba3000-b2ba4000 r--p 0003e000 fd:03 606495     /usr/lib/nss/libfreebl3.so.12
b2ba4000-b2ba5000 rw-p 0003f000 fd:03 606495     /usr/lib/nss/libfreebl3.so.12
b2ba5000-b2bfc000 r-xp 00000000 fd:03 164148     /usr/lib/libsqlite3.so.0.8.6
b2bfc000-b2bfd000 r--p 00057000 fd:03 164148     /usr/lib/libsqlite3.so.0.8.6
b2bfd000-b2bfe000 rw-p 00058000 fd:03 164148     /usr/lib/libsqlite3.so.0.8.6
b2bfe000-b2bff000 ---p b2bfe000 00:00 0
b2bff000-b33ff000 rw-p b2bff000 00:00 0
b33ff000-b3400000 ---p b33ff000 00:00 0
b3400000-b3d01000 rw-p b3400000 00:00 0
b3d01000-b3d02000 rw-p b3d01000 00:00 0
b3d02000-b3d21000 r-xp 00000000 fd:03 613401     /usr/lib/nss/libnssdbm3.so.12
b3d21000-b3d22000 r--p 0001e000 fd:03 613401     /usr/lib/nss/libnssdbm3.so.12
b3d22000-b3d23000 rw-p 0001f000 fd:03 613401     /usr/lib/nss/libnssdbm3.so.12
b3d23000-b3d52000 r-xp 00000000 fd:03 613404     /usr/lib/nss/libsoftokn3.so.12
b3d52000-b3d53000 r--p 0002e000 fd:03 613404     /usr/lib/nss/libsoftokn3.so.12
b3d53000-b3d54000 rw-p 0002f000 fd:03 613404     /usr/lib/n/usr/libexec/mozilla-launcher: line 119:  7386 Aborted                 $(type -P aoss) "$mozbin" $xulparams "$@"
thunderbird-bin exited with non-zero status (134)


It's not clear to me what is failing or why.

Here's my 'emerge --info':
Code:

# emerge --info
Portage 2.1.4.5 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Fri, 17 Oct 2008 20:06:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.4.3-r1, 1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/share/config"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.datapipe.net/gentoo"
LANG="en_CA"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi afs alsa avi berkdb bidi cli cracklib crypt cups curl dri dvb dvd dvdr firefox flac fortran gdbm gpm gtk gtk2 iconv imagemagick imap imlib ipv6 isdnlog java jpeg kde ldap lib midi mmx mmxext mozilla mp3 mudflap nas ncurses nls nptl nptlonly nsplugin oggvorbis opengl openmp oss pam pcre pda pdflib perl png ppds pppd python qt qt3 quicktime readline real reflection samba sdl session spl ssl svga theora tiff truetype unicode usb videos win32codecs wmf www x86 xinerama xml xml2 xorg xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
pfoifry
n00b
n00b


Joined: 17 Oct 2008
Posts: 5

PostPosted: Mon Oct 20, 2008 6:10 pm    Post subject: Memory leak! Reply with quote

It looks like there is a memory error:

Code:

*** glibc detected *** /usr/lib/mozilla-thunderbird/thunderbird-bin: free(): invalid next size (fast): 0xacd063b0 ***


If you are a developer, you could re-emerge with debugging and use valgrind or gdb to track down the problem.

If you are not I would try other routes first, namely doing an emerge --sync and seeing if a newer build is available. It is also possibly that you have changed your use flag which sometimes makes for strange things. If this is the case, try a newuse and a deep update as outlined at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 (in the new use section). I had similar problems building firefox 3 but everything works fine for me now with 3.0.3.

Hope this helps!
_________________
I have had my results for a long time: but I do not yet know how I am to arrive at them.
-Carl Friedrich Gauss
Back to top
View user's profile Send private message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 269
Location: Calgary, Alberta

PostPosted: Mon Oct 20, 2008 8:57 pm    Post subject: Workaround Reply with quote

I backed up my /etc/portage/package.keywords and did

emerge -uavND world

Portage downgraded about 75 packages, but then a bunch of stuff didn't work at all anymore, so I ran revdep-rebuild. I still had to put a few packages in package.keywords to keep my system running (openrc disappears without ~x86 and baselayout reverts to 1.x, which caused total havoc).

Firefox 3 depends on unstable packages and because this problem occurred in multiple applications (Firefox, Thunderbird, Bluefish and others!) I think the problem is in one of those dependencies. I thought it might be xulrunner, but Bluefish doesn't seem to use it, so maybe it's gtk+, I don't know.

Basically, I've had to go back to Firefox 2.0.0.17, which is fine, as it's more important to have a stable browser than the extra bells and whistles that Firefox 3 offers. I don't think Firefox 3 is stable enough for me yet.

Anyway, after reverting and doing revdep-rebuild, Firefox, Thunderbird and Bluefish all work now.
Back to top
View user's profile Send private message
pfoifry
n00b
n00b


Joined: 17 Oct 2008
Posts: 5

PostPosted: Fri Oct 31, 2008 12:48 am    Post subject: Firefox 3 Reply with quote

Glad you found a solution. Perhaps the reason I have no such trouble is that I have ACCEPT_KEYWORDS="~x86".

Cheers!
_________________
I have had my results for a long time: but I do not yet know how I am to arrive at them.
-Carl Friedrich Gauss
Back to top
View user's profile Send private message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 269
Location: Calgary, Alberta

PostPosted: Fri Oct 31, 2008 4:27 pm    Post subject: Re: Firefox 3 Reply with quote

pfoifry wrote:
Glad you found a solution. Perhaps the reason I have no such trouble is that I have ACCEPT_KEYWORDS="~x86".

Cheers!


That's not generally recommended, which is why I haven't done it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum