crash inside decoder_SynchroNewPicture
Posted: 30 Aug 2009 22:34
Hi, i recently installed Windbg to get some info when libvlc cause my program to crash.
And sometimes, a crash occurs in decoder_SynchroNewPicture, which seems to be called by the mpeg2 decoder.
Here is the callstack from windbg, when using the latest 1.0.2 nightly build (debug) :
It happens randomly when changing stream (stop the current one, start another).
It seems the decoder is still trying to work between the streams, and call decoder_SynchroNewPicture with a null pointer.
And sometimes, a crash occurs in decoder_SynchroNewPicture, which seems to be called by the mpeg2 decoder.
Here is the callstack from windbg, when using the latest 1.0.2 nightly build (debug) :
Code: Select all
RawArgs to Child
00000000 00000001 00000002 libvlccore!decoder_SynchroNewPicture+0x2b
05df5fe4 0dfdfe2c 000005d0 liblibmpeg2_plugin!vlc_entry__1_0_0e+0x1cc5
0cab39b0 00000014 00000001 libvlccore!input_DecoderDecode+0x1950
0cab39b0 0dfdff48 05e14bc8 libvlccore!input_DecoderDecode+0x14cf
05df5fe4 00000003 6a65a145 libvlccore!input_DecoderDecode+0x2008
0cb6ec88 0dfdff74 00000000 libvlccore!_vlc_thread_set_priority+0xd4
0cb752b0 0000000c 000005d0 libvlccore!vlc_threadvar_set+0x67
0ca3e150 0000000c 000005d0 msvcrt!endthreadex+0xa9
77c0a341 0ca3e150 00000000 KERNEL32!GetModuleFileNameA+0x1ba
It seems the decoder is still trying to work between the streams, and call decoder_SynchroNewPicture with a null pointer.