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
The culprit is function void oms::fmi2logger(fmi2ComponentEnvironment env, fmi2String instanceName, fmi2Status status, fmi2String category, fmi2String message, ...) in Component.cpp.
@rruusu It would be good if you can attach your ssp or Fmu's which can reproduce the issue, if you cannot share your model or ssp make a small fmu which can reproduce the issue
Description
The FMI standard allows an FMU to call the logging function with a null pointer for the category, if it doesn't defined any categories.
When this happens, OMSimulator crashes, as it does not check for a null value in the
category
argument in its logging function.When executed using the command line omsimulator executable, the crash is silent and produces no related console prints.
Steps to reproduce
NULL
.Example:
Version and OS
The text was updated successfully, but these errors were encountered: