Repository navigation
Add FreeBSD process module enumeration to PAL - #6183
tomblanchard312 wants to merge 2 commits into
Conversation
|
@dotnet-policy-service agree |
|
Follow-up native .NET 10 validation on FreeBSD 15.1-RELEASE-p6 amd64. I built dbgshim with #6183 applied to the diagnostics sources in the .NET 10.0.110 VMR and built NetCoreDbg from Samsung/netcoredbg#260 using LLVM 19 and matching CoreCLR 10.0.10 headers. As an ordinary user, the existing DAP smoke test launched a native net10.0 console fixture, hit its source breakpoint, continued, and exited 0. In Code - OSS 1.138.0, the same fixture stopped at Program.cs:3 and showed the expected stack frame and locals (left=20, right=22) before continuing to exit 0. This run covers native launch. Attach, stepping, and managed exception validation are pending. |
|
I tried to reproduce the timeout in
The original Helix work item kept reporting that case with unchanged progress until the two-hour timeout. The local runs used the host Linux kernel and did not reproduce the stall. The hosted log does not identify whether it stalled during dump capture, analyzer startup, or an SOS command. Could a maintainer with Azure Pipelines access rerun the failed Tests Helix linux-x64 Debug job on build 1662730 and share the new attempt or Helix work-item link? Azure DevOps denied my retry request. |
Summary
KERN_PROC_VMMAPProcessModuleslistlibcoreclr.soand the matchinglibmscordbi.soduring runtime startupValidation
Built
libdbgshim.sonatively on FreeBSD 15.1 amd64 with LLVM 19 and used it with NetCoreDbg 3.2.0 plus the FreeBSD .NET SDK/runtime 9.0.115/9.0.14.A dependency-free DAP smoke test launched a
net9.0C# console program, stopped at the requestedProgram.cssource breakpoint, continued, and observed both exit code 0 and the terminated event.Before this change, the FreeBSD PAL had neither the macOS nor procfs module-enumeration path. dbgshim received only the module basename, failed with
E_INVALIDARG, and returned a nullICorDebugpointer.