Segmentation fault - void asCScriptEngine::CallObjectMethod(...)

Started by
15 comments, last by Tzarls 11 years, 10 months ago
Thanks for the offer. I'll try to reproduce it on my mac first. If I don't succeed I'll definitely need help in figuring out how to make this work.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
Hi Andreas. Any success in finding the cause of the problem?
Unfortunately I haven't had the time to look into this problem yet. I'll let you know when I do.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I've fixed this in revision 1338.

Thanks,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Nice, thanks! Can I ask what the problem was?
One of the internal functions for calling class methods didn't have the implementation to support virtual class methods. Somehow this had gone unnoticed for many years.

Here's the diff showing what was changed.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

FWIW, I´ve just tested this fix in my original project and it works as expected. Thanks again!

This topic is closed to new replies.

Advertisement