{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/565","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-core","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/565/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/565/events","html_url":"https://github.com/couchbase/couchbase-lite-core/issues/565","id":359687381,"node_id":"MDU6SXNzdWUzNTk2ODczODE=","number":565,"title":"Blob causing CBL 2.1 to crash during pull replication","user":{"login":"HodGreeley","id":1111859,"node_id":"MDQ6VXNlcjExMTE4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1111859?v=4","gravatar_id":"","url":"https://api.github.com/users/HodGreeley","html_url":"https://github.com/HodGreeley","followers_url":"https://api.github.com/users/HodGreeley/followers","following_url":"https://api.github.com/users/HodGreeley/following{/other_user}","gists_url":"https://api.github.com/users/HodGreeley/gists{/gist_id}","starred_url":"https://api.github.com/users/HodGreeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HodGreeley/subscriptions","organizations_url":"https://api.github.com/users/HodGreeley/orgs","repos_url":"https://api.github.com/users/HodGreeley/repos","events_url":"https://api.github.com/users/HodGreeley/events{/privacy}","received_events_url":"https://api.github.com/users/HodGreeley/received_events","type":"User","site_admin":false},"labels":[{"id":849376521,"node_id":"MDU6TGFiZWw4NDkzNzY1MjE=","url":"https://api.github.com/repos/couchbase/couchbase-lite-core/labels/P1:%20high","name":"P1: high","color":"b60205","default":false},{"id":463491808,"node_id":"MDU6TGFiZWw0NjM0OTE4MDg=","url":"https://api.github.com/repos/couchbase/couchbase-lite-core/labels/backlog","name":"backlog","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-core/milestones/30","html_url":"https://github.com/couchbase/couchbase-lite-core/milestone/30","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-core/milestones/30/labels","id":3614262,"node_id":"MDk6TWlsZXN0b25lMzYxNDI2Mg==","number":30,"title":"2.1.2","description":"","creator":{"login":"djpongh","id":21346920,"node_id":"MDQ6VXNlcjIxMzQ2OTIw","avatar_url":"https://avatars3.githubusercontent.com/u/21346920?v=4","gravatar_id":"","url":"https://api.github.com/users/djpongh","html_url":"https://github.com/djpongh","followers_url":"https://api.github.com/users/djpongh/followers","following_url":"https://api.github.com/users/djpongh/following{/other_user}","gists_url":"https://api.github.com/users/djpongh/gists{/gist_id}","starred_url":"https://api.github.com/users/djpongh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djpongh/subscriptions","organizations_url":"https://api.github.com/users/djpongh/orgs","repos_url":"https://api.github.com/users/djpongh/repos","events_url":"https://api.github.com/users/djpongh/events{/privacy}","received_events_url":"https://api.github.com/users/djpongh/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-08-31T20:51:28Z","updated_at":"2018-09-14T22:08:47Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-09-12T23:23:19Z","updated_at":"2018-09-20T18:34:24Z","closed_at":null,"author_association":"NONE","body":"CBL 2.1.0 crashes during replication of a doc with a blob attached.  The same document without the blob appears to work.  The crash does not happen with CBL 2.0.0.\r\n\r\nSteps to repro:\r\n\r\n- Create bucket `debug`\r\n- Load provided data in CBS\r\n- Run SG, Android app with simple replication\r\n- Seg fault in libc\r\n\r\nEnvironment:\r\nMac, Couchbase Server 6.0.0 beta, Pixel AVD, Android API 25, Sync Gateway 2.0.0\r\n\r\nI believe I've seen the same crash on other devices, but have not reverified it.\r\n\r\nApp to repro crash: https://github.com/HodGreeley/Zebra-Inventory (under android).\r\n\r\nCBS data (from cbbackup): [cbbackup.tar.gz](https://github.com/couchbase/couchbase-lite-core/files/2384677/cbbackup.tar.gz)\r\n\r\nRestore with, e.g., `cbrestore /Users/hod/work/debug/ http://localhost:8091 -u Administrator -p Password -v -x rehash=1`\r\n\r\nSync Gateway config: [sg-debug.json.zip](https://github.com/couchbase/couchbase-lite-core/files/2377166/sg-debug.json.zip)\r\n\r\nLogcat output:\r\n```\r\n09-12 16:17:52.112 18521-18521/? I/art: Not late-enabling -Xcheck:jni (already on)\r\n09-12 16:17:52.113 18521-18521/? W/art: Unexpected CPU variant for X86 using defaults: x86\r\n09-12 16:17:52.137 18521-18527/? E/art: Failed sending reply to debugger: Broken pipe\r\n09-12 16:17:52.137 18521-18527/? I/art: Debugger is no longer active\r\n    Starting a blocking GC Instrumentation\r\n09-12 16:17:52.325 18521-18521/? W/ActivityThread: Application com.couchbase.mobile.zebra is waiting for the debugger on port 8100...\r\n09-12 16:17:52.326 18521-18521/? I/System.out: Sending WAIT chunk\r\n09-12 16:17:54.161 18521-18527/com.couchbase.mobile.zebra I/art: Debugger is active\r\n09-12 16:17:54.340 18521-18521/com.couchbase.mobile.zebra I/System.out: Debugger has connected\r\n09-12 16:17:54.341 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:54.543 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:54.747 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:54.956 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:55.157 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:55.359 18521-18521/com.couchbase.mobile.zebra I/System.out: waiting for debugger to settle...\r\n09-12 16:17:55.560 18521-18521/com.couchbase.mobile.zebra I/System.out: debugger has settled (1340)\r\n09-12 16:17:56.060 18521-18521/com.couchbase.mobile.zebra I/InstantRun: starting instant run server: is main process\r\n09-12 16:17:56.252 18521-18521/com.couchbase.mobile.zebra W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable\r\n09-12 16:17:56.444 18521-18521/com.couchbase.mobile.zebra I/DB: CouchbaseLite/2.1.0-176 (Java; Android 7.1.1; Android SDK built for x86) Build/0 Commit/a38462c LiteCore/ (176)\r\n09-12 16:17:56.467 18521-18521/com.couchbase.mobile.zebra I/Sync: Replicator[<*> Database@701c745{name='inventory'} URLEndpoint{url=ws://localhost:4984/inventory}]: Starting\r\n09-12 16:17:56.470 18521-18521/com.couchbase.mobile.zebra I/LiteCore [Actor]: Starting Scheduler<0xabcfcf80> with 4 threads\r\n09-12 16:17:56.472 18521-18521/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1}==> N8litecore4repl10ReplicatorE /data/user/0/com.couchbase.mobile.zebra/files/inventory.cblite2/ ->ws://localhost:4984/inventory/_blipsync\r\n    {Repl#1} Push=continuous, Pull=continuous, Options={{auth:{password:\"********\", type:\"Basic\", username:\"user\"}, headers:{User-Agent:\"CouchbaseLite/2.1.0-176 (Java; Android 7.1.1; Android SDK built for x86) Build/0 Commit/a38462c LiteCore/ (176)\"}}}\r\n09-12 16:17:56.473 18521-18540/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_open() socket -> 0xb2db2498 socketFactoryContext -> 0xad70e9a\r\n09-12 16:17:56.473 18521-18540/com.couchbase.mobile.zebra W/C4Socket: C4Socket.open() socket -> 3000706200\r\n    C4Socket.open() clazz -> com.couchbase.lite.internal.replicator.CBLWebSocket\r\n09-12 16:17:56.476 18521-18521/com.couchbase.mobile.zebra I/Sync: Replicator[<*> Database@701c745{name='inventory'} URLEndpoint{url=ws://localhost:4984/inventory}] is connecting, progress 0/0, error: null\r\n    C4ReplicatorListener.statusChanged() status -> C4ReplicatorStatus{activityLevel=2, progressUnitsCompleted=0, progressUnitsTotal=0, progressDocumentCount=0, errorDomain=0, errorCode=0, errorInternalInfo=0}\r\n09-12 16:17:56.480 18521-18540/com.couchbase.mobile.zebra E/WS: CBLWebSocket.socket_open()\r\n09-12 16:17:56.488 18521-18543/com.couchbase.mobile.zebra I/Sync: statusChanged() c4Status -> C4ReplicatorStatus{activityLevel=2, progressUnitsCompleted=0, progressUnitsTotal=0, progressDocumentCount=0, errorDomain=0, errorCode=0, errorInternalInfo=0}\r\n09-12 16:17:56.489 18521-18543/com.couchbase.mobile.zebra I/Sync: Replicator[<*> Database@701c745{name='inventory'} URLEndpoint{url=ws://localhost:4984/inventory}] is connecting, progress 0/0, error: null\r\n09-12 16:17:56.581 18521-18532/com.couchbase.mobile.zebra I/art: Background sticky concurrent mark sweep GC freed 17559(1318KB) AllocSpace objects, 0(0B) LOS objects, 36% free, 7MB/11MB, paused 401us total 103.062ms\r\n09-12 16:17:56.619 18521-18540/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} activityLevel=connecting: connectionState=1\r\n09-12 16:17:56.620 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {DBWorker#2}==> N8litecore4repl8DBWorkerE ->ws://localhost:4984/inventory/_blipsync\r\n    {DBWorker#2} activityLevel=idle: pendingResponseCount=0, eventCount=1\r\n09-12 16:17:56.620 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} No local checkpoint 'cp-VF6/0L2788BbJL/CwLU4Bm26cXE='\r\n09-12 16:17:56.621 18521-18541/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3}==> N8litecore4repl6PullerE ->ws://localhost:4984/inventory/_blipsync\r\n    {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=0\r\n09-12 16:17:56.621 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} activityLevel=connecting: connectionState=1\r\n    {Repl#1} pushStatus=busy, pullStatus=busy, dbStatus=idle, progress=0/0\r\n    {Repl#1} activityLevel=connecting: connectionState=1\r\n    {Repl#1} pushStatus=busy, pullStatus=busy, dbStatus=idle, progress=0/0\r\n    {Repl#1} activityLevel=connecting: connectionState=1\r\n09-12 16:17:56.674 18521-18544/com.couchbase.mobile.zebra I/OpenGLRenderer: Initialized EGL, version 1.4\r\n09-12 16:17:56.675 18521-18544/com.couchbase.mobile.zebra W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...\r\n09-12 16:17:56.739 18521-18521/com.couchbase.mobile.zebra W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView\r\n09-12 16:17:57.061 18521-18545/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] opened() socket -> 0xb2db2498\r\n09-12 16:17:57.061 18521-18541/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} activityLevel=connecting: connectionState=1\r\n09-12 16:17:57.061 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} Connected!\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n    {Repl#1} now busy\r\n09-12 16:17:57.062 18521-18539/com.couchbase.mobile.zebra I/Sync: C4ReplicatorListener.statusChanged() status -> C4ReplicatorStatus{activityLevel=4, progressUnitsCompleted=0, progressUnitsTotal=0, progressDocumentCount=0, errorDomain=0, errorCode=0, errorInternalInfo=0}\r\n09-12 16:17:57.063 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Push#4}==> N8litecore4repl6PusherE ->ws://localhost:4984/inventory/_blipsync\r\n    {Push#4} Starting continuous push from local seq #1\r\n09-12 16:17:57.064 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Push#4} activityLevel=busy: pendingResponseCount=0, caughtUp=0, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pendingSequences=0\r\n    {Pull#3} Starting pull from remote seq \r\n    {Pull#3} activityLevel=busy: pendingResponseCount=1, _caughtUp=0, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=0\r\n09-12 16:17:57.064 18521-18543/com.couchbase.mobile.zebra I/Sync: statusChanged() c4Status -> C4ReplicatorStatus{activityLevel=4, progressUnitsCompleted=0, progressUnitsTotal=0, progressDocumentCount=0, errorDomain=0, errorCode=0, errorInternalInfo=0}\r\n09-12 16:17:57.064 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_write() socket -> 0xb2db2498 data.size -> 68\r\n09-12 16:17:57.066 18521-18543/com.couchbase.mobile.zebra I/Sync: Replicator[<*> Database@701c745{name='inventory'} URLEndpoint{url=ws://localhost:4984/inventory}] is busy, progress 0/0, error: null\r\n09-12 16:17:57.066 18521-18539/com.couchbase.mobile.zebra W/C4Socket: C4Socket.write() handle -> 3000706200\r\n09-12 16:17:57.069 18521-18539/com.couchbase.mobile.zebra W/C4Socket: completedWrite(long) handle -> 3000706200, byteCount -> 68\r\n09-12 16:17:57.070 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] completedWrite() socket -> 0xb2db2498, byteCount -> 68\r\n09-12 16:17:57.072 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {DBWorker#2} activityLevel=idle: pendingResponseCount=0, eventCount=1\r\n    {Repl#1} pushStatus=busy, pullStatus=busy, dbStatus=idle, progress=0/0\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n09-12 16:17:57.073 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_write() socket -> 0xb2db2498 data.size -> 68\r\n09-12 16:17:57.073 18521-18539/com.couchbase.mobile.zebra W/C4Socket: C4Socket.write() handle -> 3000706200\r\n09-12 16:17:57.074 18521-18539/com.couchbase.mobile.zebra W/C4Socket: completedWrite(long) handle -> 3000706200, byteCount -> 68\r\n09-12 16:17:57.074 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] completedWrite() socket -> 0xb2db2498, byteCount -> 68\r\n09-12 16:17:57.074 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Push#4} Found 0 changes up to #0\r\n09-12 16:17:57.075 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Push#4} Caught up, at lastSequence #0\r\n    {Push#4} activityLevel=idle: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pendingSequences=0\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n    {Pull#3} activityLevel=busy: pendingResponseCount=1, _caughtUp=0, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=0\r\n09-12 16:17:57.075 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_write() socket -> 0xb2db2498 data.size -> 32\r\n09-12 16:17:57.076 18521-18539/com.couchbase.mobile.zebra W/C4Socket: C4Socket.write() handle -> 3000706200\r\n09-12 16:17:57.077 18521-18539/com.couchbase.mobile.zebra W/C4Socket: completedWrite(long) handle -> 3000706200, byteCount -> 32\r\n09-12 16:17:57.077 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] completedWrite() socket -> 0xb2db2498, byteCount -> 32\r\n09-12 16:17:57.077 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} pushStatus=idle, pullStatus=busy, dbStatus=idle, progress=0/0\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n09-12 16:17:57.078 18521-18545/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] received() socket -> 0xb2db2498\r\n09-12 16:17:57.079 18521-18540/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_completedReceive() s -> 0xb2db2498 byteCount -> 47\r\n09-12 16:17:57.079 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Repl#1} No remote checkpoint\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n09-12 16:17:57.080 18521-18540/com.couchbase.mobile.zebra W/C4Socket: C4Socket.completedReceive() handle -> 3000706200\r\n09-12 16:17:57.128 18521-18545/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] received() socket -> 0xb2db2498\r\n    [NATIVE] received() socket -> 0xb2db2498\r\n09-12 16:17:57.128 18521-18541/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_completedReceive() s -> 0xb2db2498 byteCount -> 7\r\n09-12 16:17:57.128 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=0\r\n09-12 16:17:57.129 18521-18541/com.couchbase.mobile.zebra W/C4Socket: C4Socket.completedReceive() handle -> 3000706200\r\n09-12 16:17:57.129 18521-18541/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_completedReceive() s -> 0xb2db2498 byteCount -> 122\r\n09-12 16:17:57.129 18521-18540/com.couchbase.mobile.zebra I/LiteCore [Sync]: {DBWorker#2} Received 1 changes (seq '2'..'2')\r\n09-12 16:17:57.130 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _waitingForChangesCallback=1, _pendingRevMessages=0, _activeIncomingRevs=0\r\n09-12 16:17:57.130 18521-18541/com.couchbase.mobile.zebra W/C4Socket: C4Socket.completedReceive() handle -> 3000706200\r\n09-12 16:17:57.131 18521-18540/com.couchbase.mobile.zebra I/LiteCore [Sync]: {DBWorker#2} Responded to 'changes' REQ#1 w/request for 1 revs\r\n    {DBWorker#2} activityLevel=idle: pendingResponseCount=0, eventCount=1\r\n09-12 16:17:57.131 18521-18541/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_write() socket -> 0xb2db2498 data.size -> 38\r\n09-12 16:17:57.131 18521-18539/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _waitingForChangesCallback=0, _pendingRevMessages=1, _activeIncomingRevs=0\r\n    {Repl#1} pushStatus=idle, pullStatus=busy, dbStatus=idle, progress=0/1\r\n    {Repl#1} activityLevel=busy: connectionState=2\r\n09-12 16:17:57.133 18521-18541/com.couchbase.mobile.zebra W/C4Socket: C4Socket.write() handle -> 3000706200\r\n09-12 16:17:57.134 18521-18541/com.couchbase.mobile.zebra W/C4Socket: completedWrite(long) handle -> 3000706200, byteCount -> 38\r\n09-12 16:17:57.134 18521-18541/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] completedWrite() socket -> 0xb2db2498, byteCount -> 38\r\n09-12 16:17:57.137 18521-18545/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] received() socket -> 0xb2db2498\r\n09-12 16:17:57.141 18521-18540/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_completedReceive() s -> 0xb2db2498 byteCount -> 15\r\n09-12 16:17:57.141 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} Caught up with remote changes\r\n09-12 16:17:57.144 18521-18542/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _waitingForChangesCallback=0, _pendingRevMessages=1, _activeIncomingRevs=0\r\n09-12 16:17:57.145 18521-18540/com.couchbase.mobile.zebra W/C4Socket: C4Socket.completedReceive() handle -> 3000706200\r\n09-12 16:17:57.177 18521-18545/com.couchbase.mobile.zebra I/LiteCoreJNI: [NATIVE] received() socket -> 0xb2db2498\r\n09-12 16:17:57.178 18521-18539/com.couchbase.mobile.zebra I/LiteCoreJNI: socket_completedReceive() s -> 0xb2db2498 byteCount -> 193\r\n09-12 16:17:57.195 18521-18541/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=1\r\n09-12 16:17:57.199 18521-18540/com.couchbase.mobile.zebra I/LiteCore [Sync]: {Pull#3} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _waitingForChangesCallback=0, _pendingRevMessages=0, _activeIncomingRevs=1\r\n09-12 16:17:57.199 18521-18539/com.couchbase.mobile.zebra W/C4Socket: C4Socket.completedReceive() handle -> 3000706200\r\n>    \r\n>    --------- beginning of crash\r\n>09-12 16:17:57.229 18521-18541/com.couchbase.mobile.zebra A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 18541 (Thread-12)\r\n```"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/comments/423288142","html_url":"https://github.com/couchbase/couchbase-lite-core/issues/565#issuecomment-423288142","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-core/issues/565","id":423288142,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzI4ODE0Mg==","user":{"login":"pasin","id":801454,"node_id":"MDQ6VXNlcjgwMTQ1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/801454?v=4","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T18:34:24Z","updated_at":"2018-09-20T18:34:24Z","author_association":"CONTRIBUTOR","body":"I could reproduce the issue with steps above. If using 2.0.0, I saw the below error but the app didn't crash:\r\n\r\n```\r\n09-20 14:19:50.203 4474-4497/? E/LiteCore [Sync]: {N8litecore4repl12IncomingBlobE#1}==> N8litecore4repl12IncomingBlobE ->ws:10.17.0.201:4984/inventory/_blipsync\r\n    {N8litecore4repl12IncomingBlobE#1} Got LiteCore error: data is corrupted (1/15)\r\n```"}}
{"actor":{"display_login":"pasin"}}