René's URL Explorer Experiment


Title: AccessViolationException accessing Commit.Parents concurrently on Linux .NET 10 · Issue #2192 · libgit2/libgit2sharp · GitHub

Open Graph Title: AccessViolationException accessing Commit.Parents concurrently on Linux .NET 10 · Issue #2192 · libgit2/libgit2sharp

X Title: AccessViolationException accessing Commit.Parents concurrently on Linux .NET 10 · Issue #2192 · libgit2/libgit2sharp

Description: Environment LibGit2Sharp 0.32.0 LibGit2Sharp.NativeBinaries 2.0.324 (libgit2 1.8.6) .NET SDK/runtime 10.0.400 Linux x64, GitHub-hosted Ubuntu 24.04 runner Failure A test process intermittently terminates with System.AccessViolationExcept...

Open Graph Description: Environment LibGit2Sharp 0.32.0 LibGit2Sharp.NativeBinaries 2.0.324 (libgit2 1.8.6) .NET SDK/runtime 10.0.400 Linux x64, GitHub-hosted Ubuntu 24.04 runner Failure A test process intermittently term...

X Description: Environment LibGit2Sharp 0.32.0 LibGit2Sharp.NativeBinaries 2.0.324 (libgit2 1.8.6) .NET SDK/runtime 10.0.400 Linux x64, GitHub-hosted Ubuntu 24.04 runner Failure A test process intermittently term...

Opengraph URL: https://github.com/libgit2/libgit2sharp/issues/2192

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AccessViolationException accessing Commit.Parents concurrently on Linux .NET 10","articleBody":"## Environment\r\n\r\n- LibGit2Sharp 0.32.0\r\n- LibGit2Sharp.NativeBinaries 2.0.324 (libgit2 1.8.6)\r\n- .NET SDK/runtime 10.0.400\r\n- Linux x64, GitHub-hosted Ubuntu 24.04 runner\r\n\r\n## Failure\r\n\r\nA test process intermittently terminates with `System.AccessViolationException` while accessing `Commit.Parents` during a version-height calculation. The test uses distinct temporary repositories per test instance, and the `LibGit2Context` and its `Repository` are both live and strongly referenced throughout the failing call.\r\n\r\nThe latest occurrence is in this public GitHub Actions job:\r\nhttps://github.com/dotnet/Nerdbank.GitVersioning/actions/runs/33464845055/job/99722455984\r\n\r\nRelevant managed stack:\r\n\r\n```text\r\nSystem.AccessViolationException: Attempted to read or write protected memory.\r\n   at Nerdbank.GitVersioning.LibGit2.LibGit2GitExtensions.\u003cGetCommitHeight>g__TryCalculateHeight|19_0(LibGit2Sharp.Commit, \u003c>c__DisplayClass19_0 ByRef)\r\n   at Nerdbank.GitVersioning.LibGit2.LibGit2GitExtensions.GetCommitHeight(LibGit2Sharp.Commit, GitWalkTracker, Func\u003cCommit, Boolean>)\r\n   at Nerdbank.GitVersioning.LibGit2.LibGit2GitExtensions.GetVersionHeight(LibGit2Context, Version)\r\n   at Nerdbank.GitVersioning.LibGit2.LibGit2Context.CalculateVersionHeight(VersionOptions, VersionOptions)\r\n   at Nerdbank.GitVersioning.VersionOracle..ctor(GitContext, ICloudBuild, Nullable\u003cInt32>)\r\n   at VersionOracleTests.CloudBuildNumber_4thPosition(...)\r\n```\r\n\r\n`TryCalculateHeight` is walking `commit.Parents`; this theory does not configure path filters, so it does not call `Diff.Compare`.\r\n\r\n## Investigation\r\n\r\nWe found and fixed separate repository-local lifetime defects where a lazy commit query escaped its context and a `VersionOracle` retained a disposed context. This crash persists after those fixes, and the present stack has no escaped lazy sequence or disposed native owner.\r\n\r\nThe test assembly's normal xUnit test-collection parallelism is the remaining variable. We are temporarily serializing test collections to prevent the intermittent native process crash, but would prefer a LibGit2Sharp/libgit2 fix or guidance about concurrent independent repository operations on Linux/.NET 10.\r\n\r\nRelated historical reports include #988 and #1513, but this report targets the current package versions and live-context `Commit.Parents` failure.\r\n","author":{"url":"https://github.com/AArnott","@type":"Person","name":"AArnott"},"datePublished":"2026-09-01T03:19:53Z","url":"https://github.com/libgit2/libgit2sharp/issues/2192"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:570e06a7-b1c9-fd6f-c6d9-3af26b8a2e39
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD400:BAAC6:66756:8B670:6AFD5969
html-safe-nonceb18f61591caa0f431e9a19ecd7f824cd6e65deedc71e23072827d0f766377e33
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDAwOkJBQUM2OjY2NzU2OjhCNjcwOjZBRkQ1OTY5IiwidmlzaXRvcl9pZCI6IjQ4OTAwNjE2NDExNTgwNTYyOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac32b91ec7a82bc71051dec0a89b583f1cb27ebc7aeca4a6052bb6a09a8af35427
hovercard-subject-tagissue:5307421812
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2sharp/2192/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d52f97a5dee3eb610001b58ca3983c27e56e8d4caf32e8e6bf5eb2ac493d253f/libgit2/libgit2sharp/issues/2192
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d52f97a5dee3eb610001b58ca3983c27e56e8d4caf32e8e6bf5eb2ac493d253f/libgit2/libgit2sharp/issues/2192
og:image:altEnvironment LibGit2Sharp 0.32.0 LibGit2Sharp.NativeBinaries 2.0.324 (libgit2 1.8.6) .NET SDK/runtime 10.0.400 Linux x64, GitHub-hosted Ubuntu 24.04 runner Failure A test process intermittently term...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAArnott
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
go-importgithub.com/libgit2/libgit2sharp git https://github.com/libgit2/libgit2sharp.git
octolytics-dimension-user_id394745
octolytics-dimension-user_loginlibgit2
octolytics-dimension-repository_id1415168
octolytics-dimension-repository_nwolibgit2/libgit2sharp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1415168
octolytics-dimension-repository_network_root_nwolibgit2/libgit2sharp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/libgit2/libgit2sharp/issues/2192#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2sharp%2Fissues%2F2192
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibgit2%2Flibgit2sharp%2Fissues%2F2192
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=libgit2%2Flibgit2sharp
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2192
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2192
Reloadhttps://github.com/libgit2/libgit2sharp/issues/2192
libgit2https://github.com/libgit2
libgit2sharphttps://github.com/libgit2/libgit2sharp
Codehttps://github.com/libgit2/libgit2sharp
Issues406 (406)https://github.com/libgit2/libgit2sharp/issues
Pull requests54 (54)https://github.com/libgit2/libgit2sharp/pulls
Actionshttps://github.com/libgit2/libgit2sharp/actions
Projectshttps://github.com/libgit2/libgit2sharp/projects
Wikihttps://github.com/libgit2/libgit2sharp/wiki
Security and qualityhttps://github.com/libgit2/libgit2sharp/security
Insightshttps://github.com/libgit2/libgit2sharp/insights
https://github.com/libgit2/libgit2sharp
New issuehttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2192
New issuehttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2192
AccessViolationException accessing Commit.Parents concurrently on Linux .NET 10https://github.com/libgit2/libgit2sharp/issues/2192#top
https://github.com/AArnott
AArnotthttps://github.com/AArnott
on Sep 1, 2026https://github.com/libgit2/libgit2sharp/issues/2192#issue-5307421812
https://github.com/dotnet/Nerdbank.GitVersioning/actions/runs/33464845055/job/99722455984https://github.com/dotnet/Nerdbank.GitVersioning/actions/runs/33464845055/job/99722455984
#988https://github.com/libgit2/libgit2sharp/issues/988
#1513https://github.com/libgit2/libgit2sharp/issues/1513
https://github.com/bording
bordinghttps://github.com/bording
on Sep 1, 2026https://github.com/libgit2/libgit2sharp/issues/2192#issuecomment-5501970060
Sign up for freehttps://github.com/signup?return_to=https://github.com/libgit2/libgit2sharp/issues/2192
Sign in to commenthttps://github.com/login?return_to=https://github.com/libgit2/libgit2sharp/issues/2192
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.