Xiaomin Cai created WEEX-365:
--------------------------------

             Summary: Resolve multithread crash during view unloading
                 Key: WEEX-365
                 URL: https://issues.apache.org/jira/browse/WEEX-365
             Project: Weex
          Issue Type: Bug
          Components: iOS
            Reporter: Xiaomin Cai
            Assignee: xingZhang


Crash Stack as below:

Incident Identifier: 0F2F4E0D-6210-4A3C-A70C-8B39ED855116
CrashReporter Key: TODO
Hardware Model: iPhone9,1
Process: xxx[1053]
Path: 
/var/containers/Bundle/Application/6AE86C35-88AE-4972-AE17-55CF03B02D85/xxx.app/xxx
Identifier: 0F2F4E0D-6210-4A3C-A70C-8B39ED855116
Version: 7.8.2
Code Type: ARM-64
Parent Process: ??? [1]

Date/Time: 2018-05-13 11:08:22 +0000
OS Version: iPhone OS 11.3.1 (15E302)
Report Version: 104

Exception Type: SIGTRAP
Exception Codes: #0 at 0x18cae95e0
Triggered by Thread: 0

Thread 0 Crashed:
0 UIKit 0x000000018cae95e0 -[UIView(UIKitManual) release] :196 (in UIKit)
1 UIKit 0x000000018cf4eed0 __UIViewWasRemovedFromSuperview :152 (in UIKit)
2 UIKit 0x000000018cb2de58 -[UIView(Hierarchy) removeFromSuperview] :492 (in 
UIKit)
3 xxx 0x0000000106088ad4 -[WXComponent(ViewManagement) _unloadViewWithReusing:] 
WXComponent+ViewManagement.mm:337 (in xxx)
4 xxx 0x00000001060b5bc0 _28-[WXComponentManager unload]_block_invoke 
WXComponentManager.mm:0 (in xxx)
5 libdispatch.dylib 0x0000000182838b24 _dispatch_call_block_and_release :24 (in 
libdispatch.dylib)
6 libdispatch.dylib 0x0000000182838ae4 _dispatch_client_callout :16 (in 
libdispatch.dylib)
7 libdispatch.dylib 0x00000001828456e0 
_dispatch_main_queue_callback_4CF$VARIANT$mp :1012 (in libdispatch.dylib)
8 CoreFoundation 0x0000000182eef070 
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ :12 (in CoreFoundation)
9 CoreFoundation 0x0000000182eecbc8 __CFRunLoopRun :2272 (in CoreFoundation)
10 CoreFoundation 0x0000000182e0cda8 _CFRunLoopRunSpecific :552 (in 
CoreFoundation)
11 GraphicsServices 0x0000000184def020 _GSEventRunModal :100 (in 
GraphicsServices)
12 UIKit 0x000000018cded78c _UIApplicationMain :236 (in UIKit)
13 xxx 0x0000000104ce8dfc TBMainEntry TBMainEntry.m:74 (in xxx)
14 xxx 0x00000001065501fc main main.m:17 (in xxx)
15 libdyld.dylib 0x000000018289dfc0 _start :4 (in libdyld.dylib)

Binary Images:
0x0000000102ef0000 - 0x0000000106637fff xxx arm64 
/var/containers/Bundle/Application/6AE86C35-88AE-4972-AE17-55CF03B02D85/xxx.app/xxx
0x0000000182837000 - 0x000000018289cfff libdispatch.dylib arm64 
<42fe29ae709d39d9bc00f31af92baaf1> /usr/lib/system/libdispatch.dylib
0x000000018289d000 - 0x00000001828b7fff libdyld.dylib arm64 
/usr/lib/system/libdyld.dylib
0x0000000182e01000 - 0x0000000183197fff CoreFoundation arm64 
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x0000000184de4000 - 0x0000000184df7fff GraphicsServices arm64 
<85072ece665a3a86807f153e85476fed> 
/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x000000018cad0000 - 0x000000018db4efff UIKit arm64 
/System/Library/Frameworks/UIKit.framework/UIKit



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to