GitHub user acton393 opened a pull request:
https://github.com/apache/incubator-weex/pull/1182
[WEEX-373][iOS] try to fix the issue about _remove_assocations
As the the crash stack shows app crash during the deallocating of
remove_assocation in JSContext object,
so we try to remove the association manually.
0 libobjc.A.dylib 0x0001916318d8 _object_remove_assocations :260 (in
libobjc.A.dylib)
1 libobjc.A.dylib 0x00019162c340 _objc_destructInstance :104 (in
libobjc.A.dylib)
2 libobjc.A.dylib 0x00019162c398 _object_dispose :28 (in
libobjc.A.dylib)
3 0x0001018d5894 NSObjectLifeCycleDealloc NSObjectLifeCycle.m:104 (in)
4 JavaScriptCore 0x0001971876ec -[JSContext dealloc] :196 (in
JavaScriptCore)
5 libobjc.A.dylib 0x00019163e134 (anonymous
namespace)::AutoreleasePoolPage::pop(void*) :836 (in libobjc.A.dylib)
6 CoreFoundation 0x000192a9ab28 _CFAutoreleasePoolPop :28 (in
CoreFoundation)
7 Foundation 0x0001936b35c0 __NSThreadPerformPerform :520 (in
Foundation)
Bug:373
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/acton393/incubator-weex
ios-fix-objc-assocation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/1182.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1182
commit 621a325e3b3a684105980fc9f95ebd776eaa0df1
Author: acton393
Date: 2018-05-17T03:50:57Z
[WEEX-373][iOS] try to fix the issue about _remove_assocations
As the the crash stack shows app crash during the deallocating of
remove_assocation in JSContext object,
so we try to remove the association manually.
0 libobjc.A.dylib 0x0001916318d8 _object_remove_assocations :260 (in
libobjc.A.dylib)
1 libobjc.A.dylib 0x00019162c340 _objc_destructInstance :104 (in
libobjc.A.dylib)
2 libobjc.A.dylib 0x00019162c398 _object_dispose :28 (in
libobjc.A.dylib)
3 0x0001018d5894 NSObjectLifeCycleDealloc NSObjectLifeCycle.m:104 (in)
4 JavaScriptCore 0x0001971876ec -[JSContext dealloc] :196 (in
JavaScriptCore)
5 libobjc.A.dylib 0x00019163e134 (anonymous
namespace)::AutoreleasePoolPage::pop(void*) :836 (in libobjc.A.dylib)
6 CoreFoundation 0x000192a9ab28 _CFAutoreleasePoolPop :28 (in
CoreFoundation)
7 Foundation 0x0001936b35c0 __NSThreadPerformPerform :520 (in
Foundation)
Bug:373
---