Thread: Vapoursynth
View Single Post
Old 18th January 2020, 12:43   #3759  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I'm not sure what's the focus of this thread because my question is about vs host application development.

There is a weird exception happening here:

Code:
    case WM_DESTROY:
        DiscardGraphicsResources();
        SafeRelease(&g_D2D_Factory);

        g_vsapi->freeNode(g_vsnode);
        vsscript_freeScript(g_vsscript);
        vsscript_finalize();

        PostQuitMessage(0);
        return 0;
Exception thrown at 0x00007FFAFC5B448D (vapoursynth.cp37-win_amd64.pyd) in VapourSynth Direct2D Rendering.exe: 0xC0000005: Access violation writing location 0x0000000000000000.

Weird thing is it crashes only inside WM_DESTROY and not when this code is executed before WM_DESTROY !

How can this issue be debugged?

Last edited by stax76; 18th January 2020 at 12:46.
stax76 is offline   Reply With Quote