V8 base:OS:Abort on v 8.2.3

Đang mở
#166 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
ios, javascript
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu bằng cách so sánh crash iOS 15.4.1 này trên V8 8.2.3 với issue #139 và lần theo đường dẫn được báo cáo qua v8::ScriptCompiler::Compile và tns::MetadataBuilder::GlobalPropertyGetter. Được xem là hoàn tất khi đã xác định được nguyên nhân có thể tái hiện của giá trị Escape bị trùng lặp và xác nhận rằng abort không còn xảy ra.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

This may be a duplicate of #139 but I'm posting it separately as the backtraces are not quite the same and mine seems to give a reason for the crash (Escape value set twice).

OS Version: iOS 15.4.1 (19E258)
Report Version: 104

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Crashed Thread: 0

Application Specific Information:

Fatal error in %s

%s

EscapableHandleScope::Escape > Escape value set twice

Thread 0 Crashed:
0 NativeScript 0x105f8038c v8::base::OS::Abort
1 NativeScript 0x105778d14 [inlined] v8::ScriptCompiler::CompileUnboundInternal
2 NativeScript 0x105778d14 v8::ScriptCompiler::CompileUnboundInternal
3 NativeScript 0x105778db8 v8::ScriptCompiler::Compile
4 NativeScript 0x105778f20 v8::Script::Compile
5 NativeScript 0x1056a80ac tns::MetadataBuilder::GlobalPropertyGetter
6 NativeScript 0x105ac8e54 v8::internal::PropertyCallbackArguments::BasicCallNamedGetterCallback
7 NativeScript 0x1059f1f84 v8::internal::(anonymous namespace)::GetPropertyWithInterceptorInternal
8 NativeScript 0x105ab9020 v8::internal::Object::GetProperty
9 NativeScript 0x10599d950 v8::internal::LoadIC::Load
10 NativeScript 0x1059a61c4 v8::internal::Runtime_LoadNoFeedbackIC_Miss
11 NativeScript 0x105ebe50c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit
12 NativeScript 0x105f39d64 Builtins_LdaGlobalHandler
13 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
14 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
15 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
16 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
17 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
18 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
19 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
20 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
21 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
22 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
23 NativeScript 0x105e57818 Builtins_InterpreterEntryTrampoline
24 NativeScript 0x105f04d38 Builtins_PromiseFulfillReactionJob
25 NativeScript 0x105e76e14 Builtins_RunMicrotasks
26 NativeScript 0x105e554c4 Builtins_JSRunMicrotasksEntry
27 NativeScript 0x10592fc7c v8::internal::(anonymous namespace)::Invoke
28 NativeScript 0x105930248 v8::internal::(anonymous namespace)::InvokeWithTryCatch
29 NativeScript 0x10593033c v8::internal::Execution::TryRunMicrotasks
30 NativeScript 0x105a9a708 v8::internal::MicrotaskQueue::RunMicrotasks
31 NativeScript 0x105a9a530 v8::internal::MicrotaskQueue::PerformCheckpoint
32 NativeScript 0x1059dc8a8 v8::internal::Isolate::FireCallCompletedCallback
33 NativeScript 0x105782894 v8::Function::Call
34 NativeScript 0x10565bf90 tns::ArgConverter::MethodCallback
35 NativeScript 0x10574d264 ffi_closure_SYSV_inner
36 NativeScript 0x1057501b4 .Ldo_closure
37 Foundation 0x304fa60b8 __NSFireTimer
38 CoreFoundation 0x302047164 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
39 CoreFoundation 0x301fcb140 __CFRunLoopDoTimer
40 CoreFoundation 0x301fc58ec __CFRunLoopDoTimers
41 CoreFoundation 0x301fa3f9c __CFRunLoopRun
42 CoreFoundation 0x301fb76b4 CFRunLoopRunSpecific
43 GraphicsServices 0x33a109370 GSEventRunModal
44 UIKitCore 0x306d8de84 -[UIApplication _run]
45 UIKitCore 0x306b0f5e8 UIApplicationMain
46 NativeScript 0x105750044 ffi_call_SYSV
47 NativeScript 0x10574cac8 ffi_call_int
48 NativeScript 0x1056ef9dc tns::Interop::CallFunctionInternal
49 NativeScript 0x1056b265c std::__1::__function::__func::operator()
50 NativeScript 0x105712c04 tns::Tasks::Drain
51 NativeScript 0x10570cfd0 -[NativeScript initWithConfig:]
52 bingoplus 0x204429cf4
53 0x10551dce4

Thread 0 Crashed:
0 NativeScript 0x105f8038c v8::base::OS::Abort
1 NativeScript 0x105778d14 [inlined] v8::ScriptCompiler::CompileUnboundInternal
2 NativeScript 0x105778d14 v8::ScriptCompiler::CompileUnboundInternal
3 NativeScript 0x105778db8 v8::ScriptCompiler::Compile
4 NativeScript 0x105778f20 v8::Script::Compile
5 NativeScript 0x1056a80ac tns::MetadataBuilder::GlobalPropertyGetter
6 NativeScript 0x105ac8e54 v8::internal::PropertyCallbackArguments::BasicCallNamedGetterCallback
7 NativeScript 0x1059f1f84 v8::internal::(anonymous namespace)::GetPropertyWithInterceptorInternal
8 NativeScript 0x105ab9020 v8::internal::Object::GetProperty
9 NativeScript 0x10599d950 v8::internal::LoadIC::Load
10 NativeScript 0x1059a61c4 v8::internal::Runtime_LoadNoFeedbackIC_Miss
11 NativeScript 0x105ebe50c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit
12 NativeScript 0x105f39d64 Builtins_LdaGlobalHandler
13 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
14 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
15 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
16 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
17 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
18 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
19 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
20 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
21 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
22 NativeScript 0x105e57818 [inlined] Builtins_InterpreterEntryTrampoline
23 NativeScript 0x105e57818 Builtins_InterpreterEntryTrampoline
24 NativeScript 0x105f04d38 Builtins_PromiseFulfillReactionJob
25 NativeScript 0x105e76e14 Builtins_RunMicrotasks
26 NativeScript 0x105e554c4 Builtins_JSRunMicrotasksEntry
27 NativeScript 0x10592fc7c v8::internal::(anonymous namespace)::Invoke
28 NativeScript 0x105930248 v8::internal::(anonymous namespace)::InvokeWithTryCatch
29 NativeScript 0x10593033c v8::internal::Execution::TryRunMicrotasks
30 NativeScript 0x105a9a708 v8::internal::MicrotaskQueue::RunMicrotasks
31 NativeScript 0x105a9a530 v8::internal::MicrotaskQueue::PerformCheckpoint
32 NativeScript 0x1059dc8a8 v8::internal::Isolate::FireCallCompletedCallback
33 NativeScript 0x105782894 v8::Function::Call
34 NativeScript 0x10565bf90 tns::ArgConverter::MethodCallback
35 NativeScript 0x10574d264 ffi_closure_SYSV_inner
36 NativeScript 0x1057501b4 .Ldo_closure
37 Foundation 0x304fa60b8 __NSFireTimer
38 CoreFoundation 0x302047164 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
39 CoreFoundation 0x301fcb140 __CFRunLoopDoTimer
40 CoreFoundation 0x301fc58ec __CFRunLoopDoTimers
41 CoreFoundation 0x301fa3f9c __CFRunLoopRun
42 CoreFoundation 0x301fb76b4 CFRunLoopRunSpecific
43 GraphicsServices 0x33a109370 GSEventRunModal
44 UIKitCore 0x306d8de84 -[UIApplication _run]
45 UIKitCore 0x306b0f5e8 UIApplicationMain
46 NativeScript 0x105750044 ffi_call_SYSV
47 NativeScript 0x10574cac8 ffi_call_int
48 NativeScript 0x1056ef9dc tns::Interop::CallFunctionInternal
49 NativeScript 0x1056b265c std::__1::__function::__func::operator()
50 NativeScript 0x105712c04 tns::Tasks::Drain
51 NativeScript 0x10570cfd0 -[NativeScript initWithConfig:]
52 bingoplus 0x204429cf4
53 0x10551dce4

Thread 1
0 libsystem_kernel.dylib 0x37164dab4 __workq_kernreturn
1 libsystem_pthread.dylib 0x3e4f2b104 _pthread_wqthread

Thread 2
0 libsystem_kernel.dylib 0x37164dab4 __workq_kernreturn
1 libsystem_pthread.dylib 0x3e4f2b104 _pthread_wqthread

Thread 3 name: V8 DefaultWorke
0 libsystem_kernel.dylib 0x37164df64 __psynch_cvwait
1 libsystem_pthread.dylib 0x3e4f32294 _pthread_cond_wait
2 NativeScript 0x105f88a10 v8::platform::DelayedTaskQueue::GetNext
3 NativeScript 0x105f8865c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run
4 NativeScript 0x105f808cc v8::base::ThreadEntry
5 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 4 name: V8 DefaultWorke
0 libsystem_kernel.dylib 0x37164df64 __psynch_cvwait
1 libsystem_pthread.dylib 0x3e4f32294 _pthread_cond_wait
2 NativeScript 0x105f88a10 v8::platform::DelayedTaskQueue::GetNext
3 NativeScript 0x105f8865c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run
4 NativeScript 0x105f808cc v8::base::ThreadEntry
5 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 5 name: V8 DefaultWorke
0 libsystem_kernel.dylib 0x37164df64 __psynch_cvwait
1 libsystem_pthread.dylib 0x3e4f32294 _pthread_cond_wait
2 NativeScript 0x105f88a10 v8::platform::DelayedTaskQueue::GetNext
3 NativeScript 0x105f8865c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run
4 NativeScript 0x105f808cc v8::base::ThreadEntry
5 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 6 name: V8 DefaultWorke
0 libsystem_kernel.dylib 0x37164df64 __psynch_cvwait
1 libsystem_pthread.dylib 0x3e4f32294 _pthread_cond_wait
2 NativeScript 0x105f88a10 v8::platform::DelayedTaskQueue::GetNext
3 NativeScript 0x105f8865c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run
4 NativeScript 0x105f808cc v8::base::ThreadEntry
5 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 7 name: V8 DefaultWorke
0 libsystem_kernel.dylib 0x37164df64 __psynch_cvwait
1 libsystem_pthread.dylib 0x3e4f32294 _pthread_cond_wait
2 NativeScript 0x105f88a10 v8::platform::DelayedTaskQueue::GetNext
3 NativeScript 0x105f8865c v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run
4 NativeScript 0x105f808cc v8::base::ThreadEntry
5 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 8
0 libsystem_pthread.dylib 0x3e4f2ae54 start_wqthread

Thread 9
0 libsystem_kernel.dylib 0x37164dab4 __workq_kernreturn
1 libsystem_pthread.dylib 0x3e4f2b104 _pthread_wqthread

Thread 10
0 libsystem_kernel.dylib 0x37164da6c __semwait_signal
1 libsystem_c.dylib 0x3182550d8 nanosleep
2 libsystem_c.dylib 0x31826937c sleep
3 Sentry 0x106cc2a20 monitorCachedData
4 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 11 name: SentryCrash Exception Handler (Secondary)
0 libsystem_kernel.dylib 0x37164d4e0 mach_msg_trap
1 libsystem_kernel.dylib 0x37164db20 mach_msg
2 Sentry 0x106ccfd6c handleExceptions
3 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 13 name: com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x37164d4e0 mach_msg_trap
1 libsystem_kernel.dylib 0x37164db20 mach_msg
2 CoreFoundation 0x301f9f81c __CFRunLoopServiceMachPort
3 CoreFoundation 0x301fa3ca8 __CFRunLoopRun
4 CoreFoundation 0x301fb76b4 CFRunLoopRunSpecific
5 Foundation 0x304f8c410 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x304fcdca8 -[NSRunLoop(NSRunLoop) runUntilDate:]
7 UIKitCore 0x306d07fac -[UIEventFetcher threadMain]
8 Foundation 0x304fdc558 NSThread__start
9 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Thread 14
0 libsystem_kernel.dylib 0x37164dab4 __workq_kernreturn
1 libsystem_pthread.dylib 0x3e4f2b104 _pthread_wqthread

Thread 15 name: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x37164d4e0 mach_msg_trap
1 libsystem_kernel.dylib 0x37164db20 mach_msg
2 CoreFoundation 0x301f9f81c __CFRunLoopServiceMachPort
3 CoreFoundation 0x301fa3ca8 __CFRunLoopRun
4 CoreFoundation 0x301fb76b4 CFRunLoopRunSpecific
5 CFNetwork 0x30324b4d4 _CFURLStorageSessionDisableCache
6 Foundation 0x304fdc558 NSThread__start
7 libsystem_pthread.dylib 0x3e4f2b9a8 _pthread_start

Ngôn ngữ chính
JavaScript
Star
150
Fork
43
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
22

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NativeScript/ios

Tất cả issue của NativeScript/ios

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.