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
{{ message }}
This repository has been archived by the owner on May 15, 2024. It is now read-only.
exists when invoking FdDB::init() later, but before Fui::start().
This will hopefully fix#17.
Remove the unneccessary static method Fui::mainWIndowUI().
I can't reproduce this crash on my system (Windows, with Visual Studio 2019), but I could verify that a NULL pointer is passed to SoQt::init() like you said. Maybe you are using a different (newer) version of the SoQt library, @sanguinariojoe ? Anyway, I tried a fix (see top commit on the PR #18), where the creation of the mainWindow object is moved to Fui::init() instead. It works well for me, but it would be great if you could verify that it fixes the crash on your side as well, before this is merged. Thanks!
When Coin is found the GUI crashes during the spashscreen, because FUI is initialized here, and then FdDB is asked to intialized also here.
Unfortunately,
Fui::getMainWindow()
cannot be called untilFui::start()
is called at https://github.com/SAP/fedem-gui/blob/main/src/vpm_main.C#L244Thus a
NULL
is passed toSoQt::init()
, so the program crashes.The text was updated successfully, but these errors were encountered: