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
It's a know issue, I've seen it before but I can't find it. It has something to do with an automatically released wxDialog. I don't know where to find the crash report but I tried to debug and this is what I get:
Go to the Organs or Initial MIDI Configuration tab
Open MIDI Settings dialog
Click on Cancel or OK
The MIDI Settings dialog always crashes when opened from the Settings window and never crashes anywhere else. I'm not familiar with C++/wxWidgets but I think the crash is caused by:
MIDIEventDialog::OnOK and MIDIEventDialog::OnCancel call Destroy.
GOrgueDocument::ShowMIDIEventDialog allocates the dialog on the heap and calls registerWindow.
SettingsOrgan and SettingsMidiMessage allocate the dialog on the stack and call ShowModal. If a dialog is allocated on the stack then Destroy shouldn't be called.
oleg68
pushed a commit
to oleg68/GrandOrgue-official
that referenced
this issue
Jan 17, 2022
It's a know issue, I've seen it before but I can't find it. It has something to do with an automatically released wxDialog. I don't know where to find the crash report but I tried to debug and this is what I get:
This doesn't look ok, how do I post a backtrace?
Originally posted by @willeke1234 in #960 (reply in thread)
The text was updated successfully, but these errors were encountered: