VLC 1.0.0-RC1 segfaults on MPEG-Audio

*nix specific usage questions
moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 10 May 2009 10:23

Hi guys!

After having successfully tested the pre-1 and pre-2 versions I'm currently trying to get the RC to work. I'm compiling on Ubuntu 8.10 with the standard Ubuntu-devel-packages (all deps but one unrelated one are resolved). The new 1.0.0-RC1 compiles just fine but when I run it and play an MP3-file or a video file with any kind of MPEG audio-track VLC exits with a segfault. All other audio-formats I tried worked just fine without causing any error. I suspected the new libmad-dependency to cause this error, however recompiling VLC and specifically disabling libmad on configure didn't change anything.

Any thoughts?

cheers,
moviemaniac

PS: I chose not to post the console output here because it's remarkably irrelevant. I don't get any other related output/error but the "Segmentation fault" - not even an output line about the file I tried to open.
Greetings from Austria!

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby Jean-Baptiste Kempf » 11 May 2009 01:41

Can you post a backtrace or messages?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 11 May 2009 10:19

Here's a funny thing: I recompiled VLC enabling debugging and guess what? It works like it should! So I recompiled it again for the umpteenth time, again without debugging functions (a plain ./ configure without specifically enabling or disabling anything) to try and reproduce the previous error and, sure enough, there it was again:

//edit: After more testing I can't reproduce the working version when compiling with --enable-debug...

Terminal output:

Code: Select all

klaus@klaus-imac:~/Desktop/vlc-1.0.0-rc1$ ./vlc VLC media player 1.0.0-rc1 Goldeneye [0x8fba140] main libvlc: vlc wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um vlc ohne Interface zu verwenden. Segmentation fault
var/log/messages:

Code: Select all

May 11 09:50:57 klaus-imac kernel: [ 1136.096926] vlc[2607]: segfault at 78 ip b7fa732e sp b20dd140 error 4 in libvlccore.so.2.0.0[b7f2f000+d4000]
Backtrace:

Code: Select all

GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /home/klaus/Desktop/vlc-1.0.0-rc1/vlc [Thread debugging using libthread_db enabled] VLC media player 1.0.0-rc1 Goldeneye [New Thread 0xb7cc96b0 (LWP 5772)] [0x810d140] main libvlc: vlc wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um vlc ohne Interface zu verwenden. [New Thread 0xb37b8b90 (LWP 5803)] [New Thread 0xb3737b90 (LWP 5804)] [New Thread 0xb36b6b90 (LWP 5805)] [New Thread 0xb3635b90 (LWP 5806)] [New Thread 0xb35b4b90 (LWP 5807)] [New Thread 0xb33ffb90 (LWP 5808)] [New Thread 0xb337eb90 (LWP 5809)] [New Thread 0xb32fdb90 (LWP 5810)] [New Thread 0xb327cb90 (LWP 5811)] [Thread 0xb327cb90 (LWP 5811) exited] [New Thread 0xb31fbb90 (LWP 5812)] [New Thread 0xb317ab90 (LWP 5813)] [Thread 0xb317ab90 (LWP 5813) exited] [New Thread 0xb30f9b90 (LWP 5814)] [New Thread 0xb2d8ab90 (LWP 5816)] [Thread 0xb2d8ab90 (LWP 5816) exited] [New Thread 0xb2d09b90 (LWP 5829)] [New Thread 0xb2087b90 (LWP 5830)] [New Thread 0xb1ff6b90 (LWP 5831)] [New Thread 0xb2087b90 (LWP 5772)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb2087b90 (LWP 5830)] 0xb7f5132e in aout_FiltersPlay () from /home/klaus/Desktop/vlc-1.0.0-rc1/src/.libs/libvlccore.so.2 Current language: auto; currently asm (gdb) backtrace full #0 0xb7f5132e in aout_FiltersPlay () from /home/klaus/Desktop/vlc-1.0.0-rc1/src/.libs/libvlccore.so.2 No locals. #1 0x00000000 in ?? () No symbol table info available. (gdb) info registers eax 0x0 0 ecx 0x7 7 edx 0xb2086184 -1308073596 ebx 0xb7fafff4 -1208287244 esp 0xb2086140 0xb2086140 ebp 0xb2087118 0xb2087118 esi 0xb2086150 -1308073648 edi 0x8450a88 138742408 eip 0xb7f5132e 0xb7f5132e <aout_FiltersPlay+318> eflags 0x10282 [ SF IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51
Greetings from Austria!

Image

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 15 May 2009 11:39

A small update for what it's worth: I just compiled the latest GIT-snapshot ec6a7b8ec1fc9f070d1d5242836b1d643f9f2dd8 but the error still persists.
Greetings from Austria!

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby Jean-Baptiste Kempf » 15 May 2009 11:52

OK. Can you share the bugging file?
Can you change audio output module?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 15 May 2009 12:12

by bugging file you mean upload the compiled libvlccore.so.2.0.0 library? I will also try changing the audio output modules but I kinda depend on ALSA for S/PDIF passthrough.
Greetings from Austria!

Image

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 15 May 2009 12:55

Okay, so I played around with the audio-output and here's what I've found:

if I disable audio entirely (by using the according checkbox in VLC's settings) MP3-files play just fine - except for of course me not hearing anything. If I enable audio and select any of the audio modules (Alsa, OSS, Pulse) then VLC segfaults. All other types of audio files I've tried (either standalone or embedded in a video) work just fine. I don't know if that's of any help but that's what I've found...
Greetings from Austria!

Image

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 18 May 2009 10:12

Well, as I didn't get any answer I just went ahead and put the library in question, a new backtrace and some system info into this archive: http://www.doblmann.de/vlc-ec6a7b8ec1fc ... d8.tar.bz2
Greetings from Austria!

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby Jean-Baptiste Kempf » 18 May 2009 11:13

Can you fill a bug with this data?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.0.0-RC1 segfaults on MPEG-Audio

Postby moviemaniac » 18 May 2009 11:15

will do
Greetings from Austria!

Image


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests