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.6k stars 130 forks source link

Error with Rethink quitting #1539

Open PikaGamer8 opened 1 week ago

PikaGamer8 commented 1 week ago

Hello, I have noticed when using Rethink on my WiFi connection that after a while my Internet starts to fail so I just press on "Stop" to restart WireGuard and DNS and then the app quits on error. I have noticed this doesn't happen on mobile data.

Thanks for your help.

Log:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/a53xue/a53x:14/UP1A.231005.007/A536U1UES9EXE3:user/release-keys'
Revision: '9'
ABI: 'arm64'
Processor: '6'
Timestamp: 2024-06-13 16:52:43.261707270-0400
Process uptime: 2029s
Cmdline: com.celzero.bravedns
pid: 31973, tid: 10696, name: DefaultDispatch  >>> com.celzero.bravedns <<<
uid: 10336
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    x0  0000000000000000  x1  00000000000029c8  x2  0000000000000006  x3  0000000000000008
    x4  0000000000000001  x5  00000078ce5f5de8  x6  0000000000000000  x7  0000000000000000
    x8  0000000000000083  x9  000000000000c888  x10 000000000000000e  x11 000000785832b408
    x12 0000000000000026  x13 0000007857bae0f4  x14 0000000000000001  x15 00000040001a3e00
    x16 00000078ce4ff310  x17 00000078ce5f5a70  x18 00000078cc408000  x19 0000000000007ce5
    x20 00000078ce5f5910  x21 0000004000459008  x22 00000079f3a00e50  x23 0000000000000000
    x24 000000005aebc168  x25 00000040001a0730  x26 0000000000000000  x27 0000000000000010
    x28 0000004000441180  x29 00000040005d1d48
    lr  0000007857c7ad14  sp  00000040005d1d50  pc  0000007857c99ba8  pst 0000000080001000
1 total frames
backtrace:
      #00 pc 0000000000306ba8  /data/app/~~_ZI1Oews_hTtzJdavtHDGg==/com.celzero.bravedns-8iq1oHIOWeMpmc5QpGwICA==/base.apk (offset 0x344000) 
ignoramous commented 1 week ago

Thanks. This is Android crashing our app (as a security measure, since it has detected some memory corruption).

We use gomobile and other dependencies which looks suspect but because of the terse crash logs generated by Android on such crashes, we haven't really figured out just why these happen.

Curiously, we request Android to not crash the app on memory corruption, but it still does:

https://github.com/celzero/rethink-app/blob/72fc90ec492f8289c58f4ff1d247472815ede9dc/app/src/main/AndroidManifest.xml#L39-L40


Which Rethink version are you using? Check the footer of the About UI.

PikaGamer8 commented 1 week ago

Thanks for the response. I am using v0.5.5n-1-gc74a7ae1