Crash in CBLite when replicating - after Visual Studio update

Yesterday I updated my Visual Studio for Mac to the latest version (8.3 - build 1805) - and XCode to version 11 (a requirement for that VS version). Since then my app has crashed. After numerous tests I’ve found out that it happens when I start replication. It runs a little and then it crashes.

This is what is written to the output console for iOS (see first reply - not enough room here)

For Android it also fails with (see second reply - not enough room here)

I wonder if this is related to another issue I experienced yesterday: Strange issue: Could not decode snappy-compressed value - and that it is just a coincidence that it fails right after I updated Visual Studio.

A possible solution could be to creeate a new demo environment from production: Best way to clone a bucket to a demo environment?. However, I would prefer to diagnose the issue (what would happen if this was in production???) - and I don’t think the app should crash from a replication issue (if that is the reason).

Any help on solving this is most appreciated…

Environment:
Couchbase server: Community Edition 6.0.0 build 1693 ‧ IPv4
Couchbase Lite 2.6.0 (but also fails on 2.5.3)
Couchbase Sync Gateway/2.6.0(127;b4c828d) CE

iOS (shortened):

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x10e3300e5 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Angler.iOS : mono_dump_native_crash_info
	0x10e324025 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Angler.iOS : mono_handle_native_crash
	0x10e3372c2 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Angler.iOS : mono_sigsegv_signal_handler_debug
	0x7fff51414b5d - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x0 - Unknown
	0x10edf5b34 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Frameworks/LiteCore.framework/LiteCore : c4rev_getGeneration
	0x10edf58e8 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Frameworks/LiteCore.framework/LiteCore : c4rev_getGeneration
	0x10ee800bc - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Frameworks/LiteCore.framework/LiteCore : c4rev_getGeneration
	0x10ee80174 - /Users/jda/Library/Developer/CoreSimulator/Devices/CDD4E30C-B1CF-4D76-989D-1CE948328790/data/Containers/Bundle/Application/86FA7C12-CF7D-4C1E-B539-5883D65C6A2A/Angler.iOS.app/Frameworks/LiteCore.framework/LiteCore : c4rev_getGeneration
	0x7fff511fb888 - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_call_block_and_release
	0x7fff511fc7f9 - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_client_callout
	0x7fff51202566 - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_lane_serial_drain
	0x7fff51202f9c - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_lane_invoke
	0x7fff5120d06c - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_workloop_worker_thread
	0x7fff5141c611 - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread
	0x7fff5141c3fd - /Applications/Xcode11.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_pthread.dylib : start_wqthread

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x10edd3481):0x10edd3471  0e 00 45 84 ed 75 0f 48 8b 83 38 01 00 00 31 c9  ..E..u.H..8...1.
0x10edd3481  86 88 24 01 00 00 48 89 df e8 49 fb ff ff 48 83  ..$...H...I...H.
0x10edd3491  bb 98 03 00 00 00 74 15 48 89 df e8 a9 01 00 00  ......t.H.......
0x10edd34a1  eb 0b 48 89 df 4c 89 f6 e8 42 29 02 00 48 8d bd  ..H..L...B)..H..
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116780ab2
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116780ab2
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11677e3a3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11677e3a3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11677c2a3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11677c2a3
[PLCrashReport] MSplframe_cursor_read_frame_ptr:86: Stack growing in wrong direction, terminating stack walk
[PLCrashReport] plcrash_writer_write_thread:984: Terminated stack walking early: Corrupted frame
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116780ab2
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116780ab2
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11677e3a3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11677e3a3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11677c2a3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11677c2a3
[PLCrashReport] MSplframe_cursor_read_frame_ptr:86: Stack growing in wrong direction, terminating stack walk
[PLCrashReport] plcrash_writer_write_thread:984: Terminated stack walking early: Corrupted frame
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x54485244
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x54485244
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x54485244
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x54485244
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x7f886aa07cb0
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x7f886aa07cb0
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x7f886aa07cb0
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x7f886aa07cb0
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116192999
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116192999
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1161978c3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1161978c3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1161956b6
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1161956b6
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x111760c7f
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116192999
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116192999
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1161978c3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1161978c3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1161956b6
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1161956b6
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d8da93
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d8da93
[PLCrashReport] MSplframe_cursor_read_frame_ptr:86: Stack growing in wrong direction, terminating stack walk
[PLCrashReport] plcrash_writer_write_thread:984: Terminated stack walking early: Corrupted frame
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d8da93
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d8da93
[PLCrashReport] MSplframe_cursor_read_frame_ptr:86: Stack growing in wrong direction, terminating stack walk
[PLCrashReport] plcrash_writer_write_thread:984: Terminated stack walking early: Corrupted frame
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x3000000000
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11175f393
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170d42fb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cbc73
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170cae1b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b81f3
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b5a43
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170b3dab
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x117095b8b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1170a4d83
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x11706d130
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116193b63
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d82e8d
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162ccedb
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x1162cb52b
[PLCrashReport] MSplframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x116d84c6c
[PLCrashReport] MSplframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x116d84c6c
: 
: 

Android:

[DbDataStore] Pull Replicator: 0/0, error <none>, activity = Busy
Thread finished:  #22
Thread started:  #23
[Mono] DllImport searching in: 'LiteCore' ('libLiteCore.so').
[Mono] Searching for 'c4socket_completedWrite'.
[Mono] Probing 'c4socket_completedWrite'.
[Mono] Found as 'c4socket_completedWrite'.
Thread finished:  #23
Thread started:  #24
Thread started:  #25
Thread finished:  #24
[Mono] DllImport searching in: 'LiteCore' ('libLiteCore.so').
[Mono] Searching for 'c4socket_received'.
[Mono] Probing 'c4socket_received'.
[Mono] Found as 'c4socket_received'.
[mono-rt] /proc/self/maps:
[mono-rt] 12c00000-12dc0000 rw-p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 12dc0000-13340000 ---p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 13340000-13540000 rw-p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 13540000-17380000 ---p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 17380000-173c0000 rw-p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 173c0000-17400000 ---p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 17400000-52c00000 rw-p 00000000 00:00 0                                  [anon:dalvik-main space (region space)]
[mono-rt] 603d4000-603d7000 r--p 00000000 fb:02 489                                /system/bin/app_process32
[mono-rt] 603d7000-603db000 r-xp 00003000 fb:02 489                                /system/bin/app_process32
[mono-rt] 603db000-603dc000 r--p 00007000 fb:02 489                                /system/bin/app_process32
[mono-rt] 603dc000-603dd000 rw-p 00000000 00:00 0 
[mono-rt] 70aa2000-70c7d000 rw-p 00000000 fb:02 1680                               /system/framework/x86/boot.art
[mono-rt] 70c7d000-70d37000 rw-p 00000000 fb:02 1659                               /system/framework/x86/boot-core-libart.art
[mono-rt] 70d37000-70d5f000 rw-p 00000000 fb:02 1671                               /system/framework/x86/boot-okhttp.art
[mono-rt] 70d5f000-70d94000 rw-p 00000000 fb:02 1656                               /system/framework/x86/boot-bouncycastle.art
[mono-rt] 70d94000-70da0000 rw-p 00000000 fb:02 1653                               /system/framework/x86/boot-apache-xml.art
[mono-rt] 70da0000-71430000 rw-p 00000000 fb:02 1665                               /system/framework/x86/boot-framework.art
[mono-rt] 71430000-7145c000 rw-p 00000000 fb:02 1662                               /system/framework/x86/boot-ext.art
[mono-rt] 7145c000-71517000 rw-p 00000000 fb:02 1674                               /system/framework/x86/boot-telephony-common.art
[mono-rt] 71517000-71521000 rw-p 00000000 fb:02 1677                               /system/framework/x86/boot-voip-common.art
[mono-rt] 71521000-71531000 rw-p 00000000 fb:02 1668                               /system/framework/x86/boot-ims-common.art
[mono-rt] 71531000-71534000 rw-p 00000000 fb:02 1650                               /system/framework/x86/boot-android.test.base.art
[mono-rt] 71534000-715f2000 r--p 00000000 fb:02 1681                               /system/framework/x86/boot.oat
[mono-rt] 715f2000-718b1000 r-xp 000be000 fb:02 1681                               /system/framework/x86/boot.oat
[mono-rt] 718b1000-718b2000 rw-p 00000000 00:00 0                                  [anon:.bss]
[libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe8 in tid 6643 (aarddata.angler), pid 6554 (aarddata.angler)
Thread started:  #26
Thread finished:  #25
Thread started:  #27
Thread finished:  #27
[Mono] Loading reference 20 of /storage/emulated/0/Android/data/dk.dalsgaarddata.angler/files/.__override__/Angler.Droid.dll asmctx DEFAULT, looking for System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
[Mono] Assembly Ref addref Angler.Droid[0xc2cda680] -> System.Core[0xdd2039a0]: 16
[View] requestLayout() improperly called by android.support.design.internal.BottomNavigationItemView{6802b8 VFE...C.. ..S...ID 0,0-252,147 #0} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatImageView{f6d6891 V.ED..... ..S...ID 94,21-157,84 #7f08005a app:id/icon} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{66533f7 I.ED..... ..S...I. 26,6-102,49 #7f0800d6 app:id/smallLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{6f69264 V.ED..... ..S...ID 0,0-129,51 #7f080063 app:id/largeLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.design.internal.BottomNavigationItemView{4eefccd VFE...C.. ......ID 252,0-459,147 #1} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatImageView{e564982 V.ED..... ......ID 72,42-135,105 #7f08005a app:id/icon} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{5bc70d0 V.ED..... ......ID 30,6-145,49 #7f0800d6 app:id/smallLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{c7b98c9 I.ED..... ......I. 0,0-176,51 #7f080063 app:id/largeLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.design.internal.BottomNavigationItemView{da37bce VFE...C.. ......ID 459,0-666,147 #2} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatImageView{da8aaef V.ED..... ......ID 72,42-135,105 #7f08005a app:id/icon} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{e1bf885 V.ED..... ......ID 31,6-160,49 #7f0800d6 app:id/smallLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{37f86da I.ED..... ......I. 0,0-192,51 #7f080063 app:id/largeLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.design.internal.BottomNavigationItemView{eff070b VFE...C.. ......ID 666,0-873,147 #3} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatImageView{43d89e8 V.ED..... ......ID 72,42-135,105 #7f08005a app:id/icon} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{adf36a6 V.ED..... ......ID 27,6-108,49 #7f0800d6 app:id/smallLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{e1508e7 I.ED..... ......I. 0,0-136,51 #7f080063 app:id/largeLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.design.internal.BottomNavigationItemView{1555c94 VFE...C.. ......ID 873,0-1080,147 #4} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatImageView{205b33d V.ED..... ......ID 72,42-135,105 #7f08005a app:id/icon} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{c9f4c83 V.ED..... ......ID 29,6-151,49 #7f0800d6 app:id/smallLabel} during layout: running second layout pass
[View] requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{975ae00 I.ED..... ......I. 0,0-181,51 #7f080063 app:id/largeLabel} during layout: running second layout pass
[View] requestLayout() improperly called by md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer{2980770 V.E...... .......D 0,0-1080,1731 #4} during second layout pass: posting in next frame
[View] requestLayout() improperly called by md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer{bae5d11 V.E...... ........ 0,0-1080,1731 #8} during second layout pass: posting in next frame
[View] requestLayout() improperly called by md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer{64164dc V.E...... ........ 0,0-1080,1731 #f} during second layout pass: posting in next frame
[View] requestLayout() improperly called by md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer{f74a1a4 V.E...... .......D 0,0-1080,1731 #14} during second layout pass: posting in next frame
[View] requestLayout() improperly called by md58432a647068b097f9637064b8985a5e0.NavigationPageRenderer{d5a4c3 V.E...... .......D 0,0-1080,1731 #18} during second layout pass: posting in next frame

By any chance are you running a pull-only replication? If so you might be hitting an issue that we actually just tracked down yesterday. I don’t see most of the logs there, and the stack trace is not symbolicated properly for iOS so I can’t be sure but the fact that it is so close to c4socket_received makes my spider sense tingle.

Hi Jim

That is actually a good point. When I first launch the app the user is not logged in - and then I do a Pull only replication. Once the user logs in (and he can decide to be “remembered”) then I stop the pull replication and start a pull-push replication. If the user is “remembered” then I only start the push-pull replication from the beginning…

Anything you want me to try to test further?

/John

Ok, I tried to change it to Pull-Push replication - and now it doesn’t crash anymore!!! So you’re definitely on the track of something.

I cannot test with a logged in user as the login via a service call to my server fails when trying to lookup the user id based on the email address.

Same error as I have described here: Strange issue: Could not decode snappy-compressed value

I also cannot log into the web solution and add/modify data to see if it replicates correctly. The site fails with the same errors when connecting to the database - for several different queries and direct lookups… :tired_face::confounded:

… and noone apparently know anything about that error - which is getting more and more worrying… :frowning:

I think as a workaround you can call resetCheckpoint on the pull-only replicator. You only need to do this once, and after that it will work unless you run into the same conditions again (which are that the remote checkpoint and local checkpoint do not match). This will be fixed in the next release and if you are interested in compiling yourself I can point you to the line in LiteCore that needs fixing (only one).

So when you say “once” does this mean “once only” - or once per session (e.g. every time I start the replication)?

Once only, definitely not every time you run the pull. I didn’t confirm this fix but I suspect it will work.

Ok, so only once - meaning changing the app to not do it after I have done it that one time…

I’m only working with test devices at the moment - so easy enough in this case. In a production environment it could be quite a lot more complicated…