Skip to content

budgetdevv/JITBugRepro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JITBugRepro

Segfaults on Ubuntu ARM64, works fine on my Windows X64 machine

Runtime

  • .NET 7 RC 1

Suspects

  • Executing project using NonBlocking.ConcurrentDictionary bundled in referenced project

  • Services.GetRequiredService<MemberDB>() calls into ctor, which calls ConnectionPool.CreateOrGetConnection("") which reads from a static readonly NonBlocking.ConcurrentDictionary field

  • Services.GetRequiredService<InvitesModule>().OnReady() contains a foreach loop that writes into a NonBlocking.ConcurrentDictionary. The write happens after an await, which might also be responsible for the weird behavior

  • This bug seems to be caused by tiered compilation ( GDB mentioned TC and threadpool thread )

This is now a live issue @ dotnet/runtime#76051

About

Segfaults on Ubuntu ARM64, works fine on my Windows X64 machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages