Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox 1.5.0.1-r3 mplayerplug-in 3.21 crash [SOLVED]
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
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Wed Mar 29, 2006 1:46 am    Post subject: firefox 1.5.0.1-r3 mplayerplug-in 3.21 crash [SOLVED] Reply with quote

The crash:
Code:
GetBoundingMetrics (char *)
/usr/libexec/mozilla-launcher: line 117: 14041 Segmentation fault      "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

emerge -C'ing mplayerplug-in fixes it, however, I'd like to use it. I have no issues with flash/java - seems to be mplayerplug-in only. I have gtk+ 1.2.10-r11 and 2.8.12 installed.

I've tried "export XLIB_SKIP_ARGB_VISUALS=1" in /usr/bin/firefox and "LC_ALL=C firefox", neither of which worked.

Suggestions?


Last edited by destr0yr on Sat Apr 29, 2006 6:28 am; edited 1 time in total
Back to top
View user's profile Send private message
quellthrix
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 111

PostPosted: Wed Mar 29, 2006 6:29 am    Post subject: Reply with quote

Have you tried mixing and matching mplayerplug-in versions?

I'm using firefox 1.5-r11 and mplayerplug-in 3.21 with pretty decent success, but when I was on firefox <1.5, I really had to pick and choose what versions of mplayer/mplayerplug-in I had installed until it actually got stable. Trying adding various keywords to package.keywords or downgrading to a different (more stable?) version. I got messages like that in my terminals when I ran firefox with versions of mplayerplug-in it didn't like.
_________________
"Ford," he said, "you're turning into a penguin. Stop it."
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Wed Mar 29, 2006 1:35 pm    Post subject: Reply with quote

I have that problem sometimes when I updated mplayer but did not recompile mplayerplug-in. Did you rebuild the plugin?
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Fri Mar 31, 2006 2:04 am    Post subject: Reply with quote

quellthrix wrote:
Have you tried mixing and matching mplayerplug-in versions?

I'm using firefox 1.5-r11 and mplayerplug-in 3.21 with pretty decent success, but when I was on firefox <1.5, I really had to pick and choose what versions of mplayer/mplayerplug-in I had installed until it actually got stable. Trying adding various keywords to package.keywords or downgrading to a different (more stable?) version. I got messages like that in my terminals when I ran firefox with versions of mplayerplug-in it didn't like.

I have attempted to mix and match, however, have not had any luck. I am running gcc 4.1 and cannot get any other verisons of firefox in the 1.5 line to compile, other than 1.5.0.1-r3. I have tried mplayerplug-in 2.80, 3.11 and 3.21, all with no luck.

I've recompiled both mplayerplug-in and mozilla-firefox multiple times. I have also attempted to remove flash, java and use only mplayerplug-in - it still crashes.

I did attempt to convert my system to UTF-8 - I wonder if this has anything to do with it? I'm also curious what other users of firefox-1.5.0.1-r3 & mplayerplug-in are using? In /etc/locales.build I have:
Code:
en_US/ISO-8859-1
en_US.UTF-8/UTF-8

In /etc/env.d/02locale:
Code:
LC_ALL="en_US.UTF-8"

However, when I run locale -a, I see: (should I be setting these to utf8 rather than UTF-8?)
Code:
locale -a
C
en_US
en_US.utf8
POSIX

If I run strace firefox (with mplayerplug-in emerged), and browse to 'about:plugins', I see this:
Code:
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cf7000
read(3, "# Locale name alias data base.\n#"..., 131072) = 2528
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7cf7000, 131072)              = 0
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "/usr/libexec/mozilla-launcher: l"..., 86/usr/libexec/mozilla-launcher: line 117: 26723 Segmentation fault      "$mozbin" "$@"
) = 86
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbf9c5398, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807c8c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(1, F_DUPFD, 10)                 = 10
fcntl64(1, F_GETFD)                     = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
dup2(2, 1)                              = 1
fcntl64(2, F_GETFD)                     = 0
write(1, "firefox-bin exited with non-zero"..., 46firefox-bin exited with non-zero status (139)
) = 46

Any suggestions would be greatly appreciated.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Mar 31, 2006 2:06 am    Post subject: Reply with quote

Try emerging mplayerplug-in with the gecko-sdk USE flag. It solved alot of my crashes.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Fri Mar 31, 2006 3:40 am    Post subject: Reply with quote

nesl247 wrote:
Try emerging mplayerplug-in with the gecko-sdk USE flag. It solved alot of my crashes.

Thank you for your response. I had tried that and upon seeing your response, I tried again. It crashes when browing to 'about:plugins' or gentoo-wiki.com... :cry:
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Fri Mar 31, 2006 12:53 pm    Post subject: Reply with quote

So which version of mplayer do you have on your system?
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Fri Mar 31, 2006 6:58 pm    Post subject: Re: firefox 1.5.0.1-r3 mplayerplug-in 3.21 crash Reply with quote

destr0yr wrote:
The crash:
Code:
GetBoundingMetrics (char *)
/usr/libexec/mozilla-launcher: line 117: 14041 Segmentation fault      "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

emerge -C'ing mplayerplug-in fixes it ...

I am offering a "me too" post.

I had the exact same problem with mozilla and mplayerplug-in, and I am also using gcc-4.1

I'm not sure how to fix it, but when I did emerge -e world (to take care of some other issues), then mplayerplug-in was working OK once more.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Sat Apr 01, 2006 12:21 am    Post subject: Reply with quote

Teetante wrote:
So which version of mplayer do you have on your system?

media-video/mplayer-1.0.20060302
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Sat Apr 01, 2006 12:22 am    Post subject: Re: firefox 1.5.0.1-r3 mplayerplug-in 3.21 crash Reply with quote

cyrillic wrote:
I'm not sure how to fix it, but when I did emerge -e world (to take care of some other issues), then mplayerplug-in was working OK once more.

I'll letcha know how this turns out next week... ;)
Back to top
View user's profile Send private message
kdvgent
Apprentice
Apprentice


Joined: 29 Sep 2004
Posts: 288

PostPosted: Tue Apr 04, 2006 3:36 pm    Post subject: Same problem with binary versions Reply with quote

I am running ~AMD64, gcc 4.1, but I am trying to build a properly working firefox with java, flash, mplayer enable.

So I am running mozilla-firefox-bin, emul-linux-x86-java, netscape-flash, mplayer-bin and mplayerplug-in-bin (as found via the following forum entry http://forums.gentoo.org/viewtopic-t-447949-highlight-mplayer+firefox+amd64.html.

I have exactly the same problem:
Quote:
karel@gentoo ~ $ firefox-bin
No running windows found
checking to see if we need to make a button
n->url=http://www.bbc.co.uk/radio3/ram/r3g2.rpm
url=/radio3/ram/r3g2.rpm
href=(null)
/usr/libexec/mozilla-launcher: line 117: 2294 Segmentation fault "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

The realmedia stream runs OK but when I close the window, all browser instances crash.

A bug is outstanding against mozilla-launcher (bug http://bugs.gentoo.org/show_bug.cgi?id=128221), where I provided additional information.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Tue Apr 04, 2006 4:09 pm    Post subject: Re: Same problem with binary versions Reply with quote

kdvgent wrote:
I am running ~AMD64, gcc 4.1, but I am trying to build a properly working firefox with java, flash, mplayer enable.

So I am running mozilla-firefox-bin, emul-linux-x86-java, netscape-flash, mplayer-bin and mplayerplug-in-bin (as found via the following forum entry http://forums.gentoo.org/viewtopic-t-447949-highlight-mplayer+firefox+amd64.html.

IIRC, mplayer-bin is keyworded for ~amd64. I am athlon-xp... I will keep an eye on it though, thank you.

My emerge -e world died on mplayer... can't see to emerge it for the life of me...
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Tue Apr 04, 2006 5:15 pm    Post subject: Re: Same problem with binary versions Reply with quote

destr0yr wrote:
My emerge -e world died on mplayer... can't see to emerge it for the life of me...

Try USE="-mmx" when you emerge mplayer.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Tue Apr 04, 2006 6:03 pm    Post subject: Re: Same problem with binary versions Reply with quote

cyrillic wrote:
destr0yr wrote:
My emerge -e world died on mplayer... can't see to emerge it for the life of me...

Try USE="-mmx" when you emerge mplayer.

tried that. here's what is spit back:
Code:

OURCE  -I.. -o downmix.o downmix.c
cc -c  -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC  -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -o imdct.o imdct.c
In file included from imdct.c:761:
imdct_3dnow.h: In function âfft_asmb_3dnowâ:
imdct_3dnow.h:241: error: can't find a register in class âGENERAL_REGSâ while reloading âasmâ
make[1]: *** [imdct.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/liba52'
make: *** [liba52/liba52.a] Error 2

!!! ERROR: media-video/mplayer-1.0.20060302 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mplayer-1.0.20060302.ebuild, line 485:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.

My emerge -pv output:
Code:
Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0.20060302  USE="-3dfx -3dnow* -3dnowext* X -aac -aalib alsa -arts -bidi -bindist -bl cdparanoia -cpudetection -custom-cflags -debug -dga -directfb* -doc -dts -dv -dvb dvd dvdread -edl encode esd -fbcon* -ggi gif gtk -i8x0 ipv6 -jack -joystick jpeg -libcaca -lirc -live -livecd lzo mad -matroska -matrox -mmx* -mmxext -musepack -nas nls -nvidia* -openal opengl oss png real -rtc -samba -sdl* -sse* -sse2* -svga* -tga -theora truetype v4l v4l2 vorbis win32codecs -x264 -xanim xinerama xmms xv xvid -xvmc" 0 kB

CFLAGS have been stripped down to "-march=athlon-xp -O2 -pipe".
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Tue Apr 04, 2006 8:01 pm    Post subject: Reply with quote

This is what I have for flags, and it compiles OK for me.
Code:
# emerge -pv mplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0.20060302  USE="3dnow 3dnowext X alsa custom-cflags dts dvd dvdread encode esd fbcon gif gtk jpeg mad mmxext nls opengl oss png real rtc samba sdl sse truetype vorbis win32codecs xmms xv xvid -3dfx -aac -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -debug -dga -directfb -doc -dv -dvb -edl -ggi -i8x0 -ipv6 -jack -joystick -libcaca -lirc -live -livecd -lzo -matroska -matrox -mmx -musepack -nas -nvidia -openal -sse2 -svga -tga -theora -v4l -v4l2 -x264 -xanim -xinerama -xvmc" 0 kB

Total size of downloads: 0 kB



BTW, I tried recompiling mplayer by itself, and it didn't fix mplayerplug-in. There is probably some other package that interacts with it to cause the segfault.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Thu Apr 06, 2006 3:00 am    Post subject: Reply with quote

cyrillic wrote:
This is what I have for flags, and it compiles OK for me.
Code:
# emerge -pv mplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0.20060302  USE="3dnow 3dnowext X alsa custom-cflags dts dvd dvdread encode esd fbcon gif gtk jpeg mad mmxext nls opengl oss png real rtc samba sdl sse truetype vorbis win32codecs xmms xv xvid -3dfx -aac -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -debug -dga -directfb -doc -dv -dvb -edl -ggi -i8x0 -ipv6 -jack -joystick -libcaca -lirc -live -livecd -lzo -matroska -matrox -mmx -musepack -nas -nvidia -openal -sse2 -svga -tga -theora -v4l -v4l2 -x264 -xanim -xinerama -xvmc" 0 kB

Total size of downloads: 0 kB



BTW, I tried recompiling mplayer by itself, and it didn't fix mplayerplug-in. There is probably some other package that interacts with it to cause the segfault.

Thank you. I was able to get through a mplayer emerge properly with this set of USE flags. Hopefully the emerge -e world idea proposed above will correct my firefox/mplayerplug-in issue.
Back to top
View user's profile Send private message
Havin_it
l33t
l33t


Joined: 17 Jul 2005
Posts: 941
Location: Edinburgh, UK

PostPosted: Thu Apr 06, 2006 7:58 am    Post subject: Reply with quote

To add to what kdvgent said, I'm getting the same bug in different circumstances (apparently javascript-related, including performing a search on the Gentoo bugzilla!). I found that those can be prevented by running /usr/lib/mozilla-firefox/firefox-bin on its own - maybe it'll work for thie problem too.

Not a true 'fix' I know, but may keep life bearable until it's dealt with.

On that subject, are there any risk-factors with running firefox-bin directly?
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Wed Apr 12, 2006 4:15 am    Post subject: Reply with quote

Well, I finished the `emerge -e world` and tried out firechicken again, only to have the same crash (when going to about:plugins). If I run /usr/lib/mozilla-firefox/firefox directly and goto about:plugins, I see this error:
Code:
/usr/lib/mozilla-firefox/run-mozilla.sh: line 131: 26748 Segmentation fault      "$prog" ${1+"$@"}

Soo, I removed mplayerplug-in again, tried out vlc. vlc crashes at about:plugins when run with firefox, but WORKS if i run firefox with /usr/lib/mozilla-firefox/firefox.

Messed up? I think so.
Back to top
View user's profile Send private message
Havin_it
l33t
l33t


Joined: 17 Jul 2005
Posts: 941
Location: Edinburgh, UK

PostPosted: Wed Apr 12, 2006 9:09 pm    Post subject: Reply with quote

My problem went away after removing -ffast-math and -mfpmath=sse from my C(XX)FLAGS and rebuilding KDE and Qt - maybe the mplayer-plugins too if you're still having problems, I dunno.
Back to top
View user's profile Send private message
crazy-bee
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 170

PostPosted: Sun Apr 16, 2006 6:02 pm    Post subject: Reply with quote

Havin_it wrote:
To add to what kdvgent said, I'm getting the same bug in different circumstances (apparently javascript-related, including performing a search on the Gentoo bugzilla!). I found that those can be prevented by running /usr/lib/mozilla-firefox/firefox-bin on its own - maybe it'll work for thie problem too.


"Me too" for the javascript when performing a search on Gentoo bugzilla. Thanks for that "fix"! Wild guess something in between recent firefox and gcc 4.1.
Back to top
View user's profile Send private message
destr0yr
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 80
Location: Kelowna, BC.

PostPosted: Sat Apr 29, 2006 6:28 am    Post subject: Reply with quote

I've got mozilla-firefox-1.5.0.2, mozilla-launcher 1.51, and mplayerplug-in 3.25 and this issue seems to have gone away... I'll consider it solved.
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