furnace icon indicating copy to clipboard operation
furnace copied to clipboard

[Bug] Furnace crashes when undoing text

Open LoKiToon opened this issue 2 years ago • 3 comments

I was editing this value in the sample editor, decided to undo it image Then when the value was empty it crashed, this is what I got.. image

LoKiToon avatar Aug 05 '22 18:08 LoKiToon

Click on Abort and tell me whether you see a "Furnace has crashed" box (then provide furnace_crash.txt whether possible)

tildearrow avatar Aug 06 '22 06:08 tildearrow

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

LoKiToon avatar Aug 06 '22 11:08 LoKiToon

Oh dear. I think I discovered this can happen anywhere. furnace_t7l9x5kC9q

LoKiToon avatar Aug 06 '22 17:08 LoKiToon

I will try switching to FreeType soon...

tildearrow avatar Aug 16 '22 16:08 tildearrow

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.

tildearrow avatar Sep 22 '22 09:09 tildearrow