Status: Untriaged
Owner: ----
New issue 4272 by [email protected]: SIGILL when running Emscripten
compiled script with --always_opt --nodead_code_elimination --always_osr
https://code.google.com/p/v8/issues/detail?id=4272
A script I compiled with Emscripten, will result in V8 terminating because
of a SIGILL.
It happens with only with the x64.{release,debug} version. And only when
running it with "--always_opt --nodead_code_elimination --always_osr".
It works with --turbo, so its properly an issue in CrankShaft.
The script has been attached (along with a smaller version where the same
thing happens).
I've tried to get a smaller script with the same issue, but if I remove any
significant chunk from the smaller version, the error disappears.
Here is what is printed in the terminal:
-------------------------
#
# Fatal error in .././src/objects-inl.h, line 4652
# Check failed: offset <= (1 << kSafepointTableOffsetBitCount).
#
==== C stack trace ===============================
1: V8_Fatal
2: v8::internal::Code::set_safepoint_table_offset(unsigned int)
3:
v8::internal::LCodeGen::FinishCode(v8::internal::Handle<v8::internal::Code>)
4: v8::internal::LChunk::Codegen()
5: v8::internal::OptimizedCompileJob::GenerateCode()
6: 0xbf4c90
7:
v8::internal::Compiler::GetOptimizedCode(v8::internal::Handle<v8::internal::JSFunction>,
v8::internal::Handle<v8::internal::Code>,
v8::internal::Compiler::ConcurrencyMode, v8::internal::BailoutId)
8: 0x12a94ed
9: v8::internal::Runtime_CompileOptimized(int, v8::internal::Object**,
v8::internal::Isolate*)
10: 0x8a4bc2060bb
Illegal instruction (core dumped)
-------------------------
Other information:
Git hash: 84f0a33ce0020f16514b8c01ff2bbe8b027e027e
OS: Ubuntu 15.04x64
GCC version: 4.9.2-10ubuntu13
Attachments:
original.js 736 KB
smaller.js 187 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.