Skip to content

Store header is corrupt #3307

@ghost

Description

This is the error which is triggered everytime on compacting db.

Caused by: org.h2.jdbc.JdbcSQLNonTransientException: IO Exception: "Closing" [90028-198]
Caused by: java.lang.IllegalStateException: Store header is corrupt: split:30:/data/data/org.briarproject.briar.android.debug/app_db/db.mv.db [1.4.198/6]

Database:
https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/H2Database.java#L60

Compact and close:
https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/H2Database.java#L116

https://code.briarproject.org/briar/briar/-/blob/master/bramble-core/src/main/java/org/briarproject/bramble/db/JdbcDatabase.java#L429

Replacing "SHUTDOWN COMPACT" with "SHUTDOWN" does not trigger any error.
Removing CIPHER=AES does not trigger any error.

Error started from 1.4.198 and is present with the lastest 2.0.204.

Full trace log:
db.trace.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions