-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formatInt from scriptstdstring add-on crashes with Jit #17
Comments
I cannot replicate the issue. Could you provide a script that reproduces the error for you? Are you building 32 or 64 bit, and for Windows or Linux? |
I'm building 32bit on windows. I'll try reducing the code size. The issue might be with something else, as AS is a part of a much larger system. |
I can replicate the problem with Tutorial example that comes with AngelScript. Just add JIT to it and call a script having formatFloat or formatInt in it. Even in this simple example the stack trace cannot be recovered, so I cannot really tell you what the problem is. |
Unfortunately, your reproduction case does not reproduce the issue for us. |
This also happens for me, too, so it definitely happens on multiple computers. Even changing the name or definition to use to_string doesn't work. The workaround is to use the Generic versions of these functions. |
When I use AngelScript-JIT my application crashes (with corrupted stack so no backtrace) when I use formatInt in scripts. When I disable JIT it works fine. Strings themselves also works fine, but only formatFloat and formatInt crashes. parseFloat and parseInt doesn't crash.
Maybe others can replicate this?
AS version is AngelScript 2.29.2.
The text was updated successfully, but these errors were encountered: