Regression: #display segmentation fault
Running:
./vlc -vvv -I dummy <some_file> --sout '#duplicate{dst=display}'
triggers performs an undefined memory access all the time:
==19769== Thread 9:
==19769== Invalid read of size 4
==19769== at 0x405CEE6: input_DecoderNew (decoder.c:128)
==19769== by 0x7FECB47: Add (display.c:162)
==19769== by 0x7FE9F78: Add (duplicate.c:190)
==19769== by 0x4099C90: sout_InputNew (stream_output.c:170)
==19769== by 0x405B00D: DecoderDecode (decoder.c:626)
==19769== by 0x405FDD3: EsOutSend (es_out.c:1277)
==19769== by 0xA576AC7: Demux (vlc_es_out.h:118)
==19769== by 0x406CD65: MainLoop (input.c:592)
==19769== by 0x406E4AB: Run (input.c:496)
==19769== by 0x424C2D2: start_thread (pthread_create.c:296)
==19769== by 0x41D24ED: clone (in /usr/lib/debug/libc-2.6.1.so)
==19769== Address 0x4FB9184 is 68 bytes inside a block of size 1,476 free'd
==19769== at 0x402437F: free (vg_replace_malloc.c:233)
==19769== by 0x40644C7: Destroy (input.c:289)
==19769== by 0x4064576: input_DestroyThread (input.c:460)
==19769== by 0x404A631: playlist_MainLoop (engine.c:272)
==19769== by 0x4045D70: RunControlThread (thread.c:194)
==19769== by 0x424C2D2: start_thread (pthread_create.c:296)
==19769== by 0x41D24ED: clone (in /usr/lib/debug/libc-2.6.1.so)
Depending on the situation, this ends up in segfault or deadlock.
#display seems currently unusable.