Skip to content

Some strange behaviour in lastest stable version #3031

Closed

Description

@Kutikov

I'm using NitriteDB, implements lastest stable H2database and facing strange exceptions while opening db file:
Caused by: java.lang.AssertionError: Double mark: 2c/2 [7-7, 16-27, 2d-2d, 85-85, c9-f3, f6-f7, 163-163, 18b-18b, 1d0-1d3, 21e-21e, 26d-298, 30c-30c, 312-33b, 356-357, 35b-369, 3f5-408, 42c-452, 4a4-4cb, 4fc-500, 52a-52d, 643-665, 75c-75f, 7f8-848, 8ac-8af, 8f2-8f4, 953-953, 956-956, 95c-960, a1c-a1e, ae8-b11, e27-e29, e37-e38, e3d-e45, e4e-e51, f14-f16, f21-f35, f4d-f4f, f85-f88, ff0-1004, 1029-102a, 1129-1136, 1146-1150, 117b-1196, 119b-119b, 11a3-11bf, 1257-125f, 12c3-12cf, 12d3-12dd, 137c-1380, 1473-1478, 14a0-14a5, 14c7-14e0, 1539-153a, 1569-156a, 157e-1580, 16d0-16d0, 174e-1759, 17de-17e1, 1958-195f, 19a3-19a7, 1a96-1a99, 1aa1-1aa1, 1aa6-1aaa, 1adf-1ae2, 1b5d-1b5d, 1bb4-1bb7, 1bdf-1be7, 1c0b-1c0c, 1c26-1c2d, 1c5e-1c62, 1c67-1c6e, 1cb9-1cb9, 1d23-1d26, 1d42-1d57, 1e8c-1e9c, 1f9f-26b8, 2735-291b, 2996-2b03, 2b7d-4d1f, 4da4-6ec1, 6f44-] at org.h2.mvstore.FreeSpaceBitSet.markUsed(FreeSpaceBitSet.java:183) at org.h2.mvstore.FileStore.markUsed(FileStore.java:338) at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:901) at org.h2.mvstore.MVStore.<init>(MVStore.java:396) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3579) at org.dizitart.no2.mvstore.MVStoreUtils.openOrCreate(MVStoreUtils.java:47) at org.dizitart.no2.mvstore.NitriteMVStore.openOrCreate(NitriteMVStore.java:50) at org.dizitart.no2.NitriteDatabase.initialize(NitriteDatabase.java:196) at org.dizitart.no2.NitriteDatabase.<init>(NitriteDatabase.java:68) at org.dizitart.no2.NitriteBuilder.openOrCreate(NitriteBuilder.java:125) at com.damirkut.assistant.helpers.App.StartDb(App.java:205)
Nitrite developer @anidotnet said, that this exception is related to MVStore. This exception is thrown not anywhere, but on Android 7.1.2 LOS with Xposed 89.3 Systemless on arm v8a. Could you please explain me, what's happening?

Activity

  1. katzyn commented on Feb 17, 2021

    @katzyn
    Contributor

    It looks like duplicate of #2752 and you can post your exception into that older issue.

    Unfortunately, without a complete test case (for normal Java systems, not for Android) without any third-party dependencies it will be very hard to find the cause of this exception. We not even sure is there a problem in MVStore itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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