[
https://issues.apache.org/jira/browse/WEEX-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478475#comment-16478475
]
ASF GitHub Bot commented on WEEX-373:
-------------------------------------
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 0x00000001916318d8 _object_remove_assocations :260 (in
libobjc.A.dylib)
1 libobjc.A.dylib 0x000000019162c340 _objc_destructInstance :104 (in
libobjc.A.dylib)
2 libobjc.A.dylib 0x000000019162c398 _object_dispose :28 (in
libobjc.A.dylib)
3 0x00000001018d5894 NSObjectLifeCycleDealloc NSObjectLifeCycle.m:104 (in)
4 JavaScriptCore 0x00000001971876ec -[JSContext dealloc] :196 (in
JavaScriptCore)
5 libobjc.A.dylib 0x000000019163e134 (anonymous
namespace)::AutoreleasePoolPage::pop(void*) :836 (in libobjc.A.dylib)
6 CoreFoundation 0x0000000192a9ab28 _CFAutoreleasePoolPop :28 (in
CoreFoundation)
7 Foundation 0x00000001936b35c0 __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 <zhangxing610321@...>
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 0x00000001916318d8 _object_remove_assocations :260 (in
libobjc.A.dylib)
1 libobjc.A.dylib 0x000000019162c340 _objc_destructInstance :104 (in
libobjc.A.dylib)
2 libobjc.A.dylib 0x000000019162c398 _object_dispose :28 (in
libobjc.A.dylib)
3 0x00000001018d5894 NSObjectLifeCycleDealloc NSObjectLifeCycle.m:104 (in)
4 JavaScriptCore 0x00000001971876ec -[JSContext dealloc] :196 (in
JavaScriptCore)
5 libobjc.A.dylib 0x000000019163e134 (anonymous
namespace)::AutoreleasePoolPage::pop(void*) :836 (in libobjc.A.dylib)
6 CoreFoundation 0x0000000192a9ab28 _CFAutoreleasePoolPop :28 (in
CoreFoundation)
7 Foundation 0x00000001936b35c0 __NSThreadPerformPerform :520 (in
Foundation)
Bug:373
----
> try to resolve the crash of _object_remove_assocations
> ------------------------------------------------------
>
> Key: WEEX-373
> URL: https://issues.apache.org/jira/browse/WEEX-373
> Project: Weex
> Issue Type: Improvement
> Components: iOS
> Reporter: xingZhang
> Assignee: xingZhang
> Priority: Major
>
> 0 libobjc.A.dylib 0x00000001916318d8 _object_remove_assocations :260 (in
> libobjc.A.dylib)
> 1 libobjc.A.dylib 0x000000019162c340 _objc_destructInstance :104 (in
> libobjc.A.dylib)
> 2 libobjc.A.dylib 0x000000019162c398 _object_dispose :28 (in libobjc.A.dylib)
> 3 0x00000001018d5894 NSObjectLifeCycleDealloc NSObjectLifeCycle.m:104 (in)
> 4 JavaScriptCore 0x00000001971876ec -[JSContext dealloc] :196 (in
> JavaScriptCore)
> 5 libobjc.A.dylib 0x000000019163e134 (anonymous
> namespace)::AutoreleasePoolPage::pop(void*) :836 (in libobjc.A.dylib)
> 6 CoreFoundation 0x0000000192a9ab28 _CFAutoreleasePoolPop :28 (in
> CoreFoundation)
> 7 Foundation 0x00000001936b35c0 __NSThreadPerformPerform :520 (in Foundation)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)