Closed iozho closed 5 days ago
please run adb logcat connect phone to pc adb logcat > log.txt reproduce issue attach log.txt file
Hi gwolf2u:
Unfortunately it is not easy to reproduce - the log above is from the /sys/fs/pstore/dmesg-ramoops-0 .
Actually was able to extract the issue (system_server is crashing which leads to reboot - apologies for bad format):
@To enable debug logging run: adb shell setprop log.tag.FA VERBOSE^@l ^@ç(3K^@<90>K<90>z§f&nÑ^F^DFA^@To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app com.microsoft.windowsintune.companyportal^@l¢^@ä(|z^@ù6<90>z§f<87>ôú^G^Dsync15::client::storage_client^@Successful request to "/1.5/160451878/storage/clients", incoming x-last-modified=ServerTimestamp(1722246084560)^@lg^@ä(|z^@ù6<90>z§fdê^N^H^Dsync15::clients_engine::engine^@Upload success (0 records success, 0 records failed)^@lK^@ä(|z^@ù6<90>z§f^?<83>^T^H^Dsync15::clients_engine::engine^@Finished syncing clients^@lG^@ä(|z^@ù6<90>z§fL6^Y^H^Dsync15::client::sync_multiple^@Synchronizing engines^@lF^@ä(|z^@ù6<90>z§f^W±^^^H^Dsync15::client::syncmultiple^@Syncing tabs engine!^@l@^@ä(|z^@ù6<90>z§fÎô"^H^Dsync15::client::sync^@Syncing collection tabs^@lQ^@ä(|z^@ù6<90>z§fé<9c>Y^H^Dsync15::client::sync^@skipping incoming for tabs - not needed.^@l9^@ä(|z^@ù6<90>z§ff<93>^H^Dsync15::client::sync^@Applying changes^@l}^@r(8!^@8!<90>z§f"v<92>^H^CBoundBrokerSvc^@onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }^@l97>^@r(8!^@8!<90z§fïc<97>^H^CBoundBrokerSvc^@Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }^@lE^@ä(|z^@ù6<90>z§f<9b>T<9f>^H^Dsync15::client::sync^@Uploading 1 outgoing changes^@lK^@ä(|z^@ù6<90>z§fú´§^H^Dsync15::client::request^@Posting 1 records of 1358 bytes^@l²^@o(CG^@]G<90>z§f<9f><9a>X ^DFinsky^@[34] nee.run(509): Stats for Executor: BlockingExecutor pxh@6f04e50[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 21]^@l¶^@o(CG^@]G<90>z§fì±] ^DFinsky^@[34] nee.run(509): Stats for Executor: LightweightExecutor pxh@e0de849[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 139]^@lZ^@è^C·J^D·J<90>z§f<91>^@² ^GDEBUG^@ ^@l2^@è^C·J^D·J<90>z§faW³ ^GDEBUG^@crDroid Version: '10.6' ^@ll^@è^C·J^D·J<90>z§f¨³ ^GDEBUG^@Build fingerprint: 'Xiaomi/ginkgo/ginkgo:14/AP2A.240705.005/97:user/release-keys' ^@l(^@è^C·J^D·J<90>z§fcå³ ^GDEBUG^@Revision: '0' ^@l'^@è^C·J^D·J<90>z§fÏ^U´ ^GDEBUG^@ABI: 'arm64' ^@lH^@è^C·J^D·J<90>z§fÊC´ ^GDEBUG^@Timestamp: 2024-07-29 14:18:37.880514195+0300 ^@l2^@è^C·J^D·J<90>z§f¢u´ ^GDEBUG^@Process uptime: 151570s ^@l1^@è^C·J^D·J<90>z§f^Kì´ ^GDEBUG^@Cmdline: system_server ^@lY^@è^C·J^D·J<90>z§f<96>#µ ^GDEBUG^@pid: 3063, tid: 3225, name: InputReader >>> system_server <<< ^@l$^@è^C·J^D·J<90>z§fãXµ ^GDEBUG^@uid: 1000 ^@lV^@è^C·J^D·J<90>z§fY<97>µ ^GDEBUG^@signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- ^@l96>^@è^C·J^D·J<90z§f§Ìµ ^GDEBUG^@Abort message: 'trackInputEvent: device 'trinket-idp-snd-card Headset Jack' received invalid EV_SW event code: 19 value: 1' ^@lu^@è^C·J^D·J<90>z§f%<¶ ^GDEBUG^@ x0 0000000000000000 x1 0000000000000c99 x2 0000000000000006 x3 0000007b3b4aeaf0 ^@lu^@è^C·J^D·J<90>z§fÎz¶ ^GDEBUG^@ x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000007b3b4ae928 ^@lu^@è^C·J^D·J<90>z§fLê¶ ^GDEBUG^@ x8 00000000000000f0 x9 0000007cc2ccdbd8 x10 0000000000000001 x11 0000007cc2d6c930 ^@lu^@è^C·J^D·J<90>z§f!'· ^GDEBUG^@ x12 0000007b57a72350 x13 0000007c016b3b80 x14 0000000000000000 x15 0000000000000000 ^@lu^@è^C·J^D·J<90>z§f^X`· ^GDEBUG^@ x16 0000007cc2ddc730 x17 0000007cc2dc0200 x18 0000007b3b238000 x19 00000000000000ac ^@lu^@è^C·J^D·J<90>z§f;<97>· ^GDEBUG^@ x20 00000000000000b2 x21 0000000000000bf7 x22 0000000000000c99 x23 00000000ffffffff ^@lu^@è^C·J^D·J<90>z§f<91>η ^GDEBUG^@ x24 ffffffffffffe800 x25 0000000000000048 x26 0000000000000002 x27 b400007c014e6880 ^@lI^@è^C·J^D·J<90>z§fP^F¸ ^GDEBUG^@ x28 0000007b3b4af278 x29 0000007b3b4aeb70 ^@lu^@è^C·J^D·J<90>z§fs=¸ ^GDEBUG^@ lr 0000007cc2d55d74 sp 0000007b3b4aead0 pc 0000007cc2d55da4 pst 0000000000000000 ^@l^@è^C·J^D·J<90>z§f<<8f>¸ ^GDEBUG^@12 total frames ^@l%^@è^C·J^D·J<90>z§f3¼¸ ^GDEBUG^@backtrace: ^@l ^@è^C·J^D·J<90>z§fêý¸ ^GDEBUG^@ #00 pc 00000000000b2da4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 05348914b7edf6304cc21cba8f428e36) ^@l²^@è^C·J^D·J<90>z§f+<¹ ^GDEBUG^@ #01 pc 00000000006aaa98 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const)+488) (BuildId: 60d31b2b112998bb90ce429fba0d5a62) ^@lñ^@è^C·J^D·J<90>z§f<83>^?¹ ^GDEBUG^@ #02 pc 0000000000017da0 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::1::function<void (char const)>&&)::$_0::__invoke(char const)+80) (BuildId: ed473aca9ea13ed822f3e509c3166a9c) ^@l98>^@è^C·J^D·J<90z§fɾ¹ ^GDEBUG^@ #03 pc 00000000000076c4 /system/lib64/liblog.so (__android_log_assert+292) (BuildId: 61522c0df3ef5f1d989088003c9efeaa) ^@lÊ^@è^C·J^D·J<90>z§f ý¹ ^GDEBUG^@ #04 pc 000000000006d664 /system/lib64/libinputreader.so (android::EventHub::Device::trackInputEvent(input_event const&)+356) (BuildId: b5ab297541d0e9edc8a1976744f10463) ^@l®^@è^C·J^D·J<90>z§f<89>=º ^GDEBUG^@ #05 pc 00000000000769c8 /system/lib64/libinputreader.so (android::EventHub::getEvents(int)+2088) (BuildId: b5ab297541d0e9edc8a1976744f10463) ^@l¬^@è^C·J^D·J<90>z§fCtº ^GDEBUG^@ #06 pc 0000000000095b38 /system/lib64/libinputreader.so (android::InputReader::loopOnce()+200) (BuildId: b5ab297541d0e9edc8a1976744f10463) ^@lÎ^@è^C·J^D·J<90>z§f.<96>» ^GDEBUG^@ #07 pc 000000000000b2b8 /system/lib64/libinputflinger_base.so (android::(anonymous namespace)::InputThreadImpl::threadLoop()+24) (BuildId: b581bc40f45890149e5a5f7be226d6a3) ^@l©^@è^C·J^D·J<90>z§f^Dë» ^GDEBUG^@ #08 pc 0000000000015740 /system/lib64/libutils.so (android::Thread::_threadLoop(void)+368) (BuildId: 369fd6561dda205367974da6a750f67d) ^@l¿^@è^C·J^D·J<90>z§f^E&¼ ^GDEBUG^@ #09 pc 00000000000ed60c /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void)+140) (BuildId: f005548a4793865ce02cd5ed26b31e7e) ^@l±^@è^C·J^D·J<90>z§f0_¼ ^GDEBUG^@ #10 pc 00000000000c42b0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_start(void*)+208) (BuildId: 05348914b7edf6304cc21cba8f428e36) ^@l¨^@è^C·J^D·J<90>z§f¶<95>¼ ^GDEBUG^@ #11 pc 00000000000b5fa0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 05348914b7edf6304cc21cba8f428e36) ^@lL^@r(8!^@ÙH<90>z§f^½^A
unfortunately this doesn't state the reason of crash logcat would be best
If not wrong here is the issue: message: 'trackInputEvent: device 'trinket-idp-snd-card Headset Jack' received invalid EV_SW event code: 19 value: 1'
You could see the code here https://github.com/crdroidandroid/android_frameworks_native/blob/51a1d00125a3a636e8284540486c3a36728f7522/services/inputflinger/reader/EventHub.cpp#L789
I did have earplugs in the phone but I do not think I have pushed any buttons. I did try all of the 3 buttons and they work properly (do not cause any crash).
If not wrong here is the issue: message: 'trackInputEvent: device 'trinket-idp-snd-card Headset Jack' received invalid EV_SW event code: 19 value: 1'
You could see the code here https://github.com/crdroidandroid/android_frameworks_native/blob/51a1d00125a3a636e8284540486c3a36728f7522/services/inputflinger/reader/EventHub.cpp#L789
I did have earplugs in the phone but I do not think I have pushed any buttons. I did try all of the 3 buttons and they work properly (do not cause any crash).
that should not cause a crash
can you sill provide full logcat? https://github.com/crdroidandroid/issue_tracker/issues/475#issuecomment-2256303466
@iozho Please make sure to use ``` when pasting logs & code into Github (see docs here). Myself and (I am sure) a lot of people were subscribed to this Github issue due to your reply on Jul 29.
Issue type
Other
Device
Xiaomi Redmi Note 8
crDroid version
crDroid 10
Exact version / Build date
10.6
Bug description
Sometimes when I double click on the top left corner(to lock the device), the phone freezes and reboots.
Steps to reproduce
Relevant log (logcat/build log)
Screenshots or videos
No response
Solution
No response
Additional context
There were no tombstones in /data/tombstones/
Acknowledgements