2014-03-26 17 views
7

Ich bin mit einem UIWebview YouTube-Video auf meinem iOS-App zu spielen, nach iOS 7.1 Release, ich habe eine Menge folgenden Absturzbericht:Mediaplayer Absturz auf iOS 7.1 (MPAVItem)

Exception Type: EXC_CRASH (SIGSEGV) 
Exception Codes: 0x0000000000000000, 0x0000000000000000 
Triggered by Thread: 1 

Thread 0: 
0 libobjc.A.dylib     0x393dd637 objc_msgSend + 23 
1 Foundation      0x2f563d57 +[NSConcreteNotification  newTempNotificationWithName:object:userInfo:] + 119 
2 Foundation      0x2f563ca9 -[NSNotificationCenter  postNotificationName:object:userInfo:] + 45 
3 Foundation      0x2f5685c3 -[NSNotificationCenter  postNotificationName:object:] + 27 
4 MediaPlayer      0x2feb17b9 __53-[MPAVItem  _playerItemNewAccessLogEntryNotification:]_block_invoke + 69 
5 libdispatch.dylib    0x398bcd51 _dispatch_call_block_and_release + 9 
6 libdispatch.dylib    0x398bcd3d _dispatch_client_callout + 21 
7 libdispatch.dylib    0x398bf6bf _dispatch_main_queue_callback_4CF + 275 
8 CoreFoundation     0x2ec0d675 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 5 
9 CoreFoundation     0x2ec0bf41 __CFRunLoopRun + 1305 
10 CoreFoundation     0x2eb767a5 CFRunLoopRunSpecific + 521 
11 CoreFoundation     0x2eb76587 CFRunLoopRunInMode + 103 
12 GraphicsServices    0x33ad36cf GSEventRunModal + 135 
13 UIKit       0x314d588d UIApplicationMain + 1133 
14 myApp       0x000eb679 0xe7000 + 18041 
15 myApp       0x000eb5c4 0xe7000 + 17860 

Thread 1 Crashed: 
0 libsystem_kernel.dylib   0x39975804 kevent64 + 24 
1 libdispatch.dylib    0x398c4051 _dispatch_mgr_invoke + 229 
2 libdispatch.dylib    0x398be2df _dispatch_mgr_thread + 35 

Vielleicht das Betriebssystem Es wird versucht, eine Benachrichtigung an ein Objekt zu senden, das nicht mehr existiert. Ich habe MBAVItem nicht direkt verwendet, daher sollte es aufgerufen werden, während UIWebview YouTube-Videos abspielt. Laut iTunes Connect ist dieser Absturz nur auf iOS 7.1 (zumindest für jetzt) ​​passiert und wurde zum häufigsten Absturz.

+1

Das gleiche Symptom hier, unter den gleichen Umständen. Wenn ich unter Xcode laufe, bekomme ich: '*** - [MPAVItem retain]: Nachricht an die freigegebene Instanz 0x17a7b1720' gesendet – JLundell

Antwort

1

Ich habe für jeden Song einen neuen YouTube HTML-Player erstellt, und dieser Absturz passiert nach dem Abspielen von 5 - 10 Songs.

Nach einigen Experimenten zu tun, dieser Absturz kann durch Laden verschiedene Songs mit dem gleichen YouTube HTML-Player vermieden werden (nicht eine neue erstellen, rufen Sie einfach loadVideoById()), hoffen, dass diese Antwort kann jemand helfen =)