2014-12-16 8 views
8

Lo stiamo vedendo solo su iPhone 5s con iOS 8.1.2. Altri dispositivi con 8.1.2 sembrano funzionare correttamente.Iphone 5s iOS 8.1.2 Visualizza controller Caricamento mappa da XIB, arresti anomali

Il controller di visualizzazione che ha una mappa che carica da un XIB sta iniziando bene, ma quando prova a caricare otteniamo ... Proveremo alcune cose per cercare di aggirare questo, ma ogni aiuto sarebbe apprezzato.

2014-12-16 16:03:24.333 App[6140:995503] Stylesheet does not include style matching tree, or includes an old version. Perhaps it was compiled by an old version of the style compiler. 
2014-12-16 16:03:24.333 App[6140:995503] Please create a radar about this! (Check it's not a dup of rdar://16346611 first though) 
2014-12-16 16:03:24.334 App[6140:995503] Active tile set: GEOActiveTileSet 
App(6140,0x196aa8310) malloc: *** error for object 0x174206030: Invalid pointer dequeued from free list 
*** set a breakpoint in malloc_error_break to debug 

Con una grande pila

#0 0x0000000191fa13f0 in __cxa_throw() 
#1 0x00000001927a0204 in objc_exception_throw() 
#2 0x0000000181f7b62c in -[__NSArrayM objectAtIndex:]() 
#3 0x000000018f1e4318 in md::StyleMatchingTree::buildSubTrees(std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> >&, std::__1::function<md::StyleMatchingTree*()>&, NSArray*)() 
#4 0x000000018f28076c in __91-[VKStylesheet initWithData:miniData:forName:scale:ppi:vendor:targetDisplay:isDevResource:]_block_invoke() 
#5 0x0000000100a1ce30 in _dispatch_call_block_and_release() 
#6 0x0000000100a1cdf0 in _dispatch_client_callout() 
#7 0x0000000100a27854 in _dispatch_queue_drain() 
#8 0x0000000100a20120 in _dispatch_queue_invoke() 
#9 0x0000000100a2975c in _dispatch_root_queue_drain() 
#10 0x0000000100a2af18 in _dispatch_worker_thread3() 
#11 0x0000000192fc12e4 in _pthread_wqthread() 
Enqueued from Stylesheet Map Editing Queue (Thread 1)Queue : Stylesheet Map Editing Queue (serial) 
#0 0x0000000100a2adac in _dispatch_barrier_async_f_slow() 
#1 0x000000018f27f458 in -[VKStylesheet initWithData:miniData:forName:scale:ppi:vendor:targetDisplay:isDevResource:]() 
#2 0x000000018f27ef20 in -[VKStylesheet initWithName:scale:ppi:targetDisplay:vendor:resourceManager:]() 
#3 0x000000018f2cd56c in __65-[VKStylesheetVendor stylesheetWithName:scale:ppi:targetDisplay:]_block_invoke() 
#4 0x0000000100a1cdf0 in _dispatch_client_callout() 
#5 0x0000000100a268c8 in _dispatch_barrier_sync_f_invoke() 
#6 0x000000018f2cd43c in -[VKStylesheetVendor stylesheetWithName:scale:ppi:targetDisplay:]() 
#7 0x000000018f25b5d4 in -[VKStyleManager initWithName:scale:ppi:targetDisplay:sharedResources:]() 
#8 0x000000018f207984 in -[VKMapModel _setStyleManagerFromMapType:]() 
#9 0x000000018f1581d4 in -[VKMapModel forceMapType:]() 
#10 0x000000018f209188 in -[VKMapModel initShouldRasterize:mapPurpose:tileGroupIdentifier:locale:contentScale:]() 
#11 0x000000018f1fb4dc in -[VKMapCanvas initShouldRasterize:contentScale:target:device:inBackground:locale:]() 
#12 0x000000018f14ba6c in -[VKMapView initWithGlobe:shouldRasterize:inBackground:]() 
#13 0x00000001840e9f74 in -[MKBasicMapView initWithFrame:andGlobe:shouldRasterize:]() 
#14 0x000000018411dfcc in -[MKMapView _commonInitFromIB:gestureRecognizerHostView:showsAttribution:]() 
#15 0x000000018411ec3c in -[MKMapView initWithCoder:]() 
#16 0x0000000186d2cd98 in UINibDecoderDecodeObjectForValue() 
#17 0x0000000186d2ca54 in -[UINibDecoder decodeObjectForKey:]() 
#18 0x0000000186c541bc in -[UIRuntimeConnection initWithCoder:]() 
#19 0x0000000186d2cd98 in UINibDecoderDecodeObjectForValue() 
#20 0x0000000186d2cd38 in UINibDecoderDecodeObjectForValue() 
#21 0x0000000186d2ca54 in -[UINibDecoder decodeObjectForKey:]() 
#22 0x0000000186c53644 in -[UINib instantiateWithOwner:options:]() 
#23 0x0000000186b58274 in -[UIViewController _loadViewFromNibNamed:bundle:]() 
#24 0x0000000186848844 in -[UIViewController loadViewIfRequired]() 
#25 0x00000001868fdfb4 in -[UINavigationController _layoutViewController:]() 
#26 0x00000001868fdeb0 in -[UINavigationController _updateScrollViewFromViewController:toViewController:]() 
#27 0x00000001868fd34c in -[UINavigationController _startTransition:fromViewController:toViewController:]() 
#28 0x00000001868fcff8 in -[UINavigationController _startDeferredTransitionIfNeeded:]() 
#29 0x00000001868fcd18 in -[UINavigationController __viewWillLayoutSubviews]() 
#30 0x00000001868fcc98 in -[UILayoutContainerView layoutSubviews]() 
#31 0x0000000186845648 in -[UIView(CALayerDelegate) layoutSublayersOfLayer:]() 
#32 0x000000018619d994 in -[CALayer layoutSublayers]() 
#33 0x0000000186198564 in CA::Layer::layout_if_needed(CA::Transaction*)() 
#34 0x0000000186198408 in CA::Layer::layout_and_display_if_needed(CA::Transaction*)() 
#35 0x0000000186197c08 in CA::Context::commit_transaction(CA::Transaction*)() 
#36 0x000000018619798c in CA::Transaction::commit()() 
#37 0x000000018683c61c in _afterCACommitHandler() 
#38 0x000000018204ea50 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__() 
#39 0x000000018204b9dc in __CFRunLoopDoObservers() 
#40 0x000000018204bdbc in __CFRunLoopRun() 
#41 0x0000000181f790a4 in CFRunLoopRunSpecific() 
#42 0x000000018b1235a4 in GSEventRunModal() 
#43 0x00000001868ae3c0 in UIApplicationMain() 
#44 0x0000000100144e64 in main at /Usersxxxx/main.m:17 
#45 0x0000000192e0ea08 in start() 

[OLTRE]

con Xcode 6.1.1 (non credo che questo le cose, ma potrebbe) con questo piccolo programma (singolo campione view) mostra lo stesso problema sui 5s. È davvero l'init che lo fa.

// 
// ViewController.m 
// testingmap 
// 
#import "ViewController.h" 
#import <MapKit/MapKit.h> 

@interface ViewController() 
@property (nonatomic) MKMapView *mapView; 
@end 

@implementation ViewController 

- (void)viewDidLoad { 
    [super viewDidLoad]; 

    self.mapView = [[MKMapView alloc] init]; 
    [self.view addSubview: self.mapView]; 
} 
+0

Si scopre che questo potrebbe essere un problema uno. Il telefono doveva avere "ALL DATA RESET" e quindi tutto funziona correttamente. Anche l'applicazione iOS MAPS fornita non funzionava. – ort11

risposta

-1

Quindi, il mio iPhone era il telefono in questione e tutto è stato risolto semplicemente ripristinando tutte le impostazioni. Impostazioni-> Generale-> Ripristina-> Ripristina tutte le impostazioni.

+0

Um, questa persona lavora con me e questo ha risolto il problema. – ort11

+1

Non risolve il vero problema. –

+0

@VojtechVrbka Hai avuto lo stesso problema? C'è un'altra soluzione? Nel mio caso ho un crash simile ottenuto da un reporter di crash, ma non so se posso ripararlo. – AmineG

Problemi correlati