furnace
furnace copied to clipboard
[Bug] Furnace crashes when undoing text
I was editing this value in the sample editor, decided to undo it
Then when the value was empty it crashed, this is what I got..
Click on Abort and tell me whether you see a "Furnace has crashed" box (then provide furnace_crash.txt whether possible)
I see the box. Here are the logs.
Stack trace (most recent call last):
#15 Object "", at 0x7fff9dd37034, in BaseThreadInitThunk
#14 Object "", at 0x7ff6a56714c6, in ??
#13 Object "", at 0x7ff6a56713b1, in ??
#12 Object "", at 0x7ff6a58146dd, in ??
#11 Object "", at 0x7ff6a58142c0, in ??
#10 Object "", at 0x7ff6a599d13a, in SetLocales
#9 Object "", at 0x7ff6a593fd55, in SetLocales
#8 Object "", at 0x7ff6a589756e, in ??
#7 Object "", at 0x7ff6a5896f3b, in ??
#6 Object "", at 0x7ff6a58977a2, in ??
#5 Object "", at 0x7ff6a589d464, in ??
#4 Object "", at 0x7ff6a589a94f, in ??
#3 Object "", at 0x7ff6a5898e08, in ??
#2 Object "", at 0x7ff6a589a397, in ??
#1 Object "", at 0x7ff6a58980a8, in ??
#0 Object "", at 0x7fff9cfcbbd0, in assert
Oh dear. I think I discovered this can happen anywhere.
I will try switching to FreeType soon...
This is too difficult for me to fix. It seems to be a bug that's deep-rooted inside ImGui which has little fix as there's no way to reset the undo/redo buffer.
I am temporarily disabling undo/redo for nearly all text fields except those which don't change like song name, author and stuff.