Re: [v8-users] Re: bitwise OR overflowing in mips build

2018-12-10 Thread Jakob Kummerow
783383221 doesn't look like an overflowed integer, and in any case, I don't see how bitwise-OR can overflow. If I had to guess, I'd guess that's a heap pointer, and the reason you're seeing it is that something is off in the JS-to-C++ call, and presumably the wrong stack slot ends up being read (th

[v8-users] Re: Heap snapshot crash on ARM in V8 7.1.302.28

2018-12-10 Thread Darin Dimitrov
Strangely enough, if I create a large number of strings just after creating the isolate, everything works fine: for (int i = 0; i < 70; i++) { v8::String::NewFromUtf8(isolate, "aaa"); } On Wednesday, December 5, 2018 at 6:46:41 PM UTC+2, Darin Dimitrov wrote: > > Hello, > > We

[v8-users] Re: bitwise OR overflowing in mips build

2018-12-10 Thread madana gopal
Registers got dumped during this time and the value of those are having 2^32 integer value. Not sure which operation during execution of snapshot could have populated this?. I am sure, I am missing something in build process and couldn't able to find it. Please clarify do I need to pass any gcc

[v8-users] Re: Heap snapshot crash on ARM in V8 7.1.302.28

2018-12-10 Thread Darin Dimitrov
Hi Jakob, Thanks for the reply. Yes, the crash is reproducible every time on an ARM device (it works on x86 android emulator). Here's a link to the javascript code we used to generate the snapshot: https://gist.github.com/darind/ac13306230a7d6beeca4a14c1ac64187. Here's another stacktrace we a