-
Notifications
You must be signed in to change notification settings - Fork 177
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
Stack corruption(?) related to introspection on 32-bit. #311
Comments
Thanks Brendan. I've just tried MSVC6 build and definitely see the same output. |
Hi Sergey, Thanks for the quick reply. Yes, I did a git pull from github about 10 Thanks, Brendan Dowling On Sat, Feb 28, 2015 at 11:37 PM, Sergey Lyubka notifications@github.com
|
PR #312 fixes the issue. |
Out of curiosity, what project you'd like to use V7 in ? |
Hi, Sergey. Thanks, that worked. Am I correct that this string corruption My project is an embedded arm-linux system that needs some automation Thanks, Brendan |
Correct about strings of length <= 5. |
I discovered this as I was examining the environment to see if v7 would be usable for a project I am working on.
The example program here is to iterate over objects recursively and print out information on them. It behaves differently on 32-bit and 64-bit.
FYI, initially I discovered this on 32-bit ARM, but it also appears on i386.
I apologize for my crappy Javascript code and ignorance of how to test if something is undefined or not.
On a 32-bit machine, the output is as follows:
Notice how the names start to lose the last letters of their names. e.g., "JSO" instead of "JSON". I would think it was just the last letter, but the last one, "print", has become just "pri".
On a 64-bit machine, however, the output is correct.
Here it seems more like what you would expect. Names are not corrupted.
The text was updated successfully, but these errors were encountered: