Segfault on Mpeg/MPG

*nix specific usage questions
jduv
New Cone
New Cone
Posts: 8
Joined: 25 Feb 2007 04:19

Segfault on Mpeg/MPG

Postby jduv » 25 Feb 2007 04:27

Hello VLC community!

I have VLC 0.8.6a running on SuSE Linux 10.2. Whenever I try and open a MPG or MPEG format file, I get the following lovely output (ran with vlc -vvvv)

Code: Select all

jduv@schala2-lnx ~ > vlc -vvv VLC media player 0.8.6a Janus [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /home/jduv/.vlc/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `modules' [00000001] main private debug: recursively browsing `/usr/lib/vlc' [00000001] main private debug: recursively browsing `plugins' [00000001] main private debug: module bank initialized, found 216 modules [00000001] main private debug: opening config file /home/jduv/.vlc/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main private debug: looking for memcpy module: 3 candidates [00000001] main private debug: using memcpy module "memcpymmxext" [00000279] main playlist debug: waiting for thread completion [00000279] main playlist debug: thread 3071126416 (playlist) created at priority 0 (playlist/playlist.c:184) [00000280] main private debug: waiting for thread completion [00000280] main private debug: thread 3062733712 (preparser) created at priority 0 (playlist/playlist.c:210) [00000281] main interface debug: looking for interface module: 1 candidate [00000281] main interface debug: using interface module "hotkeys" [00000281] main interface debug: thread 3054341008 (interface) created at priority 0 (interface/interface.c:231) [00000283] main interface debug: looking for interface module: 1 candidate [00000283] main interface debug: using interface module "screensaver" [00000283] main interface debug: thread 3045948304 (interface) created at priority 0 (interface/interface.c:231) [00000285] main interface debug: looking for interface module: 5 candidates [00000285] main interface debug: using interface module "wxwidgets" [00000285] main interface debug: thread 3020405648 (manager) created at priority 0 (interface/interface.c:216) [00000285] wxwidgets interface debug: Using last windows config '(-1,0,0,1600,1200)(0,130,333,362,358)(6,0,0,-1,150)' [00000285] wxwidgets interface debug: id=0 p=(130,333) s=(362,358) [00000285] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150) ** (.:29309): CRITICAL **: clearlooks_style_draw_focus: assertion `height >= -1' failed [00000279] main playlist debug: adding playlist item `/home/jduv/Desktop/00202=69194=69194=69194.mpg' ( /home/jduv/Desktop/00202=69194=69194=69194.mpg ) [00000279] main playlist debug: creating new input thread [00000288] main input debug: waiting for thread completion [00000288] main input debug: thread 2960133008 (input) created at priority 0 (input/input.c:265) [00000288] main input debug: creating statistics handler [00000288] main input debug: `/home/jduv/Desktop/00202=69194=69194=69194.mpg' gives access `' demux `' path `/home/jduv/Desktop/00202=69194=69194=69194.mpg' [00000288] main input debug: creating demux: access='' demux='' path='/home/jduv/Desktop/00202=69194=69194=69194.mpg' [00000290] main demuxer debug: looking for access_demux module: 2 candidates [00000288] main input debug: creating access '' path='/home/jduv/Desktop/00202=69194=69194=69194.mpg' [00000293] main access debug: looking for access2 module: 8 candidates [00000293] vcd access debug: trying .cue file: /home/jduv/Desktop/00202=69194=69194=69194.cue [00000293] vcd access debug: could not find .cue file [00000293] access_file access debug: opening file `/home/jduv/Desktop/00202=69194=69194=69194.mpg' [00000293] main access debug: using access2 module "access_file" [00000299] main private debug: pre-buffering... [00000299] main private debug: received first data for our buffer [00000299] main private debug: pre-buffering done 1114078 bytes in 0s - 10312 kbytes/s [00000288] main input debug: creating demux: access='' demux='' path='/home/jduv/Desktop/00202=69194=69194=69194.mpg' [00000300] main demuxer debug: looking for demux2 module: 42 candidates [00000314] main packetizer debug: looking for packetizer module: 15 candidates [00000314] main packetizer debug: using packetizer module "packetizer_mpegvideo" [00000288] main input debug: selecting program id=0 [00000300] main demuxer debug: using demux2 module "mpgv" [00000288] main input debug: looking for a subtitle file in /home/jduv/Desktop/ [00000333] main decoder debug: looking for decoder module: 21 candidates [00000333] main decoder debug: using decoder module "libmpeg2" [00000333] main decoder debug: thread 2968697744 (decoder) created at priority 0 (input/decoder.c:159) [00000288] main input debug: `/home/jduv/Desktop/00202=69194=69194=69194.mpg' successfully opened [00000314] packetizer_mpegvideo packetizer debug: size 640x480 fps=30.000 [00000333] libmpeg2 decoder debug: 640x480 (display 640,480), aspect 576000, sar 1:1, 30.000 fps [00000333] main decoder debug: no usable vout present, spawning one [00000337] main video output debug: window size: 640x480 [00000337] main video output debug: looking for video output module: 7 candidates [00000337] xvideo video output debug: adaptor 0, port 48, format 0x32315659 (YV12) planar [00000338] main private debug: Registering subpicture channel, ID: 2 [00000338] main private debug: Registering subpicture channel, ID: 3 [00000338] main private debug: Registering subpicture channel, ID: 4 [00000338] main private debug: Registering subpicture channel, ID: 5 [00000337] xvideo video output debug: Window manager supports NetWM [00000337] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN [00000337] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE [00000337] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW [00000337] main video output debug: using video output module "xvideo" [00000337] main video output debug: waiting for thread completion [00000337] main video output debug: got 8 direct buffer(s) [00000337] main video output debug: picture in 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1 [00000337] main video output debug: picture user 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1 [00000337] main video output debug: picture out 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1 [00000337] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7 [00000337] main video output debug: thread 2977090448 (video output) created at priority 0 (video_output/video_output.c:421) Segmentation fault
VLC works beautifully on everything else (avi, wmv, mk4, mkv, mov, etc). Do I have a bug here? I know my mpeg libraries are working because I can open the same file in movie player and it works fine. Any ideas?

Also, note that the

Code: Select all

** (.:29309): CRITICAL **: clearlooks_style_draw_focus: assertion `height >= -1' failed
Appears when I click file->quick open file.

jduv
New Cone
New Cone
Posts: 8
Joined: 25 Feb 2007 04:19

Postby jduv » 26 Feb 2007 03:44

It is probably useful to also note which versions of ffmpeg and mpec2dec I have on my machine:

Code: Select all

ffmpeg v. 0.4.9-8.pm.svn20070224 mpeg2dec v. 0.4.1-0.pm.2

dimstar
Cone that earned his stripes
Cone that earned his stripes
Posts: 177
Joined: 15 Dec 2006 14:05
Location: Bucuresti, Romania
Contact:

Postby dimstar » 27 Feb 2007 17:13

How did you install VLC?

Using the RPMs from the VLC Project? wat does 'rpm -q vlc' give you?
I could see that you have ffmpeb and a52dec from the PackMan repository, and not from the VLC Repo. Can you try to change this and see if it helps?

jduv
New Cone
New Cone
Posts: 8
Joined: 25 Feb 2007 04:19

Postby jduv » 28 Feb 2007 03:35

Thanks for your reply.

Code: Select all

jduv@schala2-lnx fonts > rpm -q vlc vlc-0.8.6a-3.0
Also, I recently installed mplayer and it dies on mpg's as well. Totem, however, works perfectly fine. This leads me to believe that the problem may not be with VLC, but with ffmpeg or mpeg2dec. I installed VLC by following the directions on the VLC site for SuSE Linux 10.2 :D

I changed over to version 0.0.6980-2.0 of ffmpeg and it still breaks =(.

dimstar
Cone that earned his stripes
Cone that earned his stripes
Posts: 177
Joined: 15 Dec 2006 14:05
Location: Bucuresti, Romania
Contact:

Postby dimstar » 28 Feb 2007 14:10

Can you verify that all the packages you use are the ones from the VLC Repo?

Maybe post a list of ,pm. RPMs. you can get with
rpm -qa | grep ".pm."
Maybe I see something else that's known to cause such behaviour.

And in plus, as a small test, be sure to delete the ~/.vlc directory, in case there is a broken cache.

jduv
New Cone
New Cone
Posts: 8
Joined: 25 Feb 2007 04:19

Postby jduv » 28 Feb 2007 17:03

Hey, thanks again for all your help!

Code: Select all

jduv@schala2-lnx ~ > rpm -qa | grep .pm libxine1-1.1.4-0.pm.0 libdvdread-0.9.7-0.pm.0 mjpegtools-1.8.0-38.pm.0 libofx-0.8.3-42.pm.1 gstreamer010-plugins-base-oil-0.10.11-0.pm.1 Azureus-3.0.0.7-B04.pm.1 swfdec-0.3.6-0.pm.3 gpm-1.20.1-340 a52dec-0.7.4-3.pm.1 speex-1.1.99_1.2beta1-0.pm.0 xmms-1.2.10-200.pm.2 gstreamer010-plugins-base-0.10.11-0.pm.1 jack-devel-0.102.20-42.pm.1 mplayerplug-in-3.31-0.pm.2 libdv-1.0.0-0.pm.1 ladspa-1.12.20060812-0.pm.3 totem-2.17.3-0.pm.1 libchipcard3-3.0.2-0.pm.1 gstreamer010-plugins-base-visual-0.10.11-0.pm.1 kdemultimedia3-sound-3.5.5-31.pm.0 xorg-x11-libXpm-devel-7.2-12 libgpod-0.4.2-1.pm.2 kino-0.9.4-0.pm.1 liboil-0.3.10-0.pm.2 aqbanking-2.2.8-0.pm.1 ktoblzcheck-1.13-42.pm.1 mpeg2dec-0.4.1-0.pm.2 MPlayer-1.0rc1-1.pm.1 swftools-0.8.0-0.pm.1 libffmpeg0-0.4.9-8.pm.svn20070224 xorg-x11-libXpm-7.2-12 scpm-1.1.5-23 deltarpm-3.3-31 imlib2-1.3.0-0.pm.2 portaudio18-18.1-0.pm.2 hplip-hpijs-1.7.1-1.pm.1 sox-12.18.1-23.pm.0 libxml2-devel-2.6.26-27.pm.1 gstreamer010-plugins-good-0.10.5-0.pm.2 swfdec-gimp-0.3.6-0.pm.3 libtheora-1.0alpha7-0.pm.0 xmms-lib-1.2.10-200.pm.2 gstreamer010-0.10.11-0.pm.1 xvid-1.1.2-0.pm.1 gwenhywfar-2.5.4-0.pm.1 libmpeg2-devel-0.4.1-0.pm.2 twolame-0.3.9-0.pm.1 xsane-0.993-0.pm.1 ffmpeg-0.4.9-8.pm.svn20070224 rpm-4.4.2-76 dvd+rw-tools-7.0-0.pm.1 gengetopt-2.19.1-0.pm.1 libdts-0.0.2-0.pm.2 portaudio18-devel-18.1-0.pm.2 jack-0.102.20-42.pm.1 libcaca-0.9_0.99.beta11-0.pm.0 libmpeg2-0.4.1-0.pm.2 libxml2-2.6.26-27.pm.1 hplip-1.7.1-1.pm.1 Azureus-libswt3-gtk2-3.3M5_I20070209_1006-0.pm.1
The version of ffmpeg I have currently installed is the one from the packman repo, but I did switch it back to the vlc repo and try and run it. So I guess I should roll back all the packages associated with VLC to their VLC specific versions. I'll try that and repost.

jduv
New Cone
New Cone
Posts: 8
Joined: 25 Feb 2007 04:19

Postby jduv » 28 Feb 2007 18:42

Bingo.

Problem lies in libmpeg2. I rolled back to an earlier version (the one recommended by VLC) and it works beautifully.

Thanks for all your help guys. Now if I can just fix the other problem (see my ALSA broken pipe post).


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

Who is online

Users browsing this forum: No registered users and 6 guests