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

.NET 8 Console Application Failing to Local Realm Files #8020

Open
senorezi opened this issue Sep 3, 2024 · 3 comments
Open

.NET 8 Console Application Failing to Local Realm Files #8020

senorezi opened this issue Sep 3, 2024 · 3 comments
Labels
O-Community Reproduction-Required Waiting-For-Reporter Waiting for more information from the reporter before we can proceed

Comments

@senorezi
Copy link

senorezi commented Sep 3, 2024

Expected results

Read realm file and export out tables

Actual Results

Error when attempting to read file. Specifically when using the Realm.GetInstance method.

Steps & Code to Reproduce

Code:
using (Realms.Realm myInstance = Realms.Realm.GetInstance(realmX._config)) { ...Code here }

ERROR:
2024-09-03 18:08:26.036 Realm.Storage Info: DB: 53465 Thread 28780: Upgrading from file format version 23 to 24
D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm\node.cpp:45: [realm-core-14.12.0] Assertion failed: get_wtype_from_header(get_header_from_data(m_data)) == wtype_Bits [2, 0]

!!! IMPORTANT: Please report this at
https://github.com/realm/realm-core/issues/new/choose
C:\Users\foobar\bin\Debug\net8.0\foobar.exe (process 28072) exited with code -1073740791.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . .

Core version

Core version: 8

Copy link

sync-by-unito bot commented Sep 3, 2024

➤ PM Bot commented:

Jira ticket: RCORE-2255

@senorezi
Copy link
Author

senorezi commented Sep 6, 2024

Can I get an update on this

@jedelbo
Copy link
Contributor

jedelbo commented Sep 9, 2024

@senorezi is there any chance that you can share the file you want to upgrade? You can send it privately to jorgen.edelbo@mongodb.com if you like.

@sync-by-unito sync-by-unito bot added Waiting-For-Reporter Waiting for more information from the reporter before we can proceed Reproduction-Required labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Community Reproduction-Required Waiting-For-Reporter Waiting for more information from the reporter before we can proceed
Projects
None yet
Development

No branches or pull requests

2 participants