Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1995 closed defect (fixed)

MPlayer crash - signal 6 in module decode video

Reported by: mplayer@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: VERIFIED Cc: cehoyos
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Command :
mplayer -vo null -ao null kfp.mkv

Output without options :

MPlayer SVN-r34249-4.5.2 (C) 2000-2011 MPlayer Team

Playing kfp.mkv.
libavformat file format detected.
[matroska,webm @ 0x885e800]parser not found for codec snow, packets or times may be invalid.
[lavf] stream 0: video (snow), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
[lavf] stream 2: subtitle (text), -sid 0, -slang fre
VIDEO: [SNOW] 832x352 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Movie-Aspect is 2.36:1 - prescaling to correct movie aspect.
VO: [gl_nosw] 832x352 => 832x352 Planar YV12
Selected video codec: [ffsnow] vfm: ffmpeg (FFSNOW (Michael's wavelet codec))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 0.0 kbit/0.00% (ratio: 0->576000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
* glibc detected * ./mplayer-checkout-2011-10-25/install/bin/mplayer: malloc(): memory corruption: 0x0b3ed2b8 *
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0xb74f3961]
/lib/i386-linux-gnu/libc.so.6(+0x6e15d)[0xb74f615d]
/lib/i386-linux-gnu/libc.so.6(libc_malloc+0x63)[0xb74f7f53]
./mplayer-checkout-2011-10-25/install/bin/mplayer(new_mp_image+0x21)[0x8128661]
./mplayer-checkout-2011-10-25/install/bin/mplayer(vf_get_image+0x55d)[0x812c57d]
./mplayer-checkout-2011-10-25/install/bin/mplayer(mpcodecs_get_image+0x47)[0x812a577]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x81fd7ee]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x85a57ec]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x85ba659]
./mplayer-checkout-2011-10-25/install/bin/mplayer(avcodec_decode_video2+0x81)[0x85d9bc1]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x81fccdc]
./mplayer-checkout-2011-10-25/install/bin/mplayer(decode_video+0x3d)[0x812715d]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x80bdc75]
./mplayer-checkout-2011-10-25/install/bin/mplayer(main+0x23bc)[0x80c192c]
/lib/i386-linux-gnu/libc.so.6(
libc_start_main+0xe7)[0xb749ee37]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x80b3501]
======= Memory map: ========
08048000-08988000 r-xp 00000000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
08988000-08989000 r--p 0093f000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
08989000-089a4000 rw-p 00940000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
089a4000-08f55000 rw-p 00000000 00:00 0
0ada6000-0b47b000 rw-p 00000000 00:00 0 [heap]
b4f00000-b4f21000 rw-p 00000000 00:00 0
b4f21000-b5000000 ---p 00000000 00:00 0
b5045000-b50c6000 rw-p 00000000 00:00 0
b512b000-b5145000 r-xp 00000000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5145000-b5146000 r--p 00019000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5146000-b5147000 rw-p 0001a000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5147000-b514f000 r-xp 00000000 08:06 137467 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b514f000-b5150000 r--p 00007000 08:06 137467 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b5150000-b5151000 rw-p 00008000 08:06 137467 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b5151000-b5159000 r-xp 00000000 08:06 137449 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b5159000-b515a000 r--p 00007000 08:06 137449 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b515a000-b515b000 rw-p 00008000 08:06 137449 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b516e000-b552c000 rw-p 00000000 00:00 0
b552c000-b552e000 r-xs 00000000 08:06 1717080 /tmp/glOuzjUy (deleted)
b552e000-b5530000 rw-s 00000000 08:06 1717080 /tmp/glOuzjUy (deleted)
b5530000-b5730000 rw-s 2fca7000 00:05 10498 /dev/nvidia0
b5730000-b5734000 rw-s 2a658000 00:05 10498 /dev/nvidia0
b5734000-b5834000 rw-s 2d6b6000 00:05 10498 /dev/nvidia0
b5834000-b5838000 rw-s 2f6ad000 00:05 10498 /dev/nvidia0
b5838000-b5858000 rw-s e0080000 00:05 10498 /dev/nvidia0
b5858000-b5898000 rw-s 2e9dc000 00:05 10498 /dev/nvidia0
b5898000-b58b8000 rw-s 28986000 00:05 10498 /dev/nvidia0
b58b8000-b58b9000 rw-s eff65000 00:05 10498 /dev/nvidia0
b58b9000-b58f9000 rw-s 2b7ec000 00:05 10498 /dev/nvidia0
b58f9000-b5919000 rw-s 36f6a000 00:05 10498 /dev/nvidia0
b5919000-b5aa9000 rw-p 00000000 00:00 0
b5aaa000-b5ac5000 rw-s 2a600000 00:05 10498 /dev/nvidia0
b5ac5000-b5b3e000 rw-p 00000000 00:00 0
b5b3e000-b5d3e000 r--p 00000000 08:06 138996 /usr/lib/locale/locale-archive
b5d3e000-b5d40000 rw-p 00000000 00:00 0
b5d40000-b5d44000 r-xp 00000000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d44000-b5d45000 r--p 00003000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d45000-b5d46000 rw-p 00004000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d46000-b5d48000 r-xp 00000000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d48000-b5d49000 r--p 00001000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d49000-b5d4a000 rw-p 00002000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d4a000-b5d4b000 rw-p 00000000 00:00 0
b5d4b000-b7400000 r-xp 00000000 08:06 1706614 /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06
b7400000-b745c000 rwxp 016b4000 08:06 1706614 /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06
b745c000-b746d000 rwxp 00000000 00:00 0
b746d000-b746e000 r-xp 00000000 08:06 1706591 /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
b746e000-b746f000 rw-p 00000000 08:06 1706591 /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
b746f000-b7486000 r-xp 00000000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b7486000-b7487000 r--p 00016000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b7487000-b7488000 rw-p 00017000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b7488000-b75e2000 r-xp 00000000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75e2000-b75e3000 ---p 0015a000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75e3000-b75e5000 r--p 0015a000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75e5000-b75e6000 rw-p 0015c000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75e6000-b75e9000 rw-p 00000000 00:00 0
b75e9000-b768a000 r-xp 00000000 08:06 1706610 /usr/lib/nvidia-current/libGL.so.270.41.06
b768a000-b76a8000 rwxp 000a1000 08:06 1706610 /usr/lib/nvidia-current/libGL.so.270.41.06
b76a8000-b76b7000 rwxp 00000000 00:00 0
b76b7000-b76b8000 rw-p 00000000 00:00 0
b76b8000-b77ce000 r-xp 00000000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77ce000-b77cf000 ---p 00116000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77cf000-b77d0000 r--p 00116000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77d0000-b77d2000 rw-p 00117000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77d2000-b77d3000 rw-p 00000000 00:00 0
b77d3000-b77e0000 r-xp 00000000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b77e0000-b77e1000 r--p 0000c000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b77e1000-b77e2000 rw-p 0000d000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0

MPlayer interrupted by signal 6 in module: decode video

  • 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/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

C

MPlayer interrupted by signal 2 in module: decode video

Output with null ao and vo :

MPlayer SVN-r34249-4.5.2 (C) 2000-2011 MPlayer Team

Playing kfp.mkv.
libavformat file format detected.
[matroska,webm @ 0x885e800]parser not found for codec snow, packets or times may be invalid.
[lavf] stream 0: video (snow), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
[lavf] stream 2: subtitle (text), -sid 0, -slang fre
VIDEO: [SNOW] 832x352 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Movie-Aspect is 2.36:1 - prescaling to correct movie aspect.
VO: [null] 832x352 => 832x352 Planar YV12
Selected video codec: [ffsnow] vfm: ffmpeg (FFSNOW (Michael's wavelet codec))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 0.0 kbit/0.00% (ratio: 0->576000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [null] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
* glibc detected * ./mplayer-checkout-2011-10-25/install/bin/mplayer: munmap_chunk(): invalid pointer: 0x09b0de80 *
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0xb750c961]
/lib/i386-linux-gnu/libc.so.6(+0x6c10e)[0xb750d10e]
./mplayer-checkout-2011-10-25/install/bin/mplayer(av_freep+0x14)[0x8708024]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x85a6da1]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x85ba584]
./mplayer-checkout-2011-10-25/install/bin/mplayer(avcodec_decode_video2+0x81)[0x85d9bc1]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x81fccdc]
./mplayer-checkout-2011-10-25/install/bin/mplayer(decode_video+0x3d)[0x812715d]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x80bdc75]
./mplayer-checkout-2011-10-25/install/bin/mplayer(main+0x23bc)[0x80c192c]
/lib/i386-linux-gnu/libc.so.6(libc_start_main+0xe7)[0xb74b7e37]
./mplayer-checkout-2011-10-25/install/bin/mplayer[0x80b3501]
======= Memory map: ========
08048000-08988000 r-xp 00000000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
08988000-08989000 r--p 0093f000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
08989000-089a4000 rw-p 00940000 08:07 5653261 /home/singleton/Downloads/mplayer-checkout-2011-10-25/install/bin/mplayer
089a4000-08f55000 rw-p 00000000 00:00 0
09576000-09be2000 rw-p 00000000 00:00 0 [heap]
b576a000-b5784000 r-xp 00000000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5784000-b5785000 r--p 00019000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5785000-b5786000 rw-p 0001a000 08:06 787293 /lib/i386-linux-gnu/libgcc_s.so.1
b5799000-b5b57000 rw-p 00000000 00:00 0
b5b57000-b5d57000 r--p 00000000 08:06 138996 /usr/lib/locale/locale-archive
b5d57000-b5d59000 rw-p 00000000 00:00 0
b5d59000-b5d5d000 r-xp 00000000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d5d000-b5d5e000 r--p 00003000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d5e000-b5d5f000 rw-p 00004000 08:06 137453 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b5d5f000-b5d61000 r-xp 00000000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d61000-b5d62000 r--p 00001000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d62000-b5d63000 rw-p 00002000 08:06 137445 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b5d63000-b5d64000 rw-p 00000000 00:00 0
b5d64000-b7419000 r-xp 00000000 08:06 1706614 /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06
b7419000-b7475000 rwxp 016b4000 08:06 1706614 /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06
b7475000-b7486000 rwxp 00000000 00:00 0
b7486000-b7487000 r-xp 00000000 08:06 1706591 /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
b7487000-b7488000 rw-p 00000000 08:06 1706591 /usr/lib/nvidia-current/tls/libnvidia-tls.so.270.41.06
b7488000-b749f000 r-xp 00000000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b749f000-b74a0000 r--p 00016000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b74a0000-b74a1000 rw-p 00017000 08:06 137593 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b74a1000-b75fb000 r-xp 00000000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75fb000-b75fc000 ---p 0015a000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75fc000-b75fe000 r--p 0015a000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75fe000-b75ff000 rw-p 0015c000 08:06 787265 /lib/i386-linux-gnu/libc-2.13.so
b75ff000-b7602000 rw-p 00000000 00:00 0
b7602000-b76a3000 r-xp 00000000 08:06 1706610 /usr/lib/nvidia-current/libGL.so.270.41.06
b76a3000-b76c1000 rwxp 000a1000 08:06 1706610 /usr/lib/nvidia-current/libGL.so.270.41.06
b76c1000-b76d0000 rwxp 00000000 00:00 0
b76d0000-b76d1000 rw-p 00000000 00:00 0
b76d1000-b77e7000 r-xp 00000000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77e7000-b77e8000 ---p 00116000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77e8000-b77e9000 r--p 00116000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77e9000-b77eb000 rw-p 00117000 08:06 137443 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b77eb000-b77ec000 rw-p 00000000 00:00 0
b77ec000-b77f9000 r-xp 00000000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b77f9000-b77fa000 r--p 0000c000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b77fa000-b77fb000 rw-p 0000d000 08:06 137455 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b77fb000-b77fd000 r-xp 00000000 08:06 787275 /lib/i386-linux-gnu/libdl-2.13.so
b77fd000-b77fe000 r--p 00001000 08:06 787275 /lib/i386-linux-gnu/libdl-2.13.so
b77fe000-b77ff000 rw-p 00002000 08:06 787275 /lib/i386-linux-gnu/libdl-2.13.so
b77ff000-b7814000 r-xp 00000000 08:06 787330 /lib/i386-linux-gnu/libpthread-2.13.so
b7814000-b7815000 r--p 00015000 08:06 787330 /lib/i386-linux-gnu/libpthread-2.13.so
b7815000-b7816000 rw-p 00016000 08:06 787330 /lib/i386-linux-gnu/libpthread-2.13.so
b7816000-b7818000 rw-p 00000000 00:00 0
b7818000-b7853000 r-xp 00000000 08:06 146905 /usr/lib/libfaad.so.2.0.0
b7853000-b7854000 r--p 0003a000 08:06 146905 /usr/lib/libfaad.so.2.0.0
b7854000-b7857000 rw-p 0003b000 08:06 146905 /usr/lib/libfaad.so.2.0.0
b7857000-b7858000 rw-p 00000000 00:00 0
b7858000-b786b000 r-xp 00000000 08:06 787348 /lib/i386-linux-gnu/libz.so.1.2.3.4
b786b000-b786c000 r--p 00012000 08:06 787348 /lib/i386-linux-gnu/libz.so.1.2.3.4
b786c000-b786d000 rw-p 00013000 08:06 787348 /lib/i386-linux-gnu/libz.so.1.2.3.4
b786d000-b7891000 r-xp 00000000 08:06 787302 /lib/i386-linux-gnu/libm-2.13.so
b7891000-b7892000 r--p 00023000 08:06 787302 /lib/i386-linux-gnu/libm-2.13.so
b7892000-b7893000 rw-p 00024000 08:06 787302 /lib/i386-linux-gnu/libm-2.13.so
b78a4000-b78a5000 rw-p 00000000 00:00 0
b78a5000-b78a6000 r--p 002a1000 08:06 138996 /usr/lib/locale/locale-archive
b78a6000-b78a8000 rw-p 00000000 00:00 0
b78a8000-b78a9000 r-xp 00000000 00:00 0 [vdso]
b78a9000-b78c5000 r-xp 00000000 08:06 787252 /lib/i386-linux-gnu/ld-2.13.so
b78c5000-b78c6000 r--p 0001b000 08:06 787252 /lib/i386-linux-gnu/ld-2.13.so
b78c6000-b78c7000 rw-p 0001c000 08:06 787252 /lib/i386-linux-gnu/ld-2.13.so
bf856000-bf877000 rw-p 00000000 00:00 0 [stack]

MPlayer interrupted by signal 6 in module: decode video

  • 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/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

gdb doesn't give any useful info

(gdb) bt
#0 0xb771a424 in kernel_vsyscall ()
#1 0xb73f1753 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2 0xb7384b94 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Attachments (1)

snow.avi (134.6 KB ) - added by cehoyos 13 years ago.
Random snow file

Download all attachments as: .zip

Change History (7)

comment:1 by cehoyos, 13 years ago

Cc: cehoyos@… added

Please upload kfp.mkv to http://www.datafilehost.com/ or attach it.

by cehoyos, 13 years ago

Attachment: snow.avi added

Random snow file

comment:2 by cehoyos, 13 years ago

comment:3 by cehoyos, 13 years ago

Resolution: fixed
Status: newclosed

This should be fixed in the current version, thank you for the report.

comment:4 by mplayer@…, 13 years ago

Keywords: VERIFIED added

Indeed I can confirm that with the subversion checkout revision 34260, it works correctly with both your sample and my original file while my previous version crashed with both files.

Thank you

comment:5 by mplayer@…, 13 years ago

(In reply to comment #3)

This should be fixed in the current version, thank you for the report.

Out of curiosity, could you tell me which file(s) were changed or the revision number for the patch ?

Thank you

comment:6 by cehoyos, 13 years ago

The fix was 4416931fc069332e267ab6df037a1227c051d7b1 in libavcodec/snow.c.

Note: See TracTickets for help on using tickets.