You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/10/25 01:40:40 UTC

[GitHub] erduoniba opened a new issue #1671: WXBridgeManager的一个Crash问题

erduoniba opened a new issue #1671: WXBridgeManager的一个Crash问题
URL: https://github.com/apache/incubator-weex/issues/1671
 
 
   ## Description
   
   #0 Thread
   NSGenericException
   *** Collection <__NSArrayM: 0x2839bbc60> was mutated while being enumerated.
   
   0 CoreFoundation | ___exceptionPreprocess + 228
   -- | --
   1 libobjc.A.dylib | objc_exception_throw + 56
   2 CoreFoundation | -[__NSSingleObjectEnumerator initWithObject:]
   3 CoreFoundation | -[NSArray containsObject:] + 212
   4 WeexSDK | -[WXBridgeManager destroyInstance:] + 92
   5 WeexSDK | -[WXSDKInstance destroyInstance] + 748
   6 BHSmartHome | -[MideaWeexPluginViewController dealloc] + 48
   7 libobjc.A.dylib | 0x00000001bea1f000 + 131980
   8 CoreFoundation | _CFAutoreleasePoolPop + 28
   9 CoreFoundation | ___CFRunLoopRun + 1972
   10 CoreFoundation | CFRunLoopRunSpecific + 436
   11 GraphicsServices | GSEventRunModal + 100
   12 UIKitCore | UIApplicationMain + 212
   13 meiju-ios | main (main.m:14)
   14 libdyld.dylib | 0x00000001bf2a0000 + 2964
   
   
   需要对WXBridgeManager对象的instanceIdStack属性做线程安全保护才行。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services