Skip to content
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

com.tencent.mars.xlog.Xlog.appenderOpen调用偶现崩溃问题 #972

Open
liuefng opened this issue Sep 14, 2021 · 0 comments
Open

com.tencent.mars.xlog.Xlog.appenderOpen调用偶现崩溃问题 #972

liuefng opened this issue Sep 14, 2021 · 0 comments

Comments

@liuefng
Copy link

liuefng commented Sep 14, 2021

收集到com.tencent.mars.xlog.Xlog.appenderOpen调用崩溃的log,详细log如下:

"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 flags=1 obj=0x71817f40 self=0xea120a00
| sysTid=20423 nice=-10 cgrp=default sched=0/0 handle=0xea576fc0
| state=D schedstat=( 142616312 30868303 117 ) utm=4 stm=9 core=5 HZ=100
| stack=0xff708000-0xff70a000 stackSize=8192KB
| held mutexes=
kernel: (couldn't read /proc/self/task/20423/stack)
native: #00 pc 0008ceb8 /apex/com.android.runtime/lib/bionic/libc.so (write+12)
native: #1 pc 00094cf7 /apex/com.android.runtime/lib/bionic/libc.so (__swrite+18)
native: #2 pc 000957bb /apex/com.android.runtime/lib/bionic/libc.so (__FILE_close(__sFILE*)+98)
native: #3 pc 00004c93 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (???)
native: #4 pc 000086e3 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (???)
native: #5 pc 00008811 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (???)
native: #6 pc 00009091 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (appender_open(TAppenderMode, char const*, char const*, char const*)+732)
native: #7 pc 00009659 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (appender_open_with_cache(TAppenderMode, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator> const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator> const&, char const*, int, char const*)+928)
native: #8 pc 00004be5 /system/app/Test_for_Huawei/Test_for_Huawei.apk!libmarsxlog.so (offset 2c92000) (Java_com_tencent_mars_xlog_Xlog_appenderOpen+316)
native: #9 pc 0006fb73 /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (art_jni_trampoline+218)
native: #10 pc 000e2bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68)
native: #11 pc 0044921f /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+246)
native: #12 pc 000eb029 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
native: #13 pc 002206f1 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280)
native: #14 pc 0021cce5 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+524)
native: #15 pc 0044316d /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+188)
native: #16 pc 000ddc94 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20)
native: #17 pc 004e7f2a /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (com.tencent.mars.xlog.Xlog.open+50)
native: #18 pc 001fbdb7 /apex/com.android.runtime/lib/libart.so (ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.12957341659865313744+266)
native: #19 pc 00200745 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+124)
native: #20 pc 00432645 /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+808)
native: #21 pc 000e75a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32)
native: #22 pc 000e2bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68)
native: #23 pc 0044921f /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+246)
native: #24 pc 000eb029 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
native: #25 pc 002206f1 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280)
native: #26 pc 0021cce5 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+524)
native: #27 pc 0044316d /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+188)
native: #28 pc 000ddc94 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20)
native: #29 pc 004a0328 /data/dalvik-
native: #30 pc 00443af7 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtualQuick+1118)
native: #31 pc 000e1594 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual_quick+20)
native: #32 pc 004a460e /data/dalvik-
native: #33 pc 00443af7 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtualQuick+1118)
native: #34 pc 000e1594 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual_quick+20)
native: #35 pc 0047c782 /data/dalvik-
native: #36 pc 00440b97 /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+910)
native: #37 pc 000dd994 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+20)
native: #38 pc 0031bff4 /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected]
native: #39 pc 00443af7 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtualQuick+1118)
native: #40 pc 000e1594 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual_quick+20)
native: #41 pc 004e8618 /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (com.tencent.tinker.entry.TinkerApplicationInlineFence.attachBaseContextImpl
$noinline$+20)
native: #42 pc 004404a1 /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+980)
native: #43 pc 000dd914 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20)
native: #44 pc 004e85ec /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (com.tencent.tinker.entry.TinkerApplicationInlineFence.attachBaseContext)
native: #45 pc 0043facd /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1432)
native: #46 pc 000dda14 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20)
native: #47 pc 004f3b48 /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached+56)
native: #48 pc 004404a1 /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+980)
native: #49 pc 000dd914 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20)
native: #50 pc 004f3a42 /data/dalvik-cache/arm/system@app@Test_for_Huawei@[email protected] (com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext+22)
native: #51 pc 001fbdb7 /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.12957341659865313744+266)
native: #52 pc 00200745 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+124)
native: #53 pc 00432645 /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+808)
native: #54 pc 000e75a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32)
at com.tencent.mars.xlog.Xlog.appenderOpen(Native method)
at com.tencent.mars.xlog.Xlog.open(Proguard:35)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant