On Sun, Apr 26, 2020 at 12:41 PM Chris Chen <chenqy930...@gmail.com> wrote: > > I've tried the command like this: > ./mksnapshot native.js native.js --startup_blob=native.js.bin > --turbo_instruction_scheduling > but failed: >> >> Loading script for embedding: native.js >> Loading script for warm up: native.js >> >> # >> # Fatal error in , line 0 >> # Check failed: blob.data. >> # >> # >> # >> #FailureMessage Object: 0x7fff215367a0 >> ==== C stack trace =============================== >> >> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libbase.cr.so(v8::base::debug::StackTrace::StackTrace()+0x13) >> [0x7f2f32f60123] >> >> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libplatform.cr.so(+0xd07d) >> [0x7f2f32f3807d] >> >> /home/c/v8/depot_tools/v8-code/v8-8.0.426.26/v8/out.gn/test-8/clang_x64_v8_arm64/libv8_libbase.cr.so(V8_Fatal(char >> const*, ...)+0x150) [0x7f2f32f5a2e0] >> ./mksnapshot(+0x3fecbd) [0x55ebe4d9bcbd] >> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f2f31c0f830] >> ./mksnapshot(_start+0x2a) [0x55ebe4d993ba] >> Illegal instruction (core dumped)
That probably means you have something in your warm-up script that throws an exception. The snapshot runtime environment is not forgiving of programming errors. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc_vdpVOowaZPK_5ymPnpq28usTTO3rhv%3DjrBHKFqzkQ3w%40mail.gmail.com.