Opened 9 years ago

Closed 9 years ago

#2274 closed defect (worksforme)

SIGSEGV playing a wav file

Reported by: ggrieco Owned by: beastd
Priority: normal Component: undetermined
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:

SIGSEGV playing a wav file. Tested in mplayer svn 2015-12-18

How to reproduce:

mplayer -vo null -ao null (testcase attached)

backtrace:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
MPlayer SVN-r37563-snapshot-4.8 (C) 2000-2015 MPlayer Team

Playing SIGSEGV.PC.5555557239a3.STACK.196eb6119e.CODE.1.ADDR.(nil).INSTR.movzbl_(%rcx,%rdx,1),%ecx.fuzz.
libavformat version 57.20.100 (internal)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 57.18.100 (internal)
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF

Program received signal SIGSEGV, Segmentation fault.
0x00005555557239a3 in ac3dts_fillbuff ()
#0  0x00005555557239a3 in ac3dts_fillbuff ()
#1  0x0000555555723e79 in init ()
#2  0x000055555572519a in init_audio_codec ()
#3  0x00005555557256ce in init_audio.constprop ()
#4  0x0000555555725c10 in init_best_audio_codec ()
#5  0x00005555556b0b0b in reinit_audio_chain ()
#6  0x00005555556a0b37 in main ()

valgrind report:

MPlayer SVN-r37563-snapshot-4.8 (C) 2000-2015 MPlayer Team

Playing SIGSEGV.PC.5555557239a3.STACK.196eb6119e.CODE.1.ADDR.(nil).INSTR.movzbl_(%rcx,%rdx,1),%ecx.fuzz.
libavformat version 57.20.100 (internal)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 57.18.100 (internal)
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [a52] (afm=liba52) not available.
Enable it at compilation.
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
==7116== Invalid read of size 1
==7116==    at 0x2D79A3: ac3dts_fillbuff (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x2D7E78: init (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x2D9199: init_audio_codec (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x2D96CD: init_audio.constprop.0 (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x2D9C0F: init_best_audio_codec (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x264B0A: reinit_audio_chain (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==    by 0x254B36: main (in /home/vagrant/repos/mplayer-export-2015-12-18/mplayer)
==7116==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==7116== 

Attachments (1)

Change History (2)

comment:1 by rxt, 9 years ago

Resolution: worksforme
Status: newclosed
Version: unspecifiedHEAD

Already fixed with between r37572 (29/12/2015) and r37594 (08/01/2016) after being reported to the devel mailing list.

Note: See TracTickets for help on using tickets.