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

v055x: Dns server down; app launching not available

Open mohamadsd078-eng opened this issue 5 months ago • 13 comments

Hi, The app itself didn't work.

Im using i think Hagezi light only... Simple user.

At last it said connected [Protected] But again app went back to homescreen automatically.

https://github.com/user-attachments/assets/2afdf7f2-34fb-48f8-b53a-30300ab5e6f2

mohamadsd078-eng avatar Jun 25 '26 10:06 mohamadsd078-eng

I'm also having this problem

stormshadow57 avatar Jun 26 '26 09:06 stormshadow57

Same. Often, I just don't have internet. Using local DNS.

AnonymousWP avatar Jun 26 '26 15:06 AnonymousWP

Sorry, what problem are you folks reporting? Can you please be more specific about what you're observing? Logs would also help if you can share them from Configure -> Settings -> App Logs (preferably, log level set to "Very verbose").

ignoramous avatar Jun 26 '26 20:06 ignoramous

Actually like it was on my screen recording.. App launches but DNS server down there showing and app shutdown itself.

I had to uninstall and download the version and reinstall it and I did . I haven't backup any configuration before so I had to reset all from beginning.

So now I couldn't share anything from logs.

Sent from Proton Mail for Android.

-------- Original Message -------- On Saturday, 06/27/26 at 02:07 ignoramous @.***> wrote:

ignoramous left a comment (celzero/rethink-app#2816)

Sorry, what problem are you folks reporting? Can you please be more specific about what you're observing? Logs would also help if you can share them from Configure -> Settings -> App Logs (preferably, log level set to "Very verbose").

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

mohamadsd078-eng avatar Jun 27 '26 02:06 mohamadsd078-eng

I am having the same problem, to be more precise about the problem: I woke up with the always on vpn tunnel off, and upon trying to open the app it immediately crash as in the video. By tapping fast enough I was able to hit the stop button + confirmation pop-up before the crash (with multiple tries) and that resulted in the app not crashing anymore. I was then able to backup and export the Very Verbose logs, but the exported zip ended up containing a 0B file. In the next days I'll try to check logs from adb and I'll share here if something comes up. I hope this was helpful at least for the people having it stuck

GiacomoTezza avatar Jun 27 '26 12:06 GiacomoTezza

Gotcha. Thanks.

Think you folks might be hitting:

  • #2532
  • #2281
  • #2050

Do you have Configure -> Settings -> Remember uninstalled apps (#978) and use Configure -> Proxy?

See also:

  • #2324

ignoramous avatar Jun 28 '26 06:06 ignoramous

I'll try to check logs from adb and I'll share here if something comes up.

If any of you have Configure -> Settings -> Stability program turned ON (it is set to off by default; and doesn't exist on the F-Droid flavour), the crash logs (just the crash logs and nothing else) would have been auto-reported by now.

ignoramous avatar Jun 28 '26 06:06 ignoramous

Having the same problem also.

Do you have Configure -> Settings -> Remember uninstalled apps (https://github.com/celzero/rethink-app/issues/978)

Nope

and use Configure -> Proxy?

Yes but the proxy is disabled and is manual enablement only

I've managed to get back into the app by forgetting the VPN from settings, if I then set it back up again in rethink, it starts crashing instantly again. GrapheneOS pixel 8a device, an app I had installed was removed and reinstalled earlier. Crash log itself available on https://pastebin.com/Ej8P3yxJ I did try the on device logging and email crash logs but it results in a zip file with a .txt file of 0 bytes, presumably because it crashes before it can even log

type: crash
osVersion: google/akita/akita:17/CP2A.260605.012/2026062301:user/release-keys
package: com.celzero.bravedns:613, targetSdk 35
process: com.celzero.bravedns
processUptime: 672 + 663 ms
installer: org.fdroid.fdroid
 
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ProxyApplicationMapping.uid, ProxyApplicationMapping.packageName, ProxyApplicationMapping.proxyId (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
	at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
	at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:764)
	at android.database.sqlite.SQLiteSession.execute(SQLiteSession.java:656)
	at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:47)
	at androidx.sqlite.db.framework.FrameworkSQLiteStatement.execute(SourceFile:30)
	at androidx.sqlite.driver.SupportSQLiteStatement$OtherSQLiteStatement.step(SourceFile:588)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.updateUidForApp$lambda$24(SourceFile:629)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.$r8$lambda$kGKwnLAcppSDUgFbG0HfAIBVc7w(SourceFile:0)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl$$ExternalSyntheticLambda10.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invokeSuspend(SourceFile:61)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnection.transaction(SourceFile:127)
	at androidx.room.coroutines.PassthroughConnection.access$transaction(SourceFile:77)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invokeSuspend(SourceFile:103)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(SourceFile:0)
	at androidx.room.RoomDatabaseKt__RoomDatabase_androidKt.compatTransactionCoroutineExecute(SourceFile:2187)
	at androidx.room.RoomDatabaseKt.compatTransactionCoroutineExecute(dex-id-17bf353ecdef48cc6999189e0582c7bb91136aff:1)
	at androidx.room.RoomDatabase$createConnectionManager$3.invoke(SourceFile:338)
	at androidx.room.RoomDatabase$createConnectionManager$3.invoke(SourceFile:338)
	at androidx.room.coroutines.PassthroughConnection.withTransaction(SourceFile:103)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invokeSuspend(SourceFile:59)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invokeSuspend(SourceFile:59)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(SourceFile:66)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(SourceFile:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(SourceFile:165)
	at kotlinx.coroutines.BuildersKt.withContext(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.PassthroughConnectionPool.useConnection(SourceFile:59)
	at androidx.room.RoomConnectionManager.useConnection(SourceFile:136)
	at androidx.room.RoomDatabase.useConnection(SourceFile:619)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invokeSuspend(SourceFile:48)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(SourceFile:66)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(SourceFile:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(SourceFile:157)
	at kotlinx.coroutines.BuildersKt.withContext(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invokeSuspend(SourceFile:72)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invoke(SourceFile:0)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invokeSuspend(SourceFile:52)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invoke(SourceFile:0)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(SourceFile:20)
	at kotlinx.coroutines.CoroutineStart.invoke(SourceFile:360)
	at kotlinx.coroutines.AbstractCoroutine.start(SourceFile:134)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(SourceFile:53)
	at kotlinx.coroutines.BuildersKt.launch(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1.invokeSuspend(SourceFile:51)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(SourceFile:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(SourceFile:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(SourceFile:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(SourceFile:48)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt.runBlockingUninterruptible(SourceFile:45)
	at androidx.room.util.DBUtil__DBUtil_androidKt.performBlocking(SourceFile:71)
	at androidx.room.util.DBUtil.performBlocking(dex-id-17bf353ecdef48cc6999189e0582c7bb91136aff:1)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.updateUidForApp(SourceFile:622)
	at com.celzero.bravedns.database.ProxyAppMappingRepository.updateUidForApp(SourceFile:75)
	at com.celzero.bravedns.service.ProxyManager.updateApp(SourceFile:214)
	at com.celzero.bravedns.service.ProxyManager.updateApps(SourceFile:199)
	at com.celzero.bravedns.database.RefreshDatabase.refreshProxyMapping(SourceFile:554)
	at com.celzero.bravedns.database.RefreshDatabase.process(SourceFile:225)
	at com.celzero.bravedns.database.RefreshDatabase$process$1.invokeSuspend(SourceFile:12)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(SourceFile:124)
	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:89)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(SourceFile:820)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(SourceFile:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:704)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(RefreshDatabase), StandaloneCoroutine{Cancelling}@55042b9, Dispatchers.IO]

thedjnK avatar Jun 28 '26 09:06 thedjnK

I'm having the same issue, however clicking the stop button makes the app stop crashing. At some point, I got a notification that said the following: DNS Error: Rethink DNS tunnel closed for business | tunnel closed for business

With Rethink on, under or on top of the 'Stop' button, there was a message saying 'DNS Server down', though I haven't seen it again. And I also switched to 'Other DNS' > ODoH (Oblivious DNS-over-HTTPS) > Cloudflare, but I had the same constant crashing issue.

Image

Edit: the 'DNS SERVER DOWN' message shows up in the screen recording provided in the initial issue

Hi, The app itself didn't work.

Im using i think Hagezi light only... Simple user.

At last it said connected [Protected] But again app went back to homescreen automatically. SVID_20260625_152923_1.mp4

Edit 2: I turned off Configure -> Settings -> Remember uninstalled apps after the crashing started to see if it might be the issue. On turning it off, I was exited to the Configure tab. Tried restarting the app, even with a full phone reboot. Reenabling the setting caused an app crash, so I have it off now. I also do not use any proxies usually. If I ever do, I enable them manually, however I had not used any proxies in this app release.

nyxion-luna avatar Jun 29 '26 14:06 nyxion-luna

I also have this issue, with the same behaviour. I have to re-install the application, and NOT restore from backup, because the backup causes the app to start crashing again with 100% regularlity. I do not have "Remember uninstalled apps" enabled. I have used adb logcat RethinkDnsVpn:V *:S, but there are basically no errors, other than the following:

07-01 20:02:09.473  9658  9658 W RethinkDnsVpn: err while retrieving Settings.Secure value Settings key: <always_on_vpn_app> is not readable. From S+, settings keys annotated with @hide are restricted to system_server and system apps only, unless they are annotated with @Readable.
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn: java.lang.SecurityException: Settings key: <always_on_vpn_app> is not readable. From S+, settings keys annotated with @hide are restricted to system_server and system apps only, unless they are annotated with @Readable.
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:4090)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.provider.Settings$Secure.getStringForUser(Settings.java:10824)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.provider.Settings$Secure.getString(Settings.java:10790)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.util.Utilities.isOtherVpnHasAlwaysOn(SourceFile:478)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment.handleAlwaysOnVpn(SourceFile:1453)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment.handleVpnActivation(SourceFile:1360)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment.handleMainScreenBtnClickEvent(SourceFile:1356)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment.initializeClickListeners$lambda$10(SourceFile:333)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment.$r8$lambda$sAubn-o8DFc1SXxnU3ZgXZIQUv4(SourceFile:0)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.celzero.bravedns.ui.fragment.HomeScreenFragment$$ExternalSyntheticLambda15.onClick(SourceFile:0)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.view.View.performClick(View.java:8812)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.widget.TextView.performClick(TextView.java:18678)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.google.android.material.button.MaterialButton.performClick(SourceFile:1345)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.view.View.performClickInternal(View.java:8789)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.view.View$PerformClick.run(View.java:33811)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.os.Handler.handleCallback(Handler.java:1070)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.os.Handler.dispatchMessage(Handler.java:125)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.os.Looper.dispatchMessage(Looper.java:358)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.os.Looper.loopOnce(Looper.java:288)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.os.Looper.loop(Looper.java:392)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at android.app.ActivityThread.main(ActivityThread.java:10346)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at java.lang.reflect.Method.invoke(Native Method)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:638)
07-01 20:02:09.473  9658  9658 W RethinkDnsVpn:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)

... which has been addressed in a previous issue, and seems not to be related to the problem.

I uninstalled the app, and installed the APK directly from the releases via Obtanium, and enabled Stability program.

If I spam-tap the app to open it over-and-over, I am eventually able to get it to open. The app says "Stop", but it is notably very much not active. Once it is finally stopped, I can open and close it like usual. Clicking "Start" creates the issue anew (for all of DNS, Firewall, and DNS + Firewall).

EDIT: adb logcat *:W brought forth this little gem (an actual error):

07-01 20:55:48.475 32566 32625 I Firestack: plus: add [email protected]; old stopped? false, cacher? false
07-01 20:55:48.475 32566 32625 I RethinkDnsVpn: TunAdapter; smart-dns; new doh: Plus13 (Cloudflare Security), url: https://security.cloudflare-dns.com/dns-query, ips: 1.1.1.2,1.0.0.2,2606:4700:4700::1112,2606:4700:4700::1002
07-01 20:55:48.476 32566 32625 W Firestack: proxy: for: Plus14; not found
07-01 20:55:48.476 32566 32655 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-8
07-01 20:55:48.476 32566 32655 E AndroidRuntime: Process: com.celzero.bravedns, PID: 32566
07-01 20:55:48.476 32566 32655 E AndroidRuntime: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ProxyApplicationMapping.uid, ProxyApplicationMapping.packageName, ProxyApplicationMapping.proxyId (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY[1555])

... which is then followed by the stack trace, and ActivityManager reporting the app has crashed.

EDIT2: After a full uninstall and re-install (and configuring everything manually from defaults), Rethink worked for about 12 hours, at which point it (seemingly randomly, as I was not interacting with my phone for some time) began to experience the same issue. I will note that I have almost every app on my phone set to "Isolate", and it seems that potentially the table at issue (ProxyApplicationMapping) is related to application isolation.

If this issue is not addressed somewhat promptly, then I will try to get an Android emulator up-and-running to debug it myself. I have almost no experience doing this, but this issue is making my device pretty much unusable (without just not using the app, which I prefer not to do, since it allows me to blocks a lot of bloatware on my Samsung device).

zdivelbiss avatar Jul 02 '26 01:07 zdivelbiss

I don't know if it's related, but since a few years I also have the problem that when I switch from Wi-Fi to 4/5G and vice-versa, I have to turn off Rethink and turn it back on. Otherwise, I simply don't have a working internet connection.

AnonymousWP avatar Jul 02 '26 17:07 AnonymousWP

A user writes,

Reinstalled Google services & store via grapheneos

RETHINK (latest version"x") CRASHED & WON'T RESTART

While troubleshooting the above debacle, i went into rethink apps menu, intending to give playstore & playservices a universal bypass. Well, both were greyed-out and striked-thru, because I had uninstalled them, & reinstalled. Rethink didn't pick up the new install, so I rebooted, expecting rethink to see them again. Nope.

Rethink tried to start right after boot, but crashed. Every attempt to start it again crashes in less than a second.

crash log
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: ProxyApplicationMapping.uid, ProxyApplicationMapping.packageName, ProxyApplicationMapping.proxyId (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
	at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
	at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:764)
	at android.database.sqlite.SQLiteSession.execute(SQLiteSession.java:656)
	at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:47)
	at androidx.sqlite.db.framework.FrameworkSQLiteStatement.execute(SourceFile:30)
	at androidx.sqlite.driver.SupportSQLiteStatement$OtherSQLiteStatement.step(SourceFile:588)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.updateUidForApp$lambda$24(SourceFile:629)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.$r8$lambda$kGKwnLAcppSDUgFbG0HfAIBVc7w(SourceFile:0)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl$$ExternalSyntheticLambda10.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invokeSuspend(SourceFile:61)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1$1.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnection.transaction(SourceFile:127)
	at androidx.room.coroutines.PassthroughConnection.access$transaction(SourceFile:77)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invokeSuspend(SourceFile:103)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnection$withTransaction$2.invoke(SourceFile:0)
	at androidx.room.RoomDatabaseKt__RoomDatabase_androidKt.compatTransactionCoroutineExecute(SourceFile:2187)
	at androidx.room.RoomDatabaseKt.compatTransactionCoroutineExecute(dex-id-17bf353ecdef48cc6999189e0582c7bb91136aff:1)
	at androidx.room.RoomDatabase$createConnectionManager$3.invoke(SourceFile:338)
	at androidx.room.RoomDatabase$createConnectionManager$3.invoke(SourceFile:338)
	at androidx.room.coroutines.PassthroughConnection.withTransaction(SourceFile:103)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invokeSuspend(SourceFile:59)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1$invokeSuspend$$inlined$internalPerform$1.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invokeSuspend(SourceFile:59)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(SourceFile:0)
	at androidx.room.coroutines.PassthroughConnectionPool$useConnection$2.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(SourceFile:66)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(SourceFile:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(SourceFile:165)
	at kotlinx.coroutines.BuildersKt.withContext(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.PassthroughConnectionPool.useConnection(SourceFile:59)
	at androidx.room.RoomConnectionManager.useConnection(SourceFile:136)
	at androidx.room.RoomDatabase.useConnection(SourceFile:619)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invokeSuspend(SourceFile:48)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1$1.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(SourceFile:66)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(SourceFile:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(SourceFile:157)
	at kotlinx.coroutines.BuildersKt.withContext(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invokeSuspend(SourceFile:72)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invoke(SourceFile:0)
	at androidx.room.util.DBUtil__DBUtil_androidKt$performBlocking$1.invoke(SourceFile:0)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invokeSuspend(SourceFile:52)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invoke(SourceFile:0)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1$1.invoke(SourceFile:0)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(SourceFile:20)
	at kotlinx.coroutines.CoroutineStart.invoke(SourceFile:360)
	at kotlinx.coroutines.AbstractCoroutine.start(SourceFile:134)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(SourceFile:53)
	at kotlinx.coroutines.BuildersKt.launch(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt$runBlockingUninterruptible$1.invokeSuspend(SourceFile:51)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(SourceFile:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(SourceFile:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(SourceFile:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(SourceFile:48)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(dex-id-6eeaa0729d53c1d7a38d144a1b2ae1ea132bd1a5:1)
	at androidx.room.coroutines.RunBlockingUninterruptible_androidKt.runBlockingUninterruptible(SourceFile:45)
	at androidx.room.util.DBUtil__DBUtil_androidKt.performBlocking(SourceFile:71)
	at androidx.room.util.DBUtil.performBlocking(dex-id-17bf353ecdef48cc6999189e0582c7bb91136aff:1)
	at com.celzero.bravedns.database.ProxyApplicationMappingDAO_Impl.updateUidForApp(SourceFile:622)
	at com.celzero.bravedns.database.ProxyAppMappingRepository.updateUidForApp(SourceFile:75)
	at com.celzero.bravedns.service.ProxyManager.updateApp(SourceFile:214)
	at com.celzero.bravedns.service.ProxyManager.updateApps(SourceFile:199)
	at com.celzero.bravedns.database.RefreshDatabase.refreshProxyMapping(SourceFile:554)
	at com.celzero.bravedns.database.RefreshDatabase.process(SourceFile:225)
	at com.celzero.bravedns.database.RefreshDatabase$process$1.invokeSuspend(SourceFile:12)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(SourceFile:124)
	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:89)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(SourceFile:820)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(SourceFile:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:704)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(RefreshDatabase), StandaloneCoroutine{Cancelling}@212d533, Dispatchers.IO]

ignoramous avatar Jul 05 '26 18:07 ignoramous

Please update to v055y.

Hopefully, with v055y+ where we have added some code to be more resilient to database failures, such issues with the database don't cause total loss of functionality due to instant crash on app launch.

ignoramous avatar Jul 07 '26 03:07 ignoramous