You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call a function after fmiUnload I get an segmentation fault and Julia crashes.
How to reproduce
I have a FMU that I can't share that produces this error, but I can't get a FMU from the Modelica Standard Library to simulate because of #63. But I guess this should work for any FMU.
I agree that an error message should be the way to go, instead af a crash. As you expected, this issue affects any FMU. I will try to find a nice solution for this. Until then, don't do such evil things and let that dead piece of memory in peace after fmiUnload 😅
Description
When I call a function after
fmiUnload
I get an segmentation fault and Julia crashes.How to reproduce
I have a FMU that I can't share that produces this error, but I can't get a FMU from the Modelica Standard Library to simulate because of #63. But I guess this should work for any FMU.
Of course I expect an error, but not a segmentation fault.
Version 'n stuff
OS: Ubuntu 20.04
Julia:
The text was updated successfully, but these errors were encountered: