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

EXC_BAD_ACCESS: getCookies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 3.0, 2.8.4
    • iOS
    • Security Level: Public
    • None
    • Jay 62
    • 2

    Description

      * thread #2, queue = 'WebSocket to m.mhealth.co.il:443', stop reason = EXC_BAD_ACCESS (code=1, address=0x80)
          frame #0: 0x0000000105efd2e8 CouchbaseLiteSwift`litecore::repl::DatabaseCookies::DatabaseCookies(c4Database*) [inlined] std::__1::unique_ptr<litecore::DataFile, std::__1::default_delete<litecore::DataFile> >::get(this=0x0000000000000080) const at memory:2596:19 [opt]
          frame #1: 0x0000000105efd2e8 CouchbaseLiteSwift`litecore::repl::DatabaseCookies::DatabaseCookies(c4Database*) [inlined] c4Internal::Database::dataFile(this=0x0000000000000000) at Database.hh:60:79 [opt]
          frame #2: 0x0000000105efd2e8 CouchbaseLiteSwift`litecore::repl::DatabaseCookies::DatabaseCookies(this=0x000000016fa2e5e0, db=0x0000000000000000) at DatabaseCookies.cc:35:27 [opt]
          frame #3: 0x0000000105f3dfcc CouchbaseLiteSwift`FLSliceResult fleece::function_ref<FLSliceResult ()>::callback_fn<c4db_getCookies::$_0>(long) [inlined] litecore::repl::DatabaseCookies::DatabaseCookies(this=0x000000016fa2e5e0, db=<unavailable>) at DatabaseCookies.cc:34:5 [opt]
          frame #4: 0x0000000105f3dfc4 CouchbaseLiteSwift`FLSliceResult fleece::function_ref<FLSliceResult ()>::callback_fn<c4db_getCookies::$_0>(long) [inlined] c4db_getCookies::$_0::operator(this=0x000000016fa2e638)() const at c4Replicator.cc:332:25 [opt]
          frame #5: 0x0000000105f3dfbc CouchbaseLiteSwift`FLSliceResult fleece::function_ref<FLSliceResult ()>::callback_fn<c4db_getCookies::$_0>(callable=6167914040) at function_ref.hh:59:12 [opt]
          frame #6: 0x0000000105f12000 CouchbaseLiteSwift`FLSliceResult c4Internal::tryCatch<FLSliceResult>(C4Error*, fleece::function_ref<FLSliceResult ()>) [inlined] fleece::function_ref<FLSliceResult ()>::operator(this=<unavailable>)() const at function_ref.hh:72:12 [opt]
          frame #7: 0x0000000105f11ff8 CouchbaseLiteSwift`FLSliceResult c4Internal::tryCatch<FLSliceResult>(outError=0x000000016fa2e720, fn=<unavailable>)>) at c4ExceptionUtils.hh:60:20 [opt]
          frame #8: 0x0000000105f3dfa0 CouchbaseLiteSwift`::c4db_getCookies(db=<unavailable>, request=C4Address @ 0x000000016fa2e6a0, outError=<unavailable>) at c4Replicator.cc:331:12 [opt]
          frame #9: 0x0000000105ec8ec4 CouchbaseLiteSwift`-[CBLDatabase getCookies:](self=<unavailable>, _cmd=<unavailable>, url=<unavailable>) at CBLDatabase.mm:727:33 [opt]
          frame #10: 0x0000000105ea57f4 CouchbaseLiteSwift`-[CBLWebSocket _sendWebSocketRequest](self=0x0000000280bd6400, _cmd=<unavailable>) at CBLWebSocket.mm:382:24 [opt]
          frame #11: 0x0000000105ea51dc CouchbaseLiteSwift`-[CBLWebSocket _connect](self=0x0000000280bd6400, _cmd=<unavailable>) at CBLWebSocket.mm:314:9 [opt]
          frame #12: 0x00000001046f0a20 libdispatch.dylib`_dispatch_call_block_and_release + 32
          frame #13: 0x00000001046f2700 libdispatch.dylib`_dispatch_client_callout + 20
          frame #14: 0x00000001046fa83c libdispatch.dylib`_dispatch_lane_serial_drain + 952
          frame #15: 0x00000001046fb558 libdispatch.dylib`_dispatch_lane_invoke + 428
          frame #16: 0x0000000104707fa0 libdispatch.dylib`_dispatch_workloop_worker_thread + 916
          frame #17: 0x00000001f39e91b0 libsystem_pthread.dylib`_pthread_wqthread + 288
      

      Attachments

        Issue Links

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

          Activity

            People

              Jayahari.Vavachan Jay Vavachan
              Jayahari.Vavachan Jay Vavachan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty