Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Exceptions on Render... Is it me, or AE?

Participant ,
Mar 01, 2019 Mar 01, 2019

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?

TOPICS
SDK
923
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 01, 2019 Mar 01, 2019

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)

Translate
Community Expert ,
Mar 01, 2019 Mar 01, 2019

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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 01, 2019 Mar 01, 2019

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 01, 2019 Mar 01, 2019

of course pizza. deep down we're all ninja turtles.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 02, 2019 Mar 02, 2019

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2019 Mar 02, 2019

that's both good and bad news...

can you try deleting AE's preferences? that can sort out a bunch of

mysterious bugs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 02, 2019 Mar 02, 2019
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines