-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
What happened?
15:26:23.709: E Can't cancel a non-existing write transaction
15:26:23.709: E at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
at Realms.SharedRealmHandle.CancelTransaction()
at Realms.Transaction.Rollback()
at Realms.Transaction.Dispose()
at Realms.Realm.Write[T](Func`1 function)
at Realms.Realm.WriteAsync[T](Func`1 function, CancellationToken cancellationToken)
at Superhare.NHFutures.Threading.Activities.NHFuturesFuCodeSubscriber.<>c_DisplayClass7_0.<<OnSubscribe>b0>d.MoveNext() in E:\Clients_________.cs:line 166
15:26:27.416: E MapViewOfFileFromApp() failed: Exec format error size: 49283072 offset: 0
15:26:27.416: E at Realms.RealmConfiguration.CreateHandle(RealmSchema schema)
at Realms.RealmConfiguration.CreateHandleAsync(RealmSchema schema, CancellationToken cancellationToken)
at Realms.RealmConfigurationBase.CreateRealmAsync(CancellationToken cancellationToken)
at Superhare.NHFutures.Threading.Activities.NHFuturesFuCodeSubscriber.<>c_DisplayClass7_0.<<OnSubscribe>b0>d.MoveNext() in E:\Clients_________.cs:line 157
-
-
- __ => Named '__' processed
-
Repro steps
Since it is intermittent, it is almost impossible to reproduce.
Version
Net6
What SDK flavour are you using?
Local Database only
What type of application is this?
WPF
Client OS and version
Windows 10 Pro 19044.2251
Code snippets
await realm.WriteAsync
Stacktrace of the exception/crash you're getting
15:26:23.709: E Can't cancel a non-existing write transaction
15:26:23.709: E at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
at Realms.SharedRealmHandle.CancelTransaction()
at Realms.Transaction.Rollback()
at Realms.Transaction.Dispose()
at Realms.Realm.Write[T](Func`1 function)
at Realms.Realm.WriteAsync[T](Func`1 function, CancellationToken cancellationToken)
at Superhare.NHFutures.Threading.Activities.NHFuturesFuCodeSubscriber.<>c__DisplayClass7_0.<<OnSubscribe>b__0>d.MoveNext() in E:\Clients\__\__\__\__\__\__\__\__.cs:line 166
15:26:27.416: E MapViewOfFileFromApp() failed: Exec format error size: 49283072 offset: 0
15:26:27.416: E at Realms.RealmConfiguration.CreateHandle(RealmSchema schema)
at Realms.RealmConfiguration.CreateHandleAsync(RealmSchema schema, CancellationToken cancellationToken)
at Realms.RealmConfigurationBase.CreateRealmAsync(CancellationToken cancellationToken)
at Superhare.NHFutures.Threading.Activities.NHFuturesFuCodeSubscriber.<>c__DisplayClass7_0.<<OnSubscribe>b__0>d.MoveNext() in E:\Clients\__\__\__\__\__\__\__\__.cs:line 157
*** __ => Named '__' processed
Relevant log output
No response