Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

external_commit_helper.cpp line 180 CRASH - (NoSuchTable) #6916

Closed
jesusmateos1234 opened this issue Nov 6, 2020 · 4 comments
Closed

external_commit_helper.cpp line 180 CRASH - (NoSuchTable) #6916

jesusmateos1234 opened this issue Nov 6, 2020 · 4 comments

Comments

@jesusmateos1234
Copy link

jesusmateos1234 commented Nov 6, 2020

Bugs: Users experiment crash, nobody knows for what and where the crash has occurred

Code Sample

Fatal Exception: realm::NoSuchTable
No such table exists Exception backtrace:
0 Realm 0x00000001020aae4c _ZN5realm11NoSuchTableC1Ev + 60
1 Realm 0x0000000102166540 _ZNK5realm13ConstTableRef5checkEv + 120 
2 Realm 0x00000001021665ac _ZNK5realm13ConstTableRefptEv + 20 
3 Realm 0x00000001020b6ba0 _ZN5realm11Transaction14import_copy_ofENS_13ConstTableRefE + 32 
4 Realm 0x0000000101f8d93c _ZN5realm5QueryC2EPKS0_PNS_11TransactionENS_13PayloadPolicyE + 312 
5 Realm 0x00000001020b6f38 _ZN5realm11Transaction14import_copy_ofERNS_5QueryENS_13PayloadPolicyE + 64 
6 Realm 0x0000000101de6744 _ZN5realm5_impl15ResultsNotifier12do_attach_toERNS_11TransactionE + 64 
7 Realm 0x0000000101da2518 _ZN5realm5_impl18CollectionNotifier9attach_toENSt3__110shared_ptrINS_11TransactionEEE + 36 
8 Realm 0x0000000101dd220c _ZN5realm5_impl16RealmCoordinator19run_async_notifiersEv + 856 
9 Realm 0x0000000101dd1e58 _ZN5realm5_impl16RealmCoordinator9on_changeEv + 24 
10 Realm 0x0000000101da6268 _ZN5realm5_impl20ExternalCommitHelper6listenEv + 204 
11 Realm 0x0000000101da6d34 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl 20ExternalCommitHelperC1ERNS8_16RealmCoordinatorEE3$_0EEEEEPvSE_ + 52 
12 libsystem_pthread.dylib 0x00000001d3b65ca8 _pthread_start + 320 
13 libsystem_pthread.dylib 0x00000001d3b6e788 thread_start + 8
Crashed: Realm notification listener
SIGABRT ABORT 0x00000001b7dd898c
void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >(void*)

Crashed: Realm notification listener
0  APP                      0x100f1acdc CLSProcessRecordAllThreads + 4298976476
1  APP                      0x100f1b0c4 CLSProcessRecordAllThreads + 4298977476
2  APP                      0x100f0a930 CLSHandler + 4298910000
3  APP                      0x100f192d4 __CLSExceptionRecord_block_invoke + 4298969812
4  libdispatch.dylib              0x18b874ac8 _dispatch_client_callout + 20
5  libdispatch.dylib              0x18b882c8c _dispatch_lane_barrier_sync_invoke_and_complete + 60
6  APP                      0x100f18d40 CLSExceptionRecord + 4298968384
7  APP                      0x100f18824 CLSTerminateHandler() + 4298967076
8  libc++abi.dylib                0x19fe632a8 std::__terminate(void (*)()) + 20
9  libc++abi.dylib                0x19fe66174 __cxa_rethrow + 148
10 Realm                          0x101da6de0 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >(void*) + 180 (external_commit_helper.cpp:180)
11 libsystem_pthread.dylib        0x1d3b65ca8 _pthread_start + 320
12 libsystem_pthread.dylib        0x1d3b6e788 thread_start + 8

Version of Realm and Tooling

Compiled 5.5.0 version, downloaded with Carthage but builded in local with Swift 5.2.4 (That's already happened with 5.3.6 && 5.3.0)
Realm framework version: 5.5.0

Xcode version: 11.7

iOS/OSX version: 13.7, 14.0.1, 14.1.0

Dependency manager + version: Carthage 0.36

@pavel-ship-it
Copy link
Contributor

Hi @jesusmateos1234
It looks similar to known issue #6767
Could you please take a look at that issue? We would appreciate any additional info on that issue.

@jesusmateos1234
Copy link
Author

It's similar @pavel-ship-it

@leemaguire
Copy link
Contributor

@jesusmateos1234 can you please update to v10.1.4 and let us know if the issue still persists?

@sync-by-unito sync-by-unito bot changed the title external_commit_helper.cpp line 180 CRASH external_commit_helper.cpp line 180 CRASH - (NoSuchTable) Dec 8, 2020
@tgoyne
Copy link
Member

tgoyne commented Dec 18, 2020

This is probably fixed by realm/realm-core#4234.

@sync-by-unito sync-by-unito bot closed this as completed Mar 27, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants