giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Application crash while importing a text file. #2492

Closed LadyMikea closed 2 months ago

LadyMikea commented 2 months ago

Application crash while importing a text files. The files in question are an old dos text files, which I included bellow. Error code is:

Faulting application name: cherrytree.exe, version: 1.1.2.0, time stamp: 0x660f1243 Faulting module name: libstdc++-6.dll, version: 0.0.0.0, time stamp: 0x660f1241 Exception code: 0x40000015 Fault offset: 0x0000000000027dfc

Cherrytree 1.1.2, Windows 10 64bit.

I can copy-paste contents of these files with no problem (and they are displayed correctly with monospace font), but direct import is impossible (import/from plain text file).

sbpro.txt sbdsp.txt gus.txt

giuspen commented 2 months ago

Thanks @LadyMikea I can reproduce it, I'll come back shortly

giuspen commented 2 months ago

Thanks @LadyMikea this crash is now fixed. If you are happy to try the fix, I'll build a portable test bundle that you can try and report the result.

LadyMikea commented 2 months ago

Well, thank you @giuspen! I can try a new build of course. I have a weird bunch of odd text files ready to test...

giuspen commented 2 months ago

Thanks @LadyMikea please try https://www.giuspen.net/software/cherrytree_1.1.2.0+6_win64_portable.7z and report if it works now as expected

LadyMikea commented 2 months ago

Import of plain text files works perfectly now. Thank you very much!