Page 1 of 1

Segmentation fault in Ubuntu Edgy

Posted: 29 Dec 2006 17:23
by anemon
Hi there!

Just ripped my first DVD with dvd::rip, and it worked like a breeze. That is, the file (in .avi format, encoded to xvid) plays just fine in MPlayer/Totem. The problem is that VLC won't accept the file! The program opens briefly, and then crashes without warning. Running it from terminal just gives me:

Code: Select all

VLC media player 0.8.6 Janus Segmentation fault (core dumped)
... and nothing more. Is there something wrong with the rip -- and, in that case, why would it work in Totem? I've never had any problems with VLC before, so I'm a bit confounded. What to do?

Best / A.

Re: Segmentation fault in Ubuntu Edgy

Posted: 03 Jan 2007 14:22
by anemon
Hm. Doesn't seem to be much going on in this forum... :wink:

Posted: 03 Jan 2007 14:25
by Jean-Baptiste Kempf
Can you provide a sample ?
For me, the problem is your version of VLC. ubuntu ships an unsupported version.

Posted: 03 Jan 2007 17:49
by anemon
Hey! Thanks for taking the time! :D Although I'm afraid I'm not sure what kind of "sample" to provide you with... Like, a sample of the .avi file? In that case, what software would I use to make one?

(You're up against a newbie!)

As for the version number, I guess that would be "0.8.6 Janus" (as in the code snippet above). Is there a more recent one? I also have the libdvdcss2 package, but not vlc-plugin-esd -- although that can hardly be the problem, right?

Best / A.

Posted: 03 Jan 2007 19:48
by ipkiss
Since you have a core file, please provide the stack so that we at least know what part of VLC crashed. To do that, run 'gdb vlc core' (you may need to adapt the path to the core file, and the name may be slightly different). Then type 'where', and post the output here.

Posted: 04 Jan 2007 13:35
by anemon
Would be glad to oblige, if I could only figure out a way to find the core file. What folder(s) would it most probably show up in?

Posted: 04 Jan 2007 18:17
by ipkiss
It is often in the current directory, but not always, i don't know the rule. Also have a look in ~/.vlc (recursively).

If it is simply called "core", or "core.pid" (where pid is the process id), and if your file database is up to date (use "sudo updatedb" to make sure it is), the following command should give it (among other stuff):

Code: Select all

locate core | grep "/core\(\.\d\+\)\?$"

Posted: 21 Feb 2007 15:56
by nantonop
if ur segfault does not produce a core dump then type "ulimit -c unlimited" on ur session and try again.

Re:

Posted: 09 Sep 2008 03:43
by diamondblast
if ur segfault does not produce a core dump then type "ulimit -c unlimited" on ur session and try again.
Why things must be so complicated.
I don;t understand much and luckly this is not my problem this time.
However just trying to get this code dump .... it's sounds not so user friendly.
Sometimes I just wish to give up all this new stuff.