Closed rock-tran closed 2 years ago
Do you have any repro case for this? Sadly with the limited stack trace information I have no idea where we'd start to debug/fix this.
Do you have any repro case for this? Sadly with the limited stack trace information I have no idea where we'd start to debug/fix this.
Thanks for your reply. I will try to reproduce this bug by a small project.
Guuuyyy
Right now, I can't reproduce this bug with small project, on another phone. I also can't share the code of project in company. Sorry for bother you. I will re-open it if I could make this happen again with another small project.
Sorry again. I finally found that this bug happens again with the small project, on other phones. https://github.com/rock-tran/flipper_crash_bug Please check this project.
2021-10-11 10:07:57.200 9557-9615/com.base A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9615 (FlipperConnecti), pid 9557 (com.base)
2021-10-11 10:07:57.232 9626-9626/? E/crash_dump64: unknown process state: t
2021-10-11 10:07:57.249 9626-9626/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2021-10-11 10:07:57.250 1218-1218/? I//system/bin/tombstoned: received crash request for pid 9615
2021-10-11 10:07:57.251 9626-9626/? I/crash_dump64: performing dump of process 9557 (target tid = 9615)
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: Build fingerprint: 'samsung/astarqltedx/astarqlte:10/QP1A.190711.020/G885FDXU5CUG1:user/release-keys'
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: Revision: '0'
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: ABI: 'arm64'
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: Timestamp: 2021-10-11 10:07:57+0700
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: pid: 9557, tid: 9615, name: FlipperConnecti >>> com.base <<<
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: uid: 10263
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: x0 0000000000000000 x1 000000000000258f x2 0000000000000006 x3 00000073de93b160
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: x4 00000000ebad808a x5 00000000ebad808a x6 00000000ebad808a x7 00000000ebad808b
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: x8 00000000000000f0 x9 2f6ddacecd2c9ec5 x10 0000000000000001 x11 0000000000000000
2021-10-11 10:07:57.261 9626-9626/? A/DEBUG: x12 fffffff0fffffbdf x13 0000000000000000 x14 0000000000000008 x15 0000000000000008
2021-10-11 10:07:57.262 9626-9626/? A/DEBUG: x16 00000074d6c638c0 x17 00000074d6c3ffe0 x18 00000073de044000 x19 0000000000002555
2021-10-11 10:07:57.262 9626-9626/? A/DEBUG: x20 000000000000258f x21 00000000ffffffff x22 ffffff8c216c2fdf x23 00000073de93b3c0
2021-10-11 10:07:57.262 9626-9626/? A/DEBUG: x24 00000073de93d020 x25 00000073dd1ba006 x26 0000000000000001 x27 0000000000000004
2021-10-11 10:07:57.262 9626-9626/? A/DEBUG: x28 00000073dd2f0f6c x29 00000073de93b200
2021-10-11 10:07:57.262 9626-9626/? A/DEBUG: sp 00000073de93b140 lr 00000074d6bf127c pc 00000074d6bf12a8
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: backtrace:
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: #00 pc 00000000000832a8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 71404a7ed387b7bf9be53e3be1aeb5bd)
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: #01 pc 00000000000af7e4 /data/app/com.base-4hgGKjoMdFlpIQb8YPewNQ==/lib/arm64/libc++_shared.so (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: #02 pc 00000000000aedc8 /data/app/com.base-4hgGKjoMdFlpIQb8YPewNQ==/lib/arm64/libc++_shared.so (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: #03 pc 00000000000aebf8 /data/app/com.base-4hgGKjoMdFlpIQb8YPewNQ==/lib/arm64/libc++_shared.so (__gxx_personality_v0+200) (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-10-11 10:07:57.264 9626-9626/? A/DEBUG: #04 pc 00000000004e0988 /data/app/com.base-4hgGKjoMdFlpIQb8YPewNQ==/lib/arm64/libflipper.so (BuildId: 04e09336c7558c428f26a99698d5d54588e2d72c)
@rock-tran I just built and ran the app and it works fine for me:
@passy Yes, it runs well in first time. Please kill app then open for few times. That bug will happen. Since then, the app can't be opened unless you clear data.
I've done this now nearly 10 times and it did not happen for me even once.
@passy Really weird. I think it also depends on Flipper desktop. Which one are you using ? I'm using Linux - Endeavouros.
The versions of Flipper have no impact on the way we connect to the device. We use the same tools (adb) and messaging systems (RSocket).
The app comes with a lot of additional dependencies and I haven't checked if anything else is operating in the native space but I could imagine there's some sort of clash with another C++ library.
@passy This crash happens on my colleague's Linux box too. So I guess many devs also face this. Anyway, this bug only happens if you start Flipper while app is opening, but not all times.
Hello we currently run on the same issue on our apps, after upgrading flipper to lastest version we got a native crash on boot each time. Last flipper version working was 0.105.0
Here are the log when it crash:
2021-10-20 16:33:39.323 21684-21684/fr.tiime.receipt.dev A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x75ef330f70 in tid 21684 (ime.receipt.dev), pid 21684 (ime.receipt.dev)
2021-10-20 16:33:39.390 21765-21765/? E/DEBUG: failed to read /proc/uptime: Permission denied
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: Build fingerprint: 'google/redfin/redfin:12/SP1A.210812.015/7679548:user/release-keys'
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: Revision: 'MP1.0'
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: ABI: 'arm64'
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: Timestamp: 2021-10-20 16:33:39.389793315+0200
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: Process uptime: 0s
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: Cmdline: fr.tiime.receipt.dev
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: pid: 21684, tid: 21684, name: ime.receipt.dev >>> fr.tiime.receipt.dev <<<
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: uid: 10611
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x75ef330f70
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x0 00000075ef330f70 x1 0000000000000000 x2 b400007723cfa350 x3 0000000000000000
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x4 0000000000000008 x5 0000000000000037 x6 00000000ebad808a x7 00000000ebad808b
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x8 434c4e47432b2b00 x9 0000007feb0110a0 x10 0000007feb0110a0 x11 0000000000000000
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x12 0000007feb00f3a8 x13 0000000000000000 x14 000000000000000c x15 000000000000000c
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x16 0000000000000030 x17 0000000000000030 x18 0000007957f12000 x19 0000007feb010b00
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x20 b400007723cfa350 x21 0000000000000003 x22 00000075ef0382bc x23 b4000076f3cdfe30
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x24 b400007713d015f0 x25 0000007957834000 x26 0000000000000037 x27 0000007957834000
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: x28 0000007feb011220 x29 0000007feb010a10
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: lr 00000075f334bc90 sp 0000007feb010a10 pc 00000075f334fbdc pst 0000000060001000
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: backtrace:
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #00 pc 00000000000b2bdc /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libc++_shared.so (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #01 pc 00000000000aec8c /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libc++_shared.so (__gxx_personality_v0+348) (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #02 pc 00000000004e0988 /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #03 pc 00000000004e0a44 /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #04 pc 0000000000240060 /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #05 pc 000000000023828c /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (facebook::flipper::FlipperClient::performAndReportError(std::__ndk1::function<void ()> const&)+56) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #06 pc 00000000002383ec /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (facebook::flipper::FlipperClient::addPlugin(std::__ndk1::shared_ptr<facebook::flipper::FlipperPlugin>)+84) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #07 pc 0000000000232968 /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #08 pc 00000000002327f8 /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #09 pc 00000000002d9a44 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #10 pc 00000000002d0164 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #11 pc 00000000002f47c4 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+312) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #12 pc 0000000000417a1c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+820) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #13 pc 00000000002c6858 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #14 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #15 pc 00000000004a23a6 [anon:dalvik-classes.dex extracted in memory from /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/base.apk]
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #16 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #17 pc 00000000003851d0 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #18 pc 0000000000417c94 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1452) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #19 pc 00000000003e2b30 /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+4912) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #20 pc 00000000002caa94 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #21 pc 00000000000282fc [anon:dalvik-classes16.dex extracted in memory from /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/base.apk!classes16.dex]
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #22 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #23 pc 00000000003851d0 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #24 pc 0000000000417c94 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1452) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #25 pc 00000000002c6858 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #26 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #27 pc 00000000003490ce /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #28 pc 0000000000416f0c /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+3104) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #29 pc 00000000002ca994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #30 pc 0000000000348ff6 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #31 pc 00000000002f21a8 /apex/com.android.art/lib64/libart.so (MterpInvokeSuper+2748) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #32 pc 00000000002ca914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #33 pc 0000000000028494 [anon:dalvik-classes16.dex extracted in memory from /data/app/~~En653DQpPBHnDCTzbRugQA==/fr.tiime.receipt.dev-1aaCCYoS_n0FG-tC0L4-Eg==/base.apk!classes16.dex]
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #34 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #35 pc 00000000002f3f8c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+3908) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #36 pc 00000000002c6970 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5660) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #37 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #38 pc 00000000001bfb90 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #39 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #40 pc 00000000003851d0 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #41 pc 0000000000384ab4 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+2992) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #42 pc 00000000003b8c38 /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+264) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #43 pc 00000000002cac94 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #44 pc 00000000001c81fc /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #45 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #46 pc 00000000002f3f8c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+3908) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #47 pc 0000000000416ca4 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+2488) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #48 pc 00000000002ca994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #49 pc 00000000001c4f42 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #50 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #51 pc 00000000002f3f8c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+3908) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #52 pc 0000000000416ca4 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+2488) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #53 pc 00000000002ca994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #54 pc 00000000001c1d7c /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #55 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #56 pc 00000000003851d0 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #57 pc 0000000000417c94 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1452) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #58 pc 000000000077699c /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+3812) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #59 pc 00000000002caa14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #60 pc 00000000001be520 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #61 pc 00000000002c5c48 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #62 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #63 pc 00000000004232ce /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #64 pc 00000000002c5c48 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #65 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #66 pc 000000000044ccc6 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #67 pc 0000000000776300 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2120) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #68 pc 00000000002caa14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #69 pc 000000000044d308 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #70 pc 0000000000775d24 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+620) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #71 pc 00000000002caa14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #72 pc 00000000001c8532 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #73 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #74 pc 000000000027cf1c /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #75 pc 00000000002d9b78 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #76 pc 00000000002d03e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #77 pc 0000000000364c64 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+608) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #78 pc 00000000003649dc /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #79 pc 00000000000b2f74 /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+132) (BuildId: ab2bf4ec264efdb6c452a238be38fe624de826b8)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #80 pc 00000000002d0164 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #81 pc 00000000002f47c4 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+312) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #82 pc 0000000000417a1c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+820) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #83 pc 00000000002c6858 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #84 pc 00000000002ca894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #85 pc 00000000002474e6 /system/framework/framework.jar
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #86 pc 000000000027dd74 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #87 pc 000000000027cf1c /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #88 pc 00000000002d9b78 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #89 pc 00000000008234c8 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2232) (BuildId: 43a571a0ad85d6451b47016336a541ecb0eb12bb)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #90 pc 00000000002d03e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #91 pc 0000000000456c68 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+464) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #92 pc 0000000000635b00 /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+268) (BuildId: cdecb8dde1264c9871695c29854aa3b1)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #93 pc 00000000000aeac4 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: f21e19bfa4e5c3afad804a71681c9fca)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #94 pc 00000000000ba05c /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+836) (BuildId: f21e19bfa4e5c3afad804a71681c9fca)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #95 pc 000000000000258c /system/bin/app_process64 (main+1336) (BuildId: 4ecb2c57d6667e4a94a73568ce392d22)
2021-10-20 16:33:39.636 21765-21765/? A/DEBUG: #96 pc 00000000000488c8 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: ba489d4985c0cf173209da67405662f9)
2021-10-20 16:33:39.654 900-900/? E/tombstoned: Tombstone written to: tombstone_07
2021-10-20 16:33:39.715 1054-1060/? E/statsd: Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10611[I] (10)0x30000->fiid-sync[S]
2021-10-20 16:33:39.729 1054-1060/? E/statsd: Predicate 5980654721335871649 dropping data for dimension key (10)0x2010101->10611[I] (10)0x30000->*launch*[S]
I got the same crash here as @rock-tran. I think @ligol's trace is a different issue.
My trace has an Abort message which might be helpful:
Abort message: 'terminating with uncaught exception of type folly::AsyncSocketException: AsyncSocketException: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed, type = SSL error'
Also, is it trying to send crash data to dropbox?
31553-31631/com.nextdoor.android.debug A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 31631 (FlipperConnecti), pid 31553 (r.android.debug)
31641-31641/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
906-906/? I/tombstoned: received crash request for pid 31631
31641-31641/? I/crash_dump64: performing dump of process 31553 (target tid = 31631)
31641-31641/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
31641-31641/? A/DEBUG: LineageOS Version: '18.1-20210608-NIGHTLY-crosshatch'
31641-31641/? A/DEBUG: Build fingerprint: 'google/crosshatch/crosshatch:11/RQ2A.210505.002/7246365:user/release-keys'
31641-31641/? A/DEBUG: Revision: 'MP1.0'
31641-31641/? A/DEBUG: ABI: 'arm64'
31641-31641/? A/DEBUG: Timestamp: 2021-10-20 17:19:54-0700
31641-31641/? A/DEBUG: pid: 31553, tid: 31631, name: FlipperConnecti >>> com.nextdoor.android.debug <<<
31641-31641/? A/DEBUG: uid: 10405
31641-31641/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
31641-31641/? A/DEBUG: Abort message: 'terminating with uncaught exception of type folly::AsyncSocketException: AsyncSocketException: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed, type = SSL error'
31641-31641/? A/DEBUG: x0 0000000000000000 x1 0000000000007b8f x2 0000000000000006 x3 0000006cec6cc430
31641-31641/? A/DEBUG: x4 00000000ebad808a x5 00000000ebad808a x6 00000000ebad808a x7 00000000ebad808b
31641-31641/? A/DEBUG: x8 00000000000000f0 x9 7398cc3b0195001b x10 0000000000000000 x11 ffffffc0fffffbdf
31641-31641/? A/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 0000000000000008 x15 0000000000000008
31641-31641/? A/DEBUG: x16 0000007016dfcc80 x17 0000007016ddec10 x18 0000006ceb9ea000 x19 0000000000007b41
31641-31641/? A/DEBUG: x20 0000000000007b8f x21 00000000ffffffff x22 ffffffffffffff7d x23 0000006cec6cc690
31641-31641/? A/DEBUG: x24 0000000000000082 x25 0000006ceaec1006 x26 0000000000000001 x27 0000000000000002
31641-31641/? A/DEBUG: x28 0000000000000055 x29 0000006cec6cc4b0
31641-31641/? A/DEBUG: lr 0000007016d912a0 sp 0000006cec6cc410 pc 0000007016d912cc pst 0000000000000000
31641-31641/? A/DEBUG: backtrace:
31641-31641/? A/DEBUG: NOTE: Function names and BuildId information is missing for some frames due
31641-31641/? A/DEBUG: NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
31641-31641/? A/DEBUG: NOTE: found under the lib/ directory are readable.
31641-31641/? A/DEBUG: NOTE: On this device, run setenforce 0 to make the libraries readable.
31641-31641/? A/DEBUG: #00 pc 000000000004e2cc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: be9c72fe4db37cd191b589b74d090d13)
31641-31641/? A/DEBUG: #01 pc 00000000000af7e4 /data/data/com.nextdoor.android.debug/lib-main/libc++_shared.so
31641-31641/? A/DEBUG: #02 pc 00000000000aedc8 /data/data/com.nextdoor.android.debug/lib-main/libc++_shared.so
31641-31641/? A/DEBUG: #03 pc 00000000000aebf8 /data/data/com.nextdoor.android.debug/lib-main/libc++_shared.so
31641-31641/? A/DEBUG: #04 pc 00000000004e0988 /data/data/com.nextdoor.android.debug/lib-main/libflipper.so
1433-31645/? I/DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
1433-31644/? W/ActivityTaskManager: Force finishing activity com.nextdoor.android.debug/com.nextdoor.nux.LoadAppConfigurationActivity
906-906/? E/tombstoned: Tombstone written to: /data/tombstones/tombstone_30
1433-1545/? I/BootReceiver: Copying /data/tombstones/tombstone_30 to DropBox (SYSTEM_TOMBSTONE)
1433-31645/? W/DropBoxManagerService: Dropping: data_app_native_crash (2476 > 0 bytes)
1433-1545/? I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
1433-1489/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
1433-1489/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
1433-1545/? W/DropBoxManagerService: Dropping: SYSTEM_TOMBSTONE (10 > 0 bytes)
1433-1489/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
1433-1489/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
1-1/? I/init: Untracked pid 31641 exited with status 0
1-1/? I/init: Untracked pid 31643 exited with status 0
1433-1456/? I/ActivityManager: Process com.nextdoor.android.debug (pid 31553) has died: prcp TOP
1433-1825/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ TRACK_DEFAULT id=740, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10405 AdministratorUids: [] RequestorUid: 10405 RequestorPackageName: com.nextdoor.android.debug] ], android.os.BinderProxy@85fa994)
1433-1877/? D/ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=740, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10405 AdministratorUids: [] RequestorUid: 10405 RequestorPackageName: com.nextdoor.android.debug] ] (release request)
921-921/? I/Zygote: Process 31553 exited due to signal 6 (Aborted)
1433-1484/? W/WindowManager: Failed looking up window session=Session{6c0afaa 1433:1000} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5443 com.android.server.wm.WindowManagerService.removeWindow:1898 com.android.server.wm.Session.remove:193
1433-1528/? I/libprocessgroup: Successfully killed process cgroup uid 10405 pid 31553 in 44ms
Thanks @rock-tran for the workaround of clearing app data
Also, is it trying to send crash data to dropbox?
Yes, but DropBox
, not Dropbox. :)
https://developer.android.com/reference/android/os/DropBoxManager
Thanks for the additional traces. There seem to be different errors at play here. We'll take a look if there's something we can do.
Hi, I'm facing the same issue (as @ligol said, 0.105.0 is last working version)
For me, it's ok when we start my app while Flipper desktop is running, but when we close desktop app the native crash occurs:
2021-11-02 17:37:03.411 7422-7461/com.tabesto.debug I/flipper: flipper: FlipperClient::onDisconnected
2021-11-02 17:37:05.435 7422-7461/com.tabesto.debug A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 7461 (FlipperConnecti), pid 7422 (m.tabesto.debug)
The wiping data workaround works but not forever (crash remains after each FlipperClient::onDisconnected
)...
@julienherrero thanks for reporting this, I will investigate further with the provided steps.
I'm able to reproduce this locally. Not entirely sure what the problem is at the moment, but will continue to investigate.
Got the same. Instantly crashes after the attempt to launch the process.
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: Build fingerprint: 'google/redfin/redfin:12/SP1A.210812.015/7679548:user/release-keys'
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: Revision: 'MP1.0'
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: ABI: 'arm64'
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: Timestamp: 2021-11-16 11:01:15.838519889+0200
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: Process uptime: 0s
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: Cmdline: ee.mtakso.client.preLive
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: pid: 12744, tid: 12868, name: FlipperConnecti >>> ee.mtakso.client.preLive <<<
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: uid: 10435
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x0 0000000000000000 x1 0000000000003244 x2 0000000000000006 x3 0000007adfb0da50
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x4 00000000ebad808a x5 00000000ebad808a x6 00000000ebad808a x7 00000000ebad808b
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x8 00000000000000f0 x9 3af442808e4d882b x10 0000000000000000 x11 ffffff80fffffbdf
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 0000000000000008 x15 0000000000000008
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x16 0000007e47710050 x17 0000007e476eceb0 x18 0000007adea78000 x19 00000000000031c8
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x20 0000000000003244 x21 00000000ffffffff x22 ffffffffffffff7d x23 0000007adfb0dcb0
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x24 0000000000000082 x25 0000007adb1bc006 x26 0000000000000001 x27 0000000000000002
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: x28 0000000000000075 x29 0000007adfb0dad0
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: lr 0000007e4769fba0 sp 0000007adfb0da30 pc 0000007e4769fbcc pst 0000000000000000
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: backtrace:
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #00 pc 000000000004fbcc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ba489d4985c0cf173209da67405662f9)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #01 pc 00000000000af7e4 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libc++_shared.so (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #02 pc 00000000000aedc8 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libc++_shared.so (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #03 pc 00000000000aebf8 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libc++_shared.so (__gxx_personality_v0+200) (BuildId: 31abebc1b564add54fe43b52ce69acac326be4fe)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #04 pc 00000000004e0988 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #05 pc 00000000004e0a44 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #06 pc 000000000027c038 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::throwSystemErrorExplicit(int, char const*)+72) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #07 pc 0000000000343e2c /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (void folly::throwSystemError<char const (&) [23]>(char const (&) [23])+28) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #08 pc 00000000003429c0 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::SocketAddress::setFromLocalAddress(folly::NetworkSocket)+116) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #09 pc 00000000002d7d88 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSocket::getLocalAddress(folly::SocketAddress*) const+44) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #10 pc 00000000002d1258 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSocket::withAddr(folly::Range<char const*>)+92) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #11 pc 00000000002dd390 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSocket::finishFail()+52) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #12 pc 00000000002c3820 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSSLSocket::handleConnect()+1104) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #13 pc 00000000002c3e48 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSSLSocket::handleRead()+460) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #14 pc 00000000002d9a1c /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::AsyncSocket::ioReady(unsigned short)+428) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #15 pc 0000000000021b18 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libevent_core-2.1.so (BuildId: 30584271e21e313ae9306bad779263e78fa07874)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #16 pc 000000000001e464 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libevent_core-2.1.so (event_base_loop+1396) (BuildId: 30584271e21e313ae9306bad779263e78fa07874)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #17 pc 00000000002e542c /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::EventBase::loopBody(int, bool)+668) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #18 pc 00000000002e60a4 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (folly::EventBase::loopForever()+36) (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #19 pc 00000000002373fc /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/lib/arm64/libflipper.so (BuildId: 88097a599f45d039c16788033c7d6cf335c48dfd)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #20 pc 0000000000222244 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #21 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #22 pc 0000000000486d24 /data/app/~~EZivjgfbDxYpywt1Wh9kIA==/ee.mtakso.client.preLive-9beIH2Ge04nYYZHu1sgkgA==/oat/arm64/base.vdex
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #23 pc 0000000000218964 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #24 pc 0000000000284208 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+188) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #25 pc 000000000061fb98 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #26 pc 000000000066e75c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1184) (BuildId: 94976c5316ac3f54a618411251c59f9f)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #27 pc 00000000000b1910 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: ba489d4985c0cf173209da67405662f9)
2021-11-16 11:01:16.221 12901-12901/? A/DEBUG: #28 pc 00000000000513f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ba489d4985c0cf173209da67405662f9)
We are still investigating the issue, this issue is the same as reported here: https://github.com/facebook/flipper/issues/3026
For the time being, this works:
If the crash is found, either uninstall/install the app or delete the following directory from within the application sandbox:
files/sonar
.
Here's a potential workaround to address the crash.
Downgrade the NDK version located in build.gradle found in the project root folder from R23 to R21. It should look something like this:
ext { minSdkVersion = 15 targetSdkVersion = 30 compileSdkVersion = 30 buildToolsVersion = '30.0.2' //ndkVersion = '23.0.7599858' ndkVersion = '21.3.6528147' }
Please ensure that NDK21 is available in your system.
We are still working on the actual solution.
That repro steps are works for me:
@lblasa Wouldn't it be a good fast solution now to roll back the build of the client-side library to the stable version of the NDK and rebuild it by facebook team? Not everybody has time to re-build the client flipper part from the sources.
We identified an NDK mismatch with the fbjni library as the most likely culprit. I've made a new release of that yesterday and upgraded Flipper. With tomorrow's release, this should be addressed. You can also use the latest SNAPSHOT release if this is blocking you.
@lblasa Your workaround (downgrade NDK) seems to be working for me. Thanks!
@passy looks like 0.121.0 is out now but no release notes (just a heads up)
@passy this issue seems disappear since the version 0.122.0
@passy this issue seems disappear since the version 0.122.0
I confirm, seems also OK on my projects
Even with flipper 0.122.0, my app crashes on Android if I quit flipper.
@grit96 could you please verify what's the Flipper Android release you are using?
@grit96 Make sure that you use the same versions on both Flipper Android plugin and Desktop.
The crash is specifically when quitting flipper or trying to start the app without flipper running. Still the same using flipper 0.123.0.
@grit96 just to clarify a few things, the Flipper Desktop version is not important here. The issue was the usage of different NDK versions between Flipper and one of its dependencies. So the solution is to use the latest Flipper Android SDK v0.123.0 (bump the version in your build.gradle file)
A workaround was provided which was to downgrade the NDK from r23 to r21.
@grit96 just to clarify a few things, the Flipper Desktop version is not important here. The issue was the usage of different NDK versions between Flipper and one of its dependencies. So the solution is to use the latest Flipper Android SDK ('com.facebook.flipperš¬0.123.0').
A workaround was provided which was to downgrade the NDK from r23 to r21.
I am using v0.123.0 of the flipper Android SDK and r21 of the NDK (see screenshots in the previous comment), therefore the issue should be resolved - but I'm still seeing this crash.
@grit96 in that case, don't use NDK r21. Use NDK r23. That should address the issue.
I don't know what's going on but the app still crashes when I quit flipper using NDK r23 (23.1.7779620).
I'm using .0.122.0 with no crashing but IĀ am also using NDK 21.3.6528147 which @passy recommended
@ligol have you able to resolve this issue? i am facing the same issue
No last time i tried with latest version it still crash but i need to investigate because we have other library using NDK that may not be build with latest NDK.
A new finding: based on the workaround about clearing app data, I found that you only need to delete "{context.filesDir}/sonar" dir.
so, seems https://github.com/facebook/flipper/issues/2948#issuecomment-948141791 is the root cause. looks like there's an issue for sonar to verify the remote client cert created by itself before.
btw, my app setup has no ndk, so not able to try downgrading ndk version.
cc @passy @ligol
š Bug Report
After refresh install app which use Flipper, app can run successfully. Then using app around, kill and re-open few times, the app can't start again. The log like this
If I clear app data, app can re-run successfully.
To Reproduce
Just setup Android App using Flipper
Environment
Android 10 Flipper Desktop : 0.113.0 Flipper Plugin on Android : 0.113.0 Desktop OS : endeavouros-2021.08.27-x86_64