Có ai có bất kỳ đầu mối nào gây ra sự cố này không?Lỗi SIGTRAP trên iOS - Tự động chia sẻBể sơPage :: busted
Điều này hiếm khi xảy ra.
Báo cáo sự cố đến từ HockeyApp từ thiết bị. Tôi đã không thể tái tạo nó trên trình mô phỏng.
Bất kỳ ý tưởng nào được đánh giá cao.
Exception Type: SIGTRAP
Exception Codes: #0 at 0x197c73c10
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x0000000197c73c10 _objc_trap() + 0
1 libobjc.A.dylib 0x0000000197c73c80 _objc_fatal + 80
2 libobjc.A.dylib 0x0000000197c8e7fc (anonymous namespace)::AutoreleasePoolPage::busted(bool) + 140
3 libobjc.A.dylib 0x0000000197c8d54c (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 88
4 CoreFoundation 0x0000000187418f94 _CFAutoreleasePoolPop + 24
5 UIKit 0x000000018bcd8c28 _wrapRunLoopWithAutoreleasePoolHandler + 72
6 CoreFoundation 0x00000001874ee14c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
7 CoreFoundation 0x00000001874eb0d8 __CFRunLoopDoObservers + 356
8 CoreFoundation 0x00000001874eb4b8 __CFRunLoopRun + 832
9 CoreFoundation 0x00000001874191f4 CFRunLoopRunSpecific + 392
10 GraphicsServices 0x00000001905a75a4 GSEventRunModal + 164
11 UIKit 0x000000018bd4a784 UIApplicationMain + 1484
12 MyAppName 0x00000001001794d4 main (main.mm:15)
13 libdyld.dylib 0x00000001982e2a08 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001983e0c94 kevent64 + 8
1 libdispatch.dylib 0x00000001982bb3b4 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001983e0e7c mach_msg_trap + 8
1 CoreFoundation 0x00000001874ed5cc __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x00000001874eb520 __CFRunLoopRun + 936
3 CoreFoundation 0x00000001874191f4 CFRunLoopRunSpecific + 392
4 CFNetwork 0x0000000186f1d6a4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
5 Foundation 0x0000000188405c0c __NSThread__main__ + 1068
6 libsystem_pthread.dylib 0x0000000198497e80 _pthread_body + 160
7 libsystem_pthread.dylib 0x0000000198497ddc _pthread_start + 156
8 libsystem_pthread.dylib 0x0000000198494fb0 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001983fb498 __select + 8
1 libsystem_pthread.dylib 0x0000000198497e80 _pthread_body + 160
2 libsystem_pthread.dylib 0x0000000198497ddc _pthread_start + 156
3 libsystem_pthread.dylib 0x0000000198494fb0 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001983fbc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000198494fa8 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001983fbc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000198494fa8 start_wqthread + 0
Bạn có đang tạo các bản phát hành tự động của riêng mình không? Ngoài ra, nhìn vào NSURLConnection - vì vậy đây là gần như chắc chắn liên quan đến luồng. Lời khuyên của tôi là tạo một dự án demo nhỏ mà chỉ thực hiện những NSURLConnections này gần với mã thực của bạn (sử dụng mã thực của bạn nếu có thể, sau đó chỉ cần chạy nó liên tục cho đến khi gặp sự cố. Nếu bạn có thể tái tạo sự cố hoặc, bạn có thể phân nhánh và điều chỉnh ứng dụng thực của mình để chỉ liên tục sử dụng mã NSURLConnection của mình –
Tôi không gọi NSURLConnection trực tiếp trong mã của mình. Sử dụng NSURLConnection? Điều này cũng có thể bao gồm các điểm ngắt ngoại lệ được đề cập bởi danypata - Tôi không hoàn toàn hiểu cách thức nội bộ của công cụ HockeyApp hoạt động .. –
& yes Tôi đang tạo các bản phát hành tự động ở nhiều nơi khác nhau. –