-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
What happened?
Hi,
I'm a contributor on https://github.com/ppy/osu (a cross-platform .NET Core game). During reviews of recurring dependabot PRs it has come to my attention that upon bumping Realm from 10.3.0 to 10.4.0 the game would no longer launch on my system.
This is likely specific to my system, as I am on a bit of a "stale" system, you could say (details in the fields below), as it seems that there is a GLIBCXX version incompatibility that prevents the dynamic linker from successfully loading realm-wrappers, but looking at the changelog I am not really sure whether that is an intentional breakage or something that just happened by accident, which is mostly why I am opening this issue. If this is indeed deliberate, then feel free to close this immediately.
Repro steps
- Clone https://github.com/ppy/osu
- Bump all references to Realm from 10.3.0 to 10.4.0
- Attempt to run the osu.Desktop project
- The game crashes with instantly upon first realm access
Version
5.0.302
What SDK flavour are you using?
Local Database only
What type of application is this?
Other
Client OS and version
Ubuntu 18.04.5 LTS x86_64, kernel: 4.15.0-154-generic
Code snippets
No response
Stacktrace of the exception/crash you're getting
.NET stacktrace is:
[runtime] 2021-09-01 18:03:50 [error]: System.DllNotFoundException: Unable to load shared library 'realm-wrappers' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: librealm-wrappers: cannot open shared object file: No such file or directory [runtime] 2021-09-01 18:03:50 [error]: at Realms.SynchronizationContextScheduler.install_scheduler_callbacks(get_context get, post_on_context post, release_context release, is_on_context is_on)
LD_DEBUG shows:
20597: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: error: version lookup error: version `GLIBCXX_3.4.26' not found (required by /home/dachb/Dokumenty/opensource/osu/osu.Desktop/bin/Debug/net5.0/runtimes/linux-x64/native/librealm-wrappers.so) (fatal)
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 | grep GLIBCXX shows GLIBCXX_3.4.25 as the highest version symbol defined.
Relevant log output
No response
Build environment
No response