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

Realm access from incorrect thread error during CI for flx sync test #6919

Closed
nicola-cab opened this issue Aug 23, 2023 · 6 comments
Closed
Assignees

Comments

@nicola-cab
Copy link
Member

nicola-cab commented Aug 23, 2023

4: 2.132 s: Recover: incompatible schema changes on async open are an error

4: 3.377 s: flx: client reset

4: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

4: realm-object-store-tests is a Catch2 v3.3.2 host application.

4: Run with -? for options

4: -------------------------------------------------------------------------------

4: flx: client reset

4:   Recover: additive schema changes without dev mode produce an error after

4:            client reset

4: -------------------------------------------------------------------------------

4: /mnt/jenkins/workspace/realm_realm-core_PR-6918@2/test/object-store/sync/flx_sync.cpp:1275

4: ...............................................................................

4: /mnt/jenkins/workspace/realm_realm-core_PR-6918@2/test/object-store/sync/flx_sync.cpp:1296: FAILED:

4:   {Unknown expression after the reported line}

4: due to unexpected exception with message:

4:   Realm accessed from incorrect thread.

@kiburtse
Copy link
Contributor

kiburtse commented Aug 24, 2023

From the same pr #6918 thread sanitizer issue on different build run:

Details

[2023/08/24 07:54:48.418] 1: Thread[03]: ../test/test_util_future.cpp:227: Begin Future_Fail_getConstLvalue
[2023/08/24 07:54:48.442] 1: ==================
[2023/08/24 07:54:48.442] 1: WARNING: ThreadSanitizer: data race (pid=5841)
[2023/08/24 07:54:48.442] 1: Write of size 8 at 0x7b0400001a20 by thread T4:
[2023/08/24 07:54:48.442] 1: #0 free /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:708 (realm-tests+0x778738)
[2023/08/24 07:54:48.447] 1: #1 adjtime ??:? (libc.so.6+0xd2031)
[2023/08/24 07:54:48.447] 1: #2 (anonymous namespace)::Realm_UnitTest__Json_Timestamp::test_run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_json.cpp:884 (realm-tests+0x100a9ff)
[2023/08/24 07:54:48.447] 1: #3 realm::test_util::unit_test::RegisterTest<(anonymous namespace)::Realm_UnitTest__Json_Timestamp>::run_test(realm::test_util::unit_test::TestContext&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.hpp:640 (realm-tests+0x100a9ff)
[2023/08/24 07:54:48.447] 1: #4 realm::test_util::unit_test::TestList::ThreadContextImpl::run(realm::test_util::unit_test::TestList::SharedContextImpl::Entry, realm::util::UniqueLock&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:728 (realm-tests+0x13f8fde)
[2023/08/24 07:54:48.447] 1: #5 realm::test_util::unit_test::TestList::ThreadContextImpl::run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:682 (realm-tests+0x13f89a3)
[2023/08/24 07:54:48.447] 1: #6 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:641 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.447] 1: #7 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.447] 1: #8 void* realm::util::Thread::entry_pointrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:483 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.448] 1:
[2023/08/24 07:54:48.448] 1: Previous write of size 8 at 0x7b0400001a20 by thread T3:
[2023/08/24 07:54:48.448] 1: #0 malloc /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:652 (realm-tests+0x77811c)
[2023/08/24 07:54:48.448] 1: #1 __strdup ??:? (libc.so.6+0x9f38e)
[2023/08/24 07:54:48.448] 1: #2 realm::query_parser::ConstantNode::visit(realm::query_parser::ParserDriver*, realm::DataType) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/parser/driver.cpp:1226 (realm-tests+0x141bf6d)
[2023/08/24 07:54:48.448] 1: #3 realm::query_parser::ParserDriver::cmp(std::vector<realm::query_parser::ExpressionNode*, std::allocatorrealm::query_parser::ExpressionNode* > const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/parser/driver.cpp:1670 (realm-tests+0x140ef91)
[2023/08/24 07:54:48.448] 1: #4 realm::query_parser::RelationalNode::visit(realm::query_parser::ParserDriver*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/parser/driver.cpp:630 (realm-tests+0x14100a7)
[2023/08/24 07:54:48.448] 1: #5 realm::Table::query(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, realm::query_parser::Arguments&, realm::query_parser::KeyPathMapping const&) const /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/parser/driver.cpp:1819 (realm-tests+0x1424867)
[2023/08/24 07:54:48.448] 1: #6 verify_query(realm::test_util::unit_test::TestContext&, realm::TableRef, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, unsigned long, realm::query_parser::KeyPathMapping) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_parser.cpp:434 (realm-tests+0xcc09b7)
[2023/08/24 07:54:48.448] 1: #7 Realm_UnitTest__Parser_basic_serialisation::test_run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_parser.cpp:583 (realm-tests+0xcc2bfb)
[2023/08/24 07:54:48.448] 1: #8 realm::test_util::unit_test::RegisterTest<Realm_UnitTest__Parser_basic_serialisation>::run_test(realm::test_util::unit_test::TestContext&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.hpp:640 (realm-tests+0xdc5ad0)
[2023/08/24 07:54:48.449] 1: #9 realm::test_util::unit_test::TestList::ThreadContextImpl::run(realm::test_util::unit_test::TestList::SharedContextImpl::Entry, realm::util::UniqueLock&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:728 (realm-tests+0x13f8fde)
[2023/08/24 07:54:48.449] 1: #10 realm::test_util::unit_test::TestList::ThreadContextImpl::run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:682 (realm-tests+0x13f89a3)
[2023/08/24 07:54:48.449] 1: #11 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:641 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.449] 1: #12 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.449] 1: #13 void* realm::util::Thread::entry_pointrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:483 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.449] 1:
[2023/08/24 07:54:48.449] 1: Thread T4 'test-thread-4' (tid=5846, running) created by main thread at:
[2023/08/24 07:54:48.449] 1: #0 pthread_create /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966 (realm-tests+0x77994b)
[2023/08/24 07:54:48.449] 1: #1 realm::util::Thread::start(void* ()(void), void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:472 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.449] 1: #2 void realm::util::Thread::startrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:450 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.449] 1: #3 realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.450] 1: #4 (anonymous namespace)::run_tests(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:511 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.450] 1: #5 test_all(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:579 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.450] 1: #6 main /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/main.cpp:26 (realm-tests+0x80aa5c)
[2023/08/24 07:54:48.450] 1:
[2023/08/24 07:54:48.450] 1: Thread T3 'test-thread-3' (tid=5845, running) created by main thread at:
[2023/08/24 07:54:48.450] 1: #0 pthread_create /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966 (realm-tests+0x77994b)
[2023/08/24 07:54:48.450] 1: #1 realm::util::Thread::start(void* ()(void), void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:472 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.450] 1: #2 void realm::util::Thread::startrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:450 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.450] 1: #3 realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.450] 1: #4 (anonymous namespace)::run_tests(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:511 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.450] 1: #5 test_all(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:579 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.451] 1: #6 main /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/main.cpp:26 (realm-tests+0x80aa5c)
[2023/08/24 07:54:48.451] 1:
[2023/08/24 07:54:48.451] 1: SUMMARY: ThreadSanitizer: data race ??:? in adjtime
[2023/08/24 07:54:48.451] 1: ==================
[2023/08/24 07:54:48.467] 1: ==================
[2023/08/24 07:54:48.467] 1: WARNING: ThreadSanitizer: data race (pid=5841)
[2023/08/24 07:54:48.467] 1: Write of size 8 at 0x7b0400001a28 by thread T4:
[2023/08/24 07:54:48.467] 1: #0 free /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:708 (realm-tests+0x778738)
[2023/08/24 07:54:48.467] 1: #1 adjtime ??:? (libc.so.6+0xd2031)
[2023/08/24 07:54:48.467] 1: #2 (anonymous namespace)::Realm_UnitTest__Json_Timestamp::test_run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_json.cpp:884 (realm-tests+0x100a9ff)
[2023/08/24 07:54:48.468] 1: #3 realm::test_util::unit_test::RegisterTest<(anonymous namespace)::Realm_UnitTest__Json_Timestamp>::run_test(realm::test_util::unit_test::TestContext&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.hpp:640 (realm-tests+0x100a9ff)
[2023/08/24 07:54:48.468] 1: #4 realm::test_util::unit_test::TestList::ThreadContextImpl::run(realm::test_util::unit_test::TestList::SharedContextImpl::Entry, realm::util::UniqueLock&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:728 (realm-tests+0x13f8fde)
[2023/08/24 07:54:48.468] 1: #5 realm::test_util::unit_test::TestList::ThreadContextImpl::run() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:682 (realm-tests+0x13f89a3)
[2023/08/24 07:54:48.468] 1: #6 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:641 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.468] 1: #7 operator() /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.468] 1: #8 void* realm::util::Thread::entry_pointrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:483 (realm-tests+0x13fdffa)
[2023/08/24 07:54:48.468] 1:
[2023/08/24 07:54:48.468] 1: Previous write of size 8 at 0x7b0400001a28 by thread T3:
[2023/08/24 07:54:48.468] 1: [failed to restore the stack]
[2023/08/24 07:54:48.468] 1:
[2023/08/24 07:54:48.468] 1: Thread T4 'test-thread-4' (tid=5846, running) created by main thread at:
[2023/08/24 07:54:48.468] 1: #0 pthread_create /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966 (realm-tests+0x77994b)
[2023/08/24 07:54:48.468] 1: #1 realm::util::Thread::start(void* ()(void), void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:472 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.468] 1: #2 void realm::util::Thread::startrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:450 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.469] 1: #3 realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.469] 1: #4 (anonymous namespace)::run_tests(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:511 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.469] 1: #5 test_all(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:579 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.469] 1: #6 main /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/main.cpp:26 (realm-tests+0x80aa5c)
[2023/08/24 07:54:48.469] 1:
[2023/08/24 07:54:48.469] 1: Thread T3 'test-thread-3' (tid=5845, running) created by main thread at:
[2023/08/24 07:54:48.469] 1: #0 pthread_create /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966 (realm-tests+0x77994b)
[2023/08/24 07:54:48.469] 1: #1 realm::util::Thread::start(void* ()(void), void*) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:472 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.469] 1: #2 void realm::util::Thread::startrealm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1(realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config)::$_1) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../src/realm/util/thread.hpp:450 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.469] 1: #3 realm::test_util::unit_test::TestList::run(realm::test_util::unit_test::TestList::Config) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/util/unit_test.cpp:645 (realm-tests+0x13f7535)
[2023/08/24 07:54:48.469] 1: #4 (anonymous namespace)::run_tests(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:511 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.470] 1: #5 test_all(std::shared_ptrrealm::util::Logger const&) /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/test_all.cpp:579 (realm-tests+0xe87f30)
[2023/08/24 07:54:48.470] 1: #6 main /data/mci/d73478a6e11ba9c15c8a06a8a104b421/realm-core/build/../test/main.cpp:26 (realm-tests+0x80aa5c)
[2023/08/24 07:54:48.470] 1:
[2023/08/24 07:54:48.470] 1: SUMMARY: ThreadSanitizer: data race ??:? in adjtime
[2023/08/24 07:54:48.470] 1: ==================

@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@realm realm deleted a comment from sync-by-unito bot Aug 25, 2023
@kiburtse
Copy link
Contributor

So as per @ironage comment about the tsan issue (which is definitely unrelated):

"Those reports are about a race on global state having to do with the use of system time libraries from the test Json_Timestamp and Parser_basic_serialisation (and others). This is most likely due to using timegm
man gmtime: "Except for difftime(), mktime(), and the _r() variants of the other functions, these functions leaves their result in an internal static object and return a pointer to that object. Subsequent calls to
these function will modify the same object."

The issue in test itself is weird. How could that be for this line in code "flx_sync.cpp:1296: FAILED"?

Btw, it seems that the usage of catch2 in this test is incorrect one. Callback on async_open_realm will be executed on different thread, leading to data races for sure.

@kiburtse
Copy link
Contributor

Ok, the fix for mentioned tsan issue was added to #6911. Let track this issue for realm access from incorrect test.

I've seen this locally also on tsan build on linux with gcc during object store tests

Details
Filters: ~[baas]
Randomness seeded to: 2781704348

-------------------------------------------------------------------------------
realm-object-store-tests is a Catch2 v3.3.2 host application.
Run with -? for options

-------------------------------------------------------------------------------
Get Realm using Async Open
  progress notifiers of a task are cancelled if the task is cancelled
-------------------------------------------------------------------------------
/home/user/r/src/test/object-store/realm.cpp:1034
...............................................................................

/home/user/r/src/test/object-store/realm.cpp:1034: FAILED:
  {Unknown expression after the reported line}
due to unexpected exception with message:
  Realm accessed from incorrect thread.

An expected possible WebSocket error was caught during test: 'app destroyed during token refresh': 'SyncConnectFailed: Failed to connect to sync: Connection refused' for '/tmp/realm_HDolot/realm.MN8NTF'An expected possible WebSocket error was caught during test: 'app destroyed during token
test cases:    405 |    404 passed | 1 failed
assertions: 542987 | 542986 passed | 1 failed

<end of output>
Test time = 1662.15 sec
----------------------------------------------------------
Test Failed.
"ObjectStoreTests-local" end time: Aug 30 12:38 CEST
"ObjectStoreTests-local" time elapsed: 00:27:42
----------------------------------------------------------

@jedelbo
Copy link
Contributor

jedelbo commented Dec 8, 2023

@nicola-cab @kiburtse what is the status on this?

@nicola-cab
Copy link
Member Author

I was under the impression that this is still relevant, but I am not sure, since @kiburtse is really bisecting and chasing these issues down.

@kiburtse kiburtse self-assigned this Dec 8, 2023
@kiburtse
Copy link
Contributor

kiburtse commented Dec 8, 2023

yeah, right... sorry, i've totally forgotten about this particular issue. We are not going to see these failures anymore.

Code was changed in relevant tests as a part of #6911. The issues were reproducible quite easily.

@jedelbo You may check all relevant fixes for uv scheduler and shared_realm instantiation. Essentially, the exception was triggered because the scheduler in realm thinks it's on the wrong thread, the problem is that every instance on UV based scheduler works only on main thread, but our tests didn't account for that.

I've described the real cause and what we should fix in core here #7083.

@kiburtse kiburtse closed this as completed Dec 8, 2023
@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants