Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107233 - [mozilla-firefox-1.0.7] segfault at startup if ~/.mozilla/firefox doesn't exist
Summary: [mozilla-firefox-1.0.7] segfault at startup if ~/.mozilla/firefox doesn't exist
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: 2005-09-25 20:00 UTC by Ryan Hill (RETIRED)
Modified: 2005-09-26 15:05 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 Ryan Hill (RETIRED) gentoo-dev 2005-09-25 20:00:31 UTC
when launching firefox, if the ~/.mozilla/firefox directory doesn't exist it
causes a segfault in mozilla-launcher.  it does however manage to create the
needed directory before it fails, so as a result launching firefox a second time
is successful.  the same error occurs whether launching as user or as root.

To Reproduce:

# emerge -aDtv =mozilla-firefox-1.0.7
# mv ~/.mozilla ~/mozbkup
# mkdir ~/.mozilla
# firefox

  No running windows found
  *** nsExtensionManager::_disableObsoleteExtensions - failure, catching
exception so finalize window can close
  *** loading the extensions datasource
  *** ExtensionManager:_updateManifests: no access privileges to application
directory, skipping.
  *** loading the extensions datasource
  *** ExtensionManager:_updateManifests: no access privileges to application
directory, skipping.

  (firefox-bin:7568): Pango-CRITICAL **: pango_font_map_load_fontset: assertion
`fontmap != NULL' failed
  /usr/libexec/mozilla-launcher: line 119:  7568 Segmentation fault     
"$mozbin" "$@"
  firefox-bin exited with non-zero status (139)

# firefox


Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-4.0.2-pre20050917,
glibc-2.3.5.20050722-r0, 2.6.13-ck6 i686)
=================================================================
System uname: 2.6.13-ck6 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1, 2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident"
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="-O2 -march=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa avi bash-completion berkdb bzip2 cddb cdr crypt curl
dbus dts dvd dvdr dvdread exif ffmpeg firefox flac gdbm gif gnutls gphoto2
gstreamer gtk gtk2 hal imagemagick imlib java jpeg mad mmap mmx mng motif mp3
mpeg mpi ncurses nntp nptl nsplugin ogg oggvorbis opengl pcmcia perl pic png
python qt quicktime readline ruby sdl sse sse2 ssl svg tcpd threads tiff
truetype usb vcd vorbis wifi win32codecs xml xml2 xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-26 15:05:16 UTC
Fixed in -r1.