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.

 
Virtualdubmod Crashed Using 3ivx D4, an odd problem, no1 seemed to encounter
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
MSlv
Posted: Nov 5 2003, 08:53 AM


Unregistered









i was using the latest vdubmod version and tryed t encode a avi to 3ivx D4.0.4! i had no codec packs installed, just 3ivx and radium mp3, and it crashed and gave me a cras log! tried with k-lite codec pack but same result!

this is the crash log:
________________
VirtualDub crash report -- build 2066 (release)
--------------------------------------

Disassembly:
0054ed80: 085e5f or [esi+5f], bl
0054ed83: c9 leave
0054ed84: c3 ret
0054ed85: 8d4900 lea ecx, [ecx+00]
0054ed88: 8a4603 mov al, [esi+03]
0054ed8b: 884703 mov [edi+03], al
0054ed8e: 8a4602 mov al, [esi+02]
0054ed91: 884702 mov [edi+02], al
0054ed94: 8b4508 mov eax, [ebp+08]
0054ed97: 5e pop esi
0054ed98: 5f pop edi
0054ed99: c9 leave
0054ed9a: c3 ret
0054ed9b: 90 nop
0054ed9c: 8a4603 mov al, [esi+03]
0054ed9f: 884703 mov [edi+03], al
0054eda2: 8a4602 mov al, [esi+02]
0054eda5: 884702 mov [edi+02], al
0054eda8: 8a4601 mov al, [esi+01]
0054edab: 884701 mov [edi+01], al
0054edae: 8b4508 mov eax, [ebp+08]
0054edb1: 5e pop esi
0054edb2: 5f pop edi
0054edb3: c9 leave
0054edb4: c3 ret
0054edb5: cc int 3
0054edb6: cc int 3
0054edb7: cc int 3
0054edb8: cc int 3
0054edb9: cc int 3
0054edba: cc int 3
0054edbb: cc int 3
0054edbc: cc int 3
0054edbd: cc int 3
0054edbe: cc int 3
0054edbf: cc int 3
0054edc0: 53 push ebx
0054edc1: 57 push edi
0054edc2: 33ff xor edi, edi
0054edc4: 8b442410 mov eax, [esp+10]
0054edc8: 0bc0 or eax, eax
0054edca: 7d14 jge _allrem+20 (0054ede0)
0054edcc: 47 inc edi
0054edcd: 8b54240c mov edx, [esp+0c]
0054edd1: f7d8 neg eax
0054edd3: f7da neg edx
0054edd5: 83d800 sbb eax, 00
0054edd8: 89442410 mov [esp+10], eax
0054eddc: 8954240c mov [esp+0c], edx
0054ede0: 8b442418 mov eax, [esp+18]
0054ede4: 0bc0 or eax, eax
0054ede6: 7d13 jge _allrem+3b (0054edfb)
0054ede8: 8b542414 mov edx, [esp+14]
0054edec: f7d8 neg eax
0054edee: f7da neg edx
0054edf0: 83d800 sbb eax, 00
0054edf3: 89442418 mov [esp+18], eax
0054edf7: 89542414 mov [esp+14], edx
0054edfb: 0bc0 or eax, eax
0054edfd: 751b jnz _allrem+5a (0054ee1a)
0054edff: 8b4c2414 mov ecx, [esp+14]
0054ee03: 8b442410 mov eax, [esp+10]
0054ee07: 33d2 xor edx, edx
0054ee09: f7f1 div eax, ecx <-- FAULT
0054ee0b: 8b44240c mov eax, [esp+0c]
0054ee0f: f7f1 div eax, ecx
0054ee11: 8bc2 mov eax, edx
0054ee13: 33d2 xor edx, edx
0054ee15: 4f dec edi
0054ee16: 794e jns _allrem+a6 (0054ee66)
0054ee18: eb53 jmp _allrem+ad (0054ee6d)
0054ee1a: 8bd8 mov ebx, eax
0054ee1c: 8b4c2414 mov ecx, [esp+14]
0054ee20: 8b542410 mov edx, [esp+10]
0054ee24: 8b44240c mov eax, [esp+0c]
0054ee28: d1eb shr ebx, 1
0054ee2a: d1d9 rcr ecx, 1
0054ee2c: d1ea shr edx, 1
0054ee2e: d1d8 rcr eax, 1
0054ee30: 0bdb or ebx, ebx
0054ee32: 75f4 jnz _allrem+68 (0054ee28)
0054ee34: f7f1 div eax, ecx
0054ee36: 8bc8 mov ecx, eax
0054ee38: f7642418 mul eax, dword ptr [esp+18]
0054ee3c: 91 xchg eax, ecx
0054ee3d: f7642414 mul eax, dword ptr [esp+14]
0054ee41: 03d1 add edx, ecx
0054ee43: 720e jc _allrem+93 (0054ee53)
0054ee45: 3b542410 cmp edx, [esp+10]
0054ee49: 7708 ja _allrem+93 (0054ee53)
0054ee4b: 720e jc _allrem+9b (0054ee5b)
0054ee4d: 3b44240c cmp eax, [esp+0c]
0054ee51: 7608 jbe _allrem+9b (0054ee5b)
0054ee53: 2b442414 sub eax, [esp+14]
0054ee57: 1b542418 sbb edx, [esp+18]
0054ee5b: 2b44240c sub eax, [esp+0c]
0054ee5f: 1b542410 sbb edx, [esp+10]
0054ee63: 4f dec edi
0054ee64: 7907 jns _allrem+ad (0054ee6d)
0054ee66: f7da neg edx
0054ee68: f7d8 neg eax
0054ee6a: 83da00 sbb edx, 00
0054ee6d: 5f pop edi
0054ee6e: 5b pop ebx
0054ee6f: c21000 ret 0010
0054ee72: 833d241e5c0001 cmp dword ptr [005c1e24], 01
0054ee79: 7e11 jle isalpha+1a (0054ee8c)
0054ee7b: 6803010000 push 00000103

Windows 5.1 (Windows XP build 2600) []

EAX = 00000000
EBX = 01930a34
ECX = 00000000
EDX = 00000000
EBP = 0450fe10
DS:ESI = 0023:01930c80
ES:EDI = 0023:00000001
SS:ESP = 0023:0450fd4c
CS:EIP = 001b:0054ee09
FS = 0038
GS = 0000
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

MM0 = 77f517cd77f516f5
MM1 = 0000000000000080
MM2 = 0000000700000001
MM3 = 000000ae00000084
MM4 = 000000015ad76c79
MM5 = 003c433c5ad76b86
MM6 = 00000000003c4318
MM7 = 0000001f000000a0

Crash reason: Integer Divide-by-Zero

Crash context:
An integer division by zero occurred in module 'VirtualDubMod'...

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

Thread traces:

Thread 00000f80 (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(525)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(721)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(660)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(666)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(683)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(512)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(525)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(721)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(551)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(560)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(123)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(125)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(123)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(125)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(408)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(424)
Thread 00000eb0 (FastWriteStream)
Thread 00000ea4 (Processing)
Thread 00000a9c (Dub-I/O)

Thread call stack:0054ee09: _allrem()
004721c8: VDStreamInterleaver::GetNextAction()
77d4418c: USER32!GetWindowLongW [77d40000+4158+34]
5ad72af7: uxtheme!DrawThemeText [5ad70000+2665+492]
77f5269b: ntdll!RtlUnicodeStringToAnsiString [77f50000+2633+68]
77e7c6f7: kernel32!GetVersionExA [77e60000+1c657+a0]
00478271: Dubber::ThreadRun()
5ad72d56: uxtheme!DrawThemeText [5ad70000+2665+6f1]
77e6d756: kernel32!RaiseException [77e60000+d706+50]
77f7e7ff: ntdll!NtDuplicateObject [77f50000+2e7f3+c]
77e79d48: kernel32!DuplicateHandle [77e60000+19ce3+65]
77e79d58: kernel32!DuplicateHandle [77e60000+19ce3+75]
77e79d58: kernel32!DuplicateHandle [77e60000+19ce3+75]
0450fe20: 0450fe20
005175b9: VDThread::StaticThreadStart()
0054f4ca: _threadstartex@4()
77e802ed: kernel32!OpenConsoleW [77e60000+20235+b8]

-- End of report
__________________
any ideas?
 
  Top
Suiryc
Posted: Nov 5 2003, 01:59 PM


Developer of VirtualdubMod


Group: VirtualdubMod Team
Posts: 222
Member No.: 468
Joined: 10-October 02



Hi

This message seems to indicate a crash during the codec initialization (for encoding).
I just dled this codec and tried it ...
I got the same crash on my first try. I tries VirtualDub 1.5.4, same crash.
I tried VirtualDub 1.5.8 and got no crash _but_ this usefull warning :

QUOTE
[!] The video codec "3ivx D4 4.0.4" returned to VirtualDub with the CPU's MMX unit still active. This indicates a bug in that module which could cause application instability. Please check with the module vendor for an updated version which addresses this problem. (Trap location: C:\p4root\dev_stable\VirtualDub\source\VideoSequenceCompressor.cpp:274)


Thanks to Avery Lee for adding such checking in his code wink.gif
I tried with our CVS version (already including the 1.5.8 code) and got the same warning.

So looks like this version of the codec has a little bug tongue.gif

--------------------
OGM tools, VirtualDubMod [SourceForge : Tracker/DL] (FAQ)
Don't forget the Needed DLLs for VirtualDubMod. Post bugs/requests in our Tracker.
We give 100% of your donations to the Open Source community
 
      Top
phaeron
Posted: Nov 6 2003, 03:13 AM


Virtualdub Developer


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



That particular trap was put in precisely to work around the 3ivx crash. I already notified 3ivx about the problem on their forums and they say the bug will be addressed in their next version, so that's about all I can do.
 
    Top
MSlv
Posted: Nov 7 2003, 06:55 PM


Unregistered









thankyou! you, Suiryc and phaeron, were the only people that replyed me with useful info!

QUOTE
tried VirtualDub 1.5.8 and got no crash


where can i dl this vesion of vdub?

PS: i heard virtuldub 1.5.7 doesn't support mpeg2 streams! is that true?
 
  Top
sergelac
  Posted: Nov 7 2003, 09:04 PM


Unregistered









QUOTE (MSlv @ Nov 7 2003, 01:55 PM)
where can i dl this vesion of vdub?

PS: i heard virtuldub 1.5.7 doesn't support mpeg2 streams! is that true?

VirtulDub 1.5.8 : http://virtualdub.sourceforge.net

VirtulDub-MPEG2 1.5.8 : http://fcchandler.home.comcast.net/stable
 
  Top
MSlv
Posted: Nov 8 2003, 06:47 PM


Unregistered









i found out where to dl it from! lol! god, was i dumb!

tried 3ivx and it works! no crash! trying the mpeg-2 upgrade now, after i dl it!
 
  Top
MSlv
Posted: Nov 8 2003, 06:49 PM


Unregistered









sory, forgot to give tyou a big THANK YOU!
hope you're not mad cool.gif
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
6 replies since Nov 5 2003, 08:53 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports