ActivityWatch / ActivityWatch/aw-android

[Bug] JNI-crashed.

Đang mở
#166 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Kotlin
Star
265
Fork
57
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
19

Mô tả

~~~t
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: Build fingerprint: 'Fairphone/FP5/FP5:15/AQ3A.240912.001/VT2R:user/release-keys'
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: Revision: '0'
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: ABI: 'arm64'
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: Timestamp: 2026-05-23 21:48:10.748471506+0100
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: Process uptime: 6s
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: Cmdline: net.activitywatch.android
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: pid: 30449, tid: 30490, name: AsyncTask #1 >>> net.activitywatch.android <<<
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: uid: 10349
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x0 0000000000000000 x1 000000000000771a x2 0000000000000006 x3 00000071f01dc930
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x4 fefeff73b8079fa3 x5 fefeff73b8079fa3 x6 fefeff73b8079fa3 x7 7f7f7f7fff7fffff
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x8 00000000000000f0 x9 00000074a04b43e8 x10 ffffff80fffffbdf x11 0000000000000001
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x12 0000000070a44000 x13 0000000000b0d628 x14 0000000071551628 x15 0000ffff00000dff
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x16 00000074a0565fe0 x17 00000074a0551b00 x18 0000007170070000 x19 00000000000076f1
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x20 000000000000771a x21 00000000ffffffff x22 0000000000000000 x23 0000007172599eb8
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x24 00000071f01dcc30 x25 0000007171eabc28 x26 b40000728c0ace27 x27 00000071f01dcd00
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: x28 b40000728c0ace13 x29 00000071f01dc9b0
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: lr 00000074a04ed8e8 sp 00000071f01dc910 pc 00000074a04ed918 pst 0000000000001000
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: 31 total frames
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: backtrace:
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #00 pc 000000000005c918 /apex/com.android.runtime/lib64/bionic/libc.so (abort+172) (BuildId: 64eb5106bc8ae51d575bce9d5c64cec5)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #01 pc 00000000018ee0b8 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #02 pc 00000000018ebd14 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #03 pc 00000000018ebacc /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #04 pc 00000000018eb7f8 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #05 pc 00000000018ea5a8 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #06 pc 00000000018eb544 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #07 pc 000000000190c800 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #08 pc 0000000001912d3c /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #09 pc 0000000001912bc0 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #10 pc 0000000001910834 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #11 pc 000000000190d1d0 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #12 pc 0000000001910104 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #13 pc 000000000150bc44 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.212 10349 31024 31024 net.activitywatch.android DEBUG: #14 pc 000000000190ec60 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #15 pc 0000000001904cb0 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #16 pc 0000000001481d80 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/split_config.arm64_v8a.apk (offset 0x1000) (Java_net_activitywatch_android_RustInterface_heartbeat+436)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #17 pc 0000000000dfaddc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+140)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #18 pc 000000000006d8fc /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/oat/arm64/base.odex (net.activitywatch.android.watcher.UsageStatsWatcher$SendHeartbeatsTask.doInBackground+3052)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #19 pc 00000000001078f0 /data/app/~~fv7dWwa8Iw2U_7XOAhf58A==/net.activitywatch.android-x389c615RqZEeDhGs3aX4g==/oat/arm64/base.odex (net.activitywatch.android.watcher.UsageStatsWatcher$SendHeartbeatsTask.doInBackground+80)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #20 pc 0000000000a3ddc8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.AsyncTask$3.call+168)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #21 pc 000000000049fe74 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.FutureTask.run+196)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #22 pc 0000000000973ab8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.AsyncTask$SerialExecutor$1.run+72)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #23 pc 00000000004ac6e4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+1044)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #24 pc 00000000004b11f0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #25 pc 000000000031e058 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+72)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #26 pc 00000000002aad94 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7087b2f2160bfbf3335d54ba9779e325)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #27 pc 00000000002707ac /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+220) (BuildId: 7087b2f2160bfbf3335d54ba9779e325)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #28 pc 00000000004bdc28 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1184) (BuildId: 7087b2f2160bfbf3335d54ba9779e325)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #29 pc 000000000006d8d0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+196) (BuildId: 64eb5106bc8ae51d575bce9d5c64cec5)
2026-05-23 21:48:15.213 10349 31024 31024 net.activitywatch.android DEBUG: #30 pc 000000000005fd34 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 64eb5106bc8ae51d575bce9d5c64cec5)
~~~

This may relate to what [`issues/152`](https://github.com/ActivityWatch/aw-android/issues/152#issue-4406755142) describes.

#### My Environment

I am late to report this, so all that I am certain of is:

1.

~~~pwsh
#!/usr/bin/env pwsh
$Object = [Ordered]@{}
@(
'ro.product.brand'
'ro.build.product'
) | ForEach-Object {
$Value = (adb shell "getprop $_").Trim()
If ($Value) {
$Int64 = 0L
$Object[$_] =
If ([Long]::TryParse($Value, [Ref]$Int64)) {
$Int64
} Else {
$Value
}
}
}
$Object |
ConvertTo-Json -Compress |
yq -P
~~~

1.

~~~YAML
ro.product.brand: Fairphone
ro.build.product: FP5
~~~

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.