reason for crash?

Discussion in 'iOS Programming' started by MACloop, May 25, 2010.

  1. MACloop macrumors 6502

    Joined:
    May 18, 2009
    Location:
    Germany
    #1
    I become this crash (1) followed by (2) and it occours in various situations. I cannot actually see a distinct pattern to trig the crash. Does anyone know what I should look for if you look at the crash-report? What the problem might be? It happend rather unfrequent and I do not really know where to search... I could be an object called after it has been killed - the question is - if this object is created/killed by me or in some of the frameworks I use?
    Thanks in advance!
    MACloop

    1)
    Code:
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000b
    
    Crashed Thread:  0
    Thread 0 Crashed:
    0   libobjc.A.dylib               	0x00003ebc objc_msgSend + 20
    1   MapKit                        	0x00032960 -[MKMapView(UserPositioningInternal) locationManagerUpdatedLocation:] + 1032
    2   CoreFoundation                	0x0005da0e -[NSObject performSelector:withObject:] + 18
    3   CoreFoundation                	0x00062a04 -[NSArray makeObjectsPerformSelector:withObject:] + 368
    4   MapKit                        	0x000028e8 -[MKLocationManager _reportLocationStatus:] + 52
    5   MapKit                        	0x00004e74 -[MKLocationManager _reportLocationSuccess] + 48
    6   MapKit                        	0x000049c0 -[MKLocationManager locationManager:didUpdateToLocation:fromLocation:usingSupportInfo:] + 936
    7   CoreLocation                  	0x00009cb0 -[CLLocationManager onClientEventLocation:] + 1132
    8   CoreLocation                  	0x000081dc -[CLLocationManager onClientEvent:supportInfo:] + 140
    9   CoreLocation                  	0x00008368 OnClientEventInternal + 24
    10  CoreLocation                  	0x00006004 CLClientHandleDaemonData(__CFMessagePort*, long, __CFData const*, void*) + 1080
    11  CoreFoundation                	0x00030380 __CFMessagePortPerform + 112
    12  CoreFoundation                	0x00057524 CFRunLoopRunSpecific + 2296
    13  CoreFoundation                	0x00056c18 CFRunLoopRunInMode + 44
    14  GraphicsServices              	0x000041c0 GSEventRunModal + 188
    15  UIKit                         	0x00003c28 -[UIApplication _run] + 552
    16  UIKit                         	0x00002228 UIApplicationMain + 960
    17  MyApp1.0                     	0x0000207a 0x1000 + 4218
    18  MyApp1.0                     	0x00002024 0x1000 + 4132
    2)
    Code:
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x8003c615
    Crashed Thread:  0
    
    Thread 0 Crashed:
    0   libobjc.A.dylib               	0x00003ec0 objc_msgSend + 24
    1   libobjc.A.dylib               	0x00005b84 objc_setProperty + 184
    2   MyApp1.0                     	0x0000f6fa 0x1000 + 59130
    3   Foundation                    	0x0005986c _NSSetUsingKeyValueSetter + 116
    4   Foundation                    	0x00058ce0 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 96
    5   Foundation                    	0x00058c3e -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 250
    6   UIKit                         	0x000850d4 -[UIRuntimeOutletConnection connect] + 88
    7   CoreFoundation                	0x0005b45c -[NSObject performSelector:] + 12
    8   CoreFoundation                	0x000590a4 -[NSArray makeObjectsPerformSelector:] + 368
    9   UIKit                         	0x00075a1c -[UINib instantiateWithOptions:owner:loadingResourcesFromBundle:] + 836
    10  UIKit                         	0x00075558 -[NSBundle(NSBundleAdditions) loadNibNamed:owner:options:] + 104
    11  UIKit                         	0x00089304 -[UIViewController _loadViewFromNibNamed:bundle:] + 48
    12  UIKit                         	0x000890b8 -[UIViewController loadView] + 120
    13  UIKit                         	0x00069750 -[UIViewController view] + 44
    14  UIKit                         	0x00088fd8 -[UIViewController contentScrollView] + 24
    15  UIKit                         	0x00088d90 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 36
    16  UIKit                         	0x00088c3c -[UINavigationController _layoutViewController:] + 28
    17  UIKit                         	0x0008863c -[UINavigationController _startTransition:fromViewController:toViewController:] + 504
    18  UIKit                         	0x000883a8 -[UINavigationController _startDeferredTransitionIfNeeded] + 256
    19  UIKit                         	0x00088298 -[UINavigationController viewWillLayoutSubviews] + 12
    20  UIKit                         	0x0006c86c -[UILayoutContainerView layoutSubviews] + 76
    21  UIKit                         	0x000482d0 -[UIView(CALayerDelegate) _layoutSublayersOfLayer:] + 32
    22  QuartzCore                    	0x0000c1b8 -[CALayer layoutSublayers] + 80
    23  QuartzCore                    	0x0000bed4 CALayerLayoutIfNeeded + 192
    24  QuartzCore                    	0x0000b83c CA::Context::commit_transaction(CA::Transaction*) + 256
    25  QuartzCore                    	0x0000b46c CA::Transaction::commit() + 276
    26  QuartzCore                    	0x000135d4 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 84
    27  CoreFoundation                	0x0000f82a __CFRunLoopDoObservers + 466
    28  CoreFoundation                	0x00057340 CFRunLoopRunSpecific + 1812
    29  CoreFoundation                	0x00056c18 CFRunLoopRunInMode + 44
    30  GraphicsServices              	0x000041c0 GSEventRunModal + 188
    31  UIKit                         	0x00003c28 -[UIApplication _run] + 552
    32  UIKit                         	0x00002228 UIApplicationMain + 960
    33  MyApp1.0                     	0x0000207a 0x1000 + 4218
    34  MyApp1.0                     	0x00002024 0x1000 + 4132
     
  2. MACloop thread starter macrumors 6502

    Joined:
    May 18, 2009
    Location:
    Germany
    #2
    Apperently this is another mapKit problem... Is it official that mapKit is a bit buggy? I have only made stabile experiences when using it without navigation controller...

    MACloop
     

Share This Page