mplayer crashes due to build error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
New
|
Undecided
|
Unassigned |
Bug Description
This is Linux Mint 17.3 Rosa, and player 2:1.1+dfsg1-
I have been using mplayer for about five years to play files that I generate with my Technisat HD-K2 hard disc recorder.
The output files are named with the extension .TS, this looks like a proprietary format, but actually it contains a raw bit-precise image of the transport stream coming from German digital cable TV (Kabel Deutschland, now owned by Vodafone).
For many many years this worked perfectly! To play files and have correct audio, I used a small script that passes all relevant parameters (mainly demuxer commands).
To play files in standard definition I use
mplayer -demuxer lavf -audio-demuxer lavf -aid 1 "$1"
Recordings in HDTV strangely enough are labelled .TS4 by the Technisat, but also contain a bit-precise transport stream and could be played with
mplayer -demuxer lavf -audio-demuxer lavf -aid 3 "$1"
Obviously only the audio stream got a new numher. So this worked for years. About a year ago, sometimes I could not play files, and the number of occurency increased.
When I occasionally ran mplayer by command line, I alwas had some errors, most (if not all) of them were related to the fact that I edit the recordings while they are still inside the Technisat, to delete commercials, and the Technisat cuts through at binary, not at frame borders. So these errors are in my opinion irrelevant.
Now something new happens. There is a signal 11 interruption:
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/
won't help unless you provide this information when reporting a possible bug.
[ This binary of MPlayer in Debian is currently compiled with
'--enable-
'mplayer-dbg'.]
Now when I start mplayer on the command line this is what I get (abbreviated by the above mentioned irrelevant stuff):
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /media/
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[mp2 @ 0x7f718c42aa20]
[mpeg2video @ 0x7f718c42aa20]
[mp2 @ 0x7f718c42aa20]
[[couple of this, this is due to me editing the file to delete commercials. That is fine.]]
[mpegts @ 0x7f718ccd2600]
[mpegts @ 0x7f718ccd2600]PES packet size mismatch
[mpegts @ 0x7f718ccd2600]PES packet size mismatch
[[maybe a subsequent error to the above, so I guess this is irrelevant]]
[lavf] stream 0: audio (mp2), -aid 0
[lavf] stream 1: audio (mp2), -aid 1
[lavf] stream 2: video (mpeg2video), -vid 0
[lavf] stream 3: audio (mp2), -aid 2
VIDEO: [MPG2] 720x576 0bpp 25.000 fps 15000.0 kbps (1831.1 kbyte/s)
Load subtitles in /media/
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_
=======
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.1 (external)
Mismatching header version 54.35.0
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
=======
=======
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp2float @ 0x7f718c42aa20]
[[same as above?]]
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp2 @ 0x7f718c42aa20]
[[again]]
Unknown/missing audio format -> no sound
ADecoder init failed :(
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
AUDIO: 44100 Hz, 2 ch, mpeg2, 32.0 kbit/2.27% (ratio: 4000->176400)
Selected audio codec: [hwmpa] afm: hwmpa (MPEG audio pass-through for hardware MPEG decoders)
=======
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
[format] Sample format big-endian MPEG-2 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
[libaf] Unable to setup filter system can not meet sound-card demands, please send a bug report.
Couldn't find matching filter/ao format!
Audio: no sound
Starting playback...
Unsupported AVPixelFormat 53
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
MPlayer interrupted by signal 11 in module: decode video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/
won't help unless you provide this information when reporting a possible bug.
[ This binary of MPlayer in Debian is currently compiled with
'--enable-
'mplayer-dbg'.]
Thanks for your help
Oliver
When I rund mplayer in gdb, as instructed, I see that it is a segmentation violation.
using Xvideo port 75 for hw scaling
*** [vo] Allocating (slices) mp_image_t, 736x576x12bpp YUV planar, 635904 bytes
Program received signal SIGSEGV, Segmentation fault.
0x000000000056edf7 in fast_memcpy ()
To fully quote it:
==> Found video stream: 2 ======= ======= ====== ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== okluge/ Daten/10. 11.2017 21_40 Rumble_ Das rote Herz des Rock/ okluge/ .mplayer/ sub/' create_ x11: 1 ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== runtime- cpudetect --extra- version= '6:9.20- 0ubuntu0. 14.04.1' --libdir= /usr/lib/ x86_64- linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable- libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable- libopenjpeg --enable-libopus --enable-libpulse --enable- libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir= /usr/lib/ x86_64- linux-gnu --enable-shared --disable-static --enabl...
======= VIDEO Format ======
biSize 126
biWidth 720
biHeight 576
biPlanes 0
biBitCount 0
biCompression 843534413='MPG2'
biSizeImage 0
Unknown extra header dump: [0] [0] [1] [b3] [2d] [2] [40] [33] [24] [9f] [23] [81] [10] [11] [11] [12] [12] [12] [13] [13] [13] [13] [14] [14] [14] [14] [14] [15] [15] [15] [15] [15] [15] [16] [16] [16] [16] [16] [16] [16] [17] [17] [17] [17] [17] [17] [17] [17] [18] [18] [18] [19] [18] [18] [18] [19] [1a] [1a] [1a] [1a] [19] [1b] [1b] [1b] [1b] [1b] [1c] [1c] [1c] [1c] [1e] [1e] [1e] [1f] [1f] [21] [0] [0] [1] [b5] [14] [82] [0] [1] [0] [0]
=======
[lavf] stream 2: video (mpeg2video), -vid 0
==> Found audio stream: 3
======= WAVE Format =======
Format Tag: 80 (0x50)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 0
=======
[lavf] stream 3: audio (mp2), -aid 2
LAVF: 3 audio and 1 video streams found
LAVF: build 3544067
VIDEO: [MPG2] 720x576 0bpp 25.000 fps 15000.0 kbps (1831.1 kbyte/s)
[V] filefmt:35 fourcc:0x3247504D size:720x576 fps:25.000 ftime:=0.0400
Load subtitles in /media/
get_path('sub/') -> '/home/
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_
[VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 16384x16384
=======
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.1 (external)
Mismatching header version 54.35.0
Configuration: --arch=amd64 --enable-pthreads --enable-