Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23921] App crash in iPad mini iOS 10 - Thread Crash

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-09-19T13:30:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterParesh Thakor
AssigneeEric Merriman
Created2016-09-19T05:52:32.000+0000
Updated2017-03-24T18:57:37.000+0000

Description

I am using Titanium SDK 5.2.2.GA for building apps but recently I found my app on which I am working is crashing on iPad mini with iOS 10 when opened for the first time only. This issue has come recently only because before few mins my project was working fine. I have posted logs below if you want to take a look. I can't change SDK to 5.5.0.GA because it will cause few trouble of migrations and at my workplace my app is in final phase of release while it got crashed. Let me know any suggestion to solve the issue. {{Incident Identifier: 77918B0B-7A78-4DED-951E-0BB4AA3BE937 CrashReporter Key: 29aa6910a889f74f44ad93b1ff19d65fbcf594cc Hardware Model: iPad4,4 Process: Danske IR [1350] Path: /private/var/containers/Bundle/Application/8C4E1AD6-9F90-4052-A571-562336926FA6/Danske IR.app/Danske IR Identifier: com.investis.danskebank Version: 1.0.0 (1.0.0) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.investis.danskebank [1201] Date/Time: 2016-09-16 16:43:10.4156 +0530 Launch Time: 2016-09-16 16:43:04.6507 +0530 OS Version: iPhone OS 10.0.1 (14A403) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000dbc44beb8 Triggered by Thread: 5 Filtered syslog: None found Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0 libsystem_kernel.dylib 0x0000000192bd416c mach_msg_trap + 8 1 libsystem_kernel.dylib 0x0000000192bd3fdc mach_msg + 72 2 CoreFoundation 0x0000000193bd1cec __CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000193bcf908 __CFRunLoopRun + 1132 4 CoreFoundation 0x0000000193afe048 CFRunLoopRunSpecific + 444 5 GraphicsServices 0x0000000195581198 GSEventRunModal + 180 6 UIKit 0x0000000199ad0818 -[UIApplication _run] + 684 7 UIKit 0x0000000199acb550 UIApplicationMain + 208 8 Danske IR 0x0000000100066e38 0x100060000 + 28216 9 libdyld.dylib 0x0000000192ae05b8 start + 4 Thread 1: 0 libsystem_kernel.dylib 0x0000000192bf2a88 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x0000000192cb536c _pthread_wqthread + 1452 2 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 2: 0 libsystem_kernel.dylib 0x0000000192bf2a88 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x0000000192cb536c _pthread_wqthread + 1452 2 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 3: 0 libsystem_kernel.dylib 0x0000000192bf2a88 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x0000000192cb5188 _pthread_wqthread + 968 2 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 4 name: com.apple.uikit.eventfetch-thread Thread 4: 0 libsystem_kernel.dylib 0x0000000192bd416c mach_msg_trap + 8 1 libsystem_kernel.dylib 0x0000000192bd3fdc mach_msg + 72 2 CoreFoundation 0x0000000193bd1cec __CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000193bcf908 __CFRunLoopRun + 1132 4 CoreFoundation 0x0000000193afe048 CFRunLoopRunSpecific + 444 5 Foundation 0x000000019460cb1c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 6 Foundation 0x000000019462d60c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 7 UIKit 0x000000019a445e6c -[UIEventFetcher threadMain] + 136 8 Foundation 0x000000019470a50c __NSThread__start__ + 1024 9 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 10 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 11 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 5 name: KrollContext Thread 5 Crashed: 0 libobjc.A.dylib 0x000000019266ef30 objc_msgSend + 16 1 Danske IR 0x0000000100079794 0x100060000 + 104340 2 Danske IR 0x000000010007a278 0x100060000 + 107128 3 Danske IR 0x0000000100078448 0x100060000 + 99400 4 Danske IR 0x000000010024221c 0x100060000 + 1974812 5 Danske IR 0x00000001001f84bc 0x100060000 + 1672380 6 Danske IR 0x00000001002d9f3c 0x100060000 + 2596668 7 Danske IR 0x00000001002e491c 0x100060000 + 2640156 8 Danske IR 0x00000001002e7c60 0x100060000 + 2653280 9 Danske IR 0x00000001002e2938 0x100060000 + 2631992 10 Danske IR 0x0000000100209790 0x100060000 + 1742736 11 Danske IR 0x00000001001f61d0 0x100060000 + 1663440 12 Danske IR 0x00000001002884b8 0x100060000 + 2262200 13 Danske IR 0x000000010007af78 0x100060000 + 110456 14 CoreFoundation 0x0000000193c2a160 __invoking___ + 144 15 CoreFoundation 0x0000000193b1dc3c -[NSInvocation invoke] + 284 16 CoreFoundation 0x0000000193b226ec -[NSInvocation invokeWithTarget:] + 60 17 Foundation 0x000000019461a954 -[__NSOperationInternal _start:] + 620 18 Danske IR 0x0000000100073f28 0x100060000 + 81704 19 Danske IR 0x0000000100074d4c 0x100060000 + 85324 20 Foundation 0x000000019470a50c __NSThread__start__ + 1024 21 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 22 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 23 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 6: 0 libsystem_kernel.dylib 0x0000000192bd41c0 semaphore_timedwait_trap + 8 1 libdispatch.dylib 0x0000000192abf784 _dispatch_semaphore_wait_slow + 112 2 libdispatch.dylib 0x0000000192abe81c _dispatch_worker_thread + 268 3 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 4 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 5 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 7 name: JavaScriptCore::BlockFree Thread 7: 0 libsystem_kernel.dylib 0x0000000192bf1e1c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x0000000192cb69d0 _pthread_cond_wait + 640 2 Danske IR 0x0000000100409a7c 0x100060000 + 3840636 3 Danske IR 0x0000000100196bac 0x100060000 + 1272748 4 Danske IR 0x0000000100196c34 0x100060000 + 1272884 5 Danske IR 0x0000000100408df8 0x100060000 + 3837432 6 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 7 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 8 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 8 name: JavaScriptCore::Marking Thread 8: 0 libsystem_kernel.dylib 0x0000000192bf1e1c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x0000000192cb69d0 _pthread_cond_wait + 640 2 Danske IR 0x00000001001ea2a4 0x100060000 + 1614500 3 Danske IR 0x00000001001ea340 0x100060000 + 1614656 4 Danske IR 0x0000000100408df8 0x100060000 + 3837432 5 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 6 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 7 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 9: 0 libsystem_kernel.dylib 0x0000000192bf2a88 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x0000000192cb536c _pthread_wqthread + 1452 2 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 10 name: com.apple.NSURLConnectionLoader Thread 10: 0 libsystem_kernel.dylib 0x0000000192bd416c mach_msg_trap + 8 1 libsystem_kernel.dylib 0x0000000192bd3fdc mach_msg + 72 2 CoreFoundation 0x0000000193bd1cec __CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000193bcf908 __CFRunLoopRun + 1132 4 CoreFoundation 0x0000000193afe048 CFRunLoopRunSpecific + 444 5 CFNetwork 0x00000001942ebcec +[NSURLConnection(Loader) _resourceLoadLoop:] + 336 6 Foundation 0x000000019470a50c __NSThread__start__ + 1024 7 libsystem_pthread.dylib 0x0000000192cb7860 _pthread_body + 240 8 libsystem_pthread.dylib 0x0000000192cb7770 _pthread_body + 0 9 libsystem_pthread.dylib 0x0000000192cb4dbc thread_start + 4 Thread 11 name: Dispatch queue: com.apple.network.resolver_queue Thread 11: 0 libsystem_kernel.dylib 0x0000000192bf2260 __select_nocancel + 8 1 libsystem_dnssd.dylib 0x0000000192baac64 deliver_request + 1004 2 libsystem_dnssd.dylib 0x0000000192babf70 DNSServiceCreateConnection + 120 3 libsystem_network.dylib 0x0000000192c69318 __nw_resolver_set_update_handler_block_invoke + 872 4 libdispatch.dylib 0x0000000192aad1c0 _dispatch_client_callout + 16 5 libdispatch.dylib 0x0000000192aba860 _dispatch_barrier_sync_f_invoke + 84 6 libsystem_network.dylib 0x0000000192c68e78 nw_resolver_set_update_handler + 208 7 libnetwork.dylib 0x00000001a01ded10 -[NWConcrete_nw_endpoint_resolver startWithHandler:] + 496 8 libnetwork.dylib 0x00000001a01c8b74 nw_endpoint_handler_path_change + 2584 9 libnetwork.dylib 0x00000001a01c8068 nw_endpoint_handler_start + 548 10 libdispatch.dylib 0x0000000192aad200 _dispatch_call_block_and_release + 24 11 libdispatch.dylib 0x0000000192aad1c0 _dispatch_client_callout + 16 12 libdispatch.dylib 0x0000000192abb444 _dispatch_queue_serial_drain + 928 13 libdispatch.dylib 0x0000000192ab09a8 _dispatch_queue_invoke + 652 14 libdispatch.dylib 0x0000000192abd38c _dispatch_root_queue_drain + 572 15 libdispatch.dylib 0x0000000192abd0ec _dispatch_worker_thread3 + 124 16 libsystem_pthread.dylib 0x0000000192cb52c8 _pthread_wqthread + 1288 17 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 12: 0 libsystem_kernel.dylib 0x0000000192bf2a88 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x0000000192cb536c _pthread_wqthread + 1452 2 libsystem_pthread.dylib 0x0000000192cb4db4 start_wqthread + 4 Thread 13: 0 libsystem_pthread.dylib 0x0000000192cb4db0 start_wqthread + 0 Thread 14: 0 libsystem_pthread.dylib 0x0000000192cb4db0 start_wqthread + 0 Thread 15: 0 libsystem_pthread.dylib 0x0000000192cb4db0 start_wqthread + 0 Thread 16: 0 libsystem_pthread.dylib 0x0000000192cb4db0 start_wqthread + 0 Thread 5 crashed with ARM Thread State (64-bit): x0: 0x00000001700924d0 x1: 0x00000001005016f0 x2: 0x000000017424cf90 x3: 0x000000000000078f x4: 0x0000000000000022 x5: 0x0000000000000020 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x000000010068b000 x9: 0x0000000000000000 x10: 0x0000000000000fff x11: 0x0000000100a40000 x12: 0xfffffffffffff000 x13: 0xbadd794dbc44bead x14: 0x0000000100a46000 x15: 0x000000000000d430 x16: 0x0000000dbc44bea8 x17: 0x0000000192677014 x18: 0x0000000000000000 x19: 0x00000001700924d0 x20: 0x000000017424cf90 x21: 0x00000001740f8b80 x22: 0x0000000100a468f0 x23: 0x000000017424cf90 x24: 0x0000000100826094 x25: 0x00000001005016a6 x26: 0x0000000100078328 x27: 0xffff000000000000 x28: 0x0000000000000030 fp: 0x000000016e236290 lr: 0x0000000100079794 sp: 0x000000016e2361e0 pc: 0x000000019266ef30 cpsr: 0x20000000 Binary Images: 0x100060000 - 0x1005f3fff Danske IR arm64 <4b5a4d11e79236108f4331c94309e446> /var/containers/Bundle/Application/8C4E1AD6-9F90-4052-A571-562336926FA6/Danske IR.app/Danske IR 0x100960000 - 0x10098ffff dyld arm64 /usr/lib/dyld 0x1925d8000 - 0x1925d9fff libSystem.B.dylib arm64 <8788325e11bc31a39b075a3497d26ebd> /usr/lib/libSystem.B.dylib 0x1925da000 - 0x19262ffff libc++.1.dylib arm64 <95f6dd603b933208ba95cc2d84613c54> /usr/lib/libc++.1.dylib 0x192630000 - 0x192650fff libc++abi.dylib arm64 <286b3adc78d1308eaa0d6f10914b1fa7> /usr/lib/libc++abi.dylib 0x192654000 - 0x192a2dfff libobjc.A.dylib arm64 <56adf6a5a61b3ef1968bae3dd66e4893> /usr/lib/libobjc.A.dylib 0x192a2e000 - 0x192a32fff libcache.dylib arm64 <4073ffab5dee3540b91e3ea1292d4944> /usr/lib/system/libcache.dylib 0x192a33000 - 0x192a3efff libcommonCrypto.dylib arm64 /usr/lib/system/libcommonCrypto.dylib 0x192a3f000 - 0x192a42fff libcompiler_rt.dylib arm64 <6b7d58fa13473277aae76d339b13a724> /usr/lib/system/libcompiler_rt.dylib 0x192a43000 - 0x192a4afff libcopyfile.dylib arm64 <2130e1083c2b31498e4873b42c01a87c> /usr/lib/system/libcopyfile.dylib 0x192a4b000 - 0x192aabfff libcorecrypto.dylib arm64 <69592d5de33d337baf0746846b8e8b71> /usr/lib/system/libcorecrypto.dylib 0x192aac000 - 0x192adbfff libdispatch.dylib arm64 <9da4900c6d953655bbfcc6b31c990e9c> /usr/lib/system/libdispatch.dylib 0x192adc000 - 0x192ae0fff libdyld.dylib arm64 /usr/lib/system/libdyld.dylib 0x192ae1000 - 0x192ae1fff liblaunch.dylib arm64 <7e180d7e5df13f699dbc6bb79ad46116> /usr/lib/system/liblaunch.dylib 0x192ae2000 - 0x192ae7fff libmacho.dylib arm64 <40cb3d5ba75831cdac02a56cab260364> /usr/lib/system/libmacho.dylib 0x192ae8000 - 0x192ae9fff libremovefile.dylib arm64 <58f887789b983f71a5cfd5777958da77> /usr/lib/system/libremovefile.dylib 0x192aea000 - 0x192b01fff libsystem_asl.dylib arm64 <2ec01cd41fa73c94b3f0ba16aacd3858> /usr/lib/system/libsystem_asl.dylib 0x192b02000 - 0x192b02fff libsystem_blocks.dylib arm64 /usr/lib/system/libsystem_blocks.dylib}}

Comments

  1. Hans Knöchel 2016-09-19

    Hey there, I notice that the app crashes at a very early state. Some questions beforehand: - Is the crash only occurring on the device (sim works)? - Is the crash only occurring on iOS 10 (iOS 9.x works)? - What happens when you remove parts of the app (temporary - git-backupped)?
  2. Hans Knöchel 2016-09-19

    In addition, the only way to savely support iOS 10 is upgrading to the 5.5.0.GA version has full support for iOS 10 and Xcode 8.
  3. Paresh Thakor 2016-09-19

    Hello Hans, It's strange that since 2 days my system was turned off due to week-end and today when I came to office, I just tried by installing the same app which is working like a charm. Don't get how it solved by itself? :D Anyways, my good luck and thanks for your help. Regards, Paresh Thakor.
  4. Hans Knöchel 2016-09-19

    Resolved for now, thanks!
  5. Lee Morris 2017-03-24

    Closing ticket with reference to the previous comments.

JSON Source