jos@cs.vu.nl (Jos Warmer) (01/09/90)
The parsing classes are a welcome supplement to the library.
Trying the example in the directory examples/parsing/lexical,
something goes wrong.
Without garbage collection, everything goes just fine.
Turning on garbage collection gives the following exception trace:
(All assertion checking turned on)
System execution failed.
Below is the sequence of recorded exceptions:
--------------------------------------------------------------------------------
Object Class Routine Nature of exception Effect
--------------------------------------------------------------------------------
1C291C STRING count External event:
Segmentation fault. Fail
--------------------------------------------------------------------------------
1C291C STRING to_c External event:
Segmentation fault. Fail
--------------------------------------------------------------------------------
1C2748 STD_FILES putstring External event:
Segmentation fault. Fail
--------------------------------------------------------------------------------
1C2ECC J_DECODER create External event:
Segmentation fault. Fail
--------------------------------------------------------------------------------
It seems that the variable `file_name' gets messed up during the call
to `analyzer.initialize_buffers' at line 30.
The exception occurred at line 32.
All I can think of, is that the garbage collector messes up things.
Has anyone had the same problems ? Any reactions from ISE ?
Jos Warmer
jos@cs.vu.nl
...uunet!mcvax!cs.vu.nl!jos
Eiffel version 2.2, level A, binary distribution, SUN SparcStation, SUNOS 4.0.3