linksplatform / linksplatform/Data.Doublets.Gql

Bug Report 23.08.2021

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

During the shutdown `[Ctrl + C]`

```csharp
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Platform.Data.Doublets.Memory.United.Generic.LinksSourcesSizeBalancedTreeMethods`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetSize(UInt64)
at Platform.Collections.Methods.Trees.SizeBalancedTreeMethods`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DetachCore(UInt64 ByRef, UInt64)
at Platform.Collections.Methods.Trees.SizedBinaryTreeMethodsBase`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Detach(UInt64 ByRef, UInt64)
at Platform.Data.Doublets.Memory.United.Generic.LinksSizeBalancedTreeMethodsBase`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Platform.Data.Doublets.Memory.ILinksTreeMethods.Detach(UInt64 ByRef, UInt64)
at Platform.Data.Doublets.Memory.United.Generic.UnitedMemoryLinksBase`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(System.Collections.Generic.IList`1, System.Collections.Generic.IList`1)
at Platform.Data.Doublets.Decorators.LinksDecoratorBase`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(System.Collections.Generic.IList`1, System.Collections.Generic.IList`1)
at Platform.Data.Doublets.Decorators.LinksDecoratorBase`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(System.Collections.Generic.IList`1, System.Collections.Generic.IList`1)
at Platform.Data.Doublets.Decorators.LinksUniquenessResolver`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(System.Collections.Generic.IList`1, System.Collections.Generic.IList`1)
at Platform.Threading.Synchronization.ISynchronizationExtensions+<>c__DisplayClass6_0`3[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b__0()
at Platform.Threading.Synchronization.ReaderWriterLockSynchronization.ExecuteWriteOperation[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`1)
at Platform.Threading.Synchronization.ISynchronizationExtensions.ExecuteWriteOperation[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Platform.Threading.Synchronization.ISynchronization, System.__Canon, System.__Canon, System.Func`3)
at Platform.Data.Doublets.SynchronizedLinks`1[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Update(System.Collections.Generic.IList`1, System.Collections.Generic.IList`1)
at Platform.Data.Doublets.ILinksExtensions.Update[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Platform.Data.Doublets.ILinks`1, UInt64, UInt64, UInt64)
at Platform.Data.Doublets.ILinksExtensions.CreateAndUpdate[[System.UInt64, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Platform.Data.Doublets.ILinks`1, UInt64, UInt64)
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Ctrl+C shutdown failure and trace the stack from ILinksExtensions.CreateAndUpdate and UnitedMemoryLinksBase.Update through DetachCore to LinksSourcesSizeBalancedTreeMethods.GetSize. The report names no source files or tests; done means shutdown no longer raises the reported System.AccessViolationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.