flathub / org.mamedev.MAME

https://flathub.org/apps/details/org.mamedev.MAME
2 stars 1 forks source link

Enabling MIDI will make MAME crash #18

Closed human222 closed 1 year ago

human222 commented 1 year ago
flatpak run org.mamedev.MAME x68000 -exp1 x68k_midi -midiout "Midi Through Port-0"
/usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

I'm guessing that this issue is related to debug assertions.

jflatt commented 1 year ago

Can you update, test, and reply back? I think I have a fix for this and want to submit it upstream, too. Thanks

human222 commented 1 year ago

It doesn't appear to be crashing now. Thanks!