NativeScript / NativeScript/ios

V8 base:OS:Abort on v 8.2.3

Offen
#166 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
150
Forks
43
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
22

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, diesen iOS-15.4.1-Absturz auf V8 8.2.3 mit Issue #139 zu vergleichen und den gemeldeten Pfad durch v8::ScriptCompiler::Compile und tns::MetadataBuilder::GlobalPropertyGetter nachzuverfolgen. Als erledigt gilt die Aufgabe, wenn eine reproduzierbare Ursache für den doppelten Escape-Wert identifiziert wurde und bestätigt ist, dass der Abbruch nicht mehr auftritt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ios, javascript
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.