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:8b62c482-015e-87dd-bf54-2f7883f53e58 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A6A:D4F9E:AA7F6E:F1FD19:696FB5C0 |
| html-safe-nonce | 9b80ae9d9e2e503b946fdcbecb62c30530e23786664c713531be893dc33b49b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTZBOkQ0RjlFOkFBN0Y2RTpGMUZEMTk6Njk2RkI1QzAiLCJ2aXNpdG9yX2lkIjoiMjYzNzk1MDg0OTA4MDE3MDg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dbabb2bbdc849790bb9acd01d14970f0c66e37c586ada20d96c3c0f42aceed9d |
| 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 | d146dfd2c89f9048de9fd6d73ec4ffcf201cc2c89880fcf1c73ff73970d46e64 |
| 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 | 1866f0fdabd6ce28d22bf272fe23b56a9d475be6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width