我的应用程序的1个用户始终在“ realm :: GroupWriter :: get_free_space”处看到崩溃

时间:2019-01-27 22:24:33

标签: ios realm realm-mobile-platform

该应用正在尝试使用API​​从后端获取数据。接收到数据后,将其保存在Realm中。

这是其中一个用户看到一致的崩溃的时候。值得一提的是用户在崩溃时的手机状态:RAM可用:58.55 MB |可用磁盘:346.81 MB

其他用户看不到该问题。

我无法在内部复制此问题。我也尝试与用户联系。完成后,我将使用其他详细信息更新此帖子。

我将附加从crashlytics获得的堆栈跟踪。

Crashed: com.apple.main-thread

0  libsystem_kernel.dylib         0x1878b7104 __pthread_kill + 8
1  libsystem_pthread.dylib        0x187933020 pthread_kill$VARIANT$mp + 380
2  libsystem_c.dylib              0x18780ed78 abort + 140
3  TestApp                          0x104fd2548 std::__1::basic_ostream >& std::__1::operator >(std::__1::basic_ostream >&, char) + 47728
4  TestApp                          0x104fd26d4 realm::util::terminate_internal(std::__1::basic_stringstream, std::__1::allocator >&) + 48124
5  libsystem_pthread.dylib        0x187933020 pthread_kill$VARIANT$mp + 380
6  TestApp                          0x104fd2a84 realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list&&) + 49068
7  libsystem_pthread.dylib        0x187933020 pthread_kill$VARIANT$mp + 380
8  TestApp                          0x104f44c8c realm::GroupWriter::get_free_space() + 572468
9  TestApp                          0x104f4484c realm::GroupWriter::write_group() + 571380
10 TestApp                          0x104f420c4 realm::SharedGroup::low_level_commit(unsigned long long) + 561260
11 TestApp                          0x104f41d2c realm::SharedGroup::do_commit() + 560340
12 TestApp                          0x104f4233c realm::SharedGroup::commit_and_continue_as_read() + 561892
13 TestApp                          0x105512a98 realm::_impl::RealmCoordinator::commit_write(realm::Realm&) (vector:1471)
14 TestApp                          0x10552a298 realm::Realm::commit_transaction() (shared_realm.cpp:636)
15 TestApp                          0x105529d1c realm::Realm::update_schema(realm::Schema, unsigned long long, std::__1::function, std::__1::shared_ptr, realm::Schema&)>, std::__1::function)>, bool) (shared_realm.cpp:499)
16 TestApp                          0x1054c3870 +[RLMRealm realmWithConfiguration:error:] (functional:1862)
17 TestApp                          0x105573f54 specialized Realm.init(configuration:) (Realm.swift:79)
18 TestApp                          0x105571a14 Realm.__allocating_init(configuration:) ()

在上述情况下,预计将保存数据并返回。

0 个答案:

没有答案