libmpgatofixed32_plugin.dll access violation
Posted: 23 May 2011 12:10
Hi,
I apologise for the length of this post but i am not sure how to fix or work around a problem, and any help would be much appreciated.
I have embedded vlc 1.1.9 using calls to libvlc into my application and it is viewing a multiple udp video streams. The streams come from a digital tv source that is being streammed from a hardware conversion kit.
The problem i have is at random times my application dies with the message "XXXXXXXXX has encountered a problem and needs to close". I ran some debugging software on the exe and it reports there is an access violation in libmgpatofixed32_plugin.dll. (I have posted the exception thread call stack below). I removed that dll from the plugins folder to see if i could use vlc without it. After a while i encounter a different access violation, this time in libavcodec_plugin.dll. Finally i removed this dll and after a little while again i suffered an access violation in libvlccore.dll and i stopped.
I guess what i'm after is either a way for vlc to die gracefully on me so that it does not bring down my app as well, or to fix the problem in the dlls?. My application is written in Delphi and is being used in WinXp 32 bit with service pack 3. I opened the real vlc with the same stream, and after a while the video stops and the screen goes black , presumably after suffering the same problem, but it doesn't die.
I should also mention that the quality of the udp stream is sometimes "patchy" with artifacts, which is beyond my control, but may be responsible for my problems. I am able to view other udp streams from different sources without problems. I know the easy solution is to say fix the udp stream since others work but i am unable to do so, and so need to workaround it.
Chris
- <ExceptionThread ID="2784" Priority="??" Class="" MainThread="False">
<Line Address="6F087C55" Module="libmpgatofixed32_plugin.dll" Unit="" Class="" Procedure="" Number="" Offset="" />
<Line Address="7C910466" Module="ntdll.dll" Unit="" Class="" Procedure="RtlFreeUnicodeString" Number="" Offset="" />
<Line Address="7C9010E0" Module="ntdll.dll" Unit="" Class="" Procedure="RtlLeaveCriticalSection" Number="" Offset="" />
<Line Address="7C90DADE" Module="ntdll.dll" Unit="" Class="" Procedure="ZwRequestWaitReplyPort" Number="" Offset="" />
<Line Address="7C912DE3" Module="ntdll.dll" Unit="" Class="" Procedure="CsrClientCallServer" Number="" Offset="" />
<Line Address="7C81069E" Module="kernel32.dll" Unit="" Class="" Procedure="CreateRemoteThread" Number="" Offset="" />
<Line Address="7C90D988" Module="ntdll.dll" Unit="" Class="" Procedure="NtQueryVirtualMemory" Number="" Offset="" />
<Line Address="7C80BA57" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQueryEx" Number="" Offset="" />
<Line Address="7C80BA40" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQueryEx" Number="" Offset="" />
<Line Address="7C80BA81" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQuery" Number="" Offset="" />
<Line Address="77C32DAE" Module="msvcrt.dll" Unit="" Class="" Procedure="_XcptFilter" Number="" Offset="" />
<Line Address="77C3A3C2" Module="msvcrt.dll" Unit="" Class="" Procedure="_endthreadex" Number="" Offset="" />
<Line Address="77C35CF3" Module="msvcrt.dll" Unit="" Class="" Procedure="_except_handler3" Number="" Offset="" />
<Line Address="7C903247" Module="ntdll.dll" Unit="" Class="" Procedure="RtlConvertUlongToLargeInteger" Number="" Offset="" />
<Line Address="7C90E485" Module="ntdll.dll" Unit="" Class="" Procedure="KiUserApcDispatcher" Number="" Offset="" />
<Line Address="6A5BB760" Module="libvlccore.dll" Unit="" Class="" Procedure="block_Init" Number="" Offset="" />
<Line Address="6A5BBC26" Module="libvlccore.dll" Unit="" Class="" Procedure="block_Alloc" Number="" Offset="" />
<Line Address="7C9010E0" Module="ntdll.dll" Unit="" Class="" Procedure="RtlLeaveCriticalSection" Number="" Offset="" />
<Line Address="7C90CFE8" Module="ntdll.dll" Unit="" Class="" Procedure="NtClearEvent" Number="" Offset="" />
<Line Address="7C80A0E3" Module="kernel32.dll" Unit="" Class="" Procedure="ResetEvent" Number="" Offset="" />
<Line Address="7C80A0DB" Module="kernel32.dll" Unit="" Class="" Procedure="ResetEvent" Number="" Offset="" />
<Line Address="7C90DC1E" Module="ntdll.dll" Unit="" Class="" Procedure="ZwSetEventBoostPriority" Number="" Offset="" />
<Line Address="7C91B2A4" Module="ntdll.dll" Unit="" Class="" Procedure="RtlpUnWaitCriticalSection" Number="" Offset="" />
<Line Address="7C90DC18" Module="ntdll.dll" Unit="" Class="" Procedure="NtSetEvent" Number="" Offset="" />
<Line Address="7C80A0C1" Module="kernel32.dll" Unit="" Class="" Procedure="SetEvent" Number="" Offset="" />
<Line Address="7C8097E0" Module="kernel32.dll" Unit="" Class="" Procedure="GetCurrentThreadId" Number="" Offset="" />
<Line Address="6A5DF5CA" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_threadvar_get" Number="" Offset="" />
<Line Address="6A5DFC40" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_mutex_unlock" Number="" Offset="" />
<Line Address="6A5DF5C0" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_threadvar_get" Number="" Offset="" />
<Line Address="6A5DF74B" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_savecancel" Number="" Offset="" />
<Line Address="6A5D0B00" Module="libvlccore.dll" Unit="" Class="" Procedure="msg_GenericVa" Number="" Offset="" />
<Line Address="6A5D17DA" Module="libvlccore.dll" Unit="" Class="" Procedure="msg_Generic" Number="" Offset="" />
<Line Address="7C90DA38" Module="ntdll.dll" Unit="" Class="" Procedure="NtReleaseSemaphore" Number="" Offset="" />
</ExceptionThread>
I apologise for the length of this post but i am not sure how to fix or work around a problem, and any help would be much appreciated.
I have embedded vlc 1.1.9 using calls to libvlc into my application and it is viewing a multiple udp video streams. The streams come from a digital tv source that is being streammed from a hardware conversion kit.
The problem i have is at random times my application dies with the message "XXXXXXXXX has encountered a problem and needs to close". I ran some debugging software on the exe and it reports there is an access violation in libmgpatofixed32_plugin.dll. (I have posted the exception thread call stack below). I removed that dll from the plugins folder to see if i could use vlc without it. After a while i encounter a different access violation, this time in libavcodec_plugin.dll. Finally i removed this dll and after a little while again i suffered an access violation in libvlccore.dll and i stopped.
I guess what i'm after is either a way for vlc to die gracefully on me so that it does not bring down my app as well, or to fix the problem in the dlls?. My application is written in Delphi and is being used in WinXp 32 bit with service pack 3. I opened the real vlc with the same stream, and after a while the video stops and the screen goes black , presumably after suffering the same problem, but it doesn't die.
I should also mention that the quality of the udp stream is sometimes "patchy" with artifacts, which is beyond my control, but may be responsible for my problems. I am able to view other udp streams from different sources without problems. I know the easy solution is to say fix the udp stream since others work but i am unable to do so, and so need to workaround it.
Chris
- <ExceptionThread ID="2784" Priority="??" Class="" MainThread="False">
<Line Address="6F087C55" Module="libmpgatofixed32_plugin.dll" Unit="" Class="" Procedure="" Number="" Offset="" />
<Line Address="7C910466" Module="ntdll.dll" Unit="" Class="" Procedure="RtlFreeUnicodeString" Number="" Offset="" />
<Line Address="7C9010E0" Module="ntdll.dll" Unit="" Class="" Procedure="RtlLeaveCriticalSection" Number="" Offset="" />
<Line Address="7C90DADE" Module="ntdll.dll" Unit="" Class="" Procedure="ZwRequestWaitReplyPort" Number="" Offset="" />
<Line Address="7C912DE3" Module="ntdll.dll" Unit="" Class="" Procedure="CsrClientCallServer" Number="" Offset="" />
<Line Address="7C81069E" Module="kernel32.dll" Unit="" Class="" Procedure="CreateRemoteThread" Number="" Offset="" />
<Line Address="7C90D988" Module="ntdll.dll" Unit="" Class="" Procedure="NtQueryVirtualMemory" Number="" Offset="" />
<Line Address="7C80BA57" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQueryEx" Number="" Offset="" />
<Line Address="7C80BA40" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQueryEx" Number="" Offset="" />
<Line Address="7C80BA81" Module="kernel32.dll" Unit="" Class="" Procedure="VirtualQuery" Number="" Offset="" />
<Line Address="77C32DAE" Module="msvcrt.dll" Unit="" Class="" Procedure="_XcptFilter" Number="" Offset="" />
<Line Address="77C3A3C2" Module="msvcrt.dll" Unit="" Class="" Procedure="_endthreadex" Number="" Offset="" />
<Line Address="77C35CF3" Module="msvcrt.dll" Unit="" Class="" Procedure="_except_handler3" Number="" Offset="" />
<Line Address="7C903247" Module="ntdll.dll" Unit="" Class="" Procedure="RtlConvertUlongToLargeInteger" Number="" Offset="" />
<Line Address="7C90E485" Module="ntdll.dll" Unit="" Class="" Procedure="KiUserApcDispatcher" Number="" Offset="" />
<Line Address="6A5BB760" Module="libvlccore.dll" Unit="" Class="" Procedure="block_Init" Number="" Offset="" />
<Line Address="6A5BBC26" Module="libvlccore.dll" Unit="" Class="" Procedure="block_Alloc" Number="" Offset="" />
<Line Address="7C9010E0" Module="ntdll.dll" Unit="" Class="" Procedure="RtlLeaveCriticalSection" Number="" Offset="" />
<Line Address="7C90CFE8" Module="ntdll.dll" Unit="" Class="" Procedure="NtClearEvent" Number="" Offset="" />
<Line Address="7C80A0E3" Module="kernel32.dll" Unit="" Class="" Procedure="ResetEvent" Number="" Offset="" />
<Line Address="7C80A0DB" Module="kernel32.dll" Unit="" Class="" Procedure="ResetEvent" Number="" Offset="" />
<Line Address="7C90DC1E" Module="ntdll.dll" Unit="" Class="" Procedure="ZwSetEventBoostPriority" Number="" Offset="" />
<Line Address="7C91B2A4" Module="ntdll.dll" Unit="" Class="" Procedure="RtlpUnWaitCriticalSection" Number="" Offset="" />
<Line Address="7C90DC18" Module="ntdll.dll" Unit="" Class="" Procedure="NtSetEvent" Number="" Offset="" />
<Line Address="7C80A0C1" Module="kernel32.dll" Unit="" Class="" Procedure="SetEvent" Number="" Offset="" />
<Line Address="7C8097E0" Module="kernel32.dll" Unit="" Class="" Procedure="GetCurrentThreadId" Number="" Offset="" />
<Line Address="6A5DF5CA" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_threadvar_get" Number="" Offset="" />
<Line Address="6A5DFC40" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_mutex_unlock" Number="" Offset="" />
<Line Address="6A5DF5C0" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_threadvar_get" Number="" Offset="" />
<Line Address="6A5DF74B" Module="libvlccore.dll" Unit="" Class="" Procedure="vlc_savecancel" Number="" Offset="" />
<Line Address="6A5D0B00" Module="libvlccore.dll" Unit="" Class="" Procedure="msg_GenericVa" Number="" Offset="" />
<Line Address="6A5D17DA" Module="libvlccore.dll" Unit="" Class="" Procedure="msg_Generic" Number="" Offset="" />
<Line Address="7C90DA38" Module="ntdll.dll" Unit="" Class="" Procedure="NtReleaseSemaphore" Number="" Offset="" />
</ExceptionThread>