FS#42099 - [vlc] coredump sigsegv when playing a rmvb file

Attached to Project: Arch Linux
Opened by Ken Shaomu (kshaomu) - Wednesday, 24 September 2014, 12:56 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 13 October 2014, 07:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Bartłomiej Piotrowski (Barthalion)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:
play a rmvb file, vlc crashes.


Additional info:
* package version(s)
vlc 2.1.5-3
ffmpeg 1:2.4.1-1

* config and/or log files etc.


Steps to reproduce:
1. use vlc to play a rmvb file,
e.g.
vlc katamari-star8-10s.rmvb
(the file can be downloaded from
http://users.wfu.edu/yipcw/atg/vid/)

2. coredumpctl gdb vlc
...
Core was generated by `vlc katamari-star8-10s.rmvb'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f4ba9adbd04 in strlen () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f4ba9adbd04 in strlen () from /usr/lib/libc.so.6
#1 0x00007f4b8b9d1aff in av_match_name () from /usr/lib/libavutil.so.54
#2 0x00007f4b8ce3a937 in av_probe_input_format3 () from /usr/lib/libavformat.so.56
#3 0x00007f4b8ce3aae2 in av_probe_input_format2 () from /usr/lib/libavformat.so.56
#4 0x00007f4b8ce3ab46 in av_probe_input_format () from /usr/lib/libavformat.so.56
#5 0x00007f4b8d18d4af in ?? () from /usr/lib/vlc/plugins/demux/libavformat_plugin.so
#6 0x00007f4ba97ee7c5 in ?? () from /usr/lib/libvlccore.so.7
#7 0x00007f4ba97eed7e in vlc_module_load () from /usr/lib/libvlccore.so.7
#8 0x00007f4ba97ad290 in ?? () from /usr/lib/libvlccore.so.7
#9 0x00007f4ba97ba651 in ?? () from /usr/lib/libvlccore.so.7
#10 0x00007f4ba97bb530 in ?? () from /usr/lib/libvlccore.so.7
#11 0x00007f4ba97beb56 in ?? () from /usr/lib/libvlccore.so.7
#12 0x00007f4baa008314 in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007f4ba9b423ed in clone () from /usr/lib/libc.so.6
(gdb)
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Monday, 13 October 2014, 07:13 GMT
Reason for closing:  Fixed
Comment by Ken Shaomu (kshaomu) - Wednesday, 24 September 2014, 13:00 GMT
btw, vlc-2.1.5-2 with ffmpeg-1:2.3.3-2 works good.
Comment by mkdy (mkdy) - Wednesday, 24 September 2014, 14:02 GMT
The same error occurs with flv files.
Comment by patrick (potomac) - Saturday, 27 September 2014, 04:41 GMT
vlc package probably needs to be rebuilt ( by using makepkg )

it was the solution in july when ffmpeg was updated
Comment by Doug Newgard (Scimmia) - Saturday, 27 September 2014, 05:20 GMT
Nope, rebuild changes nothing.
Comment by patrick (potomac) - Saturday, 27 September 2014, 14:47 GMT
Did you try to recreate the vlc cache ?

/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugin

Comment by Doug Newgard (Scimmia) - Saturday, 27 September 2014, 14:51 GMT
I hadn't, but I did now. No change.
Comment by step-2 (step-2) - Thursday, 02 October 2014, 09:20 GMT
same problem here with 2.1.5-3

force closes when opening .rmvb files

2.1.5-2 was working
Comment by Kevin Zhao (Jesse2004) - Saturday, 04 October 2014, 13:33 GMT
Same problem here with flv file. And strangely, if I open vlc first, then drag the flv file to vlc, it works (did not test with rmvb file).
Comment by patrick (potomac) - Saturday, 04 October 2014, 13:49 GMT
seems to be an incompatibility with glibc-2.20, in dmesg I can read this immediatly after a crash of vlc :

segfault at ffffffc0 ip 00007fee631c7d04 sp 00007fee492e3708 error 4 in libc-2.20.so
Comment by Sławomir Demeszko (slx) - Sunday, 05 October 2014, 19:54 GMT
I have similar backtrace when trying to open .pdf file (.rmvb too). I narrowed problem to libavformat_plugin.so calling av_probe_input_format() with improper argument, when codec cannot be found, but didn't go deeper - anyway it seems be fixed in latest vlc beta version (v2.2.0-pre3). I attach minimaly changed PKGBUILD if someone is interested.
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 12 October 2014, 21:45 GMT
I'm unable to reproduce it with vlc 2.1.5-3 and ffmpeg 1:2.4.2-1. The file posted by Ken works just fine.
Comment by Timo Schmid (bluec0re) - Sunday, 12 October 2014, 22:00 GMT
temporary fix until vlc 2.2 gets stable.

Edit:
Btw. I was able to reproduce it with several file formats by trying to play a folder containing some vids.
Comment by Bartłomiej Piotrowski (Barthalion) - Monday, 13 October 2014, 06:37 GMT
I backported the patch mentioned by Timo. Please check if vlc 2.1.5-4 fixes the issue for you.
Comment by Doug Newgard (Scimmia) - Monday, 13 October 2014, 07:05 GMT
That seems to have done the trick.

Loading...