Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 22107 (Thread-30) #20

Closed
msh-nayan opened this issue Jun 18, 2021 · 1 comment

Comments

@msh-nayan
Copy link

I'm using Chaquopy unlicensed version for my Android application.
In my application, there's a foreground service, where some tasks are done. I set Alarm from that foreground service and it will repeat every 24hours. When alarm is triggered, I use Chaquopy library for invoking Python script and result is returned from script. For first 2/3 cases (max), it is working properly, then Chaquopy is showing notification that app will close after 10seconds. Problem is when this is happening, my foreground service is also closed & restarted.

Here's the error log from Logcat

2021-06-18 16:00:10.455 21082-22107/com.abc.def.ay.client.andr A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 22107 (Thread-30)
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: Build fingerprint: 'HUAWEI/RNE-L22/HWRNE:8.0.0/HUAWEIRNE-L22/351(C635):user/release-keys'
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: Revision: '0'
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: ABI: 'arm64'
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: pid: 21082, tid: 22107, name: Thread-30 >>> com.abc.def.ay.client.andr <<<
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: Cause: null pointer dereference
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x0 0000000000000000 x1 000000772866e8b0 x2 0000007736f9126c x3 0000007727250278
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x4 0000000000002932 x5 0000020000600000 x6 0000007727250120 x7 0000000000000000
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x8 000000000000b954 x9 0000000000000001 x10 000000772866ed90 x11 0000000000000030
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x12 0000000000000000 x13 0000000000000000 x14 0000000000000000 x15 0000000000000002
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x16 000000773717ee88 x17 0000007736f90994 x18 0000000000000001 x19 00000077371b56f0
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x20 0000000000000000 x21 000000773b221040 x22 00000077371d14c8 x23 000000773912b678
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x24 000000773719c110 x25 0000007727154000 x26 0000000000000000 x27 00000077391e3000
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: x28 0000000000000000 x29 00000077272503e0 x30 0000007739140e9c
2021-06-18 16:00:10.602 22177-22177/? A/DEBUG: sp 00000077272503c0 pc 0000007739140ec8 pstate 0000000020000000
2021-06-18 16:00:10.604 22177-22177/? A/DEBUG: backtrace:
2021-06-18 16:00:10.604 22177-22177/? A/DEBUG: #00 pc 000000000003eec8 /data/data/com.abc.def.ay.client.andr/files/chaquopy/bootstrap-native/arm64-v8a/java/chaquopy.so
2021-06-18 16:00:10.604 22177-22177/? A/DEBUG: #1 pc 000000000003ed64 /data/data/com.abc.def.ay.client.andr/files/chaquopy/bootstrap-native/arm64-v8a/java/chaquopy.so
2021-06-18 16:00:10.604 22177-22177/? A/DEBUG: #2 pc 00000000000865a0 /data/app/com.abc.def.ay.client.andr-NIwEVAwDb2uCde_p3J5BfQ==/base.apk (offset 0x126b2000)

Can you please tell, how to fix it?

@mhsmith
Copy link
Member

mhsmith commented Jun 18, 2021

Duplicate of chaquo/chaquopy#506.

@mhsmith mhsmith closed this as completed Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants