Something is wrong in frame iteration.. Is the crash reproducible? Have you checked if it happens on the current V8 version?
Please open a bug at https://crbug.com/v8/new and include the script you are embedding if possible. On Wed, Dec 5, 2018 at 5:46 PM Darin Dimitrov <darin.dimit...@gmail.com> wrote: > Hello, > > We are embedding v8 in android on an ARM device and trying to load a heap > snapshot generated with the mksnapshot utility: > > ./outgn/arm-release/clang_x86_v8_arm/mksnapshot ./test.js --startup_blob > ./snapshot.blob --profile_deserialization > > And we are getting the following crash at runtime: > > SIGSEGV (signal SIGSEGV: address access protected (fault address: > 0x34ff4d81)) > > > v8::internal::SafepointEntry::HasRegisters() const 0x00000000a148f03a > v8::internal::StandardFrame::IterateCompiledFrame(v8::internal:: > RootVisitor*) const 0x00000000a130a394 > v8::internal::Isolate::Iterate(v8::internal::RootVisitor*, v8::internal:: > ThreadLocalTop*) 0x00000000a1342510 > v8::internal::Heap::IterateStrongRoots(v8::internal::RootVisitor*, v8:: > internal::VisitMode) 0x00000000a131c132 > v8::internal::MarkCompactCollector::MarkRoots(v8::internal::RootVisitor*, > v8::internal::ObjectVisitor*) 0x00000000a1384ade > v8::internal::MarkCompactCollector::MarkLiveObjects() 0x00000000a1382c7a > v8::internal::MarkCompactCollector::CollectGarbage() 0x00000000a13828e0 > v8::internal::Heap::MarkCompact() 0x00000000a1317ffe > v8::internal::Heap::PerformGarbageCollection(v8::internal:: > GarbageCollector, v8::GCCallbackFlags) 0x00000000a13169e6 > v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8:: > internal::GarbageCollectionReason, v8::GCCallbackFlags) 0x00000000a13159b2 > v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal:: > AllocationSpace, v8::internal::AllocationAlignment) 0x00000000a131cfca > v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal:: > AllocationSpace, v8::internal::AllocationAlignment) 0x00000000a131d018 > v8::internal::Factory::NewFeedbackVector(v8::internal::Handle<v8::internal > ::SharedFunctionInfo>, v8::internal::PretenureFlag) 0x00000000a12f4ccc > v8::internal::FeedbackVector::New(v8::internal::Isolate*, v8::internal:: > Handle<v8::internal::SharedFunctionInfo>) 0x00000000a1303564 > v8::internal::JSFunction::EnsureFeedbackVector(v8::internal::Handle<v8:: > internal::JSFunction>) 0x00000000a13d4862 > v8::internal::Compiler::Compile(v8::internal::Handle<v8::internal:: > JSFunction>, v8::internal::Compiler::ClearExceptionFlag) > 0x00000000a12965d2 > v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8:: > internal::Isolate*) 0x00000000a16d9f16 > Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit > 0x00000000a17c9db0 > Builtins_CompileLazy 0x00000000a17288fc > <unknown> 0x000000004658d4b8 > <unknown> 0x000000004658d4b8 > <unknown> 0x000000004658d4b8 > <unknown> 0x000000004658d4b8 > Builtins_JSEntryTrampoline 0x00000000a1725668 > <unknown> 0x0000000046586d54 > > Unfortunately this stacktrace doesn't originate from our code which makes > it very hard to debug. This error only happens with V8 7.1.302.28, the > snapshot worked pretty smooth in 6.9.427.23. > > Do you have any idea what might be causing this crash or any pointers that > could help us further diagnose it? > > Note: V8 is compiled with the following flags: > > gn gen outgn/arm-release --args="v8_use_snapshot=true > v8_use_external_startup_data=false is_official_build=true is_debug=false > symbol_level=0 use_thin_lto=false target_cpu=\"arm\" v8_target_cpu=\"arm\" > v8_enable_i18n_support=false target_os=\"android\" > v8_android_log_stdout=false" > > ninja -C outgn/arm-release v8_base v8_libplatform v8_libbase > v8_libsampler v8_snapshot v8_initializers v8_init inspector > > > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. -- -- 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. For more options, visit https://groups.google.com/d/optout.