LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2004, 01:39 PM   #1
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Rep: Reputation: 15
mplayer Segmentation fault


it is in my Gentoo Linux, when use mplayer

# mplayer
Segmentation fault

i have no idea about this, plz help me! thanks very much!

and when i tried glxinfo, it is the same
 
Old 10-12-2004, 08:16 PM   #2
Socka
Member
 
Registered: May 2003
Location: GuangZhou,China
Posts: 30

Original Poster
Rep: Reputation: 15
plz!
 
Old 10-13-2004, 05:06 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not exactly much to go on there... run mplayer though gdb to see what's happening when it's crashing.
Code:
gdb mplayer
run
bt
this will print the stack of function and library calls that were being done when it died. hopefully it will point to an external library that you can simply re-emerge.
 
Old 10-29-2004, 09:08 AM   #4
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
Different person, same problem. It was working, now it doesn't. It doesn't report any initialization stuff so I figure it's early on.

Code:
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mplayer
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
(gdb)
rebuilding with debug enabled ...
 
Old 10-29-2004, 12:26 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ouch, well that's less than useless... might i suggest compiling it natively if you haven't already? it's really very easy (well as easy as any other source install)
 
Old 10-29-2004, 12:48 PM   #6
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
ouch, well that's less than useless... might i suggest compiling it natively if you haven't already? it's really very easy (well as easy as any other source install)
I dunno about easier, I compiled it "natively" since the .9 level versions (on RedHat systems).

I rebuilt and no help. Even just "mplayer" had the same result.

BUT!!
I found the problem. It was OpenGL. I ran opengl-update to switch to x11 GL and it worked fine.

So for you gentoo users, try that if you get the same symptoms.

But now, -vo sdl doesn't work anymore (it did before it all went south). sdl is/was my favored video output.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation fault dand Linux - Newbie 2 12-16-2004 04:45 PM
segmentation fault ntduongntd Linux - General 4 11-29-2004 12:00 PM
Segmentation fault with MPlayer beetlenaut Linux - Software 4 07-19-2004 04:09 AM
Segmentation Fault XPediTioN Slackware 2 09-18-2003 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration