PDA

View Full Version : Error in VDub because of AviSynth


Prim3
1st January 2009, 08:25
Error:

VirtualDub crash report -- build 30080 (release)
--------------------------------------

Disassembly:
0150f640: 0000 add [eax], al
0150f642: 0000 add [eax], al
0150f644: 0000 add [eax], al
0150f646: 0000 add [eax], al
0150f648: 0000 add [eax], al
0150f64a: 0000 add [eax], al
0150f64c: 0000 add [eax], al
0150f64e: 0000 add [eax], al
0150f650: 0000 add [eax], al
0150f652: 0000 add [eax], al
0150f654: 0000 add [eax], al
0150f656: 0000 add [eax], al
0150f658: 0000 add [eax], al
0150f65a: 0000 add [eax], al
0150f65c: 0000 add [eax], al
0150f65e: 0000 add [eax], al
0150f660: 0000 add [eax], al
0150f662: 0000 add [eax], al
0150f664: 0000 add [eax], al
0150f666: 0000 add [eax], al
0150f668: 0000 add [eax], al
0150f66a: 0000 add [eax], al
0150f66c: 0000 add [eax], al
0150f66e: 0000 add [eax], al
0150f670: 0000 add [eax], al
0150f672: 0000 add [eax], al
0150f674: 0000 add [eax], al
0150f676: 0000 add [eax], al
0150f678: 0000 add [eax], al
0150f67a: 0000 add [eax], al
0150f67c: 0000 add [eax], al
0150f67e: 0000 add [eax], al
0150f680: 0000 add [eax], al
0150f682: 0000 add [eax], al
0150f684: 0000 add [eax], al
0150f686: 0000 add [eax], al
0150f688: 0000 add [eax], al
0150f68a: 0000 add [eax], al
0150f68c: 0000 add [eax], al
0150f68e: 0000 add [eax], al
0150f690: 0000 add [eax], al
0150f692: 0000 add [eax], al
0150f694: 0000 add [eax], al
0150f696: 0000 add [eax], al
0150f698: 0000 add [eax], al
0150f69a: 0000 add [eax], al
0150f69c: 0000 add [eax], al
0150f69e: 0000 add [eax], al
0150f6a0: 0000 add [eax], al
0150f6a2: 0000 add [eax], al
0150f6a4: 0000 add [eax], al
0150f6a6: 0000 add [eax], al
0150f6a8: 0000 add [eax], al
0150f6aa: 0000 add [eax], al
0150f6ac: 0000 add [eax], al
0150f6ae: 0000 add [eax], al
0150f6b0: 0000 add [eax], al
0150f6b2: 0000 add [eax], al
0150f6b4: 0000 add [eax], al
0150f6b6: 0000 add [eax], al
0150f6b8: 0000 add [eax], al
0150f6ba: 0000 add [eax], al
0150f6bc: 0000 add [eax], al
0150f6be: 0000 add [eax], al
0150f6c0: 0000 add [eax], al <-- FAULT
0150f6c2: 0000 add [eax], al
0150f6c4: 0000 add [eax], al
0150f6c6: 0000 add [eax], al
0150f6c8: 0000 add [eax], al
0150f6ca: 0000 add [eax], al
0150f6cc: 0000 add [eax], al
0150f6ce: 0000 add [eax], al
0150f6d0: 0000 add [eax], al
0150f6d2: 0000 add [eax], al
0150f6d4: 0000 add [eax], al
0150f6d6: 0000 add [eax], al
0150f6d8: 0000 add [eax], al
0150f6da: 0000 add [eax], al
0150f6dc: 0000 add [eax], al
0150f6de: 0000 add [eax], al
0150f6e0: 0000 add [eax], al
0150f6e2: 0000 add [eax], al
0150f6e4: 0000 add [eax], al
0150f6e6: 0000 add [eax], al
0150f6e8: 0000 add [eax], al
0150f6ea: 0000 add [eax], al
0150f6ec: 0000 add [eax], al
0150f6ee: 0000 add [eax], al
0150f6f0: 0000 add [eax], al
0150f6f2: 0000 add [eax], al
0150f6f4: 0000 add [eax], al
0150f6f6: 0000 add [eax], al
0150f6f8: 0000 add [eax], al
0150f6fa: 0000 add [eax], al
0150f6fc: 0000 add [eax], al
0150f6fe: 0000 add [eax], al
0150f700: 0000 add [eax], al
0150f702: 0000 add [eax], al
0150f704: 0000 add [eax], al
0150f706: 0000 add [eax], al
0150f708: 0000 add [eax], al
0150f70a: 0000 add [eax], al
0150f70c: 0000 add [eax], al
0150f70e: 0000 add [eax], al
0150f710: 0000 add [eax], al
0150f712: 0000 add [eax], al
0150f714: 0000 add [eax], al
0150f716: 0000 add [eax], al
0150f718: 0000 add [eax], al
0150f71a: 0000 add [eax], al
0150f71c: 0000 add [eax], al
0150f71e: 0000 add [eax], al
0150f720: 0000 add [eax], al
0150f722: 0000 add [eax], al
0150f724: 0000 add [eax], al
0150f726: 0000 add [eax], al
0150f728: 0000 add [eax], al
0150f72a: 0000 add [eax], al
0150f72c: 0000 add [eax], al
0150f72e: 0000 add [eax], al
0150f730: 0000 add [eax], al
0150f732: 0000 add [eax], al
0150f734: 0000 add [eax], al
0150f736: 0000 add [eax], al
0150f738: 0000 add [eax], al
0150f73a: 0000 add [eax], al
0150f73c: 0000 add [eax], al
0150f73e: 0000 add [eax], al

Built on Aegis on Sun Dec 21 14:13:05 2008 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 2]

EAX = 01122ed8
EBX = 00327ae0
ECX = 00327b50
EDX = 013a1cf8
EBP = 0012f600
ESI = 00327b50
EDI = 01122df8
ESP = 0012f598
EIP = 0150f6c0
EFLAGS = 00210206
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

Crash context:
An out-of-bounds memory access (access violation) occurred in module 'VirtualDub'...

...reading address 0150F6C0.

Pointer dumps:

EAX 01122ed8: 0150f6c0 013a1cf8 01122df8 78455f35 00030004 010c014d 01122f10 01122f30
EBX 00327ae0: 00158de0 00000000 00000001 00000b98 00000000 00000000 0009000a 000b01cf
ECX 00327b50: 100ebc38 0116d180 00004d08 00008000 00327b50 01122ed8 00000000 00000000
ESI 00327b50: 100ebc38 0116d180 00004d08 00008000 00327b50 01122ed8 00000000 00000000
EDI 01122df8: 0150f7b0 013a1ca8 00327d38 546b7361 00030004 010c0151 01122e30 0111a938
ESP 0012f598: 1000e290 013a1cf8 00327b50 011814d8 00327b50 00327b50 0012f5dc 100e05ef
0012f5b8: 00000001 1000e038 00327ab8 10016302 00000001 00327ab8 00000000 7c809794
0012f5d8: 00327ab8 0012f61c 100e0b2b 00000000 10015f01 003df974 003df970 003dfb10
0012f5f8: 73b55e6d 00327ab8 0012fa44 004b5cf0 00327ab8 00000000 00000000 00be5008
EBP 0012f600: 0012fa44 004b5cf0 00327ab8 00000000 00000000 00be5008 ffff0023 0012f634
0012f620: 005a3bb8 00000000 004b5e9b 01171dec 003df970 0012fa38 005a3bfb 00000000
0012f640: 004bd5ab 00327ab8 003de008 003dfb10 00000000 0012f884 7c911538 7c911596
0012f660: 00000088 00000000 00000000 7c9105d4 008a0088 003df9a8 0012f688 00000002

Thread call stack:
1000e290: AviSynth!0000e290
1000e038: AviSynth!0000e038
10016302: AviSynth!DllCanUnloadNow [10000000+15990+972]
10015f01: AviSynth!DllCanUnloadNow [10000000+15990+571]
73b55e6d: AVIFIL32!AVIFileRelease [73b50000+5e5f+e]
004b5cf0: AVIReadHandlerTunnelW32::AVIReadHandlerTunnelW32()
004b5e9b: CreateAVIReadHandler()
004bd5ab: InputFileAVI::Init()
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c9106ab: ntdll!RtlAllocateHeap [7c900000+105d4+d7]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c910732: ntdll!RtlAllocateHeap [7c900000+105d4+15e]
7c911538: ntdll!wcsncpy [7c900000+10a8f+aa9]
7c911596: ntdll!wcsncpy [7c900000+10a8f+b07]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
7c9105c8: ntdll!RtlFreeHeap [7c900000+1043d+18b]
7c9105c8: ntdll!RtlFreeHeap [7c900000+1043d+18b]
7c910551: ntdll!RtlFreeHeap [7c900000+1043d+114]
7c91056d: ntdll!RtlFreeHeap [7c900000+1043d+130]
7c9140bb: ntdll!RtlDetermineDosPathNameType_U [7c900000+1399f+71c]
7c9105c8: ntdll!RtlFreeHeap [7c900000+1043d+18b]
7c910551: ntdll!RtlFreeHeap [7c900000+1043d+114]
7c91056d: ntdll!RtlFreeHeap [7c900000+1043d+130]
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
00580b16: malloc()
00580d34: (special)()
00580bcd: free()
00580bcd: free()
00580bec: free()
00580bec: free()
004fe60c: VDFile::~VDFile()
7c9106eb: ntdll!RtlAllocateHeap [7c900000+105d4+117]
00580b16: malloc()
00580d34: (special)()
005820d6: (special)()
004bd3cb: VDInputDriverAVI1::CreateInputFile()
004931fe: VDProject::Open()
004ffa71: VDAutoLogger::VDAutoLogger()
004977c9: VDProjectUI::HandleDragDrop()
5ad739d1: uxtheme!DrawThemeText [5ad70000+3031+9a0]
5ad73995: uxtheme!DrawThemeText [5ad70000+3031+964]
5ad71adb: uxtheme!00001adb
5ad71b3d: uxtheme!00001b3d
77d48bb1: USER32!GetWindowThreadProcessId [77d40000+8a58+159]
77d4b274: USER32!DefWindowProcW [77d40000+b1e5+8f]
77d4b250: USER32!DefWindowProcW [77d40000+b1e5+6b]
77d494a7: USER32!GetWindowLongA [77d40000+947c+2b]
77d4b250: USER32!DefWindowProcW [77d40000+b1e5+6b]
004a2970: VDUIFrame::DefProc()
0049aca1: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$2()
7c91b7b7: ntdll!RtlSetUserValueHeap [7c900000+1b761+56]
7c91b7d5: ntdll!RtlSetUserValueHeap [7c900000+1b761+74]
0049ab04: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
77d494a7: USER32!GetWindowLongA [77d40000+947c+2b]
00493e30: VDProjectUI::WndProc()
004a2e6d: VDUIFrame::StaticWndProc()
77d48709: USER32!GetDC [77d40000+8697+72]
77d487eb: USER32!GetDC [77d40000+8697+154]
77d489a5: USER32!GetWindowLongW [77d40000+887e+127]
77d4cff8: USER32!PeekMessageA [77d40000+cefd+fb]
77d4bccc: USER32!DispatchMessageA [77d40000+bcbd+f]
00481776: WinMain@16()
005853d8: __tmainCRTStartup()
7c816d4f: kernel32!RegisterWaitForInputIdle [7c800000+16d06+49]
0066f2b0: VirtualDub!0026f2b0

-- End of report

Script:


LoadPlugin("C:\program files\AviSynth 2.5\plugins\DGDecode.dll")
Import("C:\program files\AviSynth 2.5\plugins\mfToon-v0.54")

MPEG2Source("C:\Documents and Settings\zzzzzzzz\Desktop\test.d2v", cpu=3)

mfToon()


I used to encode before and now I forgot half the stuff so I'm starting out again. It could be just a simple and basic error but yeah. Thanks for anyone who can help me!

I'm using dmpgdec150. DGIndex and DGDecode.
VDub is the latest stable version.

Thanks again!

neuron2
1st January 2009, 14:58
What happens if you omit the mfToon() call?

Prim3
1st January 2009, 23:46
I still get a crash in VDub.

Something tells me its to do with dmpgdec since I've tried it in different versions of VDub.

Thanks!

neuron2
2nd January 2009, 00:08
Can you post a sample of the VOB that causes the crash so I can duplicate it and then fix it?

Prim3
2nd January 2009, 01:27
The VOB is pretty big. It's about 1GB. Is it possible for you tell me how do I go on about cutting it please?

Also, I heard long time ago that it was possible in DGIndex?

Thank-you!

EDIT: I'm using DVDShrink to cut the VOB file. It's a small file. Around 100MB and it's only about 1 minute and 40 seconds. Will that suffice?

I will post a link in the next 15 mins. Thank-you neuron2!

neuron2
2nd January 2009, 02:10
Don't use DVDShrink.

Open the VOB in DGSplit. Then set a split size of 50. Start processing and kill it after the first file is complete. Upload the first split file.

Prim3
2nd January 2009, 03:11
http://rapidshare.de/files/41256830/vts_05_1.vob_0.html


There is the link to the 50MB VOB file.

Again, thank-you neuron2. I hope you can help me solve this problem!

neuron2
2nd January 2009, 16:50
I cannot duplicate a crash with that file. Here are my particulars:

Windows XP SP3 32-bit
Avisynth 2.57
VirtualDub 1.8.6 (also tried 1.8.7)
DGMPGDec 1.5.3

Open VOB sample in DGIndex.
Set Force Film (also tried with Honor Pulldown Flags)
Save Project.

AVS script:

LoadPlugin("dgdecode.dll")
MPEG2Source("crash.d2v",cpu=3)

Open script in VirtualDub (use "Open video file" not "Run script")
Hit play. The video plays to completion without a crash.

-----

Where in the movie does the crash occur? You need to give me a VOB fragment that includes the part where the crash occurs, i.e., you should be able to make the crash happen with the sample you give me.

Prim3
3rd January 2009, 10:04
It's still not working for me. I have everything the same except SP2 instead of SP3.

Used the same versions as you and still gave me a crash..

Thanks!

neuron2
3rd January 2009, 14:33
Did it crash using the sample you gave me, or elsewhere in the movie? I asked this in my previous post but you did not answer.

Prim3
3rd January 2009, 22:01
Oh, sorry.

Yes it crashed when I used the sample that I gave you.

neuron2
4th January 2009, 01:07
Must be some issue specific to your system. Have you tried it on a different system?

jeffy
4th January 2009, 12:13
Error:

Script:
LoadPlugin("C:\program files\AviSynth 2.5\plugins\DGDecode.dll")
Import("C:\program files\AviSynth 2.5\plugins\mfToon-v0.54")

MPEG2Source("C:\Documents and Settings\zzzzzzzz\Desktop\test.d2v", cpu=3)

mfToon()

Did you also omit the Import line, not only the last line?

Prim3
5th January 2009, 01:30
Yes I omitted that as well.

neuron2, I just did a fresh install on my system and I still get the error. I'm not sure what it could be. I'm using the exact versions as you.

I will try it on my other computer once I guess. Thanks!

neuron2
5th January 2009, 01:44
Try removing the loadplugin() line as you have it in your plugins file already, so it will be autoloaded. I don't know what happens if you explicitly load a DLL that is already loaded. Can't be good though.