Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-373][iOS] try to fix the issue about _remove_assocations #1182

Merged
merged 1 commit into from
May 17, 2018

Conversation

acton393
Copy link
Member

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

 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
@weex-bot
Copy link

weex-bot commented May 17, 2018

Messages
📖 has no android file changed.
📖 android test finished.

Generated by 🚫 dangerJS

@asfgit asfgit merged commit 621a325 into apache:master May 17, 2018
@acton393 acton393 deleted the ios-fix-objc-assocation branch May 17, 2018 04:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants