Crash Problem on Windows

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/06/2010 at 07:49, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10.5+ 
Platform:   Windows  ;   
Language(s) :

---------
Howdy,

Well, I have a crash problem on Windows in R10.5, R11 and R11.5 with a plugin that is compiled in R10.111. It doesn't crash on Mac OS when running the R10.1 compiled plugin in R10.5+ versions.

I think I've isolated the source of the problem to be CTrack::GetCurve().

If I comment out the call:

CCurve *crv = track->GetCurve();

... then it doesn't crash in R10.5+ on Windows with the R10.111 compiled plugin.

Is the Windows crash happening because in R10.5, CTrack::GetCurve() had a second parameter added? And why is it not crashing on Mac OS? Is there a compiler setting or something that I can do on the Windows side that will prevent that crash, other than just recompiling the plugin in R10.5? I've already recompiled the plugin in R11, but I was trying to keep it simple by only having R9, R10 and R11 versions.

Adios,
Cactus Dan

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/06/2010 at 02:00, xxxxxxxx wrote:

It's a known problem. Plugins compiled with 10.111 will crash when using GetCurve().

See these threads:

https://plugincafe.maxon.net/topic/3860/3316_crash-when-creating-keyframes

https://plugincafe.maxon.net/topic/3851/3304_ctrackgetcurve-in-105-crashes

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/06/2010 at 06:16, xxxxxxxx wrote:

Howdy,

Thanks for the links. I did a search for GetCurve, but somehow overlooked those 2 threads.

I'll try Frank's solution of turning off "Global Optimization", but if my beta testers say it still crashes, is there any way I can get a copy of the R10.5 demo to do a separate compile? I'm still on R10.111 and I've only downloaded the R11 and R11.5 demos for compiling and testing.

Doing a google search for the R10.5 demo only seems to list questionable websites.

Adios,
Cactus Dan

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/06/2010 at 06:44, xxxxxxxx wrote:

I send you a PM.

cheers,
Matthias