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.

 
Crash On Xvid Encode
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Sakaki-san
  Posted: Sep 23 2003, 11:30 PM


Unregistered









I hope anyone can help me wink.gif here my Settings:

Filters: Deinterlace, Smart smoother HQ, Warp Sharp, VobSub, Resize
XviD: Latest from Nic (16/07/03)
VDub Mod Ver.: 1.5.4.1

XviD Settings:

- Global
Motion Search: Ultra High
Quantization type: MPEG
VHQ: Mode Decision
Max. I-Frame Interval: 300
Min. I-Frame Interval: 1
Max. B-Frames: 2
B-Frame Quantizer ratio: 150
B-Frame Quantizer Offset: 100
DX50 B-VOP...: Checked
Chroma Motion: Checked

- Alt. Curve
Alternative curve System: off
Max. Bitrate: 10000
Max. overflow improvement: 60
Max. overflow degradation: 60

- Debug

Force optimizations:
MMX: Checked
Integer SSE: Checked
SSE: Checked
All Other: unchecked
Frame Drop Ratio: 0

System:

Intel P4 1,8GHz (Willamette Core), ABIT TH7-II, 2*256MB PC-800, WinXP Pro (SP1)

Crash Log:

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

Disassembly:
07ea2060: e90fddf38d jmp 95ddfd74
07ea2065: 3456 xor al, 56
07ea2067: 0f71d501 psrlw mm5, 01
07ea206b: 0f71d601 psrlw mm6, 01
07ea206f: 0f67ee packuswb mm5, mm6
07ea2072: 0f6fc8 movq mm1, mm0
07ea2075: 0f6fda movq mm3, mm2
07ea2078: 0f60c7 punpcklbw mm0, mm7
07ea207b: 0f60d7 punpcklbw mm2, mm7
07ea207e: 0f68cf punpckhbw mm1, mm7
07ea2081: 0f68df punpckhbw mm3, mm7
07ea2084: 0f6ff4 movq mm6, mm4
07ea2087: 0f60e7 punpcklbw mm4, mm7
07ea208a: 0f68f7 punpckhbw mm6, mm7
07ea208d: 0fe9c4 psubsw mm0, mm4
07ea2090: 0fe9ce psubsw mm1, mm6
07ea2093: 0f6ff5 movq mm6, mm5
07ea2096: 0f60ef punpcklbw mm5, mm7
07ea2099: 0f68f7 punpckhbw mm6, mm7
07ea209c: 0fe9d5 psubsw mm2, mm5
07ea209f: 8d0450 lea eax, [eax+edx*2]
07ea20a2: 0fe9de psubsw mm3, mm6
07ea20a5: 8d1c53 lea ebx, [ebx+edx*2]
07ea20a8: 0f7f4160 movq [ecx+60], mm0
07ea20ac: 0f7f4968 movq [ecx+68], mm1
07ea20b0: 0f7f5170 movq [ecx+70], mm2
07ea20b4: 0f7f5978 movq [ecx+78], mm3
07ea20b8: 5e pop esi
07ea20b9: 5b pop ebx
07ea20ba: c3 ret
07ea20bb: 90 nop
07ea20bc: 90 nop
07ea20bd: 90 nop
07ea20be: 90 nop
07ea20bf: 90 nop
07ea20c0: 8b4c2404 mov ecx, [esp+04]
07ea20c4: 8b442408 mov eax, [esp+08]
07ea20c8: 53 push ebx
07ea20c9: 8b5c2410 mov ebx, [esp+10]
07ea20cd: 56 push esi
07ea20ce: 8b742418 mov esi, [esp+18]
07ea20d2: 8b54241c mov edx, [esp+1c]
07ea20d6: 0fefff pxor mm7, mm7
07ea20d9: 0f6f00 movq mm0, [eax]
07ea20dc: 0f6f1410 movq mm2, [eax+edx]
07ea20e0: 0f6fc8 movq mm1, mm0
07ea20e3: 0f6fda movq mm3, mm2
07ea20e6: 0f60c7 punpcklbw mm0, mm7
07ea20e9: 0f60d7 punpcklbw mm2, mm7
07ea20ec: 0f6f23 movq mm4, [ebx]
07ea20ef: 0fe026 pavgb mm4, [esi] <-- FAULT
07ea20f2: 0f68cf punpckhbw mm1, mm7
07ea20f5: 0f68df punpckhbw mm3, mm7
07ea20f8: 0f6f2c13 movq mm5, [ebx+edx]
07ea20fc: 0fe02c16 pavgb mm5, [esi+edx]
07ea2100: 0f6ff4 movq mm6, mm4
07ea2103: 0f60e7 punpcklbw mm4, mm7
07ea2106: 0f68f7 punpckhbw mm6, mm7
07ea2109: 0fe9c4 psubsw mm0, mm4
07ea210c: 0fe9ce psubsw mm1, mm6
07ea210f: 8d3456 lea esi, [esi+edx*2]
07ea2112: 0f6ff5 movq mm6, mm5
07ea2115: 0f60ef punpcklbw mm5, mm7
07ea2118: 0f68f7 punpckhbw mm6, mm7
07ea211b: 0fe9d5 psubsw mm2, mm5
07ea211e: 8d0450 lea eax, [eax+edx*2]
07ea2121: 0fe9de psubsw mm3, mm6
07ea2124: 8d1c53 lea ebx, [ebx+edx*2]
07ea2127: 0f7f01 movq [ecx], mm0
07ea212a: 0f7f4908 movq [ecx+08], mm1
07ea212e: 0f7f5110 movq [ecx+10], mm2
07ea2132: 0f7f5918 movq [ecx+18], mm3
07ea2136: 0f6f00 movq mm0, [eax]
07ea2139: 0f6f1410 movq mm2, [eax+edx]
07ea213d: 0f6fc8 movq mm1, mm0
07ea2140: 0f6fda movq mm3, mm2
07ea2143: 0f60c7 punpcklbw mm0, mm7
07ea2146: 0f60d7 punpcklbw mm2, mm7
07ea2149: 0f6f23 movq mm4, [ebx]
07ea214c: 0fe026 pavgb mm4, [esi]
07ea214f: 0f68cf punpckhbw mm1, mm7
07ea2152: 0f68df punpckhbw mm3, mm7
07ea2155: 0f6f2c13 movq mm5, [ebx+edx]
07ea2159: 0fe02c16 pavgb mm5, [esi+edx]
07ea215d: 0f6ff4 movq mm6, mm4

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

EAX = 0a5ba2e0
EBX = 09f811a0
ECX = 0b4ff2c0
EDX = 00000300
EBP = 00000000
DS:ESI = 0023:462ef83e
ES:EDI = 0023:09f811a0
SS:ESP = 0023:0b4fedc8
CS:EIP = 001b:07ea20ef
FS = 003b
GS = 0000
EFLAGS = 00010202
FPUCW = ffff037f
FPUTW = ffffaaaa

MM0 = 00bf00c300b70093
MM1 = 8f818cbebfc3b793
MM2 = 00c200c600ba0096
MM3 = 908088b8c2c6ba96
MM4 = 90818cbdbec3b792
MM5 = 0000000000000000
MM6 = 0002000200020002
MM7 = 0000000000000000

Crash reason: Access Violation

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

...while compressing frame 10112 from 0875ac80 to 09a30020 (VideoSequenceCompressor.cpp:375)...

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

Thread traces:

Thread 00000328 (Main thread)
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(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(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(408)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(408)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(408)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(408)
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 000006e4 (FastWriteStream)
Thread 00000780 (Processing)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1607)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1640)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(4231)
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\FilterSystem.cpp(512)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(525)
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\FilterSystem.cpp(512)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(525)
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\FilterSystem.cpp(512)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(525)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(373)
Thread 00000554 (Dub-I/O)

Thread call stack:07ea20ef: xvid!xvid_init [07e60000+b028+370c7]
07eb1cbe: xvid!xvid_init [07e60000+b028+46c96]
07e7d24b: xvid!xvid_init [07e60000+b028+12223]
77fa1700: ntdll!RtlConvertUlongToLargeInteger [77f40000+616c0+40]
00630069: VirtualDubMod!00230069
77f839de: ntdll!RtlNtStatusToDosError [77f40000+439a6+38]
77f839e3: ntdll!RtlNtStatusToDosError [77f40000+439a6+3d]
07e791dd: xvid!xvid_init [07e60000+b028+e1b5]
07e65aa6: xvid!00005aa6
07e6a8a7: xvid!xvid_encore [07e60000+a864+43]
07e655aa: xvid!000055aa
07e6a54c: xvid!DriverProc [07e60000+a2cc+280]
77e5da3a: kernel32!CompareStringW [77e40000+1d995+a5]
77f844a8: ntdll!RtlRemoteCall [77f40000+442ea+1be]
77f844a8: ntdll!RtlRemoteCall [77f40000+442ea+1be]
77f47d70: ntdll!RtlAllocateHeap [77f40000+7bae+1c2]
77f48a3a: ntdll!RtlAllocateHeap [77f40000+7bae+e8c]
77e55dbd: kernel32!CompareStringA [77e40000+15cf8+c5]
77f4bfb4: ntdll!NtReadFile [77f40000+bfa8+c]
77e5abbd: kernel32!ReadFile [77e40000+1ab4e+6f]
77e5abdc: kernel32!ReadFile [77e40000+1ab4e+8e]
057f5c28: DVD2AVI!00005c28
77f844cb: ntdll!RtlRemoteCall [77f40000+442ea+1e1]
77f48bcd: ntdll!RtlFreeHeap [77f40000+8a3e+18f]
77f49037: ntdll!RtlFreeHeap [77f40000+8a3e+5f9]
057f64d6: DVD2AVI!000064d6
77f49037: ntdll!RtlFreeHeap [77f40000+8a3e+5f9]
07db6460: SmoothHiQ!VirtualdubFilterModuleDeinit [07db0000+4520+1f40]
07db52e1: SmoothHiQ!VirtualdubFilterModuleDeinit [07db0000+4520+dc1]
07db44c5: SmoothHiQ!000044c5
00442054: resize_table_row()
0044251f: resize_table_col()
00443ee7: Resampler::Process()
0043b1fa: resize_run()
73b4181d: MSVFW32!ICSendMessage [73b40000+17f4+29]
73b44789: MSVFW32!ICCompress [73b40000+4728+61]
0049e9f6: VideoSequenceCompressor::packFrame()
004778c0: Dubber::WriteVideoFrame()
77e5a652: kernel32!WaitForSingleObjectEx [77e40000+1a5a2+b0]
77e5ac21: kernel32!WaitForSingleObject [77e40000+1ac12+f]
00517692: VDSignalBase::wait()
0046b377: AVIPipe::getReadBuffer()
00478495: Dubber::ThreadRun()
77e53887: kernel32!RaiseException [77e40000+13837+50]
77f4b884: ntdll!NtDuplicateObject [77f40000+b878+c]
77e5f01b: kernel32!DuplicateHandle [77e40000+1efb6+65]
77e5f02b: kernel32!DuplicateHandle [77e40000+1efb6+75]
77e5f02b: kernel32!DuplicateHandle [77e40000+1efb6+75]
005175b9: VDThread::StaticThreadStart()
0054f4ca: _threadstartex@4()
77e5d33b: kernel32!RegisterWaitForInputIdle [77e40000+1d2f8+43]

-- End of report
 
  Top
phaeron
Posted: Sep 24 2003, 01:14 AM


Virtualdub Developer


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



Looks like a crash in Xvid's B-frame motion prediction search.
 
    Top
fccHandler
Posted: Sep 24 2003, 04:54 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



Suggestion: When you resize, make the width and height of your video multiples of 16 (if they are not).

--------------------
May the FOURCC be with you...
 
     Top
ChristianHJW
Posted: Sep 24 2003, 06:23 AM


Advanced Member


Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02



QUOTE (phaeron @ Sep 24 2003, 03:14 AM)
Looks like a crash in Xvid's B-frame motion prediction search.

I send sysKin here, the developer of XviD's ME ...

--------------------
Visit the unofficial Virtualdub support forum on http://forums.virtualdub.org - help to reduce the big number of emails Avery Lee is getting every day !!
Support matroska as container and Gstreamer as the only truely open, x-platform multimedia platform ....
 
       Top
Sakaki-san
Posted: Sep 24 2003, 12:30 PM


Unregistered









hmmm, any idea what i can do against this Prob (other Settings)? I still must encode 6*20 mins and dont want to use DivX3/5 XD.

ChristianHJW: thx ^^
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Sep 23 2003, 11:30 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports