New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 17, 2018

Conversation

Projects
None yet
4 participants
@acton393
Member

acton393 commented May 17, 2018

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

This comment has been minimized.

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

1 of 2 checks passed

continuous-integration/travis-ci/push The Travis CI build is in progress
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@acton393 acton393 deleted the acton393:ios-fix-objc-assocation branch May 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment