Unknown thread crashed with unknown flavor

Discussion in 'iOS Programming' started by Monaj, May 8, 2013.

  1. Monaj macrumors regular

    Joined:
    May 24, 2009
    #1
    I have an app which performs these basic functions:

    1. Retrieving data from server
    2. Storing it locally
    3. Showing the data stored at local to user

    This app works as expected on iPhone device, but when one of the customers tried to use the same build on iPad 1, it crashed for him during the delta sync process.

    Below is the crash log:

    Code:
        Incident Identifier: 5FE6808F-D558-41D0-A337-68CE8A4B2300
        CrashReporter Key:   7a07cd6cfe292ea9f7daac97190d86f9a503415a
        Hardware Model:      iPad1,1
        Process:         pCA Dev [2523]
        Path:            /var/mobile/Applications/87C8E4F9-DD63-44AD-9EC2-E9669CCCC519/pCA Dev.app/pCA Dev
        Identifier:      pCA Dev
        Version:         ??? (???)
        Code Type:       ARM (Native)
        Parent Process:  launchd [1]
        
        Date/Time:       2013-05-08 11:47:51.570 -0400
        OS Version:      iPhone OS 5.1.1 (9B206)
        Report Version:  104
        
        Exception Type:  00000020
        Exception Codes: 0x8badf00d
        Highlighted Thread:  6
        
        Application Specific Information:
        com.dash.pCA failed to resume in time
        
        Elapsed total CPU time (seconds): 2.350 (user 2.350, system 0.000), 23% CPU 
        Elapsed application CPU time (seconds): 0.000, 0% CPU
        
        Thread 0 name:  Dispatch queue: com.apple.main-thread
        Thread 0:
        0   libsystem_kernel.dylib        	0x359380d8 __psynch_mutexwait + 24
        1   libsystem_c.dylib             	0x34ad5674 pthread_mutex_lock + 376
        2   CoreData                      	0x32b8ad52 -[_PFLock lock] + 18
        3   CoreData                      	0x32b9a1f2 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 806
        4   CoreData                      	0x32b98c22 -[NSManagedObjectContext executeFetchRequest:error:] + 598
        5   pCA Dev                       	0x001697c2 0xce000 + 636866
        6   pCA Dev                       	0x001698a2 0xce000 + 637090
        7   pCA Dev                       	0x00219f4e 0xce000 + 1359694
        8   pCA Dev                       	0x0010445c 0xce000 + 222300
        9   libdispatch.dylib             	0x33c4fc52 _dispatch_call_block_and_release + 6
        10  libdispatch.dylib             	0x33c5ae8a _dispatch_main_queue_callback_4CF$VARIANT$up + 190
        11  CoreFoundation                	0x358952a6 __CFRunLoopRun + 1262
        12  CoreFoundation                	0x3581849e CFRunLoopRunSpecific + 294
        13  CoreFoundation                	0x35818366 CFRunLoopRunInMode + 98
        14  GraphicsServices              	0x335b3432 GSEventRunModal + 130
        15  UIKit                         	0x32ff0cce UIApplicationMain + 1074
        16  pCA Dev                       	0x000cfdb0 0xce000 + 7600
        17  pCA Dev                       	0x000cfd40 0xce000 + 7488
        
        Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
        Thread 1:
        0   libsystem_kernel.dylib        	0x359283a8 kevent + 24
        1   libdispatch.dylib             	0x33c5bea4 _dispatch_mgr_invoke + 708
        2   libdispatch.dylib             	0x33c5bbc2 _dispatch_mgr_thread + 30
        
        Thread 2 name:  WebThread
        Thread 2:
        0   libsystem_kernel.dylib        	0x35928004 mach_msg_trap + 20
        1   libsystem_kernel.dylib        	0x359281fa mach_msg + 50
        2   CoreFoundation                	0x358963ec __CFRunLoopServiceMachPort + 120
        3   CoreFoundation                	0x35895124 __CFRunLoopRun + 876
        4   CoreFoundation                	0x3581849e CFRunLoopRunSpecific + 294
        5   CoreFoundation                	0x35818366 CFRunLoopRunInMode + 98
        6   WebCore                       	0x3755ec9c RunWebThread(void*) + 396
        7   libsystem_c.dylib             	0x34ae172e _pthread_start + 314
        8   libsystem_c.dylib             	0x34ae15e8 thread_start + 0
        
        Thread 3 name:  com.apple.NSURLConnectionLoader
        Thread 3:
        0   libsystem_kernel.dylib        	0x35928004 mach_msg_trap + 20
        1   libsystem_kernel.dylib        	0x359281fa mach_msg + 50
        2   CoreFoundation                	0x358963ec __CFRunLoopServiceMachPort + 120
        3   CoreFoundation                	0x35895124 __CFRunLoopRun + 876
        4   CoreFoundation                	0x3581849e CFRunLoopRunSpecific + 294
        5   CoreFoundation                	0x35818366 CFRunLoopRunInMode + 98
        6   Foundation                    	0x34c5dbb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
        7   Foundation                    	0x34c5da7a -[NSThread main] + 66
        8   Foundation                    	0x34cf158a __NSThread__main__ + 1042
        9   libsystem_c.dylib             	0x34ae172e _pthread_start + 314
        10  libsystem_c.dylib             	0x34ae15e8 thread_start + 0
        
        Thread 4 name:  com.apple.CFSocket.private
        Thread 4:
        0   libsystem_kernel.dylib        	0x35938570 __select + 20
        1   CoreFoundation                	0x3589a63a __CFSocketManager + 726
        2   libsystem_c.dylib             	0x34ae172e _pthread_start + 314
        3   libsystem_c.dylib             	0x34ae15e8 thread_start + 0
        
        Thread 5 name:  WebCore: CFNetwork Loader
        Thread 5:
        0   libsystem_kernel.dylib        	0x35928004 mach_msg_trap + 20
        1   libsystem_kernel.dylib        	0x359281fa mach_msg + 50
        2   CoreFoundation                	0x358963ec __CFRunLoopServiceMachPort + 120
        3   CoreFoundation                	0x35895124 __CFRunLoopRun + 876
        4   CoreFoundation                	0x3581849e CFRunLoopRunSpecific + 294
        5   CoreFoundation                	0x35818366 CFRunLoopRunInMode + 98
        6   WebCore                       	0x375880d2 WebCore::runLoaderThread(void*) + 122
        7   libsystem_c.dylib             	0x34ae172e _pthread_start + 314
        8   libsystem_c.dylib             	0x34ae15e8 thread_start + 0
        
        Thread 6 name:  Dispatch queue: NSManagedObjectContext Queue
        Thread 6:
        0   libsystem_kernel.dylib        	0x35928054 semaphore_wait_trap + 8
        1   libdispatch.dylib             	0x33c5c47e _dispatch_thread_semaphore_wait$VARIANT$up + 6
        2   libdispatch.dylib             	0x33c5a65e _dispatch_barrier_sync_f_slow + 82
        3   libdispatch.dylib             	0x33c5a5dc dispatch_barrier_sync_f$VARIANT$up + 16
        4   libdispatch.dylib             	0x33c5a238 dispatch_sync_f$VARIANT$up + 12
        5   libdispatch.dylib             	0x33c5a8ee _dispatch_sync_slow + 46
        6   libdispatch.dylib             	0x33c5a8ae dispatch_sync$VARIANT$up + 18
        7   pCA Dev                       	0x000d0b88 0xce000 + 11144
        8   Foundation                    	0x34cdc4f8 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 12
        9   CoreFoundation                	0x3588e540 ___CFXNotificationPost_block_invoke_0 + 64
        10  CoreFoundation                	0x3581a090 _CFXNotificationPost + 1400
        11  Foundation                    	0x34c503e4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
        12  CoreData                      	0x32c0dda8 -[NSManagedObjectContext(_NSInternalAdditions) _didSaveChanges] + 2600
        13  CoreData                      	0x32c02718 -[NSManagedObjectContext save:] + 1692
        14  pCA Dev                       	0x0010b86c 0xce000 + 252012
        15  pCA Dev                       	0x001046b6 0xce000 + 222902
        16  CoreData                      	0x32c0c48e developerSubmittedBlockToNSManagedObjectContextPerform_privateasync + 62
        17  libdispatch.dylib             	0x33c5aca4 _dispatch_queue_drain + 268
        18  libdispatch.dylib             	0x33c5ab12 _dispatch_queue_invoke$VARIANT$up + 30
        19  libdispatch.dylib             	0x33c5b784 _dispatch_worker_thread2 + 208
        20  libsystem_c.dylib             	0x34adbdf4 _pthread_wqthread + 288
        21  libsystem_c.dylib             	0x34adbcc8 start_wqthread + 0
        
        Unknown thread crashed with unknown flavor: 5, state_count: 1
        
        Binary Images:
           0xce000 -   0x236fff +pCA Dev armv7  <76ad4f5bc8d3354d97c9e2de37740dc8> /var/mobile/Applications/87C8E4F9-DD63-44AD-9EC2-E9669CCCC519/pCA Dev.app/pCA Dev
        0x2fecd000 - 0x2feeefff  dyld armv7  <77eddfd654df393ba9c95ff01715fd08> /usr/lib/dyld
        0x304e2000 - 0x304e8fff  liblaunch.dylib armv7  <aa2bcba6fc7a36a191958fef2e995475> /usr/lib/system/liblaunch.dylib
        0x305e6000 - 0x305fafff  PersistentConnection armv7  <54091a638f8731cd85ccf00fa06972c3> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
        0x3064e000 - 0x3072dfff  RawCamera armv7  <293f818ba6533dceae8b900b6ed3c887> /System/Library/CoreServices/RawCamera.bundle/RawCamera
        0x3078c000 - 0x307d8fff  CoreTelephony armv7  <b8f80d5d594c31d2b5d8fba9fdedb7e1> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
        0x307fa000 - 0x30832fff  VideoToolbox armv7  <9f25f38d1cd13a1daff99cfde8884410> /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
        0x30833000 - 0x3085ffff  libtidy.A.dylib armv7  <3aacc5b650e037c086a8ff6657d154bf> /usr/lib/libtidy.A.dylib
        0x30dfa000 - 0x30e4bfff  CoreText armv7  <5bfac4ee88d03d5b87a1f105abb7756c> /System/Library/Frameworks/CoreText.framework/CoreText
        0x30ebc000 - 0x30ebcfff  liblangid.dylib armv7  <644ff4bcfbf337b5b5859e3f0fc0a9a8> /usr/lib/liblangid.dylib
        0x30ebd000 - 0x30ed3fff  EAP8021X armv7  <952fcfdec0633aff923768fca1a26fcb> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
        0x30ed4000 - 0x30ee9fff  libresolv.9.dylib armv7  <66f7557fa4b43979b186e00271839fdb> /usr/lib/libresolv.9.dylib
        0x30f6f000 - 0x30f89fff  CoreServicesInternal armv7  <cccdb5638b17398f8082542c1b3c8cf6> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal
        0x311a6000 - 0x311c3fff  libsystem_info.dylib armv7  <50863bcbf478323e96a8e5b1a83ea6f9> /usr/lib/system/libsystem_info.dylib
        0x3133d000 - 0x31403fff  GLEngine armv7  <6617f2b4ee283469a5595129889ff049> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
        0x314f3000 - 0x314f3fff  vecLib armv7  <a2cfe25e77aa36bfb4a30b2d0d2dd465> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
        0x31575000 - 0x3164cfff  CFNetwork armv7  <765a472c824830eea91b8f02d12867e4> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x3164d000 - 0x3166dfff  libxslt.1.dylib armv7  <39348471007e39dab80af68b08390456> /usr/lib/libxslt.1.dylib
        0x3166e000 - 0x316a9fff  libCGFreetype.A.dylib armv7  <55941c96cf1f3b048e72a148c4496c16> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
        0x316ce000 - 0x316d0fff  libCoreFSCache.dylib armv7  <808518e0fbf539af8489f028ca5198c7> /System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib
        0x31917000 - 0x31924fff  libbsm.0.dylib armv7  <750a0de73a733019a77144b805d4d2f8> /usr/lib/libbsm.0.dylib
        0x31930000 - 0x31930fff  libgcc_s.1.dylib armv7  <eb82984fa36c329387aa518aa5205f3d> /usr/lib/libgcc_s.1.dylib
        0x31937000 - 0x31950fff  libRIP.A.dylib armv7  <1828cddc5dd93c61afbefb59587d7f8a> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
        0x31951000 - 0x31a20fff  IMGSGX535GLDriver armv7  <fe4f330b9a433322844a0d87410b68f7> /System/Library/Extensions/IMGSGX535GLDriver.bundle/IMGSGX535GLDriver
        0x31b22000 - 0x32066fff  FaceCoreLight armv7  <f326d88709683520b251dc53cb847c11> /System/Library/PrivateFrameworks/FaceCoreLight.framework/FaceCoreLight
        0x32067000 - 0x3206afff  CaptiveNetwork armv7  <f5cc4b97ce9432da9426f12621453325> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
        0x3206b000 - 0x3207cfff  libxpc.dylib armv7  <ccf25b1e49ce3b2fa58d8c8546755505> /usr/lib/system/libxpc.dylib
        0x3207d000 - 0x32082fff  libcopyfile.dylib armv7  <52e874396c393ed29099789ce702cfe2> /usr/lib/system/libcopyfile.dylib
        0x320b1000 - 0x320d5fff  PrintKit armv7  <08509c7bc915358b953de6f5cbef5c56> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
        0x320d6000 - 0x32139fff  IMCore armv7  <046b6b615a743057b59d4aaba8a91d61> /System/Library/PrivateFrameworks/IMCore.framework/IMCore
        0x32153000 - 0x32155fff  MobileInstallation armv7  <215d93dbb0f63cbf828f9126eb7b5349> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
        0x32164000 - 0x321a7fff  libcommonCrypto.dylib armv7  <95b49daf4cf038b6bea8010bba3a1e26> /usr/lib/system/libcommonCrypto.dylib
        0x321a8000 - 0x32517fff  TextInput armv7  <8d7f24642c7634cc8e3a6e65f1dcd98e> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
        0x32532000 - 0x32536fff  libcache.dylib armv7  <d6a7436ed8dc33d795c9b42baf864882> /usr/lib/system/libcache.dylib
        0x3253c000 - 0x32595fff  IMAVCore armv7  <ce90304da959333d81a64171a6ac3ae8> /System/Library/PrivateFrameworks/IMAVCore.framework/IMAVCore
        0x32596000 - 0x3259cfff  MobileKeyBag armv7  <e1f06241ef0e3f0aae00f15df572077e> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
        0x326a3000 - 0x326a6fff  CoreTime armv7  <a398de5ba1e43a11b7008e9bb5a7f6fe> /System/Library/PrivateFrameworks/CoreTime.framework/CoreTime
        0x326b0000 - 0x326b4fff  libGFXShared.dylib armv7  <998fccc16cf735dbb62324202995e193> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
        0x32712000 - 0x32757fff  GeoServices armv7  <a26be2e76e8730ab91a16502aba376be> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
        0x32758000 - 0x32764fff  CoreVideo armv7  <364fa32d513f3c11b50970120545f1a8> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
        0x32769000 - 0x3276ffff  liblockdown.dylib armv7  <9e45ce468a6f31e5b8263f2c224aa800> /usr/lib/liblockdown.dylib
        0x327a7000 - 0x327b1fff  libbz2.1.0.dylib armv7  <40e4045fb79e382b8833707746cf28b1> /usr/lib/libbz2.1.0.dylib
        0x329d7000 - 0x329d8fff  DataMigration armv7  <d77f0e8f39ee37f5a2ac713a3fd9e693> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
        0x329e7000 - 0x32ad8fff  QuartzCore armv7  <35d64a9da5523ae08c9e41511fd3061b> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
        0x32ad9000 - 0x32aeafff  DataAccessExpress armv7  <e6144ba265da3bb7b9a263aa1a29b054> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
        0x32b3b000 - 0x32b51fff  libmis.dylib armv7  <258bc92be5823b239b4412dd42cb4807> /usr/lib/libmis.dylib
        0x32b82000 - 0x32d28fff  CoreData armv7  <b0215b6d4d143859a2b313ecade095ec> /System/Library/Frameworks/CoreData.framework/CoreData
        0x32d29000 - 0x32d38fff  OpenGLES armv7  <e80acc691001301e96101bb89d940033> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
        0x32d39000 - 0x32d3efff  CrashReporterSupport armv7  <dc11c5c2cbe73a6288a6094ebf5de673> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
        0x32d3f000 - 0x32d44fff  libsystem_dnssd.dylib armv7  <27bb5462450732e380f5a2c170546e93> /usr/lib/system/libsystem_dnssd.dylib
        0x32d4a000 - 0x32e19fff  libGLProgrammability.dylib armv7  <49607ffe4ee9389494285a213e392924> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
        0x32e1a000 - 0x32e30fff  VoiceServices armv7  <c5b98e94eff33bf49006ff157c819987> /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices 
    Problem is-

    .

    Please suggest how can I analyze this crash log?

    Thanks
     
  2. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #2


    I'm not an expert at reading logs, but this bit:

    Application Specific Information:
    com.dash.pCA failed to resume in time

    Suggests to me that the app was taking too long to respond when it was brought back from the suspended state. In general, if your app spends too long without visiting the event loop, the system will terminate it. In this case it sounds like it took too long to respond on resume.
     

Share This Page