When running my program in the heap profiling version of Hugs on my Mac nothing happens. So I interrupt the program:

SL8_Code> main
Pico Expression Compiler, SD Swierstra, Version 0.3, dd. 14-Aug-1999
Type filename:input
input

{Interrupted!}

I try again with statistics switched on, to see whether there is any progress, and get the following error message:

SL8_Code> :set +s
SL8_Code> main
Pico Expression Compiler, SD Swierstra, Version 0.3, dd. 14-Aug-1999
Type filename:input
input

Program error: {_Gc Black Hole}
(16093 reductions, 38048 cells, 3 garbage collections)

SL8_Code> :r

The heap profiler hp2ps is furthermore complaining about an illegal format in the .hp file, at the place of the message about the black hole:

hp2ps: Doaitse:InProgerss:SL:profile.hp, line 6: integer must follow identifier

where the .hp file starts with:

JOB "Hugs Heap Profile"
DATE "Sun Aug 15 20:46:42 1999
"
SAMPLE_UNIT "reductions"
VALUE_UNIT "cells"
BEGIN_SAMPLE 0.00
_Gc Black Hole 8494
. 2
class.Monad 1
class.Show 6
class.Enum 22
class.Integral 5

My question is: is this a bug somewhere or am I doing something wrong??

Best,
Doaitse Swierstra
__________________________________________________________________________
S. Doaitse Swierstra, Department of Computer Science, Utrecht University
(Prof. Dr) P.O.Box 80.089, 3508 TB UTRECHT, the Netherlands
Mail: mailto:[EMAIL PROTECTED]
WWW: http://www.cs.uu.nl/
PGP Public Key: http://www.cs.uu.nl/people/doaitse/
tel: +31 (30) 253 3962, fax: +31 (30) 2513791
__________________________________________________________________________

Reply via email to