Crash (Null dereference)
Steps to reproduce:
- Launch VLC
- Drag and drop the supplied video file into VLC.
- Skip to right before the end (or just wait) until it completes playing. (~15 seconds)
- Drag and drop that same file into VLC again.
- VLC crashes
Video file: http://samples.ffmpeg.org/FLV/bad_decode.flv
Tested on Ubuntu 13.10 x86 with the trunk version of VLC with git commit 7d4c5433
The following is the stack trace:
gdb$ bt
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) __GI___strverscmp (s1=0x0, s2=s2@entry=0xad5f7f91 "2.0") at strverscmp.c:73
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0xad5f2f3f in vout_display_opengl_New (fmt=fmt@entry=0xb24ff14c, subpicture_chromas=subpicture_chromas@entry=0xacdbdef0, gl=gl@entry=0xb24f8da8) at opengl.c:408
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0xad5f77bf in Open (obj=0xb24ff0d0) at xcb/glx.c:311
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0xb7d5e060 in generic_start (func=0xad5f7110 <Open>, ap=0xacdbe028 "\315\017") at modules/modules.c:351
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0xb7d5e0cb in module_load (obj=obj@entry=0xb24ff0d0, m=m@entry=0x80c2a48, init=init@entry=0xb7d5e050 <generic_start>, args=args@entry=0xacdbe024 "\320\360O\262\315\017") at modules/modules.c:185
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0xb7d5e6f6 in vlc_module_load (obj=obj@entry=0xb24ff0d0, capability=capability@entry=0xb7d8ec49 "vout display", name=0xb7d98d6d "", name@entry=0xb7d9b9bd "$vout", strict=strict@entry=0x1, probe=probe@entry=0xb7d5e050 <generic_start>) at modules/modules.c:277
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0xb7d5ebd2 in module_need (obj=obj@entry=0xb24ff0d0, cap=cap@entry=0xb7d8ec49 "vout display", name=name@entry=0xb7d9b9bd "$vout", strict=0x1) at modules/modules.c:366
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0xb7d38295 in vout_display_New (owner=<synthetic pointer>, cfg=<optimized out>, fmt=0xacdbe084, load_module=<optimized out>, module=<optimized out>, obj=<optimized out>) at video_output/display.c:131
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) DisplayNew (vout=vout@entry=0xa4b49c70, source_org=source_org@entry=0xa4b49c94, state=state@entry=0xacdbe1f8, module=module@entry=0xb7d9b9bd "$vout", is_wrapper=is_wrapper@entry=0x0, wrapper=wrapper@entry=0x0, double_click_timeout=0x493e0, hide_timeout=0xf4240, owner_ptr=owner_ptr@entry=0x0) at video_output/display.c:1301
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0xb7d3a497 in vout_NewDisplay (vout=vout@entry=0xa4b49c70, source=source@entry=0xa4b49c94, state=state@entry=0xacdbe1f8, module=module@entry=0xb7d9b9bd "$vout", double_click_timeout=0x493e0, hide_timeout=0xf4240) at video_output/display.c:1361
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0xb7d486e4 in vout_OpenWrapper (vout=vout@entry=0xa4b49c70, splitter_name=splitter_name@entry=0x0, state=state@entry=0xacdbe1f8) at video_output/vout_wrapper.c:67
[#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0xb7d3d166 in ThreadStart (vout=vout@entry=0xa4b49c70, state=0xacdbe1f8, state@entry=0x0) at video_output/video_output.c:1351
[#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0xb7d3f277 in Thread (object=0xa4b49c70) at video_output/video_output.c:1488
[#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0xb7f8cd78 in start_thread (arg=0xacdbeb40) at pthread_create.c:311
[#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0xb7ebe3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131