Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#176 v2.57 - Memory Corruption

v2.5x
closed-fixed
Ian Brabham
Internals (76)
5
2006-12-28
2006-10-19
Anonymous
No

I have a lengthy script that I recently discover a
bug in. I have chopped the script down to make the
bug evident using the smallest .avs script.

I am attaching the .avs script below.

Discussion

  • AviSynth v 2.57 Script - Demonstrates Mem Error

     
    Attachments
  • Ian Brabham
    Ian Brabham
    2006-11-02

    • assigned_to: nobody --> ianb1957
     
  • Ian Brabham
    Ian Brabham
    2006-11-02

    Logged In: YES
    user_id=673887

    Thanks for the consise report, will look into it.

    Who are you? Got a doom9 name?

     
  • Ian Brabham
    Ian Brabham
    2006-12-28

    Logged In: YES
    user_id=673887
    Originator: NO

    vid_IN = Crop(vid_IN, 0, 0, 20, 0) # Width=20!

    Failing calculated line is actually
    vid_IN = LanczosResize(vid_IN, 8, 348, 0, 0, 20, 348, 3)

    Seems the minimum width the planar resizer could handle was 6 bytes, which is why the +4, Width=12 (chroma width=6) worked.

    Should be fixed in 2.5.7 RC-2

     
  • Ian Brabham
    Ian Brabham
    2006-12-28

    • status: open --> closed-fixed