Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-204

Android app crashes when db.create() method tries to migrate 1.4 db to 2.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • Java-Android
    • Security Level: Public
    • None
    • Android 2.x
      Genymotion Google Pixel XL API25 7.1
    • Critical

    Description

      When trying to open a 1.4 db in 2.x app, app crashes during db.create() call:

      A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)
      art/runtime/indirect_reference_table.cc:132] local reference table dump:
      art/runtime/indirect_reference_table.cc:132] Last 10 entries (of 512):
      art/runtime/indirect_reference_table.cc:132] 511: 0x12fb0310 java.lang.String "Importing doc 'a... (26 chars)
      art/runtime/indirect_reference_table.cc:132] 510: 0x12fa65c8 java.lang.String "DB"
      art/runtime/indirect_reference_table.cc:132] 509: 0x12fb2be0 java.lang.String "{DB#6} Saved 'ai... (77 chars)
      art/runtime/indirect_reference_table.cc:132] 508: 0x12fb5210 java.lang.String ""
      art/runtime/indirect_reference_table.cc:132] 507: 0x12fb7178 java.lang.String " ...rev 1... (49 chars)
      art/runtime/indirect_reference_table.cc:132] 506: 0x12fb51f0 java.lang.String ""
      art/runtime/indirect_reference_table.cc:132] 505: 0x12fb02c8 java.lang.String "Importing doc 'a... (28 chars)
      art/runtime/indirect_reference_table.cc:132] 504: 0x12fa65b0 java.lang.String "DB"
      art/runtime/indirect_reference_table.cc:132] 503: 0x12fb2b30 java.lang.String "{DB#6} Saved 'ai... (78 chars)
      art/runtime/indirect_reference_table.cc:132] 502: 0x12fb51c0 java.lang.String ""

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              blake.meike Blake Meike
              hemant.rajput Hemant Rajput
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty