Title: Multiple levels of Inheritance causes AccessViolationException due to Finalize being called multiple times · Issue #2627 · pythonnet/pythonnet · GitHub
Open Graph Title: Multiple levels of Inheritance causes AccessViolationException due to Finalize being called multiple times · Issue #2627 · pythonnet/pythonnet
X Title: Multiple levels of Inheritance causes AccessViolationException due to Finalize being called multiple times · Issue #2627 · pythonnet/pythonnet
Description: Pythonnet version: v3.0.5 built from source Reproduced on Windows 11. Not reproduced on MacOS. The issue occurs during Shutdown, when all the live objects gets disposed. I managed to reproduce it using a new unit test when I was trying t...
Open Graph Description: Pythonnet version: v3.0.5 built from source Reproduced on Windows 11. Not reproduced on MacOS. The issue occurs during Shutdown, when all the live objects gets disposed. I managed to reproduce it u...
X Description: Pythonnet version: v3.0.5 built from source Reproduced on Windows 11. Not reproduced on MacOS. The issue occurs during Shutdown, when all the live objects gets disposed. I managed to reproduce it u...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/2627
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple levels of Inheritance causes AccessViolationException due to Finalize being called multiple times","articleBody":"Pythonnet version: v3.0.5 built from source\n\nReproduced on Windows 11. Not reproduced on MacOS.\n\nThe issue occurs during Shutdown, when all the live objects gets disposed.\n\nI managed to reproduce it using a new unit test when I was trying to fix #2574.\n\n\n\n","author":{"url":"https://github.com/rmadsen-ks","@type":"Person","name":"rmadsen-ks"},"datePublished":"2025-10-09T08:17:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2627/pythonnet/issues/2627"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2eb07e37-f77f-9010-ce0f-8302c6f819fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABAE:18293E:645FF6:8AE85A:6A63A0BA |
| html-safe-nonce | 5a9f7d05a090905e8cf03d8bc8792ea11f17635f6cf3240406ad7d09a4efeff0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkFFOjE4MjkzRTo2NDVGRjY6OEFFODVBOjZBNjNBMEJBIiwidmlzaXRvcl9pZCI6IjEwNzM1MTMyOTA1NzUwOTM5NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9a98fc6c8f775e2f2527e1b859ca0dec00626077c3975e0323a21505d37ed688 |
| hovercard-subject-tag | issue:3498115010 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/2627/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ca5ed29e64aa4140c6634d3b7481ac1bf27460936c80e5604c957761b679e0c/pythonnet/pythonnet/issues/2627 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ca5ed29e64aa4140c6634d3b7481ac1bf27460936c80e5604c957761b679e0c/pythonnet/pythonnet/issues/2627 |
| og:image:alt | Pythonnet version: v3.0.5 built from source Reproduced on Windows 11. Not reproduced on MacOS. The issue occurs during Shutdown, when all the live objects gets disposed. I managed to reproduce it u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rmadsen-ks |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width