Skip to content

Adding new domain rule makes Rethink crash instantly #2586

@limbusdev

Description

@limbusdev

Hi there,

I cannot open RethinkDNS anymore. It crashes almost instantly. I added two new domain rules from the protocols.

See the attaches crash report.

Best regards

type: crash
osVersion: google/husky/husky:16/BP4A.260205.001/2026030201:user/release-keys
flags: dev options enabled
package: com.celzero.bravedns:513, targetSdk 35
process: com.celzero.bravedns
processUptime: 7379 + 289 ms
installer: org.fdroid.fdroid

android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: CustomDomain.domain, CustomDomain.uid (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
	at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
	at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:947)
	at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:791)
	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:67)
	at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeUpdateDelete(SourceFile:38)
	at com.celzero.bravedns.database.CustomDomainDAO_Impl.tombstoneRulesByUid(SourceFile:327)
	at com.celzero.bravedns.database.CustomDomainRepository.tombstoneRulesByUid(SourceFile:105)
	at com.celzero.bravedns.service.DomainRulesManager.tombstoneRulesByUid(SourceFile:489)
	at com.celzero.bravedns.database.RefreshDatabase.tombstonePackages(SourceFile:292)
	at com.celzero.bravedns.database.RefreshDatabase.process(SourceFile:205)
	at com.celzero.bravedns.database.RefreshDatabase$1.invokeSuspend(SourceFile:104)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33)
	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}@c144602, Dispatchers.IO]

Error in RethinkDNS 24dcd1d29400.txt

Metadata

Metadata

Assignees

Labels

P0Priority: 0 (urgent and important)bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions