Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 461028

Summary: media-video/mplayer-1.1-r1 - segmentation fault in ?
Product: Gentoo Linux Reporter: dolohow
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
SIGSEGV
backtrace
sample
sample.mkv
backtrace mplayer-1.1-r1 with ffmpeg 0.10.3
Backtrace mplayer2-2.0_p20120828 with ffmpeg-0.10.3

Description dolohow 2013-03-09 21:40:43 UTC
Mplayer crashes on some movies with:
vo=vdpau
vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,

emerge --info:
http://paste.kde.org/691460/86510713/

mplayer crash:
http://paste.kde.org/691466/36286516/

01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)

For more information post request.

Reproducible: Always
Comment 1 dolohow 2013-03-09 21:44:55 UTC
Backtrace:
http://paste.kde.org/691472/28654531/

x11-drivers/nvidia-drivers-310.32
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-10 18:57:39 UTC
Please attach all files you mentioned to this bug report.
Comment 3 dolohow 2013-03-10 19:07:48 UTC
You mean libavcodec from ffmpeg?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-12 15:18:20 UTC
No, the things you posted on http://paste.kde.org/ . Please attach those here.
Comment 5 dolohow 2013-03-12 15:22:29 UTC
Created attachment 341804 [details]
emerge --info
Comment 6 dolohow 2013-03-12 15:23:29 UTC
Created attachment 341806 [details]
SIGSEGV
Comment 7 dolohow 2013-03-12 15:23:50 UTC
Created attachment 341808 [details]
backtrace
Comment 8 Alexis Ballier gentoo-dev 2013-03-13 16:41:02 UTC
could you try to see if your problem persists with ffmpeg-1.0.5?
Comment 9 dolohow 2013-03-13 18:34:29 UTC
On ffmpeg 1.0.5:

Too many buffered pts
[h264_vdpau @ 0x7fa232be9d00]VDPAU decoding does not support video colorspace
[h264_vdpau @ 0x7fa232be9d00]decode_slice_header error
[h264_vdpau @ 0x7fa232be9d00]no frame!
Error while decoding frame!

but I switched from vdpau to gl and it's working
Comment 10 Alexis Ballier gentoo-dev 2013-03-13 18:47:54 UTC
its likely vdpau isnt supported for you movies

what does mplayer ran from command line prints ?
please attach a sample.
Comment 11 dolohow 2013-03-13 18:55:30 UTC
I did attached the sample, see previous comment.
Apart from that there also warning that I'm running slow machine.
Comment 12 Alexis Ballier gentoo-dev 2013-03-13 20:40:37 UTC
hmm, no, there is no video sample as far as I can see :)
Comment 13 dolohow 2013-03-13 21:58:24 UTC
Created attachment 341952 [details]
sample

I made this sample with media-video/ffmpeg-0.10.3
Comment 14 dolohow 2013-03-13 22:01:01 UTC
Created attachment 341954 [details]
sample.mkv
Comment 15 dolohow 2013-03-13 22:10:21 UTC
Also media-video/mplayer2 has the same bug
Comment 16 dolohow 2013-03-13 22:17:34 UTC
Created attachment 341958 [details]
backtrace mplayer-1.1-r1 with ffmpeg 0.10.3

Backtracer mplayer-1.1-r1 with ffmpeg-0.10.3 

I recompiled with debugging symbols of ffmpeg
Comment 17 dolohow 2013-03-13 22:19:27 UTC
Created attachment 341960 [details]
Backtrace mplayer2-2.0_p20120828 with ffmpeg-0.10.3
Comment 18 Alexis Ballier gentoo-dev 2013-03-15 11:00:16 UTC
Thanks, I've been able to reproduce your problem but unfortunately I have no clue how to fix this :-(
Could you please report it upstream (with the backtraces from mplayer-9999 and ffmpeg-9999)?
http://ffmpeg.org/bugreports.html for guidelines
and: https://ffmpeg.org/trac/ffmpeg
for the bug tracker
since you have a small sample, that should help them.

Also, I don't think you can reproduce this bug with the ff* tools since those do not support vdpau, so you'll have to mention mplayer and provide these logs and backtraces (don't worry about ffmpeg 0.10* they will want -9999)
Comment 19 dolohow 2013-03-18 20:22:38 UTC
Looks like it's not a ffmpeg bug, because ffplay can play this file.
Comment 20 Alexis Ballier gentoo-dev 2013-03-19 08:56:38 UTC
(In reply to comment #19)
> Looks like it's not a ffmpeg bug, because ffplay can play this file.

ffplay doesnt use vdpau afaik, so that's quite normal if it plays fine with mplayer without vdpau :)
Comment 21 Alexis Ballier gentoo-dev 2013-07-29 21:40:34 UTC
please test with mplayer-1.2_pre20130729. It doesnt seem to segfault anymore but will simply not play the video. My guess is that your vc= options are wrong.