App randomly crash with v8::base::OS::Abort()

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/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-dev

Hướng nghiên cứu

Báo cáo chỉ đến v8::inspector::JsV8InspectorClient::scheduleBreak tại JsV8InspectorClient.mm:256 và stack của main thread trên iOS; trước tiên hãy lần theo đường đi đó và xem xét các issue liên quan #125 và #136. Tái hiện crash khi khởi chạy với thiết lập simulator NativeScript 8.1.x và iOS 15.2 được nêu; công việc được xem là hoàn tất khi đã khoanh vùng nguyên nhân và crash 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ả

We're experiencing random crashes with the latest versions of NativeScript. This case happened right after launch.
Might be related to #125 #136.

ns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.1.5 version and is up to date.
✔ Component @nativescript/core has 8.1.5 version and is up to date.
✔ Component @nativescript/ios has 8.1.0 version and is up to date.
✔ Component @nativescript/android has 8.1.1 version and is up to date.


{
  "description": "NativeScript Application",
  "dependencies": {
    "@angular/animations": "~13.1.1",
    "@angular/common": "~13.1.1",
    "@angular/compiler": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@angular/forms": "~13.1.1",
    "@angular/platform-browser": "~13.1.1",
    "@angular/platform-browser-dynamic": "~13.1.1",
    "@angular/router": "~13.1.1",
    "@nativescript/angular": "13.0.0",
    "@nativescript/core": "~8.1.5",
    "@nativescript/theme": "~2.3.0",
    "@nativescript-community/ui-material-bottom-navigation": "~6.2.5",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.6.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^13.1.2",
    "@angular/compiler-cli": "~13.1.1",
    "@nativescript/android": "~8.1.1",
    "@nativescript/ios": "~8.1.0",
    "@nativescript/types": "~8.1.1",
    "@nativescript/webpack": "~5.0.0",
    "@ngtools/webpack": "~13.1.2",
    "codelyzer": "~6.0.0",
    "node-sass": "^4.7.1",
    "tslint": "~6.1.3",
    "typescript": "~4.4.4",
    "typescript-tslint-plugin": "^1.0.1"
  },
  "main": "src/main.ts"
}

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [18972]

Triggered by Thread:  0

Application Specific Information:
CoreSimulator 783.5 - Device: iPhone 13 Pro (EA4BFED9-FB5A-4385-A6F3-912A26897073) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13 Pro
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   NativeScript                  	       0x107c31893 v8::base::OS::Abort() + 19
1   NativeScript                  	       0x107344774 v8::HandleScope::HandleScope(v8::Isolate*) + 196
2   NativeScript                  	       0x1073115a0 v8_inspector::JsV8InspectorClient::scheduleBreak() + 48 (JsV8InspectorClient.mm:256)
3   CoreFoundation                	       0x109434bab __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
4   CoreFoundation                	       0x109433fb1 __CFRunLoopDoBlocks + 443
5   CoreFoundation                	       0x10942ee05 __CFRunLoopRun + 2095
6   CoreFoundation                	       0x10942e0f3 CFRunLoopRunSpecific + 567
7   GraphicsServices              	       0x1071e2cd3 GSEventRunModal + 139
8   UIKitCore                     	       0x10a83ef42 -[UIApplication _run] + 928
9   UIKitCore                     	       0x10a843b5e UIApplicationMain + 101
10  NativeScript                  	       0x107322ead ffi_call_unix64 + 85
11  NativeScript                  	       0x107321a64 ffi_call_int + 868
12  NativeScript                  	       0x107321a64 ffi_call_int + 868
13  NativeScript                  	       0x107321a64 ffi_call_int + 868
14  NativeScript                  	       0x107321a64 ffi_call_int + 868
15  NativeScript                  	       0x107321a64 ffi_call_int + 868
16  NativeScript                  	       0x107321a64 ffi_call_int + 868
17  NativeScript                  	       0x107321a64 ffi_call_int + 868
18  NativeScript                  	       0x107321a64 ffi_call_int + 868
19  NativeScript                  	       0x107321a64 ffi_call_int + 868
20  NativeScript                  	       0x107321a64 ffi_call_int + 868
21  NativeScript                  	       0x107321a64 ffi_call_int + 868
22  NativeScript                  	       0x107321a64 ffi_call_int + 868
23  NativeScript                  	       0x107321a64 ffi_call_int + 868
24  NativeScript                  	       0x107321a64 ffi_call_int + 868
25  NativeScript                  	       0x107321a64 ffi_call_int + 868
26  NativeScript                  	       0x107321a64 ffi_call_int + 868
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.