Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Crash At Save Segmented Avi


Posted by: StNt Oct 11 2013, 02:55 PM
VirtualDub x64 1.10.2 - 1.10.4
At the completion or cancellation of the job

Video Codec: Lagarith
The output is a video ATI YVU12 4:2:0 Planar (CLJR)

Settings
QUOTE

VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetEditMode(1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(15);
VirtualDub.video.SetOutputFormat(15);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetSmartRendering(0);
VirtualDub.video.SetPreserveEmptyFrames(0);
VirtualDub.video.SetFrameRate2(0,0,1);
VirtualDub.video.SetIVTC(0, 0, 0, 0);
VirtualDub.video.SetCompression(0x7367616c,0,10000,0);
VirtualDub.video.SetCompData(1,"AA==");
VirtualDub.video.filters.Clear();
VirtualDub.audio.filters.Clear();


Crash log
CODE

VirtualDub crash report -- build 35390 (release-AMD64)
--------------------------------------

Disassembly:
14012a3a0: 8b4f28          mov    ecx, [rdi+28h]
14012a3a3: 8b542460        mov    edx, [rsp+60h]
14012a3a7: 488b01          mov    rax, [rcx]
14012a3aa: ff9098000000    call   dword ptr [rax+98]
14012a3b0: 8b442468        mov    eax, [rsp+68h]
14012a3b4: 488b4f20        mov    rcx, [rdi+20h]
14012a3b8: 48014740        add    [rdi+40h], eax
14012a3bc: 8b442460        mov    eax, [rsp+60h]
14012a3c0: 4c8d4c2470      lea    r9, [rsp+70h]
14012a3c5: 48014748        add    [rdi+48h], eax
14012a3c9: 488b01          mov    rax, [rcx]
14012a3cc: 4c8d442478      lea    r8, [rsp+78h]
14012a3d1: 4883caff        or     rdx, 0ffh
14012a3d5: ff9090000000    call   dword ptr [rax+90]
14012a3db: 84c0            test   al, al
14012a3dd: 0f844f010000    jz     14012a532
14012a3e3: 8b442470        mov    eax, [rsp+70h]
14012a3e7: 488b4f20        mov    rcx, [rdi+20h]
14012a3eb: 8b542478        mov    edx, [rsp+78h]
14012a3ef: 48014740        add    [rdi+40h], eax
14012a3f3: 488b01          mov    rax, [rcx]
14012a3f6: ff9098000000    call   dword ptr [rax+98]
14012a3fc: e931010000      jmp    14012a532
14012a401: 488b4f28        mov    rcx, [rdi+28h]
14012a405: 488b01          mov    rax, [rcx]
14012a408: ff5070          call   dword ptr [rax+70h]
14012a40b: 84c0            test   al, al
14012a40d: 0f841f010000    jz     14012a532
14012a413: 488b4f28        mov    rcx, [rdi+28h]
14012a417: 488b01          mov    rax, [rcx]
14012a41a: ff90a0000000    call   dword ptr [rax+a0]
14012a420: 488b4f20        mov    rcx, [rdi+20h]
14012a424: 4c8d4c2478      lea    r9, [rsp+78h]
14012a429: 488b01          mov    rax, [rcx]      <-- FAULT
14012a42c: 4c8d442470      lea    r8, [rsp+70h]
14012a431: 4883caff        or     rdx, 0ffh
14012a435: ff9090000000    call   dword ptr [rax+90]
14012a43b: 84c0            test   al, al
14012a43d: 0f84ef000000    jz     14012a532
14012a443: 39742470        cmp    [rsp+70h], esi
14012a447: 751b            jnz    14012a464
14012a449: 488b4f20        mov    rcx, [rdi+20h]
14012a44d: 488b01          mov    rax, [rcx]
14012a450: ff5070          call   dword ptr [rax+70h]
14012a453: 84c0            test   al, al
14012a455: 740d            jz     14012a464
14012a457: 488b4f20        mov    rcx, [rdi+20h]
14012a45b: 488b01          mov    rax, [rcx]
14012a45e: ff90a0000000    call   dword ptr [rax+a0]
14012a464: f20f10050c2019  movsd  xmm0, [1402bc478]
         00              
14012a46c: 8b442478        mov    eax, [rsp+78h]
14012a470: 4c8b4f40        mov    r9, [rdi+40h]
14012a474: 488b5750        mov    rdx, [rdi+50h]
14012a478: f20f10c8        movsd  xmm1, xmm0
14012a47c: 4e8d440818      lea    r8, [rax+r9+18h]
14012a481: f20f5e4f30      divsd  xmm1, [rdi+30h]
14012a486: 48b800000000    mov    eax, 00000000
14012a48c: 0000            add    [rax], al
14012a48e: 0080f20f58c8    add    [rax-37a7f00e], al
14012a494: f2480f2a4748    cvtsi2sd xmm0, [rdi+48h]
14012a49a: f20f59c8        mulsd  xmm1, xmm0
14012a49e: 660f            db     0fh

Built on Althena on Sun Dec 16 17:09:18 2012 using compiler version 1400

Windows 6.1 (Windows 7 x64 build 7601) [Service Pack 1]
Memory status: virtual free 8388365M/8388608M, commit limit 32761M, physical total 32713M

RAX =        1402e4e90
RBX =          7b47d00
RCX =                0
RDX =          7fffd50
RSI =                0
RDI =          7b47d00
RBP =                0
R8  =          7fffd58
R9  =          7fffd68
R10 =          20b8ac0
R11 =                1
R12 =                1
R13 =                0
R14 =                0
R15 =                0
RSP =          7fffcf0
RIP =        14012a429
EFLAGS = 00010202


Crash reason: Access Violation

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

...reading address 0000000000000000...

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

Pointer dumps:

RAX   1402e4e90: 4011a8e0 00000001 4012bd50 00000001 401333b0 00000001 4011aa50 00000001
RBX   07b47d00: 402e4d80 00000001 402e4d70 00000001 0012f2e0 00000000 07b47e90 00000000
RDX   07fffd50: 00000000 ffffffff 00000000 00000000 402c1f80 00000001 020dd170 00000000
RDI   07b47d00: 402e4d80 00000001 402e4d70 00000001 0012f2e0 00000000 07b47e90 00000000
RSP   07fffcf0: 07b47d00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     07fffd10: 020dcfa8 00000000 400343ed 00000001 00000000 00000000 020dcfa8 00000000
     07fffd30: 07b47d00 00000000 00000001 00000000 00000000 00000000 4012a688 00000001
     07fffd50: 00000000 ffffffff 00000000 00000000 402c1f80 00000001 020dd170 00000000
R8    07fffd58: 00000000 00000000 402c1f80 00000001 020dd170 00000000 07b47d00 00000000
R9    07fffd68: 020dd170 00000000 07b47d00 00000000 4002c0e0 00000001 00000000 00000000
R10   020b8ac0: 000000c3 00000000 00000000 00000000 00000000 3ff00000 00000000 bff00000

Thread call stack:
14012a429: VDAVIOutputSegmented::Update()
1400343ed: VDDubVideoProcessor::WriteVideo()
14012a688: VDAVIOutputSegmented::finalize()
14002c0e0: VDAVIOutputWAVSystem::CloseSegment()
7fefd1a133c: KERNELBASE!SetEvent [7fefd1a0000+1330+c]
14003065d: VDDubProcessThread::ThreadRun()
1400029a1: ?$VDProtectedAutoScope1::?$VDProtectedAutoScope1()
140187dd7: VDInitThreadData()
14017a10e: VDThread::StaticThreadStart()
1402955bf: threadstartex()
7710652d: kernel32!BaseThreadInitThunk [770f0000+16520+d]
7733c541: ntdll!RtlUserThreadStart [77310000+2c520+21]

-- End of report

Posted by: phaeron Oct 28 2013, 12:04 AM
Got it... has to do with no audio. Will fix in next 1.10.5 test release.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)