celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.86k stars 146 forks source link

v055m: Always crash while starting-up the app on 32bit #1484

Closed cyberboh closed 3 months ago

cyberboh commented 4 months ago

My device running old android 8.1.0 (arm-v7a), i installed rethink v0.5.5m. But it can not start, always crash whenever to try start app.

Log:

--------- beginning of crash
05-31 12:24:40.097 14049 14074 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 14074 (Thread-13), pid 14049 (elzero.bravedns)
05-31 12:24:40.140 14049 14092 I FirewallManager: android-uid for 0 is uid: 0, n: ANDROID
05-31 12:24:40.144 14049 14101 D BatchLogger: signal sleep 2500 ms
05-31 12:24:40.251 14118 14118 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-31 12:24:40.252   500   500 I /system/bin/tombstoned: received crash request for pid 14049
05-31 12:24:40.254 14118 14118 I crash_dump32: performing dump of process 14049 (target tid = 14074)
05-31 12:24:40.255 14049 14074 I libc    : orig_dumpable: 0
05-31 12:24:40.255 14118 14118 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-31 12:24:40.255 14118 14118 F DEBUG   : Build fingerprint: 'TCL/9027Q/A3A_8_4G:8.1.0/O11019/vB4C-0:user/release-keys'
05-31 12:24:40.256 14118 14118 F DEBUG   : Revision: '0'
05-31 12:24:40.256 14118 14118 F DEBUG   : ABI: 'arm'
05-31 12:24:40.256 14118 14118 F DEBUG   : pid: 14049, tid: 14074, name: Thread-13  >>> com.celzero.bravedns <<<
05-31 12:24:40.256 14118 14118 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-31 12:24:40.256 14118 14118 F DEBUG   :     r0 00000000  r1 000036fa  r2 00000006  r3 00000008
05-31 12:24:40.256 14118 14118 F DEBUG   :     r4 000036e1  r5 87800000  r6 00000000  r7 0000010c
05-31 12:24:40.256 14118 14118 F DEBUG   :     r8 00000007  r9 00000000  sl 4fcdcd88  fp 88335431
05-31 12:24:40.256 14118 14118 F DEBUG   :     ip 88370d5d  sp 4fe875e8  lr 87870514  pc 878923dc  cpsr 600f0010
05-31 12:24:40.258 14118 14118 F DEBUG   : 
05-31 12:24:40.258 14118 14118 F DEBUG   : backtrace:
05-31 12:24:40.258 14118 14118 F DEBUG   :     #00 pc 000833dc  /data/app/com.celzero.bravedns-P89zD-9zlj-kjaU85srucw==/base.apk (offset 0x1254000)
05-31 12:24:40.258 14118 14118 F DEBUG   :     #01 pc 00061510  /data/app/com.celzero.bravedns-P89zD-9zlj-kjaU85srucw==/base.apk (offset 0x1254000)

Full Log: logcat.txt

8itlew7r commented 4 months ago

Same. Android 10 (arm-v7a). Rethink v0.5.5m

--------- beginning of crash
05-31 04:35:48.666 13533 13754 F libc    : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13754 (Thread-17), pid 13533 (elzero.bravedns)
05-31 04:35:49.257 13810 13810 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-31 04:35:49.258 13810 13810 F DEBUG   : Build fingerprint: 'Redmi/dandelion_global/dandelion:10/QP1A.190711.020/V12.0.8.0.QCDMIXM:user/release-keys'
05-31 04:35:49.258 13810 13810 F DEBUG   : Revision: '0'
05-31 04:35:49.258 13810 13810 F DEBUG   : ABI: 'arm'
05-31 04:35:49.287 13810 13810 F DEBUG   : Timestamp: 2024-05-31 04:35:49+0800
05-31 04:35:49.287 13810 13810 F DEBUG   : pid: 13533, tid: 13754, name: Thread-17  >>> com.celzero.bravedns <<<
05-31 04:35:49.287 13810 13810 F DEBUG   : uid: 1110410
05-31 04:35:49.287 13810 13810 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-31 04:35:49.287 13810 13810 F DEBUG   :     r0  00000000  r1  000035ba  r2  00000006  r3  00000008
05-31 04:35:49.287 13810 13810 F DEBUG   :     r4  000034dd  r5  bda7d000  r6  00000000  r7  0000010c
05-31 04:35:49.287 13810 13810 F DEBUG   :     r8  00000007  r9  00000000  r10 98104b48  r11 be5b2431
05-31 04:35:49.287 13810 13810 F DEBUG   :     ip  be5edd5d  sp  98057de8  lr  bdaed514  pc  bdb0f3dc
05-31 04:35:49.288 13810 13810 F DEBUG   : 
05-31 04:35:49.288 13810 13810 F DEBUG   : backtrace:
05-31 04:35:49.288 13810 13810 F DEBUG   :       #00 pc 0020b3dc  /data/app/com.celzero.bravedns-RW2tbSr5qrEiQmKSc7pmbw==/base.apk (offset 0x10cc000)

From external logcat app

<<< log_count = 17 >>>
[05-31 05:06:17.878 17023:17023 E/elzero.bravedn]
Not starting debugger since process cannot load the jdwp agent.

[05-31 05:06:18.072 17023:17023 E/libc]
Access denied finding property "ro.vendor.df.effect.conflict"

[05-31 05:06:18.831 17023:17047 E/ion]
ioctl c0044901 failed with code -1: Invalid argument

[05-31 05:06:19.836 17023:17057 E/GoLog]
dns64.go:80: W dns64: err reg underlay(lookup ipv4only.arpa.: no such host) / local(<nil>)

[05-31 05:06:19.839 17023:17128 E/GoLog]
fdbased.go:274: W ns: tun(-1 => 105): Swap: no dispatcher for new fd

[05-31 05:06:19.844 17023:0 E/Go]
panic: runtime error: index out of range [-5]

[05-31 05:06:19.844 17023:0 E/Go]

[05-31 05:06:19.844 17023:0 E/Go]
goroutine 72 [running]:

[05-31 05:06:19.844 17023:0 E/Go]
github.com/celzero/firestack/intra/netstack.(*supervisor).queuePacket(0x980986c0, 0x981da0e8, 0x0)

[05-31 05:06:19.844 17023:0 E/Go]
    /home/jitpack/build/intra/netstack/forwarders.go:271 +0x584

[05-31 05:06:19.844 17023:0 E/Go]
github.com/celzero/firestack/intra/netstack.(*readVDispatcher).dispatch(0x980986f0)

[05-31 05:06:19.844 17023:0 E/Go]
    /home/jitpack/build/intra/netstack/dispatchers.go:253 +0x544

[05-31 05:06:19.844 17023:0 E/Go]
github.com/celzero/firestack/intra/netstack.(*endpoint).dispatchLoop(0x98294000, {0xbf17bcb0, 0x980986f0})

[05-31 05:06:19.845 17023:0 E/Go]
    /home/jitpack/build/intra/netstack/fdbased.go:461 +0x304

[05-31 05:06:19.845 17023:0 E/Go]
created by github.com/celzero/firestack/intra/netstack.(*endpoint).Attach in goroutine 34

[05-31 05:06:19.845 17023:0 E/Go]
    /home/jitpack/build/intra/netstack/fdbased.go:305 +0x288

[05-31 05:06:19.845 17023:17060 F/libc]
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 17060 (Thread-14), pid 17023 (elzero.bravedns)
hussainmohd-a commented 4 months ago

Tracked here: https://github.com/celzero/firestack/issues/59

ignoramous commented 3 months ago

Fixed in v055n.