Copy link to clipboard
Copied
I keep get intermittent, non-fatal exception errors such as the following, always at the same address -- 0x00007FFD19AFA388.
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x000000C6B36FBCD8.
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x000000C6B36FD3D4.
Though they are non-fatal, after they occur, they somehow prevent AE from drawing interactively, at any resolution.
They seem to happen between PF_Cmd_USER_CHANGED_PARAM and PF_Cmd_RENDER. So I've not been able to identify the point in my code that could be causing the problem by writing outputs. And I've not been able to get any sense out of VS's debugger.
I must be doing something wrong, but I've run out of hypotheses to test. Can I have done something to cause a problem to emerge between the two calls?
sounds like some stack overflow or buffer overrun.
simplest way to track it down is to disable half your code and see if the
problem manifests, then move to the next suspect half of the remaining code.
(this is not going to be easy or fun)
Copy link to clipboard
Copied
sounds like some stack overflow or buffer overrun.
simplest way to track it down is to disable half your code and see if the
problem manifests, then move to the next suspect half of the remaining code.
(this is not going to be easy or fun)
Copy link to clipboard
Copied
Thanks, Shachar!
Turns out that I was wrong that it had anything to do with my draw functions. So that was about a week of optimising the wrong code!
Your strategy got me to the problem... Some weird Boolean stuff in PF_Cmd_USER_CHANGED_PARAM causing things to not work properly -- I'm still not sure why, but it's fixed, and everything works, buttery smooth! I must owe you three pizzas by now!
Copy link to clipboard
Copied
of course pizza. deep down we're all ninja turtles.
Copy link to clipboard
Copied
Well, we're all mutants, perhaps...
I'm still getting the occasional error, mostly involving a checkbox, but with no loss of performance. This has occupied me for all but about 6 of the last 24 hours. I turned everything off. I even turned things off I didn't know could be turned off, and I had forgotten existed. Always the same error:
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x0000003627FFD8BC.
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x0000003627FFD8C0.
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x0000003627FFD8C4.
Exception thrown at 0x00007FFD19AFA388 in AfterFX.exe: Microsoft C++ exception: int at memory location 0x0000003627FFD8C8.
So I loaded an SDK example, to see if I could perhaps reproduce the problem. It was not hard. Paramarama did exactly the same thing, straight out of the box!
Hmm. So I loaded a standard plugin -- Channel > Blend. ... Same result!
So I guess I can relax a bit about my bugs. It is AE that's making some of them?
Copy link to clipboard
Copied
that's both good and bad news...
can you try deleting AE's preferences? that can sort out a bunch of
mysterious bugs.
Copy link to clipboard
Copied
Yep. Same result for my plugin and channel > blend.
I get a few exceptions at other times, too.
The only sense I've got out of VS is that the problem lies in kernalbase.dll -- or that's where the disassembler wants to take me. But it's beyond my abilities to go any deeper.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now