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.

 
Virtualdub-1.5.2 + Virtualdub-1.5.1 Crash, loading jobs cause segfault..
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
jason
Posted: May 1 2003, 12:18 PM


Unregistered









Hi..

I thought someone would spot this in the previous version,
so i didnt bother posting any details.. Looks like i was (annoyingly)
wrong..

VirtualDub-1.5.1:
If you load 10 things into the job control.. It will crash..
*lies* *explains properly*
That is, on the 10th time you enter the compression menu..
I have to switch back and forth between the compression
menu to choose xvid 1st pass and 2nd pass.

VirtualDub-1.5.2:
At first i thought it was fixed, i was wrong again..
This release crashes at the 12'th time you enter the compression
menu ..

These are reproducable, easily.. every single time..
Hit control+c, say "ok" .. do that 13 times and watch..

A bit annoying to say the least, as i tend to encode seasons
of tvrips.. wink.gif

Cheers..

 
  Top
phaeron
Posted: May 2 2003, 02:27 AM


Virtualdub Developer


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



1) Do you have a crash trace?
2) Are you running Windows 95/98/ME, or NT4/2K/XP?
 
    Top
jason
Posted: May 2 2003, 03:25 PM


Unregistered









| 1) Do you have a crash trace?

Check Below. (Note, this happens on the Non-P4 build/excecutable aswell)

| 2) Are you running Windows 95/98/ME, or NT4/2K/XP?

Windows XP + SP1

VirtualDub crash report -- build 16189 (release-P4)
--------------------------------------

Disassembly:
05f31f80: 2495 and al, 95
05f31f82: 8823 mov [ebx], ah
05f31f84: f3058b7c2428 add eax, 28247c8b
05f31f8a: 85ff test edi, edi
05f31f8c: 741e jz 05f31fac
05f31f8e: 817f0476696463 cmp dword ptr [edi+04], 63646976
05f31f95: 7415 jz 05f31fac
05f31f97: 33c0 xor eax, eax
05f31f99: 8b4c2408 mov ecx, [esp+08]
05f31f9d: 64890d00000000 mov fs:[00000000], ecx
05f31fa4: 5f pop edi
05f31fa5: 5e pop esi
05f31fa6: 83c40c add esp, 0c
05f31fa9: c21400 ret 0014
05f31fac: 85f6 test esi, esi
05f31fae: 7524 jnz 05f31fd4
05f31fb0: 687c1c0100 push 00011c7c
05f31fb5: e82a1e0000 call 05f33de4
05f31fba: 83c404 add esp, 04
05f31fbd: 89442424 mov [esp+24], eax
05f31fc1: 85c0 test eax, eax
05f31fc3: 89742410 mov [esp+10], esi
05f31fc7: 7409 jz 05f31fd2
05f31fc9: 8bc8 mov ecx, eax
05f31fcb: e850040000 call 05f32420
05f31fd0: eb02 jmp 05f31fd4
05f31fd2: 33c0 xor eax, eax
05f31fd4: 85ff test edi, edi
05f31fd6: 0f8498030000 jz 05f32374
05f31fdc: 8bc8 mov ecx, eax
05f31fde: f7d9 neg ecx
05f31fe0: 1bc9 sbb ecx, ecx
05f31fe2: 83e103 and ecx, 03
05f31fe5: 83c1fd add ecx, fd
05f31fe8: 894f14 mov [edi+14], ecx
05f31feb: 8b4c2408 mov ecx, [esp+08]
05f31fef: 64890d00000000 mov fs:[00000000], ecx
05f31ff6: 5f pop edi
05f31ff7: 5e pop esi
05f31ff8: 83c40c add esp, 0c
05f31ffb: c21400 ret 0014
05f31ffe: 85f6 test esi, esi
05f32000: 744b jz 05f3204d
05f32002: 81fe00010000 cmp esi, 00000100
05f32008: 7643 jbe 05f3204d
05f3200a: 8b862c1c0100 mov eax, [esi+11c2c] <-- FAULT
05f32010: 85c0 test eax, eax
05f32012: 7413 jz 05f32027
05f32014: 50 push eax
05f32015: e8e01c0000 call 05f33cfa
05f3201a: 83c404 add esp, 04
05f3201d: c7862c1c010000 mov dword ptr [esi+11c2c], 00000000
000000
05f32027: 8b86381c0100 mov eax, [esi+11c38]
05f3202d: 85c0 test eax, eax
05f3202f: 7413 jz 05f32044
05f32031: 50 push eax
05f32032: e8c31c0000 call 05f33cfa
05f32037: 83c404 add esp, 04
05f3203a: c786381c010000 mov dword ptr [esi+11c38], 00000000
000000
05f32044: 8b16 mov edx, [esi]
05f32046: 6a00 push 00
05f32048: 8bce mov ecx, esi
05f3204a: ff5214 call dword ptr [edx+14]
05f3204d: b801000000 mov eax, 00000001
05f32052: 8b4c2408 mov ecx, [esp+08]
05f32056: 64890d00000000 mov fs:[00000000], ecx
05f3205d: 5f pop edi
05f3205e: 5e pop esi
05f3205f: 83c40c add esp, 0c
05f32062: c21400 ret 0014
05f32065: 8b442424 mov eax, [esp+24]
05f32069: 8bce mov ecx, esi
05f3206b: 50 push eax
05f3206c: e8bf050000 call 05f32630
05f32071: b801000000 mov eax, 00000001
05f32076: 8b4c2408 mov ecx, [esp+08]
05f3207a: 64890d mov fs:[ebp], ecx
05f3207d: 0000 add [eax], al
05f3207f: 00 db 00

Windows 5.1 (Windows XP build 2600) [Service Pack 1]

EAX = 00000111
EBX = 00000111
ECX = 00000004
EDX = 00000003
EBP = 0012f380
DS:ESI = 0023:00000111
ES:EDI = 0023:05f31f40
SS:ESP = 0023:0012f344
CS:EIP = 001b:05f3200a
FS = 003b
GS = 0000
EFLAGS = 00010206

MM0 = ee26d0008057fb16
MM1 = 7ffde0000012ff28
MM2 = ee26c9a480595d2c
MM3 = 000000007ffde700
MM4 = 0012ff2800000000
MM5 = ccccccccccccd000
MM6 = 8000000000000000
MM7 = 80d8b8e7b7713d70

Crash reason: Access Violation

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

...while querying video codec "GLZW 1.00" (compchoose.cpp:181)...

...while opening video codec with FOURCC "glzw" (compchoose.cpp:166)...

...while enumerating video codecs (compchoose.cpp:154).

Thread traces:

Thread 0000053c (Main thread)
C:\p4root\dev\VirtualDub\source\Init.cpp(265)
C:\p4root\dev\VirtualDub\source\Init.cpp(284)
C:\p4root\dev\VirtualDub\source\Init.cpp(302)
C:\p4root\dev\VirtualDub\source\Init.cpp(365)
C:\p4root\dev\VirtualDub\source\Main.cpp(206)
C:\p4root\dev\VirtualDub\source\Main.cpp(229)

Thread call stack:05f3200a: GLZW!DriverProc [05f30000+1f40+ca]
05f31f40: GLZW!DriverProc [05f30000+1f40+0]
76b437b0: WINMM!SendDriverMessage [76b40000+36f0+c0]
76b43707: WINMM!SendDriverMessage [76b40000+36f0+17]
76b43925: WINMM!CloseDriver [76b40000+38da+4b]
76b438ed: WINMM!CloseDriver [76b40000+38da+13]
73bd3958: MSVFW32!ICClose [73bd0000+3910+48]
004971b9: B3.EH()
77d45b5f: USER32!CallWindowProcW [77d40000+5b46+19]
77341bdf: COMCTL32!InitCommonControlsEx [77340000+16c9+516]
77341d3a: COMCTL32!DefSubclassProc [77340000+1cb0+8a]
77341d4c: COMCTL32!DefSubclassProc [77340000+1cb0+9c]
77341d54: COMCTL32!DefSubclassProc [77340000+1cb0+a4]
77365bfe: COMCTL32!EnumMRUListW [77340000+24ca3+f5b]
77341d3a: COMCTL32!DefSubclassProc [77340000+1cb0+8a]
77341d4c: COMCTL32!DefSubclassProc [77340000+1cb0+9c]
77341d54: COMCTL32!DefSubclassProc [77340000+1cb0+a4]
77d452e8: USER32!IsWindow [77d40000+52b0+38]
77d452e8: USER32!IsWindow [77d40000+52b0+38]
77341c3f: COMCTL32!InitCommonControlsEx [77340000+16c9+576]
77341c75: COMCTL32!InitCommonControlsEx [77340000+16c9+5ac]
77341cf4: COMCTL32!DefSubclassProc [77340000+1cb0+44]
77341c75: COMCTL32!InitCommonControlsEx [77340000+16c9+5ac]
77d43a68: USER32!00003a68
77d43b4b: USER32!00003b4b
77d4450d: USER32!PostMessageA [77d40000+4460+ad]
77d44518: USER32!PostMessageA [77d40000+4460+b8]
77d44518: USER32!PostMessageA [77d40000+4460+b8]
77d4b5a2: USER32!CallMsgFilterW [77d40000+b213+38f]
77d4b5b1: USER32!CallMsgFilterW [77d40000+b213+39e]
77fb4da6: ntdll!KiUserCallbackDispatcher [77f50000+64d93+13]
77d47f15: USER32!SetWindowTextA [77d40000+7eeb+2a]
77d56e22: USER32!SetDlgItemTextA [77d40000+16e03+1f]
00489523: PositionControlUpdateString()
77d44019: USER32!GetWindowLongA [77d40000+3fee+2b]
77d45cf1: USER32!DefWindowProcA [77d40000+5c55+9c]
004b9782: MenuHit()
004b9e9b: VDEnableMenuItemW32()
004ba22a: DoInitMenu()
77d45cf1: USER32!DefWindowProcA [77d40000+5c55+9c]
77d45ca8: USER32!DefWindowProcA [77d40000+5c55+53]
77d45cbc: USER32!DefWindowProcA [77d40000+5c55+67]
004babae: MainWndProc()
77d45ca8: USER32!DefWindowProcA [77d40000+5c55+53]
77d45cbc: USER32!DefWindowProcA [77d40000+5c55+67]
77f5166a: ntdll!RtlFreeHeap [77f50000+156b+ff]
77d45cbc: USER32!DefWindowProcA [77d40000+5c55+67]
004ba3e2: MainWndProc()
77f5166a: ntdll!RtlFreeHeap [77f50000+156b+ff]
77d43a68: USER32!00003a68
77d43b37: USER32!00003b37
77d4450d: USER32!PostMessageA [77d40000+4460+ad]
77d4453d: USER32!PostMessageA [77d40000+4460+dd]
77fb4da6: ntdll!KiUserCallbackDispatcher [77f50000+64d93+13]
77d54f33: USER32!GetAsyncKeyState [77d40000+14e17+11c]
77d60da4: USER32!IsDialogMessage [77d40000+20d16+8e]
004b79b0: WinMain@16()
77dd24b6: ADVAPI32!RegQueryValueExA [77dd0000+2410+a6]
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]
00507470: _msize()
77f52013: ntdll!RtlAcquirePebLock [77f50000+1feb+28]
77f5201c: ntdll!RtlAcquirePebLock [77f50000+1feb+31]
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]
77e619ef: kernel32!GetStartupInfoA [77e60000+177e+271]
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]
00500de7: atexit()
00502383: WinMainCRTStartup()
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]
77e814c7: kernel32!GetCurrentDirectoryW [77e60000+21483+44]
70a71a29: SHLWAPI!StrCpyW [70a70000+19cb+5e]

-- End of report

 
  Top
phaeron
Posted: May 5 2003, 06:18 AM


Virtualdub Developer


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



Please disable the "GLZW" codec temporarily and retest -- this codec is implicated in the crash report.
 
    Top
jason
Posted: May 5 2003, 06:37 AM


Unregistered









The Gabest codecs were infact the source of the problem.
GLZW + GPEG .. once i disabled both of those, no more crashing
occurred..

Thanks! smile.gif
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since May 1 2003, 12:18 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports