Skip to content
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

Regression: "Unable to allocate an array of 8 elements" exception on Windows #686

Closed
lefth opened this issue Sep 11, 2017 · 2 comments
Closed

Comments

@lefth
Copy link

lefth commented Sep 11, 2017

Since commit f9b65a9, building is successful but doing anything with moarvm gives the following error:

Unhandled exception: Unable to allocate an array of 8 elements
at :1 (src/vm/moar/stage0/ModuleLoader.moarvm:)
from :1 (src/vm/moar/stage0/ModuleLoader.moarvm:<dependencies+deserialize>)
from :1 (src/vm/moar/stage0/nqp.moarvm:<dependencies+deserialize>)

I'm using the build executables provided by Strawberry Perl. An example operation that shows the problem is running Configure.pl in a NQP project and using --with-moar to reference the built moarvm. This problem does not occur on Linux.

@niner niner closed this as completed in d78c370 Sep 11, 2017
@niner
Copy link
Contributor

niner commented Sep 11, 2017

Can you please test again with the fix from commit d78c370?

@niner niner reopened this Sep 11, 2017
@lefth
Copy link
Author

lefth commented Sep 11, 2017

@niner d78c370 fixed it. Thanks!

@lefth lefth closed this as completed Sep 11, 2017
bdw pushed a commit that referenced this issue Sep 26, 2017
"To specify a 64-bit integral type, use the LL, or ll suffix."
https://msdn.microsoft.com/en-us/library/c70dax92.aspx

May fix #686 "Unable to allocate an array of 8 elements" on Windows
Thanks to jnthn++ for the hint!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants