环境:
微信版本:6.3.7
机型:Mi3w
Android :4.4.4
MIUI:7 5.9.24 开发版

描述:
从知乎分享一篇文章到微信群聊后,然后在群聊打字,点击发送,出现闪退现象
出现概率:
共出现两次,但是清理内存后,无法重现。

可能的错误日志:

11-25 15:06:28.163: E/JavaBinder(6498): java.lang.StackOverflowError
11-25 15:06:28.163: E/JavaBinder(6498):     at java.lang.StringBuilder.append(StringBuilder.java:44)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.util.Formatter.outputCharSequence(Formatter.java:1094)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.util.Formatter.doFormat(Formatter.java:1066)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.util.Formatter.format(Formatter.java:1042)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.util.Formatter.format(Formatter.java:1011)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.lang.String.format(String.java:1999)
11-25 15:06:28.163: E/JavaBinder(6498):     at java.lang.String.format(String.java:1973)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.sdk.platformtools.v.i(SourceFile:259)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.BinderProxy.transact(Native Method)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.e$a$a.a(SourceFile:362)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:7588)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.j(SourceFile:2045)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.n(SourceFile:232)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h$1.a(SourceFile:614)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.BinderProxy.transact(Native Method)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.e$a$a.a(SourceFile:362)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:7588)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.j(SourceFile:2045)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.n(SourceFile:232)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h$1.a(SourceFile:614)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.BinderProxy.transact(Native Method)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.e$a$a.a(SourceFile:362)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:7588)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.j(SourceFile:2045)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.n(SourceFile:232)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h$1.a(SourceFile:614)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.BinderProxy.transact(Native Method)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.e$a$a.a(SourceFile:362)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:7588)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.j(SourceFile:2045)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.n(SourceFile:232)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h$1.a(SourceFile:614)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.BinderProxy.transact(Native Method)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.e$a$a.a(SourceFile:362)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:7588)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.l(SourceFile:232)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h$1.a(SourceFile:610)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.ui.tools.jsapi.h.a(SourceFile:922)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.WebViewStubService$1.a(SourceFile:808)
11-25 15:06:28.163: E/JavaBinder(6498):     at com.tencent.mm.plugin.webview.stub.d$a.onTransact(SourceFile:424)
11-25 15:06:28.163: E/JavaBinder(6498):     at android.os.Binder.execTransact(Binder.java:404)
11-25 15:06:28.163: E/JavaBinder(6498):     at an

或者是

11-25 15:06:28.873: A/MicroMsg_Crash(6498): Process:            com.tencent.mm
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Crash Thread:       6579(total:48)
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Date/Time:          2105-11-25 +8.00 15:06:28.840
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Live Time:          8s
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Device:             MI 3W android-19
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Exception info:     
11-25 15:06:28.873: A/MicroMsg_Crash(6498): Siginfo:            errno:0, pid:6498, uid:10107, process:/init->zygote->com.tencent.mm
11-25 15:06:28.903: A/MicroMsg_Crash(6498): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-25 15:06:28.903: A/MicroMsg_Crash(6498): Build fingerprint: Xiaomi/cancro/cancro:4.4.4/KTU84P/5.9.24:user/release-keys
11-25 15:06:28.903: A/MicroMsg_Crash(6498): pid: 6498, tid: 6579  >>> com.tencent.mm <<<
11-25 15:06:28.903: A/MicroMsg_Crash(6498): signal 6 (SIGABRT), code -6 (?), fault addr 00001962
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #00  pc 0x2210c  /system/lib/libc.so (tgkill+12)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #01  pc 0x13165  /system/lib/libc.so (pthread_kill+48)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #02  pc 0x13379  /system/lib/libc.so (raise+10)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #03  pc 0x120a3  /system/lib/libc.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #04  pc 0x219c0  /system/lib/libc.so (abort+4)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #05  pc 0x48b1f  /system/lib/libdvm.so (dvmAbort+78)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #06  pc 0x57789  /system/lib/libdvm.so (dvmDetachCurrentThread()+548)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #07  pc 0x4bf57  /system/lib/libdvm.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #08  pc 0x72b4d  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #09  pc 0x72f81  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #10  pc 0x19225  /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #11  pc 0x1d799  /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+50
11-25 15:06:28.903: A/MicroMsg_Crash(6498): )
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #12  pc 0x1d9a7  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+250)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #13  pc 0x1dadf  /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+118)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #14  pc 0x19791  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #15  pc 0x73215  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #16  pc 0x2034c  /system/lib/libdvm.so (dvmPlatformInvoke+112)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #17  pc 0x50fcf  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #18  pc 0x297e0  /system/lib/libdvm.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #19  pc 0x30c6c  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #20  pc 0x2e304  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #21  pc 0x63431  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #22  pc 0x4fd35  /syste
11-25 15:06:28.903: A/MicroMsg_Crash(6498): /lib/libdvm.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #23  pc 0x6dfff  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #24  pc 0x72f63  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #25  pc 0x19225  /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #26  pc 0x1d799  /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+508)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #27  pc 0x1d9a7  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+250)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #28  pc 0x1dadf  /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+118)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #29  pc 0x19791  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #30  pc 0x73215  /system/lib/libandroid_runtime.so (???)
11-25 15:06:28.903: A/MicroMsg_Crash(6498):   #31  pc 0x2034c  /system/lib/libdvm.so (dvmPlatformInvoke+112)

然后查看微信的内存的时候,发现了这个:

猜测 com.tencent.mm 是微信的主进程,但是主进程会有两个吗?


↙↙↙阅读原文可查看相关链接,并与作者交流