You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Random crashes when server concurrent GC enabled (didn't fixed) #835
Does it happen when you replace Memory<byte> with SpanByte. The memory support is hacky due to refCache concept, as mentioned earlier. We are looking into how to fix that. But suggest you use SpanByte instead. If you see an issue with this, that would be a serious problem.
Can you try with version 2.5.1 commit 6bc97ee and see if the issue is there as well. Checking if it could be related to the new work on push iterators.
Some info about testing on previous variation (with FasterLog):
net6.0 net7.0
Desktop i9-12900K, 64GB, Win-11 ok occasionally crashes
Hyper-V Ubuntu 22.04.2 not tested occasionally crashes
ThinkPad i7-8565U, 16GB, Win-11 n/t rarely crashes (1 or 2 times)
i7-3770K, 32GB, win-10 n/t ok
i5-10500, 32GB, win-10 n/t ok
Mac M1 16GB (test built with VS 2022 for Mac Preview) n/t ok
If there were no crashes on the laptop, I would think about broken RAM on desktop (ran memtest86 anyway, it's ok).
Below is new test variation (without FasterLog) always crashes on i9-12900K, almost instantly after start.
This new test variation contains some feed for GC, no crashes without it.
Tried different versions of FASTER (including 2.5.1 commit 6bc97ee) with this variation.
It seems test crashes on all versions starting from 1.9.8, and only on net7.0.
Any progress with narrowing down the surface of things running, plus a more reliable repro. I havent been able to make it happen. You can try varying various tuning parameters to see if the repro get better.
It seems this issue is unrelated to FASTER itself, but is a problem in .NET 7 with server GC. Here is a stand alone repro with no FASTER involved - we are in touch with the .NET team to determine the root cause and solution for it. Thanks!
Activity
badrishc commentedon May 8, 2023
Does it happen when you replace
Memory<byte>withSpanByte. The memory support is hacky due to refCache concept, as mentioned earlier. We are looking into how to fix that. But suggest you use SpanByte instead. If you see an issue with this, that would be a serious problem.oleg2k commentedon May 8, 2023
Yes, it crashes with SpanByte.
Uploaded two dumps:
https://drive.google.com/drive/folders/10STHa5optzPspMe9HbOzWJNWgNhZlidC
badrishc commentedon May 9, 2023
We are unable to reproduce it yet. Couple questions:
oleg2k commentedon May 9, 2023
I will try.
By the way, on Linux it happens more quickly
badrishc commentedon May 9, 2023
Can you try with version 2.5.1 commit 6bc97ee and see if the issue is there as well. Checking if it could be related to the new work on push iterators.
oleg2k commentedon May 9, 2023
Some info about testing on previous variation (with FasterLog):
If there were no crashes on the laptop, I would think about broken RAM on desktop (ran memtest86 anyway, it's ok).
Below is new test variation (without FasterLog) always crashes on i9-12900K, almost instantly after start.
This new test variation contains some feed for GC, no crashes without it.
Tried different versions of FASTER (including 2.5.1 commit 6bc97ee) with this variation.
It seems test crashes on all versions starting from 1.9.8, and only on net7.0.
No crashes on version 1.9.7.
Test-1.9.x.cs
Test-2.x.cs
badrishc commentedon May 10, 2023
Any progress with narrowing down the surface of things running, plus a more reliable repro. I havent been able to make it happen. You can try varying various tuning parameters to see if the repro get better.
badrishc commentedon May 12, 2023
It seems this issue is unrelated to FASTER itself, but is a problem in .NET 7 with server GC. Here is a stand alone repro with no FASTER involved - we are in touch with the .NET team to determine the root cause and solution for it. Thanks!
badrishc commentedon May 16, 2023
Closing as it's verified to be an issue outside FASTER.