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

LiverQuerier is running after having been stopped, causing a crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • Jim 60
    • 5

    Description

      https://github.com/couchbase/couchbase-lite-C/issues/235

      I'm using the Couchbase Lite C Beta 2 for ubuntu20.04-x86_64.

      This is the stack trace of the crashing thread:
       {{Thread 1 (Thread 0x7fc6c8ef6700 (LWP 60182)):
      #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1 0x00007fc6d8d3b859 in __GI_abort () at abort.c:79
      #2 0x00005586d1ee62f0 in ?? ()
      #3 <signal handler called>
      #4 0x00007fc6d116cd00 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #5 0x00007fc6d0f112da in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #6 0x00007fc6d0f118b3 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #7 0x00007fc6d0fc5954 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #8 0x00007fc6d0fc59b3 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #9 0x00007fc6d0fc5b13 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #10 0x00007fc6d0fc5c08 in ?? () from /home/gabriel/Dev/cbl-dart/packages/cbl_e2e_tests_standalone_dart/lib/libcblite.so.3
      #11 0x00007fc6d0d84de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
      #12 0x00007fc6d9060609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #13 0x00007fc6d8e38293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95}}
      Theses are the logs from a test that is running at the time: logs.zip

      LiveQuerier#5 seems to be the object, causing the crash. Even though it has stopped:
       07:37:58.945828| [Query]: {LiveQuerier#5} ...stopped
      It is again running at a later point:
       07:37:59.427285| [Query]: {LiveQuerier#5} Running query...
      until it logs an error:
       07:37:59.427628| [Query] ERROR: {LiveQuerier#5} Query failed with error LiteCore NotOpen, "database not open"

      Attachments

        Issue Links

          Activity

            People

              jimb Jim Borden
              jianmin.zhao Jianmin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty