Penecho
27th March 2009, 14:39
Hi, i am encountering a Vdub Error during my xvid encodes, after the 1st passis finished:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'.
Anyone an idea whath that could be?
Cu
Penecho
unskinnyboy
27th March 2009, 15:19
People still don't know how to properly report an error. What's the idea of posting just part of the error message? Post the full crash report and give us more information.
Which Xvid build are you using? Have you tried another build?
VirtualDub or VirtualDubMoD? Which build?
What are you trying to encode? An AVI? A DVD?
Are you able to encode the same source with another codec?
The error you got is indicative of a corrupted frame (or multiple frames) in your source which Xvid b0rks on. If it's an AVI input, try scanning it for errors using VirtualDub. The crash report should show you the frame # of the source on which the decompression fails - try cutting the frame out and see if you can isolate the error to that frame alone. If encoding that frame works with another codec (say Lagarith or Huffyuv), encode it and make it available to us, for download.
Penecho
27th March 2009, 15:36
I tried those Xvid versions:
Xvid-1.2.1-04122008
xvid-1.3.0.(cvs)-081213.02.23-vaq-mtk_x64
I have a 64bit OS (Windows XP Pro 64bit) and i am using gknot for Xvid encodes.
I try to encode a dvd, testeted different dvds, to ensure files are ok
Thats the complete error log:
VirtualDub crash report -- build 2540 (release)
--------------------------------------
Disassembly:
04350540: 0f7f01 movq [ecx], mm0
04350543: 0ff8cd psubb mm1, mm5
04350546: 0f7f0c11 movq [ecx+edx], mm1
0435054a: 8d0c51 lea ecx, [ecx+edx*2]
0435054d: 0f6fc2 movq mm0, mm2
04350550: 0f6f08 movq mm1, [eax]
04350553: 0f6f1410 movq mm2, [eax+edx]
04350557: 8d0450 lea eax, [eax+edx*2]
0435055a: 0f6fe0 movq mm4, mm0
0435055d: 0f6fe9 movq mm5, mm1
04350560: 0fe0c1 pavgb mm0, mm1
04350563: 0fefe1 pxor mm4, mm1
04350566: 0fe0ca pavgb mm1, mm2
04350569: 0fefea pxor mm5, mm2
0435056c: 0fdbe7 pand mm4, mm7
0435056f: 0fdbef pand mm5, mm7
04350572: 0ff8c4 psubb mm0, mm4
04350575: 0f7f01 movq [ecx], mm0
04350578: 0ff8cd psubb mm1, mm5
0435057b: 0f7f0c11 movq [ecx+edx], mm1
0435057f: c3 ret
04350580: 8b442410 mov eax, [esp+10]
04350584: 8b4c2404 mov ecx, [esp+04]
04350588: 85c0 test eax, eax
0435058a: 8b442408 mov eax, [esp+08]
0435058e: 8b54240c mov edx, [esp+0c]
04350592: 0f6f3db01f3404 movq mm7, [04341fb0]
04350599: 0f6f10 movq mm2, [eax]
0435059c: 0f6f5801 movq mm3, [eax+01]
043505a0: 0f6ff2 movq mm6, mm2
043505a3: 0fe0d3 pavgb mm2, mm3
043505a6: 0fefde pxor mm3, mm6
043505a9: 0f856b010000 jnz 0435071a
043505af: 8d0410 lea eax, [eax+edx]
043505b2: 0f6f00 movq mm0, [eax]
043505b5: 0f6f4801 movq mm1, [eax+01]
043505b9: 0f6ff0 movq mm6, mm0
043505bc: 0fe0c1 pavgb mm0, mm1
043505bf: 8d0410 lea eax, [eax+edx]
043505c2: 0fefce pxor mm1, mm6
043505c5: 0febd9 por mm3, mm1
043505c8: 0f6ff2 movq mm6, mm2
043505cb: 0feff0 pxor mm6, mm0
043505ce: 0fdbde pand mm3, mm6
043505d1: 0fe0d0 pavgb mm2, mm0
043505d4: 0fdbdf pand mm3, mm7
043505d7: 0ff8d3 psubb mm2, mm3
043505da: 0f7f11 movq [ecx], mm2 <-- FAULT
043505dd: 0f6f10 movq mm2, [eax]
043505e0: 0f6f5801 movq mm3, [eax+01]
043505e4: 0f6ff2 movq mm6, mm2
043505e7: 0fe0d3 pavgb mm2, mm3
043505ea: 8d0c11 lea ecx, [ecx+edx]
043505ed: 0fefde pxor mm3, mm6
043505f0: 0febcb por mm1, mm3
043505f3: 0f6ff0 movq mm6, mm0
043505f6: 0feff2 pxor mm6, mm2
043505f9: 0fdbce pand mm1, mm6
043505fc: 0fe0c2 pavgb mm0, mm2
043505ff: 0fdbcf pand mm1, mm7
04350602: 0ff8c1 psubb mm0, mm1
04350605: 0f7f01 movq [ecx], mm0
04350608: 01d1 add ecx, edx
0435060a: 8d0410 lea eax, [eax+edx]
0435060d: 0f6f00 movq mm0, [eax]
04350610: 0f6f4801 movq mm1, [eax+01]
04350614: 0f6ff0 movq mm6, mm0
04350617: 0fe0c1 pavgb mm0, mm1
0435061a: 8d0410 lea eax, [eax+edx]
0435061d: 0fefce pxor mm1, mm6
04350620: 0febd9 por mm3, mm1
04350623: 0f6ff2 movq mm6, mm2
04350626: 0feff0 pxor mm6, mm0
04350629: 0fdbde pand mm3, mm6
0435062c: 0fe0d0 pavgb mm2, mm0
0435062f: 0fdbdf pand mm3, mm7
04350632: 0ff8d3 psubb mm2, mm3
04350635: 0f7f11 movq [ecx], mm2
04350638: 0f6f10 movq mm2, [eax]
0435063b: 0f6f5801 movq mm3, [eax+01]
0435063f: 0f db 0f
Windows 5.2 (Windows XP build 3790) [Service Pack 2]
EAX = 049e1b9e
EBX = 00000001
ECX = 044fefa0
EDX = 00000160
EBP = fffffffe
DS:ESI = 002b:00000160
ES:EDI = 002b:07e5fc20
SS:ESP = 002b:07e5f87c
CS:EIP = 0023:043505da
FS = 0053
GS = 002b
EFLAGS = 00010246
FPUCW = 027f
FPUTW = a9aa
MM0 = 7475757676767676
MM1 = 0001000300000000
MM2 = 7475757676767676
MM3 = 0000000000000000
MM4 = 0000000000000000
MM5 = 0000000000000086
MM6 = 0000000000000000
MM7 = 0101010101010101
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'xvidcore'.
Thread traces:
Thread 0000088c (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(344)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(387)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(414)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(655)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(685)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1828)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1846)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(569)
Thread 00000524 (FastWriteStream)
Thread 00000628 (Processing)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2817)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2609)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2614)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(420)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2777)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2817)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2609)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2614)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(420)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2777)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2817)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2609)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2614)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
Thread 0000021c (Dub-I/O)
Thread call stack:043505da: xvidcore!xvid_plugin_dump [042c0000+6af10+256ca]
042e1dc3: xvidcore!00021dc3
042e215a: xvidcore!0002215a
042e0fc7: xvidcore!00020fc7
042f9464: xvidcore!xvid_encore [042c0000+29c58+f80c]
022f15fc: oleaut32!000015fc
022f162d: oleaut32!0000162d
7d61cca8: ntdll!NtDelayExecution [7d600000+1cc93+15]
7d4d0ec5: kernel32!SleepEx [7d4c0000+10e78+4d]
7d4d0ee7: kernel32!SleepEx [7d4c0000+10e78+6f]
043007a8: xvidcore!xvid_encore [042c0000+29c58+16b50]
04300847: xvidcore!xvid_encore [042c0000+29c58+16bef]
7d621954: ntdll!RtlImageNtHeaderEx [7d600000+218b7+9d]
7d4dfe21: kernel32!FlsSetValue [7d4c0000+1fceb+136]
-- End of report
Cu
Penecho
unskinnyboy
27th March 2009, 17:21
This is a bit different from what I've usually seen then. I expected to see a reference to a particular frame #, the one on which Xvid choked.
Are you getting this error just for this DVD, or are you getting it for other DVDs too? Can you try encoding this using Xvid CLI (if you want a front-end, use MeGUI)? Are you able to encode this DVD using another codec (e.g. x264)?
Penecho
27th March 2009, 17:30
The error occurs right after the 1st pass is finished, 99% --> crash.
It happens with all DVDs i tried so far.
Megui i am still having troubles because .NET Framework wont install^^
[03/27/09,14:43:27] Microsoft .NET Framework 2.0 [x64]: [2] Error: Installation failed for component Microsoft .NET Framework 2.0 [x64]. MSI returned error code 1603
[03/27/09,14:43:29] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0 [x64] is not installed.
[03/27/09,14:43:29] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
but i will keep trying...
Cu
Penecho
movmasty
3rd May 2009, 18:53
try to disable multithreading, setting it to 0 in preferences
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.