Lucian Smith

Results 113 comments of Lucian Smith

Done! https://github.com/sbmlteam/libsbml/pull/380

Unfortunately, my example is just 'An Antimony run of test_antimony in Windows debug mode', which seems like kind of a lot to put together on your end for this. I...

If it helps: https://dev.azure.com/TheRoadrunnerProject/Antimony/_build/results?buildId=2091&view=logs&j=15314346-96fc-526a-0d4a-1584374d24fd&t=6ef87d2e-fa5c-53e0-1ab5-aed8f1ea3d98&s=5eb25f97-233a-54a9-28a6-afcff88f1eb7 I could also just send an executable that crashes, if that would help?

Exactly: the C++ runtime is going down, and your static map is being deleted and my static SBML document is also being deleted; it's just a question of which one...

No, I can confirm that even when a thing is deleted, sometimes bits of it happen to hang around in memory so if you ask it some questions, it's fine....

The registry is an object, not a pointer, so I don't know how to destroy it; it just goes out of scope at some point. Is there some way to...

The SBML Document itself is *also* just an object child of the registry; not a pointer.

That still fails--the 'deleteRegistry' function isn't called before ~Registry is called on my end. Maybe mModelValues can be changed to a pointer instead of an object? Then things that delete...

Actually, that causes its own problems: once the 'deleteRegistry' function is called, the mModelValues object is already bad, so it's now the deleteRegistry function that crashes: > test_antimony.exe!std::_Tree_val::_Orphan_ptr(std::_Tree_node * const...

I only put in the calls to SBMLTransforms::mapComponentValues just now to test things, to see what would happen if the 'cheat' to the call to 'mModelValues.empty()' didn't work to bypass...