rethink-app icon indicating copy to clipboard operation
rethink-app copied to clipboard

Error with Rethink quitting

Open pikapictured opened this issue 1 year ago • 5 comments

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) 

pikapictured avatar Jun 13 '24 21:06 pikapictured

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

  • #962

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.

ignoramous avatar Jun 13 '24 22:06 ignoramous

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

pikapictured avatar Jun 13 '24 23:06 pikapictured

Commit: https://github.com/celzero/rethink-app/pull/1581/commits/3423cca2a8a83554b2d0d998fb0ad8a91ccb89c7

hussainmohd-a avatar Jul 15 '24 07:07 hussainmohd-a

From: 1632

pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)

07-22 18:42:19.143   542   550 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 550 (binder:542_2), pid 542 (binder:542_2)
07-28 08:55:38.672 27246 31920 F libc    : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 31920 (DefaultDispatch), pid 27246 (elzero.bravedns)
07-28 08:55:39.230   701   701 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-28 08:55:39.230   701   701 F DEBUG   : Build fingerprint: 'samsung/r0quew/r0q:14/UP1A.231005.007/S901U1UES6EXF8:user/release-keys'
07-28 08:55:39.230   701   701 F DEBUG   : Revision: '14'                       
07-28 08:55:39.230   701   701 F DEBUG   : ABI: 'arm64'                         
07-28 08:55:39.230   701   701 F DEBUG   : Processor: '6'                       
07-28 08:55:39.230   701   701 F DEBUG   : Timestamp: 2024-07-28 08:55:38.786266535+0200
07-28 08:55:39.230   701   701 F DEBUG   : Process uptime: 702270s              
07-28 08:55:39.230   701   701 F DEBUG   : Cmdline: com.celzero.bravedns        
07-28 08:55:39.230   701   701 F DEBUG   : pid: 27246, tid: 31920, name: DefaultDispatch  >>> com.celzero.bravedns <<<
07-28 08:55:39.230   701   701 F DEBUG   : uid: 10366                           
07-28 08:55:39.230   701   701 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
07-28 08:55:39.230   701   701 F DEBUG   : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
07-28 08:55:39.230   701   701 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-28 08:55:39.230   701   701 F DEBUG   :     x0  0000000000000000  x1  0000000000007cb0  x2  0000000000000006  x3  0000000000000008
07-28 08:55:39.230   701   701 F DEBUG   :     x4  0000000000000001  x5  00000075e7197708  x6  0000000000000000  x7  0000000000000000
07-28 08:55:39.230   701   701 F DEBUG   :     x8  0000000000000083  x9  000000000000c888  x10 000000000000000e  x11 00000075e0af4408
07-28 08:55:39.230   701   701 F DEBUG   :     x12 0000000000000026  x13 00000075e03770f4  x14 0000000000000155  x15 0000000000000156
07-28 08:55:39.230   701   701 F DEBUG   :     x16 00000075e70a0c30  x17 00000075e7197390  x18 00000074f6a0e000  x19 0000000000006a6e
07-28 08:55:39.230   701   701 F DEBUG   :     x20 00000075e7197230  x21 00000040067d0008  x22 00000075f469d0ae  x23 0000000000001072
07-28 08:55:39.230   701   701 F DEBUG   :     x24 000000768b9b1d00  x25 0000004007684b38  x26 0000000000000000  x27 0000000000000010
07-28 08:55:39.230   701   701 F DEBUG   :     x28 000000400679a700  x29 0000004009c11d48
07-28 08:55:39.231   701   701 F DEBUG   :     lr  00000075e0443d14  sp  0000004009c11d50  pc  00000075e0462ba8  pst 0000000080001000
07-28 08:55:39.231   701   701 F DEBUG   : 1 total frames                       
07-28 08:55:39.231   701   701 F DEBUG   : backtrace:                           
07-28 08:55:39.231   701   701 F DEBUG   :       #00 pc 0000000000306ba8  /data/app/~~89J1KvKXGf0yEQYVeqWKaA==/com.celzero.bravedns-ERbyxew2DXEKbPX4yuRNkA==/base.apk (offset 0x344000)

ignoramous avatar Aug 02 '24 17:08 ignoramous

...just a few more guru meditation numbers...

Process uptime: 0s
Cmdline: com.celzero.bravedns
pid: 3860, tid: 18635, name: DefaultDispatch  >>> com.celzero.bravedns <<<
uid: 10220
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    x0  0000000000000000  x1  00000000000048cb  x2  0000000000000006  x3  0000000000000008
    x4  0000000000000001  x5  00000070aafc9cb8  x6  0000000000000000  x7  0000000000000000
    x8  0000000000000083  x9  000000000000c888  x10 000000000000000e  x11 0000007094769408
    x12 0000000000000011  x13 0000007093fec0f4  x14 000000000000012a  x15 000000000000012b
    x16 00000070aaed31e0  x17 00000070aafc9940  x18 00000070060b8000  x19 0000000000000f14
    x20 00000070aafc97e0  x21 00000040002ce808  x22 00000071de402f70  x23 0000000000000000
    x24 0000000000000000  x25 000000400003f6b0  x26 0000000000000000  x27 0000000000000010
    x28 0000004000665500  x29 0000004000c0f4a8
    lr  00000070940b8d14  sp  0000004000c0f4b0  pc  00000070940d7ba8  pst 0000000080000000
backtrace:
      #00 pc 0000000000306ba8  /data/app/~~3LmidBl31D5_h2zW37feDQ==/com.celzero.bravedns-qgBJ0cajo3SW_X4y18xm9Q==/base.apk

xa4hf8 avatar May 22 '25 12:05 xa4hf8

Related:

  • #962
  • #1561

ignoramous avatar Aug 09 '25 05:08 ignoramous

Since v055o, Rethink aggressively opts out of memory tagging. This is a temporary measure and one enforced on us by the Go runtime (especially, cgo; used by our network engine firestack) which doesn't seem compatible with memory tagging, just yet.

ignoramous avatar Sep 25 '25 13:09 ignoramous