FS#41369 - [vlc] segfault when playing a monkey's audio file ( APE file )

Attached to Project: Arch Linux
Opened by patrick (potomac) - Monday, 28 July 2014, 17:56 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 14 September 2014, 06:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

Description:

I notice that vlc fails to read ape files ( monkey's audio file, a lossless codec compression ),

a segfault will occurs when vlc tries to read ape files,

the bug occurs after a recent upgrade of ffmpeg package (1:2.2.5-1 -> 1:2.3-1),

the solution is probably to rebuild vlc with the last version of ffmpeg package ( 1:2.3-1 )


Additional info:

backtrace with gdb :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd4464700 (LWP 18868)]
0x00007fffb9c2b711 in av_buffer_unref () from /usr/lib/libavutil.so.52
(gdb) bt
#0 0x00007fffb9c2b711 in av_buffer_unref () from /usr/lib/libavutil.so.52
#1 0x00007fffb9c3265e in av_frame_unref () from /usr/lib/libavutil.so.52
#2 0x00007fffba36bea9 in avcodec_decode_audio4 () from /usr/lib/libavcodec.so.55
#3 0x00007fffb30a3b38 in ?? () from /usr/lib/vlc/plugins/codec/libavcodec_plugin.so
#4 0x00007ffff713f54e in ?? () from /usr/lib/libvlccore.so.7
#5 0x00007ffff7141181 in ?? () from /usr/lib/libvlccore.so.7
#6 0x00007ffff79a9124 in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff74d94bd in clone () from /usr/lib/libc.so.6


* package version(s) vlc 2.1.5-1, ffmpeg 1:2.3-1


Steps to reproduce:

- open an ape audio file ( monkey's audio file ) with vlc 2.1.5-1
- a segfault will occur
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Sunday, 14 September 2014, 06:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Rebuilt
Comment by patrick (potomac) - Monday, 28 July 2014, 18:37 GMT
I can confirm that rebuilding vlc ( with ffmpeg 1:2.3-1 installed ) is the solution,

I have just created a vlc 2.1.5-2 package ( with the same pkgbuild of 2.1.5-1 version ) and the bug is gone now
Comment by mitsu (mitsu) - Tuesday, 29 July 2014, 21:27 GMT
Seems like APE's not the only format affected by the libavcodec update: I noticed that VLC segfaults when trying to open WMV files too. Sometimes during the buffering, sometimes just when it painted the window.
Rebuilding did the trick.
Comment by patrick (potomac) - Thursday, 31 July 2014, 19:50 GMT
@mitsu:
did you notice a problem of quality audio since you have reinstalled vlc ?

see the bug  FS#41414  and this thread :

https://bbs.archlinux.org/viewtopic.php?pid=1442284

Comment by André Fettouhi (A.Fettouhi) - Thursday, 21 August 2014, 12:30 GMT
The problem also exists when trying to play asf and mov files along with wmv files.
Comment by patrick (potomac) - Tuesday, 02 September 2014, 13:53 GMT
Where is Giovanni Scafora ?

he is the maintener of VLC package, this package needs to be rebuilt in order to be compatible with the last version of ffmpeg package,

it's a simple task, maybe another archlinux developper can do this rebuild ?

but don't forget that a solution need to be found for another bug :

https://bugs.archlinux.org/task/39676

Loading...