Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Vdub Crashing, crashinfo included
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
fubo.x
  Posted: Mar 10 2003, 04:19 AM


Unregistered









i'm trying to encode a MPEG file to Xvid using vDub 1.5.1, but on the sec pass vDub crashes. see crashinfo.txt below.

my system:
- win2kpro (SP3)
- radeon 9700
- SBLive 5.1

QUOTE

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

Disassembly:
77fcb860: 45              inc    ebp
77fcb861: d001            rol    byte ptr [ecx], 1
77fcb863: 46              inc    esi
77fcb864: 28e9            sub    cl, ch
77fcb866: 70ff            jo     77fcb867
77fcb868: ff              db     ff
77fcb869: ff807dd40074    inc    dword ptr [eax+7400d47d]
77fcb86f: 0e              push   cs
77fcb870: 8b45cc          mov    eax, [ebp-34]
77fcb873: ffb078050000    push   dword ptr [eax+578]
77fcb879: e8ef78fbff      call   77f8316d
77fcb87e: c3              ret    
77fcb87f: 55              push   ebp
77fcb880: 8bec            mov    ebp, esp
77fcb882: 53              push   ebx
77fcb883: 56              push   esi
77fcb884: 8b750c          mov    esi, [ebp+0c]
77fcb887: 8b5d08          mov    ebx, [ebp+08]
77fcb88a: 57              push   edi
77fcb88b: 8bfe            mov    edi, esi
77fcb88d: 0fb74602        movzx  eax, word ptr [esi+02]
77fcb891: c1e003          shl    eax, 03
77fcb894: 2bf8            sub    edi, eax
77fcb896: 3bfe            cmp    edi, esi
77fcb898: 740a            jz     77fcb8a4
77fcb89a: f6470501        test   [edi+05], 01
77fcb89e: 0f84db000000    jz     77fcb97f
77fcb8a4: f6460510        test   [esi+05], 10
77fcb8a8: 750f            jnz    77fcb8b9
77fcb8aa: 8b4510          mov    eax, [ebp+10]
77fcb8ad: 8b00            mov    eax, [eax]
77fcb8af: f644c60501      test   [esi+eax*8+05], 01
77fcb8b4: 8d3cc6          lea    edi, [esi+eax*8]
77fcb8b7: 7409            jz     77fcb8c2
77fcb8b9: 8bc6            mov    eax, esi
77fcb8bb: 5f              pop    edi
77fcb8bc: 5e              pop    esi
77fcb8bd: 5b              pop    ebx
77fcb8be: 5d              pop    ebp
77fcb8bf: c21000          ret    0010
77fcb8c2: 0fb70f          movzx  ecx, word ptr [edi]
77fcb8c5: 03c8            add    ecx, eax
77fcb8c7: 81f900fe0000    cmp    ecx, 0000fe00
77fcb8cd: 77ea            ja     77fcb8b9
77fcb8cf: 807d1400        cmp    byte ptr [ebp+14], 00
77fcb8d3: 0f85c2320000    jnz    77fceb9b
77fcb8d9: 8a4705          mov    al, [edi+05]
77fcb8dc: 2410            and    al, 10
77fcb8de: a810            test   al, 10
77fcb8e0: 884605          mov    [esi+05], al
77fcb8e3: 7547            jnz    77fcb92c
77fcb8e5: 57              push   edi
77fcb8e6: 53              push   ebx
77fcb8e7: e8877cfbff      call   77f83573
77fcb8ec: 8b4f0c          mov    ecx, [edi+0c]
77fcb8ef: 8b4708          mov    eax, [edi+08]
77fcb8f2: 3bc1            cmp    eax, ecx
77fcb8f4: 8901            mov    [ecx], eax      <-- FAULT
77fcb8f6: 894804          mov    [eax+04], ecx
77fcb8f9: 743e            jz     77fcb939
77fcb8fb: 8a4705          mov    al, [edi+05]
77fcb8fe: a804            test   al, 04
77fcb900: 0f854d330000    jnz    77fcec53
77fcb906: 0fb70f          movzx  ecx, word ptr [edi]
77fcb909: 8b4510          mov    eax, [ebp+10]
77fcb90c: 0108            add    [eax], ecx
77fcb90e: 0fb70f          movzx  ecx, word ptr [edi]
77fcb911: 294b28          sub    [ebx+28], ecx
77fcb914: 668b08          mov    cx, [eax]
77fcb917: f6460510        test   [esi+05], 10
77fcb91b: 66890e          mov    [esi], cx
77fcb91e: 7599            jnz    77fcb8b9
77fcb920: 8b08            mov    ecx, [eax]
77fcb922: 668b00          mov    ax, [eax]
77fcb925: 668944ce02      mov    [esi+ecx*8+02], ax
77fcb92a: eb8d            jmp    77fcb8b9
77fcb92c: 0fb64604        movzx  eax, byte ptr [esi+04]
77fcb930: 8b448358        mov    eax, [ebx+eax*4+58]
77fcb934: 897038          mov    [eax+38], esi
77fcb937: ebac            jmp    77fcb8e5
77fcb939: 668b07          mov    ax, [edi]
77fcb93c: 663d8000        cmp    ax, 0080
77fcb940: 73b9            jnc    77fcb8fb
77fcb942: 0fb7c8          movzx  ecx, al
77fcb945: 6a01            push   01
77fcb947: 8bc1            mov    eax, ecx
77fcb949: 83e107          and    ecx, 07
77fcb94c: 5a              pop    edx
77fcb94d: c1e803          shr    eax, 03
77fcb950: d3e2            shl    edx, cl
77fcb952: 8d841858010000  lea    eax, [eax+ebx+158]
77fcb959: 3010            xor    [eax], dl
77fcb95b: eb9e            jmp    77fcb8fb
77fcb95d: 56              push   esi
77fcb95e: e8              db     e8
77fcb95f: b2              db     b2

Windows 5.0 (Windows 2000 build 2195) [Service Pack 3]

EAX = 40400000
EBX = 05910000
ECX = 40400000
EDX = 0591b908
EBP = 0614f6d8
DS:ESI = 0023:0591b3c0
ES:EDI = 0023:0591b908
SS:ESP = 0023:0614f6cc
CS:EIP = 001b:77fcb8f4
FS = 003b
GS = 0000
EFLAGS = 00010246

MM0 = 0000000000000000
MM1 = 0000000000000000
MM2 = 0000000000000000
MM3 = e000000000000000
MM4 = c000000000000000
MM5 = c000000000000000
MM6 = c000000000000000
MM7 = e000000000000000

Crash reason: Access Violation

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

...while compressing frame 0 from 05a72800 to 01620050 (VideoSequenceCompressor.cpp:359)...

...while running thread "Processing" (thread.cpp:90).

Thread traces:

Thread 00000488 (Main thread)
C:\p4root\dev\VirtualDub\source\Init.cpp(247)
C:\p4root\dev\VirtualDub\source\Init.cpp(268)
C:\p4root\dev\VirtualDub\source\Init.cpp(286)
C:\p4root\dev\VirtualDub\source\Init.cpp(348)
C:\p4root\dev\VirtualDub\source\Main.cpp(190)
C:\p4root\dev\VirtualDub\source\Main.cpp(213)
C:\p4root\dev\VirtualDub\source\FilterSystem.cpp(424)
Thread 000005d0 (FastWriteStream)
Thread 000002fc (Processing)
C:\p4root\dev\VirtualDub\source\Dub.cpp(3016)
C:\p4root\dev\VirtualDub\source\Dub.cpp(3021)
C:\p4root\dev\VirtualDub\source\VideoSequenceCompressor.cpp(357)
Thread 0000036c (I/O processing)

Thread call stack:77fcb8f4: ntdll!RtlFreeHeap [77f80000+4b691+263]
77fcb795: ntdll!RtlFreeHeap [77f80000+4b691+104]
050d4344: xvid!xvid_init [05080000+ae4c+494f8]
0614ff34: 0614ff34
0614ff34: 0614ff34
0614f318: 0614f318
050d4344: xvid!xvid_init [05080000+ae4c+494f8]
0614f318: 0614f318
0614ff34: 0614ff34
050cb51c: xvid!xvid_init [05080000+ae4c+406d0]
0508f676: xvid!xvid_init [05080000+ae4c+482a]
05085569: xvid!00005569
05085e17: xvid!00005e17
0508ae47: xvid!xvid_encore [05080000+ae0c+3b]
05086d4a: xvid!00006d4a
0508ab0d: xvid!DriverProc [05080000+a8c0+24d]
77e87a74: KERNEL32!00007a74
77fcbc44: ntdll!RtlFreeHeap [77f80000+4b691+5b3]
77fcbb46: ntdll!RtlFreeHeap [77f80000+4b691+4b5]
77fcbd73: ntdll!RtlFreeHeap [77f80000+4b691+6e2]
0614fb04: 0614fb04
77f8e440: ntdll!RtlSetBits [77f80000+e110+330]
77f8e4db: ntdll!RtlSetBits [77f80000+e110+3cb]
77fa0316: ntdll!KiUserExceptionDispatcher [77f80000+20308+e]
77fa0324: ntdll!KiUserExceptionDispatcher [77f80000+20308+1c]
77eab2f0: KERNEL32!RaiseException [77e80000+2b29a+56]
77fcbb46: ntdll!RtlFreeHeap [77f80000+4b691+4b5]
77fcbd73: ntdll!RtlFreeHeap [77f80000+4b691+6e2]
77fcb650: ntdll!RtlAllocateHeap [77f80000+4b178+4d8]
77fcb516: ntdll!RtlAllocateHeap [77f80000+4b178+39e]
77fcb52d: ntdll!RtlAllocateHeap [77f80000+4b178+3b5]
77eab2f0: KERNEL32!RaiseException [77e80000+2b29a+56]
6a8f17f8: MSVFW32!ICSendMessage [6a8f0000+17c4+34]
6a8f4ea4: MSVFW32!ICCompress [6a8f0000+4e43+61]
00480f14: VideoSequenceCompressor::packFrame()
0614fee0: 0614fee0
004673ab: Dubber::WriteVideoFrame()
0614fedf: 0614fedf
77e8b32b: KERNEL32!WaitForSingleObject [77e80000+b31c+f]
0045d058: AVIPipe::getReadBuffer()
0045d071: AVIPipe::getReadBuffer()
00467d2a: Dubber::ThreadRun()
0049bbfa: VDThread::StaticThreadStart()
004a14ba: _threadstartex@4()
0614f318: 0614f318
77e8b2d8: KERNEL32!lstrcmpiW [77e80000+b221+b7]

-- End of report
 
  Top
phaeron
Posted: Mar 10 2003, 06:17 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



I have been receiving a relatively large number of crash reports lately on XviD, although usually they are divide-by-zero errors instead of a heap corruption error as you have above. No clues, although I don't track XviD development myself. I think I may have to put version checking and/or MD5 fingerprinting into 1.5.2 so I can tell if particular driver releases are causing problems or not.

 
    Top
fubo.x
Posted: Mar 10 2003, 11:52 AM


Unregistered









QUOTE (phaeron @ Mar 10 2003, 12:17 AM)
I have been receiving a relatively large number of crash reports lately on XviD

i d/l'ed and installed a newer version of Xvid (XviD.Root.24.02.2003.1100.exe) from http://xvid.hopto.org/ and problem fixed laugh.gif

thanks for your quick reply phaeron.
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since Mar 10 2003, 04:19 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports