Umm, I used d8 to run this js file, it worked fine. In this case , how to find out where throws this exception?
在 2020年4月26日星期日 UTC+8下午7:03:09,Ben Noordhuis写道: > > On Sun, Apr 26, 2020 at 12:41 PM Chris Chen <chenqy...@gmail.com > <javascript:>> 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/af4b018e-7301-40e8-b401-e5c6e023a8b0%40googlegroups.com.