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

RefCount crash

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • None
    • Difficult to reproduce. Happens 1 out of 5 times, running full test suite
    • CBL Sprint 8
    • 3

    Description

      --------- beginning of crash
      11-05 13:07:30.282 26126 26174 F libc : /Volumes/Android/buildbot/src/android/ndk-release-r20/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73:
      abort_message: assertion "terminating with uncaught exception of type std::runtime_error: RefCounted object at 0xe5b1e680 retained while it had an invalid refCount of 0" failed
      11-05 13:07:30.283 26126 26174 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 26174 (roidJUnitRunner), pid 26126 (hbase.lite.test)
      11-05 13:07:30.284 26126 26257 F libc : /Volumes/Android/buildbot/src/android/ndk-release-r20/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73:
      abort_message: assertion "terminating with uncaught exception of type std::runtime_error: RefCounted object at 0xe5b1e680 destructed while it had an invalid refCount of 1" failed
      11-05 13:07:30.385 26267 26267 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
      11-05 13:07:30.386 943 943 I /system/bin/tombstoned: received crash request for pid 26174
      11-05 13:07:30.387 26267 26267 I crash_dump32: performing dump of process 26126 (target tid = 26174)
      11-05 13:07:30.408 26267 26267 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      11-05 13:07:30.408 26267 26267 F DEBUG : Build fingerprint: 'google/walleye/walleye:9/PQ3A.190801.002/5670241:user/release-keys'
      11-05 13:07:30.408 26267 26267 F DEBUG : Revision: 'MP1'
      11-05 13:07:30.408 26267 26267 F DEBUG : ABI: 'arm'
      11-05 13:07:30.408 26267 26267 F DEBUG : pid: 26126, tid: 26174, name: roidJUnitRunner >>> com.couchbase.lite.test <<<
      11-05 13:07:30.408 26267 26267 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
      11-05 13:07:30.408 26267 26267 F DEBUG : Abort message: '/Volumes/Android/buildbot/src/android/ndk-release-r20/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type std::runtime_error: RefCounted object at 0xe5b1e680 retained while it had an invalid refCount of 0" failed'
      11-05 13:07:30.408 26267 26267 F DEBUG : r0 00000000 r1 0000663e r2 00000006 r3 00000008
      11-05 13:07:30.408 26267 26267 F DEBUG : r4 0000660e r5 0000663e r6 d38fc724 r7 0000010c
      11-05 13:07:30.408 26267 26267 F DEBUG : r8 00000000 r9 ecd5fe00 r10 d38fcf50 r11 ecd5fe00
      11-05 13:07:30.408 26267 26267 F DEBUG : ip d38fc6c0 sp d38fc710 lr f08e9fe9 pc f08e1e36
      11-05 13:07:30.414 26267 26267 F DEBUG :
      11-05 13:07:30.414 26267 26267 F DEBUG : backtrace:
      11-05 13:07:30.414 26267 26267 F DEBUG : #00 pc 0001ce36 /system/lib/libc.so (abort+58)
      11-05 13:07:30.414 26267 26267 F DEBUG : #01 pc 0001d0af /system/lib/libc.so (__assert2+22)
      11-05 13:07:30.414 26267 26267 F DEBUG : #02 pc 004fef09 /data/app/com.couchbase.lite.test-S_TunG5IF5w0QGrU5BHgXg==/lib/arm/libLiteCoreJNI.so
      11-05 13:07:30.414 26267 26267 F DEBUG : #03 pc 004ff009 /data/app/com.couchbase.lite.test-S_TunG5IF5w0QGrU5BHgXg==/lib/arm/libLiteCoreJNI.so
      11-05 13:07:30.414 26267 26267 F DEBUG : #04 pc 004fd5a9 /data/app/com.couchbase.lite.test-S_TunG5IF5w0QGrU5BHgXg==/lib/arm/libLiteCoreJNI.so
      11-05 13:07:30.414 26267 26267 F DEBUG : #05 pc 004fd553 /data/app/com.couchbase.lite.test-S_TunG5IF5w0QGrU5BHgXg==/lib/arm/libLiteCoreJNI.so (std::terminate()+46)
      11-05 13:07:30.414 26267 26267 F DEBUG : #06 pc 00221eff /data/app/com.couchbase.lite.test-S_TunG5IF5w0QGrU5BHgXg==/lib/arm/libLiteCoreJNI.so

      Attachments

        1. 21502.log
          357 kB
        2. 7353.log
          319 kB
        3. tombstone_00
          457 kB
        4. tombstone_02
          335 kB
        5. tombstone_03
          337 kB
        6. tombstone_04
          366 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-lite-cblite-2.6.0-208 contains couchbase-lite-core commit eb9336a with commit message:
          CBL-527: Retain shared memory object earlier

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.6.0-208 contains couchbase-lite-core commit eb9336a with commit message: CBL-527 : Retain shared memory object earlier

          Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit eb9336a with commit message:
          CBL-527: Retain shared memory object earlier

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit eb9336a with commit message: CBL-527 : Retain shared memory object earlier

          Build couchbase-lite-ios-2.7.0-98 contains couchbase-lite-core commit eb9336a with commit message:
          CBL-527: Retain shared memory object earlier

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-98 contains couchbase-lite-core commit eb9336a with commit message: CBL-527 : Retain shared memory object earlier

          Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit eb9336a with commit message:
          CBL-527: Retain shared memory object earlier

          build-team Couchbase Build Team added a comment - Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit eb9336a with commit message: CBL-527 : Retain shared memory object earlier

          Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit eb9336a with commit message:
          CBL-527: Retain shared memory object earlier

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit eb9336a with commit message: CBL-527 : Retain shared memory object earlier

          People

            jimb Jim Borden
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty