[go: nahoru, domu]

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

[Android] record ipc exception history and weexCoreThread stackTrace … #2826

Merged
merged 2 commits into from
Aug 14, 2019

Conversation

lucky-chen
Copy link
Contributor

[Android] record ipc exception history and weexCoreThread stackTrace when white screen or js process died/reload

@weex-bot
Copy link
weex-bot commented Aug 14, 2019
Warnings
⚠️ Potential BREAK CHANGE. Modify public in android/sdk/src/main/java/com/taobao/weex/performance/WXStateRecord.java without metion it in commit message. You'd better add '@notdanger' in your commit log.
⚠️ Potential BREAK CHANGE. Modify public in android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java without metion it in commit message. You'd better add '@notdanger' in your commit log.
⚠️ No Changelog changes! - Can you add a Changelog? To do so,append your changes to the changelog.md
⚠️ Current pr not bind the milestone
⚠️ If your PR is about fixing a bug excluding crash the code,you should add the demo link in the PR description. Demo link: http://dotwe.org/vue
Messages
📖 danger test finished.

Generated by 🚫 dangerJS against 3dee67e

@@ -876,6 +876,10 @@ public int callReportCrashReloadPage(String instanceId, String crashFile) {
url = instance.getBundleUrl();
instance.setHasException(true);
}
Map<String,String> extInfo = new HashMap<>(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

map 的 size 为啥不直接设置成 2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix done

@@ -112,6 +112,7 @@ void IPCFutexPageQueue::lock(size_t id, bool checkFinish)
break;
}
struct timespec waitTime = { m_timeoutSec, 0 };
LOGE("IPCException IPCFutexPageQueue:: start futex wait");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPC_LOGE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix done

@lucky-chen lucky-chen force-pushed the feature/ws_record_thread_ipc_info branch from d0ca1e2 to 69d16a2 Compare August 14, 2019 08:51
@lucky-chen lucky-chen force-pushed the feature/ws_record_thread_ipc_info branch from 69d16a2 to 47650b6 Compare August 14, 2019 08:56
Copy link
Contributor
@Darin726 Darin726 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor
@Darin726 Darin726 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Darin726 Darin726 merged commit a994ce9 into apache:master Aug 14, 2019
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

3 participants