Page 1 of 1

IDE Crash

Posted: Wed Mar 31, 2021 4:57 pm
by Flinx
Hello,

while searching for other problems I got some crashes of the IDE. (My program reads strings from files, and at least a spanish character of a non-UTF8 string seems to be part of the problem.) The following example triggers the crash, but maybe only after some trials.

Code: Select all

Function p_Test()
	a$="AAAA"
	t$=ByteChr(0xa1).."BBBB"..ByteChr(0xa1).."BBBB"..ByteChr(0xa1).."BBBB"
	Return(a$ .. " - " .. t$)
EndFunction

DebugPrint("Test: ",p_Test())

Re: IDE Crash

Posted: Wed Mar 31, 2021 9:42 pm
by plouf
no crash here, i see an inverted explanation mark between BBBB's
however obviously IDE uses difirent font AFTER "minus"
https://pasteboard.co/JVcMYp8.png

may i guess thought that is related to this bugfix ? - >viewtopic.php?p=16216#p16216

hollywood 9, 64 bit , greek OS win7

Re: IDE Crash

Posted: Thu Apr 01, 2021 11:38 am
by Flinx
Sometimes it does not crash here too, but then after leaving the IDE and restart. One time I got an "Out of memory" box.
Your picture shows the expected output (if handled as ISO 8859-1).
I have tried with Windows 7 32 Bit and Windows 10 64 Bit.

Re: IDE Crash

Posted: Thu Apr 01, 2021 1:15 pm
by airsoftsoftwair
I think plouf is right and this bug has been fixed in Hollywood 9. I've tried it 50 times with Hollywood 9 and there are no crashes so I think this is fixed.

Are you using Hollywood 9 or an earlier version?

Re: IDE Crash

Posted: Thu Apr 01, 2021 1:50 pm
by Flinx
Hollywood 9.
At the moment I can't get a crash with Windows 10 64 Bit (but yesterday I had one, I swear :) ). But with the 32 Bit IDE it is no problem to get it. I have made a quick installation of the 32 Bit version in another 64 Bit Windows 10 environment, and already the first two trials did crash.

Re: IDE Crash

Posted: Thu Apr 01, 2021 10:34 pm
by airsoftsoftwair
Flinx wrote: Thu Apr 01, 2021 1:50 pm But with the 32 Bit IDE it is no problem to get it.
True, with the 32-bit version it is very easy to reproduce but it only happens when outputting text that is not in UTF-8. I've fixed it now. Please redownload Hollywood 9.0 from the restricted download area and install it again. The issue should be gone then.

Re: IDE Crash

Posted: Sun Apr 04, 2021 2:29 pm
by Flinx
Thank you.
(I found this while batch reading ID3 tags from MP3 files, at the moment I try to find out why some files work with Windows' but not with Linux' avcodec. But maybe not the tags are the problem, I still have to search.)