Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!lll-lcc!mordor!sri-spam!sri-unix!rutgers!princeton!allegra!ulysses!mhuxt!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsb!wsmith
From: wsmith@uiucdcsb.UUCP
Newsgroups: comp.sys.ibm.pc
Subject: Microsoft basic bug
Message-ID: <164300001@uiucdcsb>
Date: Mon, 5-Jan-87 16:37:00 EST
Article-I.D.: uiucdcsb.164300001
Posted: Mon Jan  5 16:37:00 1987
Date-Received: Tue, 6-Jan-87 21:43:24 EST
Lines: 22
Nf-ID: #N:uiucdcsb:164300001:000:578
Nf-From: uiucdcsb.cs.uiuc.edu!wsmith    Jan  5 15:37:00 1987


I'm not sure this is the right place to post this problem, but I couldn't
find another place.

I have tried this problem on both an old (TRS-80 Model I) and a new
(IBM PC version of basic_).   It is a problem with the error handling
capabilities of the Basic Interpreters made by Microsoft.

Try this program.   It should crash your BASIC interpreter fairly quickly.


10 on error goto 100
20 print i: i = i + 1
30 return
40 goto 20
100 resume next

What happens is the BASIC internal stack starts migrating through memory.

Bill Smith
ihnp4!uiucdcs!wsmith
wsmith@a.cs.uiuc.edu