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

Crash while consolidating freelist (2) #5758

Closed
woutergoossens opened this issue Aug 18, 2022 · 3 comments · Fixed by #5993
Closed

Crash while consolidating freelist (2) #5758

woutergoossens opened this issue Aug 18, 2022 · 3 comments · Fixed by #5993

Comments

@woutergoossens
Copy link
Contributor

SDK and version

SDK : Cocoa/Swift
Version: v10.25.1

Observations

  • How frequent do the crash occur? 25 crashes
  • Does it happen in production or during dev/test? production
  • Can the crash be reproduced by you? No
  • Can you provide instructions for how we can reproduce it? No

Crash log / stacktrace

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x28414 __pthread_kill + 8
1  libsystem_pthread.dylib        0x2b40 pthread_kill + 272
2  libsystem_c.dylib              0x76b74 abort + 104
3  Realm                          0x2cf708 please_report_this_issue_in_github_realm_realm_core + 10
4  Realm                          0x2cfa08 realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 328
5  Realm                          0x2cfd6c realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list<realm::util::Printable>&&) + 388
6  Realm                          0x1af7e4 void realm::util::terminate_with_info<unsigned long const&, unsigned long long const&, unsigned long&, unsigned long&, unsigned long long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, int, char const*, char const*, unsigned long const&, unsigned long long const&, unsigned long&, unsigned long&, unsigned long long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) + 146
7  Realm                          0x1af1f8 realm::GroupWriter::recreate_freelist(unsigned long) + 1688
8  Realm                          0x1ade10 realm::GroupWriter::write_group() + 656
9  Realm                          0x18d0e4 realm::DB::low_level_commit(unsigned long long, realm::Transaction&, bool) + 400
10 Realm                          0x18d508 realm::Transaction::commit_and_continue_as_read(bool) + 164
11 Realm                          0x3919ec realm::_impl::RealmCoordinator::commit_write(realm::Realm&, bool) + 108
12 Realm                          0x41ff70 realm::Realm::commit_transaction() + 128
13 Realm                          0x121c1c -[RLMRealm commitWriteTransactionWithoutNotifying:error:] + 288
14 RealmSwift                     0x6a908 $s10RealmSwift0A0V5write16withoutNotifying_xSaySo20RLMNotificationTokenCG_xyKXEtKlF + 400

Steps & Code to Reproduce

@jbreams
Copy link
Contributor

jbreams commented Aug 18, 2022

This looks like it could be related to #5300 - @jedelbo, what do you think?

@finnschiermer
Copy link
Contributor

Yes, likely same root cause as #5300

@finnschiermer
Copy link
Contributor

@jedelbo assigning this one to you, since you're already assigned to #5300.

@sync-by-unito sync-by-unito bot changed the title Crash realm commit write Crash while consolidating freelist (2) Aug 29, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants