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.

 
Vertical Smoother Crash
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
J. Baker
Posted: Sep 11 2007, 07:24 AM


Newbie


Group: Members
Posts: 8
Member No.: 12863
Joined: 23-November 04



Seems when I try to use a vertical smoother plug-in, it crashes VDub.
QUOTE
VirtualDub-MPEG2 crash report -- build 24560 (release)
--------------------------------------

Disassembly:
100010a0: b28b            mov    dl, 8bh
100010a2: 1406            adc    al, 06h
100010a4: 03f0            add    esi, eax
100010a6: 83e902          sub    ecx, 02h
100010a9: 895c241c        mov    [esp+1ch], ebx
100010ad: 8d3c06          lea    edi, [esi+eax]
100010b0: 894c2410        mov    [esp+10h], ecx
100010b4: 897c2418        mov    [esp+18h], edi
100010b8: 8bfa            mov    edi, edx
100010ba: 8bca            mov    ecx, edx
100010bc: 81e300ff0000    and    ebx, 0000ff00
100010c2: 81e100ff0000    and    ecx, 0000ff00
100010c8: 8d2ccd00000000  lea    ebp, [ecx*8+00000000]
100010cf: 2be9            sub    ebp, ecx
100010d1: 8bcf            mov    ecx, edi
100010d3: 81e100ff0000    and    ecx, 0000ff00
100010d9: 8d2c69          lea    ebp, [ecx+ebp*2]
100010dc: 8bca            mov    ecx, edx
100010de: 81e1ff00ff00    and    ecx, 00ff00ff
100010e4: 03eb            add    ebp, ebx
100010e6: c1ed04          shr    ebp, 04h
100010e9: 8d1ccd00000000  lea    ebx, [ecx*8+00000000]
100010f0: 81e500ff0000    and    ebp, 0000ff00
100010f6: 2bd9            sub    ebx, ecx
100010f8: 8bcf            mov    ecx, edi
100010fa: 81e1ff00ff00    and    ecx, 00ff00ff
10001100: 8d0c59          lea    ecx, [ecx+ebx*2]
10001103: 8b5c241c        mov    ebx, [esp+1ch]
10001107: 81e3ff00ff00    and    ebx, 00ff00ff
1000110d: 03cb            add    ecx, ebx
1000110f: 8bda            mov    ebx, edx
10001111: c1e904          shr    ecx, 04h
10001114: 81e1ff00ff00    and    ecx, 00ff00ff
1000111a: 8bd7            mov    edx, edi
1000111c: 03e9            add    ebp, ecx
1000111e: 8b4c2418        mov    ecx, [esp+18h]
10001122: 892e            mov    [esi], ebp
10001124: 8bf1            mov    esi, ecx
10001126: 8b3c01          mov    edi, [ecx+eax]      <-- FAULT
10001129: 03c8            add    ecx, eax
1000112b: 894c2418        mov    [esp+18h], ecx
1000112f: 8b4c2410        mov    ecx, [esp+10h]
10001133: 49              dec    ecx
10001134: 895c241c        mov    [esp+1ch], ebx
10001138: 894c2410        mov    [esp+10h], ecx
1000113c: 0f8578ffffff    jnz    100010ba
10001142: 8b742414        mov    esi, [esp+14h]
10001146: 8b4c2420        mov    ecx, [esp+20h]
1000114a: 46              inc    esi
1000114b: 3bf1            cmp    esi, ecx
1000114d: 89742414        mov    [esp+14h], esi
10001151: 0f8c37ffffff    jl    1000108e
10001157: 5f              pop    edi
10001158: 5e              pop    esi
10001159: 5d              pop    ebp
1000115a: 33c0            xor    eax, eax
1000115c: 5b              pop    ebx
1000115d: 83c414          add    esp, 14h
10001160: c3              ret   
10001161: 8b5210          mov    edx, [edx+10h]
10001164: 33f6            xor    esi, esi
10001166: 85d2            test  edx, edx
10001168: 89542420        mov    [esp+20h], edx
1000116c: 89742414        mov    [esp+14h], esi
10001170: 0f8e58020000    jle    100013ce
10001176: eb04            jmp    1000117c
10001178: 8b4c2428        mov    ecx, [esp+28h]
1000117c: 8b490c          mov    ecx, [ecx+0ch]
1000117f: 8b5104          mov    edx, [ecx+04h]
10001182: 8b4914          mov    ecx, [ecx+14h]
10001185: 8b1cb2          mov    ebx, [edx+esi*4]
10001188: 8d34b2          lea    esi, [edx+esi*4]
1000118b: 8b1406          mov    edx, [esi+eax]
1000118e: 03f0            add    esi, eax
10001190: 83e902          sub    ecx, 02h
10001193: 895c241c        mov    [esp+1ch], ebx
10001197: 8d3c06          lea    edi, [esi+eax]
1000119a: 894c2410        mov    [esp+10h], ecx
1000119e: 89              db    89h
1000119f: 7c              db    7ch

Built on Shilpa on Thu Aug 23 23:26:42 2007 using compiler version 1200

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

EAX = 00000780
EBX = d0eaeaea
ECX = 04b3f880
EDX = d0eaeaea
EBP = 00eaeaea
ESI = 04b3f880
EDI = d0eaeaea
ESP = 0012f5e8
EIP = 10001126
EFLAGS = 00210202
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 04B40000...

...while running filter "vertical smoother (0.3)" (FilterSystem.cpp:523).

Pointer dumps:

ECX  04b3f880: d0eaeaea e4eaeaea a9eaeaea e4eaeaea d0eaeaea b6eaeaea eaeaeaea b6eaeaea
ESI  04b3f880: d0eaeaea e4eaeaea a9eaeaea e4eaeaea d0eaeaea b6eaeaea eaeaeaea b6eaeaea
ESP  0012f5e8: 0054b698 001436e0 0012f680 00ae4970 00000001 00000100 04b3f880 d0eaeaea
      0012f608: 000001e0 00486f91 00ae4978 0057a544 0012f6d4 0012f6fc 00000001 00547eb8
      0012f628: 00000000 0054b698 0000020b 0054b798 100070cc 0054b698 0000020b 0054b798
      0012f648: 100070cc 00aedea8 0054b698 0000020c 0053b3d8 ffffffff 00000000 00ae4970

Thread call stack:
10001126: vsmoother03!VirtualdubFilterModuleDeinit [10000000+1040+e6]
00486f91: FilterSystem::RunFilters()
00486d3d: FilterSystem::RunFilters()
00499781: VDProject::RefilterFrame()
004993e3: VDProject::UpdateFrame()
004d3793: VideoSourceAVI::_isKey()
004d16de: VideoSource::isKey()
004d14f5: VideoSource::streamSetDesiredFrame()
00498f29: VDProject::DisplayFrame()
00498f29: VDProject::DisplayFrame()
004681ac: VDPositionControlW32::SetPosition()
0049b03e: VDProject::MoveToNext()
0049b03e: VDProject::MoveToNext()
0049f9c8: VDProjectUI::MainWndProc()
77d487ff: USER32!GetDC [77d40000+8697+168]
77d4c00e: USER32!DestroyCaret [77d40000+bfb0+5e]
77d484bc: USER32!000084bc
77d48564: USER32!00008564
77d494a7: USER32!GetWindowLongA [77d40000+947c+2b]
0049f62e: VDProjectUI::WndProc()
004a74b4: VDUIFrame::StaticWndProc()
77d48709: USER32!GetDC [77d40000+8697+72]
77d487eb: USER32!GetDC [77d40000+8697+154]
5d0a85c4: COMCTL32!DefSubclassProc [5d090000+184f1+d3]
77d4b743: USER32!GetParent [77d40000+b5d7+16c]
77d4e2f7: USER32!SendMessageA [77d40000+e2ae+49]
004687d2: VDPositionControlW32::WndProc()
77d494b0: USER32!GetWindowLongA [77d40000+947c+34]
77d494b0: USER32!GetWindowLongA [77d40000+947c+34]
004684ed: VDPositionControlW32::StaticWndProc()
77d48709: USER32!GetDC [77d40000+8697+72]
77d487eb: USER32!GetDC [77d40000+8697+154]
77d4b368: USER32!DefWindowProcW [77d40000+b1e5+183]
77d4b743: USER32!GetParent [77d40000+b5d7+16c]
77d4b7ab: USER32!SendMessageW [77d40000+b762+49]
77d7fc9d: USER32!CreateMDIWindowA [77d40000+3fae0+1bd]
77d76530: USER32!GetClipboardFormatNameA [77d40000+30345+61eb]
77d58386: USER32!IsCharAlphaA [77d40000+1760b+d7b]
77d48832: USER32!GetDC [77d40000+8697+19b]
77d487ff: USER32!GetDC [77d40000+8697+168]
77d484bc: USER32!000084bc
77d48564: USER32!00008564
77d5758c: USER32!AppendMenuA [77d40000+1716c+420]
77d48709: USER32!GetDC [77d40000+8697+72]
77d487eb: USER32!GetDC [77d40000+8697+154]
77d4c00e: USER32!DestroyCaret [77d40000+bfb0+5e]
77d4c034: USER32!CallWindowProcW [77d40000+c019+1b]
5d0a83b1: COMCTL32!FreeMRUList [5d090000+18218+199]
5d0a8582: COMCTL32!DefSubclassProc [5d090000+184f1+91]
5d0a8537: COMCTL32!DefSubclassProc [5d090000+184f1+46]
5d0e2cba: COMCTL32!ImageList_LoadImage [5d090000+445a5+e715]
5d0a8582: COMCTL32!DefSubclassProc [5d090000+184f1+91]
5d0a860e: COMCTL32!DefSubclassProc [5d090000+184f1+11d]
77d48709: USER32!GetDC [77d40000+8697+72]
77d487eb: USER32!GetDC [77d40000+8697+154]
77d489a5: USER32!GetWindowLongW [77d40000+887e+127]
77d4cff8: USER32!PeekMessageA [77d40000+cefd+fb]
77d4bccc: USER32!DispatchMessageA [77d40000+bcbd+f]
0048e016: WinMain@16()
00528def: WinMainCRTStartup()
7c816d4f: kernel32!RegisterWaitForInputIdle [7c800000+16d06+49]

-- End of report
 
     Top
fccHandler
Posted: Sep 12 2007, 02:54 AM


Administrator n00b


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



I've never heard of this filter, but it looks like it crashed when VirtualDub tried to deinitialize it. Does it only crash in VirtualDub-MPEG2 1.6.19, or does it crash in other builds of the official VirtualDub too?

--------------------
May the FOURCC be with you...
 
     Top
phaeron
Posted: Sep 12 2007, 03:21 AM


Virtualdub Developer


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



Bug in filter -- there's an off-by-one error that causes it to read one too many scanlines. (I love filters that have source code!)

Possible workaround: add a 'resize' filter that doesn't do anything, i.e. targets the same size. This should shift buffers around and prevent the crash.

I'll see if I can contact the author.
 
    Top
neuron2
Posted: Sep 12 2007, 04:03 AM


Advanced Member


Group: Members
Posts: 1244
Member No.: 5294
Joined: 18-July 03



.
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
3 replies since Sep 11 2007, 07:24 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports