Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / reading from text file causes system crash

Author
Message
thedubdude
23
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 14th Nov 2009 01:41 Edited at: 14th Nov 2009 01:43
The following program causes a system crash when reading the attached text file. Place the text file in the directory you are running the program from.



`----------------------------
fn$="extracted_data3.txt"

open to read 5,fn$
read string 5, got$
close file 5

end
pcRaider
19
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 14th Nov 2009 07:24
Yes, I crash, too.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th Nov 2009 13:04
Well, you'd expect trouble trying to read a very long string, wouldn't you?

This is the same bug as reported here:

attempt to read long string causes crash

I have no idea why it hasn't been confirmed.

At the minimum the Help file ought to say what the limit is.
thedubdude
23
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 15th Nov 2009 07:26
Yes yes yes...though I'm not convinced the length is the issue....
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Nov 2009 12:16
Length is the issue - it's a buffer overflow that is overwriting some important internal variables in the DLL.

Login to post a reply

Server time is: 2026-06-11 14:46:48
Your offset time is: 2026-06-11 14:46:48