Uh oh!
There was an error while loading. Please reload this page.
Fix the crash that occurs on the second attempt to instantiate the FMU - #213
Merged
Merged
Conversation
if the first instance was destroyed. This crash is reproducible on recent Python versions. Although the documentation does not explicitly mention avoiding the use of PyFinalize more than once per process, doing so can lead to a crash in reality. To address this issue, keep the PyState alive until the library is unloaded.
zefir-o
commented
Aug 7, 2024
ContributorAuthor
@MinsGoing FYI |
zefir-o
commented
Aug 7, 2024
ContributorAuthor
@markaren Please review the fix for the issue mentioned (for some reason) here zefir-o/co2_tracker#8 |
MinsGoing
commented
Aug 7, 2024
@igor-epam It's working, thank you for your help. @markaren Please review the fix for the problem. |
Nils12345678901234567
commented
Aug 27, 2024
zefir-o
commented
Aug 27, 2024
ContributorAuthor
@Nils12345678901234567 This fix is for the issue caused by the previous PR. It was never released though. If you are using the version from the pip, then it's a different issue. |
MinsGoing
commented
Aug 27, 2024
@Nils12345678901234567 You need to manually git clone repository and then install it |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
if the first instance was destroyed. This crash is reproducible on recent Python versions. Although the documentation does not explicitly mention avoiding the use of PyFinalize more than once per process, doing so can lead to a crash in reality. To address this issue, keep the PyState alive until the library is unloaded.