Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Thread Tools Search this Thread Display Modes
Old 4th September 2007, 11:31   #1  |  Link
Registered User
Join Date: Jul 2007
Location: Germany
Posts: 2
Access Violation Error

I get this error:

First-chance exception in VirtualDub.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.

First-chance exception in VirtualDub.exe (MYFUNCTION.DLL): 0xC0000005: Access Violation.
The thread 0xC28 has exited with code 0 (0x0).

First-chance exception in VirtualDub.exe: 0xC0000005: Access Violation.

I did debug my plugin and it seems that the problem raises once VirtualDub tries to fetch the first frame..

this is where exactly the program craches in the assembly code:
10014A85 call dword ptr [ecx+24h]

Please any hint?
asma is offline   Reply With Quote
Old 4th September 2007, 19:34   #2  |  Link
ангел смерти
foxyshadis's Avatar
Join Date: Nov 2004
Location: Lost
Posts: 9,565
Your plugin? Did you try recompiling it in debug mode so that you have the source available?

The report doesn't have enough information to help, the name of the plugin (if it's not yours) and the full faulting script are needed, and sometimes a snippet of the source video.
foxyshadis is offline   Reply With Quote
Old 5th September 2007, 01:18   #3  |  Link
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Recent versions of Avisynth now ship with an avisynth.map! You can uses this accurately get routine addresses. Avisynth preferably loads at 0x10000000, use the debugger loaded module display to check this. In all the recent versions of Avisynth the cache module is around the 0x14xxx mark.

call dword ptr [ecx+24h] is possibly a child->GetFrame() call.

If all this is the case then the memory for your filter object has been spewed apon and corrupted.

Build your plugin in debug mode. If you can, build yourself a Debug or Relsym avisynth.dll and debug it, if not the use the .map file provided to interprete the Call stack addresses.
IanB is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 08:01.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.