Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136575 - Firefox 1.5.0.4 crashes when using media plugins such as totem plugin, mplayerplug-in
Summary: Firefox 1.5.0.4 crashes when using media plugins such as totem plugin, mplay...
Status: RESOLVED INVALID
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: 2006-06-12 13:00 UTC by Mohit Soni
Modified: 2006-07-01 12:53 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 Mohit Soni 2006-06-12 13:00:30 UTC
My firefox keeps crashing at startup. 
I changed the debugging=false option in /usr/libexec/mozilla-launcher to debugging=true

I first tried the totem plugin. But I failed. It causes a SIGSEGV

I also tried it with mplayerplug-in. I unmerged totem and merged mplayerplug-in. Same result 

I am using xorg 7 with ati-drivers-8.24
This is my emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.0
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/wget"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS="en hi"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif faac faad ffmpeg flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imlib isdnlog ithreads java jpeg jpeg2k kde libg++ libwww lm_sensors mad matroska mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl pic png pppd python qt qt4 quicktime readline real reflection rtc ruby samba sdl server session spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wxwindows x264 xine xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_en linguas_hi userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_fbdev video_cards_vesa video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.0
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/wget"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS="en hi"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif faac faad ffmpeg flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imlib isdnlog ithreads java jpeg jpeg2k kde libg++ libwww lm_sensors mad matroska mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl pic png pppd python qt qt4 quicktime readline real reflection rtc ruby samba sdl server session spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wxwindows x264 xine xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_en linguas_hi userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_fbdev video_cards_vesa video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I do not know if this has any relation with Bug 135052 (http://bugs.gentoo.org/show_bug.cgi?id=135052)
Comment 1 Mohit Soni 2006-06-12 13:01:30 UTC
Adding output from gdb log when totem was used
(gdb) run
Starting program: /usr/lib/mozilla-firefox/firefox-bin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1221228880 (LWP 14896)]
[New Thread -1222554720 (LWP 14902)]
[New Thread -1240626272 (LWP 14903)]
[New Thread -1249018976 (LWP 14904)]
[New Thread -1264059488 (LWP 14914)]
[Thread -1264059488 (LWP 14914) exited]
[New Thread -1272452192 (LWP 14915)]
[Thread -1272452192 (LWP 14915) exited]
[New Thread -1272452192 (LWP 14916)]
[New Thread -1264059488 (LWP 14917)]
[New Thread -1284506720 (LWP 14918)]
[Thread -1284506720 (LWP 14918) exited]
[New Thread -1284506720 (LWP 14920)]
[New Thread -1293104224 (LWP 14921)]
[New Thread -1301496928 (LWP 14923)]
[New Thread -1309889632 (LWP 14924)]
[New Thread -1318282336 (LWP 14925)]
[New Thread -1326675040 (LWP 14926)]
[New Thread -1335067744 (LWP 14927)]
[Thread -1284506720 (LWP 14920) exited]
[Thread -1301496928 (LWP 14923) exited]
[Thread -1309889632 (LWP 14924) exited]
[Thread -1318282336 (LWP 14925) exited]
[Thread -1326675040 (LWP 14926) exited]
[Thread -1335067744 (LWP 14927) exited]
[Thread -1293104224 (LWP 14921) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221228880 (LWP 14896)]
0xafe9c8e4 in totemMozillaScript::GetIID () from /usr/lib/nsbrowser/plugins/libtotem_mozilla.so

Comment 2 Mohit Soni 2006-06-12 13:02:41 UTC
Adding log output from gdb when mplayerplug-in was used
(gdb) run
Starting program: /usr/lib/mozilla-firefox/firefox-bin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1221265744 (LWP 17591)]
[New Thread -1222591584 (LWP 17616)]
[New Thread -1240663136 (LWP 17624)]
[New Thread -1249055840 (LWP 17625)]
which: no aria in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/ati/bin:/opt/sun-jdk-1.5.0.04/bin:/opt/sun-jdk-1.5.0.04/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/player/bin)
[New Thread -1264096352 (LWP 17635)]
[Thread -1264096352 (LWP 17635) exited]
[New Thread -1272489056 (LWP 17636)]
[Thread -1272489056 (LWP 17636) exited]
[New Thread -1272489056 (LWP 17637)]
[New Thread -1264096352 (LWP 17638)]
[New Thread -1281692768 (LWP 17640)]
[New Thread -1290085472 (LWP 17641)]
[New Thread -1298539616 (LWP 17643)]
[Thread -1298539616 (LWP 17643) exited]
[New Thread -1298539616 (LWP 17647)]
[New Thread -1310721120 (LWP 17653)]
[Thread -1272489056 (LWP 17637) exited]
[New Thread -1272489056 (LWP 17654)]
[Thread -1310721120 (LWP 17653) exited]
[New Thread -1310721120 (LWP 17655)]
[Thread -1272489056 (LWP 17654) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221265744 (LWP 17591)]
0xb1f642f0 in strlcat () from /opt/netscape/plugins/mplayerplug-in-gmp.so

Comment 3 Mohit Soni 2006-06-12 13:04:26 UTC
Sorry for the multiple comments but I could not put it all in one comment.

If there is anything that you can tell me that I can do to debug this further please do so, I would be grateful you you could debug this bug and will be glad to help  you in any way I can.

Thanks
Regards
Mohit
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 13:05:06 UTC
Please, use attachments for such huge output.
Comment 5 Jory A. Pratt 2006-06-12 14:58:13 UTC
Rebuild both plugins against latest firefox!!! Once you do this try and reproduce the crash, I am unable to reproduce such a crash with either plugin installed.
Comment 6 Mohit Soni 2006-06-12 15:33:03 UTC
This is against the latest firefox, I am using version 1.5.0.4. 

Do you want me to upgrade gecko-sdk or mozilla packages?

Or Should I rebuilt firefox and mplayerplug-in with CFLAGS="-O -ggdb" and try again ?
Comment 7 Jory A. Pratt 2006-06-12 18:15:10 UTC
(In reply to comment #6)
> This is against the latest firefox, I am using version 1.5.0.4. 
> 
> Do you want me to upgrade gecko-sdk or mozilla packages?
> 
> Or Should I rebuilt firefox and mplayerplug-in with CFLAGS="-O -ggdb" and try
> again ?
> 
 USE="firefox" emerge mplayerplug-in totem building against gecko-sdk is gonna fail as they are two different rendering engines.
Comment 8 Jory A. Pratt 2006-07-01 12:53:17 UTC
Any plugin not built against the browser in this case firefox are incompatible and will cause a segfault.