Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104985 - mozilla-firefox crashes with BadShmSeg
Summary: mozilla-firefox crashes with BadShmSeg
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL: http://www.map24.de/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 02:26 UTC by Martin von Gagern
Modified: 2005-12-11 15:44 UTC (History)
0 users

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 Martin von Gagern 2005-09-06 02:26:55 UTC
Most of the time when I visit the map24 page, my firefox (compiled from source)
crashes, and if I started it in a terminal window, I get an error message as
described below. Sometimes everything works fine...

Reproducible: Sometimes
Steps to Reproduce:
1. Start firefox
2. visit http://www.map24.de/
3. search for some place or route

Actual Results:  
New
SetWindow
SetWindow
Destroy
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 785 error_code 178 request_code 147 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
firefox-bin exited with non-zero status (1)

Another time, the serial was 86 instead of 785.

Expected Results:  
Map displayed using java.

www-client/mozilla-firefox-1.0.6-r5  -debug -gnome +ipv6 +java -mozcalendar
-mozdevelop -moznoxft +mozsvg +truetype -xinerama -xprint
dev-java/sun-jdk-1.5.0.04  +browserplugin +doc -jce +mozilla

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre6
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2"
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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=prescott -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://mir.zyrianes.net/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.71"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts auctex avi bash-completion
bcmath berkdb bigger-fonts bitmap-fonts bzip2 bzlib c++ cairo cdparanoia cdr
chroot crypt css cups curl dba dhcp divx4linux dnd doc dts dv dvd eds emboss
encode escreen esd ethereal exif faad fam fastcgi fbcon ffmpeg fftw firefox flac
flatfile foomaticdb fortran ftp gcc-libffi gd gdbm gif gimp gimpprint gnutls gpm
graphviz gs gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde
latex ldap libg++ libwww lirc lm_sensors lzo lzw mad maildir mailwrapper mikmod
mime mjpeg mmx motif mozilla moznocompose mozxmlterm mp3 mpeg mpeg2 mplayer
mpm-worker mule mysql ncurses net network nls no-old-linux nptl nsplugin odbc
ogg oggvorbis opengl operanom2 oss pam pdf pdflib perl php pic pie plotutils png
postgres povray procmail python qt quicktime rdesktop readline real recode samba
sasl savedconfig sdl slang smime sndfile sockets sox spell sse sse2 ssl svga
tcltk tcpd tetex threads thunderbird tiff tokenizer transcode translator
truetype truetype-fonts type1 type1-fonts unicode usb userlocales utf8 v4l v4l2
vorbis wmf xanim xchattext xemacs xine xml xml2 xmms xv xvid xvmc zlib
linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Martin von Gagern 2005-09-06 02:37:28 UTC
As this looks somewhat like the bug described here:
https://bugzilla.mozilla.org/show_bug.cgi?id=189573
and this is a flash issue, some additional info about flash.
I'm using gplflash, with the following flags:

net-www/gplflash-0.4.13  +alsa -debug +oss
Comment 2 Martin von Gagern 2005-09-06 03:05:59 UTC
Same problem with www-client/mozilla-firefox-bin-1.0.6-r2; it was serial 
342 this time.
Comment 3 Martin von Gagern 2005-09-06 04:59:55 UTC
I recompiled mozilla-firefox and gplflash with USE=debug. I started firefox with
--debug and --sync and tried to set a breakpoint on gdk_x_error. I got the same
error again, but the debugger did not stop at the breakpoint. So I still have no
stack trace.
Comment 4 Jory A. Pratt 2005-12-11 15:44:20 UTC
Most gplflash will not work with current  gecko based browsers. I would suggest
you remove the plugin and use netscape-flash or wait for gplflash2 to get to a
useable state.