में क्रैश होता है मेरे पास सेब स्टोर पर एक ऐप है और आईओएस 6 अपडेट के बाद मुझे MKMapView
के भीतर क्रैश रिपोर्ट मिली है। मैं अपने उपकरणों पर दुर्घटना को पुन: उत्पन्न करने का प्रबंधन नहीं कर सकता। यह EAGLContext
के साथ एक समस्या की तरह दिखता है। हम अपने ऐप में ओपनजीएल का उपयोग नहीं करते हैं, लेकिन हमारे पास विभिन्न नियंत्रक में MKMapView
के एक से अधिक उदाहरण हैं। मुझे यहां एक समान समस्या मिली है iOS 6 app crashes in EAGLContext when displaying maps लेकिन वे OpenGL का उपयोग करते हैं।कभी-कभी आईओएस 6 एमकेमैप व्यू initWithFrame
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x1
Crashed Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x00000e22 gpus_ReturnNotPermittedKillClient + 10
1 libGPUSupportMercury.dylib 0x3bccc5fb gldCreateContext + 190
2 GLEngine 0x344c2b15 gliCreateContextWithShared + 676
3 OpenGLES 0x0000491d -[EAGLContext initWithAPI:properties:] + 1433
4 OpenGLES 0x000042d7 -[EAGLContext initWithAPI:sharedWithCompute:] + 143
5 VectorKit 0x00011c81 -[VGLGPU init] + 105
6 VectorKit 0x000d4659 __24+[VGLGPU sharedInstance]_block_invoke_0 + 49
7 libdispatch.dylib 0x000014b7 _dispatch_client_callout + 23
8 libdispatch.dylib 0x000073f7 dispatch_once_f$VARIANT$mp + 43
9 VectorKit 0x00011c13 +[VGLGPU sharedInstance] + 39
10 VectorKit 0x00001db1 -[VKMainLoop updateLinkState] + 485
11 VectorKit 0x00001955 -[VKScreenCanvas _updateDisplayStatus:] + 109
12 UIKit 0x0001c371 -[UIView initWithFrame:] + 129
13 VectorKit 0x00010ca5 -[VGLScreenCanvas initWithFrame:context:] + 53
14 VectorKit 0x00010a7d -[VKScreenCanvas initWithFrame:context:] + 57
15 VectorKit 0x00010a3f -[VKScreenCanvas initWithFrame:] + 39
16 VectorKit 0x000106bd -[VKMapCanvas initWithFrame:shouldRasterize:] + 65
17 VectorKit 0x000104bb -[VKMapView initWithFrame:andGlobe:shouldRasterize:] + 647
18 MapKit 0x0000dc95 -[MKMapView _commonInitAndEnableLoading:fromIB:] + 725
19 MapKit 0x0000d811 -[MKMapView initWithFrame:] + 257
.....
क्या आप वाकई मेमोरी रिसाव के कारण नहीं हैं?मुझे एक समान समस्या का सामना करना पड़ रहा है लेकिन मैंने पहले से ही कारण की पहचान की है। आईओएस 6 एमकेमैप व्यू पिछले एक की तुलना में 10x अधिक मेमोरी ले रहा है। मेरा ऐप नक्शे पर सामान दिखाने के बारे में है और इसका पदचिह्न 30 एमबी से 280 एमबी तक बढ़ गया है। मैं इसे हल करने की कोशिश कर रहा हूं, लेकिन अभी तक कोई सुराग नहीं है। – Trein
हाय @ ट्रेइन, अपवाद एसआईजीएसईजीवी है, जो मैं समझता हूं कि यह खराब स्मृति पहुंच के कारण होना चाहिए। – Breezeight