View Full Version : 09122002-1: crashing 2nd pass
hayami
14th December 2002, 04:34
I've been using aviutl to encode my anime dvds for a few month with Xvid. After the recent upgrade, it seems to crash during the 2nd pass of the encoding. The crashing point is kinda random, it can happens from 1% of the encode to 90% of the encode. The 1st pass seems to have no problem as I've tried twice but the 2nd pass from the 2 video.stats files crashes.
Faulting application aviutl.exe, version 0.0.0.0, faulting module xvid.dll, version 0.0.0.0, fault address 0x0004bcf1.
The fault address seems to be the same as I've just turned the error report of winxp on to see what's happening (have been trying to finish the 2nd pass for 2-3days)
The setting of xvid is:
ME: 6
chroma ME: on
Bframe: 3/150/100
DivX5 comp: on
(all the rest are default)
Aviutl with and without filters both crashed
Now I'm doing a quick test with Divx5 without filter, so far it didn't crash at 34%
appendix:
1. It's koepi's build
2. OS: WinXP SP1
3. DIVX5 has finished encoding without anyproblem on the same clip
Koepi
14th December 2002, 11:40
Ask the author of aviutl to correct his xvid support (if that program messes around with xvid's internals of course).
XviD unstable didn't crash on me for several encodes now, so suspect your system to be messed up somewhere...
Regards
Koepi
hayami
16th December 2002, 04:02
I've narrowed down the problem to Aviutl opening a VOB + 2nd pass b-frame on
vob + 2 pass : OK
vob + 2 pass + bframe : 2nd pass crash
vob + CBR + bframe : OK
avi (converted from same vob) + 2pass + bframe : OK
I suspect that maybe the 2nd pass b-frame's reading behavior crashes the m2v reading plugin. (which on occurs in koepi 1209 build)
uManiac 1215 build:
vob + 2 pass : OK
vob + 2 pass + bframe : OK
vob + CBR + bframe : OK
avi (converted from same vob) + 2pass + bframe : OK
Sirber
17th December 2002, 00:44
With unimac build, uManiac 1215 build, does it works ok with VirtualDub? I only get crash on the 2nd pass using bframes.
hayami
17th December 2002, 04:53
Originally posted by Sirber
With unimac build, uManiac 1215 build, does it works ok with VirtualDub? I only get crash on the 2nd pass using bframes.
hmmm.. yes, uManiac did crashed once during the 2ndpass using bframe when I was encoding last night, but a re-run went fine fortunately.
However the produced avi has some artifacts in some scene
hayami
17th December 2002, 05:01
screenshot of the "broken" scene and the "bleeding" after it was broken
(encoded using umaniac1215)
I've cut that scene out and uploaded to tripod (8mb avi)
ttp://devmpeg.tripod.com/broken.avi
I wonder if this is related to the crash...
kilg0r3
17th December 2002, 11:07
i am also experiencing crashes during about 2 of 4 encodes with the current koepi build. yet there are no error mesages dsiplayed. when i wake up in the morning vdub job control simply sais 'error' in the status column.
the problem is that i just don't have the time to test if it is realated to one of the avisynth plugins, or to xvid and one one of its options.
anybody informed about the differences between the builds at the moment?
cheers
Gaia
17th December 2002, 11:21
Originally posted by kilg0r3
i am also experiencing crashes during about 2 of 4 encodes with the current koepi build. yet there are no error mesages dsiplayed. when i wake up in the morning vdub job control simply sais 'error' in the status column.
the problem is that i just don't have the time to test if it is realated to one of the avisynth plugins, or to xvid and one one of its options.
anybody informed about the differences between the builds at the moment?
cheers
I think reason for you crashes is vdub job control, i have had few crashes then i used it. I think this is old "problem", i have seen posts about it long time ago. So don't use job control, i think this is solution for your problem.
MaTTeR
17th December 2002, 13:00
Originally posted by kilg0r3
when i wake up in the morning vdub job control simply sais 'error' in the status column. Indeed I've been fighting the same problem for the past 48hrs myself. Sometimes closing Vdub and reopening it and starting the jobs works, other times they are just erroring out for no reason. Once the pass starts to encode I have no problems, the errors seem to only happen at the start of a pass. FWIW I'm not using any special settings such as Qpel, etc.
The only thing I've changed in the last few days is the AVS build and XviD of course. Running-
avisynth_2.5a_161202 (YV12)
XviD-09122002-1.exe
I'd be shocked if the problem was filter related, more likely a small problem with the packagaes above.
So don't use job control, i think this is solution for your problem. Ack! That's not really a solution for me. Job control has worked great for a few years now, no reason to think it's causing me problems now.
Sirber
17th December 2002, 13:57
I got crashes whitout using job control. The crash I get is an Access Violation. Why does VirtualDub crash when using b-frames and is ok with no adv. options?
[edit]
this one is with unimac bin.
VirtualDub crash report -- build 14328 (release)
--------------------------------------
Disassembly:
02093880: 842478 test [eax+edi*2], ah
02093883: 0100 add [eax], eax
02093885: 004203 add [edx+03], al
02093888: c3 ret
02093889: 0fafc2 imul eax, edx
0209388c: 8b1f mov ebx, [edi]
0209388e: d1e9 shr ecx, 1
02093890: 0faf8c24780100 imul ecx, [esp+178]
00
02093898: c1e004 shl eax, 04
0209389b: 03d8 add ebx, eax
0209389d: 895e4c mov [esi+4c], ebx
020938a0: 8b9c2474010000 mov ebx, [esp+174]
020938a7: 03cb add ecx, ebx
020938a9: 0fafca imul ecx, edx
020938ac: 8b5708 mov edx, [edi+08]
020938af: c1e103 shl ecx, 03
020938b2: 03d1 add edx, ecx
020938b4: 895644 mov [esi+44], edx
020938b7: 8b5704 mov edx, [edi+04]
020938ba: 03d1 add edx, ecx
020938bc: 895640 mov [esi+40], edx
020938bf: 8b942460010000 mov edx, [esp+160]
020938c6: 8b3a mov edi, [edx]
020938c8: 03f8 add edi, eax
020938ca: 897e28 mov [esi+28], edi
020938cd: 8bbc2464010000 mov edi, [esp+164]
020938d4: 03f8 add edi, eax
020938d6: 897e2c mov [esi+2c], edi
020938d9: 8bbc2468010000 mov edi, [esp+168]
020938e0: 03f8 add edi, eax
020938e2: 897e30 mov [esi+30], edi
020938e5: 8bbc246c010000 mov edi, [esp+16c]
020938ec: 03c7 add eax, edi
020938ee: 894634 mov [esi+34], eax
020938f1: 8b4208 mov eax, [edx+08]
020938f4: 03c1 add eax, ecx
020938f6: 89463c mov [esi+3c], eax
020938f9: 8b5204 mov edx, [edx+04]
020938fc: 8b842480010000 mov eax, [esp+180]
02093903: 03d1 add edx, ecx
02093905: 895638 mov [esi+38], edx
02093908: 8b0c8570730a02 mov ecx, [eax*4+020a7370] <-- FAULT
0209390f: 894e50 mov [esi+50], ecx
02093912: 8b1485f0730a02 mov edx, [eax*4+020a73f0]
02093919: 8b842498010000 mov eax, [esp+198]
02093920: 33c9 xor ecx, ecx
02093922: 895654 mov [esi+54], edx
02093925: 894e68 mov [esi+68], ecx
02093928: 83b86001000040 cmp dword ptr [eax+160], 40
0209392f: 7407 jz 02093938
02093931: 898c2494010000 mov [esp+194], ecx
02093938: 33c0 xor eax, eax
0209393a: 8b561c mov edx, [esi+1c]
0209393d: 83c008 add eax, 08
02093940: 83f828 cmp eax, 28
02093943: 894c10fc mov [eax+edx-04], ecx
02093947: 8b561c mov edx, [esi+1c]
0209394a: 894c10f8 mov [eax+edx-08], ecx
0209394e: 7cea jl 0209393a
02093950: 8b842488010000 mov eax, [esp+188]
02093957: 394844 cmp [eax+44], ecx
0209395a: 0f8404020000 jz 02093b64
02093960: 8bc8 mov ecx, eax
02093962: 8b942474010000 mov edx, [esp+174]
02093969: 8b5c2458 mov ebx, [esp+58]
0209396d: 8b7910 mov edi, [ecx+10]
02093970: 8d4aff lea ecx, [edx-01]
02093973: 8bc7 mov eax, edi
02093975: 8b542450 mov edx, [esp+50]
02093979: 0faf8424780100 imul eax, [esp+17824]
Windows 5.1 (WinXP build 2600) [Service Pack 1]
EAX = e1df0605
EBX = 00000000
ECX = 00000000
EDX = 03b2fb40
EBP = 03a563d0
DS:ESI = 0023:0491e9d0
ES:EDI = 0023:0396a860
SS:ESP = 0023:0491e7e8
CS:EIP = 001b:02093908
FS = 003b
GS = 0000
EFLAGS = 00010202
MM0 = 0000000000000003
MM1 = 0000000000000007
MM2 = 1010101010101010
MM3 = 0000000000000000
MM4 = 0000000000000000
MM5 = 0000000000000021
MM6 = 000000000000002c
MM7 = 0000000000000076
Crash reason: Access Violation
Thread 00000e54 (Main thread)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(126)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(128)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(411)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(411)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(411)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(427)
Thread 00000ea4 (FastWriteStream)
Thread 00000e84 (Processing)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(526)
T:\projects\VirtualDub_old\main\VideoSequenceCompressor.cpp(358)
T:\projects\VirtualDub_old\main\VideoSequenceCompressor.cpp(371)
T:\projects\VirtualDub_old\main\Dub.cpp(3022)
T:\projects\VirtualDub_old\main\Dub.cpp(3220)
T:\projects\VirtualDub_old\main\Dub.cpp(2835)
T:\projects\VirtualDub_old\main\VideoSource.cpp(1455)
T:\projects\VirtualDub_old\main\VideoSource.cpp(1483)
T:\projects\VirtualDub_old\main\Dub.cpp(2840)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(515)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(526)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(515)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(526)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(515)
T:\projects\VirtualDub_old\main\FilterSystem.cpp(526)
T:\projects\VirtualDub_old\main\VideoSequenceCompressor.cpp(358)
Thread 00000e80 (I/O processing)
02093908: xvid!xvid_encore [02050000+8cc0+3ac48]
77f41dc9: ntdll!RtlpUnWaitCriticalSection [77f40000+1bfe+1cb]
77f4166a: ntdll!RtlFreeHeap [77f40000+156b+ff]
77f44b3e: ntdll!bsearch [77f40000+4ac2+7c]
77f417b2: ntdll!RtlAllocateHeap [77f40000+16a1+111]
0209a6aa: xvid!xvid_encore [02050000+8cc0+419ea]
02092ce0: xvid!xvid_encore [02050000+8cc0+3a020]
0208f4d8: xvid!xvid_encore [02050000+8cc0+36818]
020796f9: xvid!xvid_encore [02050000+8cc0+20a39]
02087473: xvid!xvid_encore [02050000+8cc0+2e7b3]
020874ea: xvid!xvid_encore [02050000+8cc0+2e82a]
0208731a: xvid!xvid_encore [02050000+8cc0+2e65a]
77f69ba4: ntdll!RtlConvertUlongToLargeInteger [77f40000+29b3d+67]
77f69b78: ntdll!RtlConvertUlongToLargeInteger [77f40000+29b3d+3b]
77f50d06: ntdll!RtlUnwind [77f40000+10c44+c2]
77f6591f: ntdll!NtContinue [77f40000+25913+c]
77f50d2f: ntdll!RtlUnwind [77f40000+10c44+eb]
77e748b0: kernel32!SetThreadExecutionState [77e40000+34772+13e]
77f4d988: ntdll!RtlGUIDFromString [77f40000+d7cf+1b9]
77f4dad4: ntdll!RtlGUIDFromString [77f40000+d7cf+305]
77e748b0: kernel32!SetThreadExecutionState [77e40000+34772+13e]
02099d03: xvid!xvid_encore [02050000+8cc0+41043]
02099d03: xvid!xvid_encore [02050000+8cc0+41043]
02099826: xvid!xvid_encore [02050000+8cc0+40b66]
02079d3d: xvid!xvid_encore [02050000+8cc0+2107d]
0207988b: xvid!xvid_encore [02050000+8cc0+20bcb]
02084b2a: xvid!xvid_encore [02050000+8cc0+2be6a]
02084b6a: xvid!xvid_encore [02050000+8cc0+2beaa]
77f60909: ntdll!_vsnprintf [77f40000+20782+187]
77f608ce: ntdll!_vsnprintf [77f40000+20782+14c]
77f4b4ab: ntdll!vDbgPrintExWithPrefix [77f40000+b474+37]
77e53887: kernel32!RaiseException [77e40000+13837+50]
77f4119a: ntdll!RtlNtStatusToDosError [77f40000+116b+2f]
77f4119f: ntdll!RtlNtStatusToDosError [77f40000+116b+34]
77e5a479: kernel32!ReleaseMutex [77e40000+1a44c+2d]
77e5414d: kernel32!GlobalMemoryStatusEx [77e40000+13fe2+16b]
77f4b4ab: ntdll!vDbgPrintExWithPrefix [77f40000+b474+37]
77f6094f: ntdll!DbgPrint [77f40000+20938+17]
77e74982: kernel32!SetThreadExecutionState [77e40000+34772+210]
77e749fd: kernel32!OutputDebugStringA [77e40000+349b7+46]
77d5622e: USER32!SetScrollInfo [77d10000+46058+1d6]
77d1eb95: USER32!wvsprintfA [77d10000+e7b5+3e0]
77d1e81a: USER32!wvsprintfA [77d10000+e7b5+65]
77e749fd: kernel32!OutputDebugStringA [77e40000+349b7+46]
02058d0a: xvid!xvid_encore [02050000+8cc0+4a]
02054445: xvid!00004445
02058171: xvid!DriverProc [02050000+7f60+211]
05235b96: DVD2AVI!00005b96
0523928e: DVD2AVI!0000928e
05236254: DVD2AVI!00006254
0523da6f: DVD2AVI!vfGetPluginFunc [05230000+9a30+403f]
0523c89f: DVD2AVI!vfGetPluginFunc [05230000+9a30+2e6f]
0523a986: DVD2AVI!vfGetPluginFunc [05230000+9a30+f56]
05239be2: DVD2AVI!vfGetPluginFunc [05230000+9a30+1b2]
00bc5d29: Resize!VirtualdubFilterModuleDeinit [00bc0000+4720+1609]
00bc6554: Resize!VirtualdubFilterModuleDeinit [00bc0000+4720+1e34]
00bc6b7b: Resize!VirtualdubFilterModuleDeinit [00bc0000+4720+245b]
00bc27e4: Resize!000027e4
73b2181d: MSVFW32!ICSendMessage [73b20000+17f4+29]
73b24789: MSVFW32!ICCompress [73b20000+4728+61]
00471da1: VideoSequenceCompressor::packFrame()
0046b3ff: Dubber::WriteVideoFrame()
77e5a652: kernel32!WaitForSingleObjectEx [77e40000+1a5a2+b0]
77e5ac21: kernel32!WaitForSingleObject [77e40000+1ac12+f]
0046bebf: Dubber::ProcessingThread()
0491ffa4: 0491ffa4
0046bd86: Dubber::ProcessingThreadKickstart()
0048419c: _threadstart@4()
0491ffdc: 0491ffdc
77e5d33b: kernel32!RegisterWaitForInputIdle [77e40000+1d2f8+43]
-- End of report
kilg0r3
17th December 2002, 14:22
The crashes seem to occur only on the second pass so far.
Yet here they also occurr after 75% §%!@$!!!
Sirber
17th December 2002, 14:26
I,ve found on VirtualDub forum that disabling [b]"dynamic compilation"[b] may help. I encoded 2500 frames so far whitout crashing using unimac build. I crashed always at the same place, now I'm far after that frame :)
[edit]
nope, still crashing :(
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.