Skip to content

for leica camera - #5

Merged
tejas101k merged 4 commits into
ProjectInfinity-X:15from
K4LCHAKRA:15
Apr 28, 2025
Merged

tejas101k merged 4 commits into
ProjectInfinity-X:15from
K4LCHAKRA:15

Conversation

@K4LCHAKRA

Copy link
Copy Markdown

No description provided.

@tejas101k
tejas101k merged commit 762c7b4 into ProjectInfinity-X:15 Apr 28, 2025
tejas101k pushed a commit that referenced this pull request Jul 12, 2025
Bug: 400332885
Flag: EXEMPT bugfix
Test: adb shell dumpsys -l | grep -iE "fingerprint"
Test: adb bugreport, contains dumps like:

  ----- pid 1758 at 2025-03-03 14:58:06.698207518+0800 -----
  Cmd line: /vendor/bin/hw/android.hardware.biometrics.fingerprint-service
  ABI: 'arm64'

  "android.hardwar" sysTid=1758
      #00 pc 00000000000caa88  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6)
      #1 pc 000000000006b11c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6)
      #2 pc 000000000005016c  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+220) (BuildId: 1c3f90f0cb4d3d019554e47ae354a9a0)
      #3 pc 00000000000567c8  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+152) (BuildId: 1c3f90f0cb4d3d019554e47ae354a9a0)
      #4 pc 0000000000017990  /vendor/bin/hw/android.hardware.biometrics.fingerprint-service (main+640) (BuildId: 36d9232d0aeaee0e73e76dd3a6730711)
      #5 pc 0000000000057d28  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+120) (BuildId: 825df7d51c665a22c691f12eb7bdf4f6)

  ----- end 1758 -----

Change-Id: I30c6650155b3a75e578dcfcedf6bdd63a81f154a
tejas101k pushed a commit that referenced this pull request Feb 1, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
tejas101k pushed a commit that referenced this pull request Mar 11, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
tejas101k pushed a commit that referenced this pull request Sep 11, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
tejas101k pushed a commit that referenced this pull request Sep 13, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
tejas101k pushed a commit that referenced this pull request Sep 28, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
tejas101k pushed a commit that referenced this pull request Nov 5, 2026
Validate BPF map key/value sizes in getBpfMap() before creating
BpfMap objects to avoid abort() in forAll()->abortOnMismatch()
on devices with incompatible kernel BPF structures.

12-07 08:09:55.596  2405  2405 F DEBUG   : Executable: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : Cmdline: /system/bin/gpuservice
12-07 08:09:55.596  2405  2405 F DEBUG   : pid: 1231, tid: 1247, name: gpuservice  >>> /system/bin/gpuservice <<<
12-07 08:09:55.597  2405  2405 F DEBUG   : uid: 1072
12-07 08:09:55.597  2405  2405 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-07 08:09:55.598  2405  2405 F DEBUG   :     x0  0000000000000000  x1  00000000000004df  x2  0000000000000006  x3  0000007149209790
12-07 08:09:55.598  2405  2405 F DEBUG   :     x4  fefefefefefefeff  x5  fefefefefefefeff  x6  fefefefefefefeff  x7  00000071492099a2
12-07 08:09:55.598  2405  2405 F DEBUG   :     x8  00000000000000f0  x9  3194d4d942ab823f  x10 000000ff00000020  x11 0000000000070007
12-07 08:09:55.599  2405  2405 F DEBUG   :     x12 0000000000000018  x13 0000000000000004  x14 0000000000000001  x15 00002007429ff63c
12-07 08:09:55.599  2405  2405 F DEBUG   :     x16 00000073d9f2e970  x17 00000073d9f12780  x18 00000071473bc000  x19 00000000000004cf
12-07 08:09:55.599  2405  2405 F DEBUG   :     x20 00000000000004df  x21 00000000ffffffff  x22 0000000000000005  x23 b4000072193470d8
12-07 08:09:55.600  2405  2405 F DEBUG   :     x24 0000000000003102  x25 00000071492099b8  x26 00000071492099b9  x27 000000000000003c
12-07 08:09:55.600  2405  2405 F DEBUG   :     x28 0000000000000020  x29 0000007149209810
12-07 08:09:55.601  2405  2405 F DEBUG   :     lr  00000073d9eabe7c  sp  0000007149209790  pc  00000073d9eabea0  pst 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   :     esr 0000000000000000
12-07 08:09:55.601  2405  2405 F DEBUG   : 6 total frames
12-07 08:09:55.602  2405  2405 F DEBUG   : backtrace:
12-07 08:09:55.602  2405  2405 F DEBUG   :       #00 pc 0000000000077ea0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+156) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.602  2405  2405 F DEBUG   :       #1 pc 00000000000069c0  /system/lib64/libgpuwork.so (android::bpf::BpfMapRO<android::gpuwork::GpuIdUid, android::gpuwork::UidTrackingInfo>::abortOnMismatch(bool) const+468) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       VoltageOS#2 pc 00000000000042fc  /system/lib64/libgpuwork.so (android::gpuwork::GpuWork::initialize()+416) (BuildId: 320b366facaeb5a87fdd55a8f5628cb1)
12-07 08:09:55.603  2405  2405 F DEBUG   :       #3 pc 0000000000071248  /system/bin/gpuservice (void* std::__1::__thread_proxy[abi:nn210000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, android::GpuService::GpuService()::$_1>>(void*)+44) (BuildId: 44576eacfae9e714b953c1348c1f0b15)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #4 pc 0000000000089e80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+236) (BuildId: cb439518e1cfd288b54911f1b6996d75)
12-07 08:09:55.604  2405  2405 F DEBUG   :       #5 pc 000000000007b2e4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cb439518e1cfd288b54911f1b6996d75)

Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
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

Successfully merging this pull request may close these issues.

4 participants