🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3175

Re: Funny problem

#3175
From: Geoff Elgey
Date: Wed, 24 Jan 1996 03:02
24 lines
1580 bytes
Are you using GPM-LINUX? GPM-PC?

I came across a similar problem late last year under GPM-LINUX. I had a piece
of code that would crash in certain procedures, so I added some WriteString's
to provide debug output. With the debugging code, however, the program would
not crash.

As far as I can remember, this is due to a bug in the way that GPM handles
procedures that accept parameters that are arrays of some structured type
(RECORDS, etc). The stack frame wasn't being set up correctly upon procedure
entry. However, using a few empty WriteString's (ie WriteString("")) seemed to
fix the problem. 

I spoke to the person that writes the GPM backend, and the bug was confirmed
and fixed. The latest GPM-Linux release should contain the bug fix.

Of course, this may not be the same bug that you are experiencing....

Cheers,

Geoff Elgey,
Researcher, Programming Languages and Systems Group,
Faculty of Information Technology,
QUT. Brisbane, Queensland, Australia.
Technical Details
Message-ID: <4e47ga$j62@stork.qut.edu.au>
Path: arc1-ca.pugleaf.net!news.qut.edu.au!news
References: <4diqjd$b19@macondo.dmu.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.qut.edu.au!news
From: Geoff Elgey <elgey@mortar.fit.qut.edu>
Newsgroups: comp.lang.modula2
Subject: Re: Funny problem
Date: 24 Jan 1996 03:02:34 GMT
Organization: Programming Langauges and Systems Group, QUT, Brisbane, Australia
Distribution: world
Message-ID: <4e47ga$j62@stork.qut.edu.au>
References: <4diqjd$b19@macondo.dmu.ac.uk>
NNTP-Posting-Host: mortar.fit.qut.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.12 (X11; I; Linux 1.2.13 i486)
X-URL: news:4diqjd$b19@macondo.dmu.ac.uk