2019년 7월 15일 월요일 오후 6시 5분 10초 UTC+9, Jakob Kummerow 님의 말: > > On Mon, Jul 15, 2019 at 10:05 AM Jaemin Park <pppa...@gmail.com > <javascript:>> wrote: > >> I built it with these settings: >> # Build arguments go here. >> # See "gn args <out_dir> --list" for available build arguments. >> is_debug = true >> android_full_debug = is_debug >> is_component_build = false >> target_os = "android" >> target_cpu = "arm64" >> use_custom_libcxx = false >> use_custom_libcxx_for_host = true >> use_allocator_shim = false >> v8_enable_i18n_support = false >> v8_use_external_startup_data = false >> v8_use_snapshot = false >> v8_static_library = true >> > > Are you sure you want v8_use_snapshot=false ? It massively slows down > startup while providing no benefit that I'm aware of. >
It is not my intention. I will turn it on again if everything is fine. > > >> And I encountered two types of failures. The first one occurs when >> creating Isolate(Isolate::New). >> 07-15 16:02:35.393 7153 7269 E v8 : # >> 07-15 16:02:35.393 7153 7269 E v8 : # Fatal error in >> ../../src/handles.cc, line 86 >> 07-15 16:02:35.393 7153 7269 E v8 : # >> 07-15 16:02:35.393 7153 7269 E v8 : Debug check failed: limit - >> current->next < kHandleBlockSize (1022 vs. 1022). >> 07-15 16:02:35.393 7153 7269 E v8 : >> 07-15 16:02:35.393 7153 7269 E v8 : # >> 07-15 16:02:35.393 7153 7269 E v8 : # >> 07-15 16:02:35.393 7153 7269 E v8 : # >> 07-15 16:02:35.393 7153 7269 E v8 : #FailureMessage Object: >> 0x74f95e01a0 >> > > At first glance, one might suspect that this check should maybe check for > <= rather than <, but it's been this way since 2011, so presumably it's > working as intended (and, in fact, maybe ruling out the == case is > precisely the point here; I'm not familiar with this code). Can you > reproduce this without modifications to V8? Creating Isolates generally > works in Debug mode, so I wonder what might be different in your > environment. > The limit - current->next value varies. There are situations the value is larger than kHandleBlockSize when check failed. > > >> and the second one is when setting field to prototype >> template(Template->PrototypeTemplate()->Set()). >> >> 07-15 13:42:24.488 23217 23318 E v8 : # >> 07-15 13:42:24.488 23217 23318 E v8 : # Fatal error in >> ../../src/api.cc, line 1350 >> 07-15 13:42:24.488 23217 23318 E v8 : # >> 07-15 13:42:24.488 23217 23318 E v8 : Check failed: >> !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). >> 07-15 13:42:24.488 23217 23318 E v8 : >> 07-15 13:42:24.488 23217 23318 E v8 : # >> 07-15 13:42:24.488 23217 23318 E v8 : # >> 07-15 13:42:24.488 23217 23318 E v8 : # >> 07-15 13:42:24.488 23217 23318 E v8 : #FailureMessage Object: >> 0x74f95f90e0 >> > > This looks like you're passing an invalid value to the function. It must > be a v8::Object or a v8::ObjectTemplate or a v8::FunctionTemplate. > > According to code and stack dump, value_obj should be v8::ObjectTemplate or v8::FunctionTemplate. I am going to investigate which type of the object is. -- -- 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/aef7ee1b-33b1-4fc7-9187-73f976e36892%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.