[5084] in Athena Bugs
hc1com core dump
daemon@ATHENA.MIT.EDU (John Carr)
Wed Jun 6 01:53:51 1990
To: bugs@ATHENA.MIT.EDU
Date: Wed, 06 Jun 90 01:53:39 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
RT 7.0E
hc1com dumped core. Core dump is achates:/u1/dumps/core.hc1com.
Relevant info:
I was missing the closing parenthesis in a macro call on line
178 of a file.
I have the hc driver set up so that it uses the built in
preprocessor (equivalent to "cc -Hnocpp").
Transcript follows:
% make vm_page.o
% hc -Hvolatile -I. -S -O -I. -I../h -DACHATES -DIBMRTPC -DATTACH -DKCALL -DMAXUPRC="48" -DMAXDSIZ="33554432" -DPROMISC -DP0INVALID -DVMD -DNIP -DNIT -DAFS -DNFS -DVFS -DRPC -DROMPC -DRVD -DINET -DATHENA -DKERNEL -DTIMEZONE=300 -DDST=1 -DMAXUSERS=32 ../sys/vm_page.c
w "../sys/vm_page.c",L744/C8: btop: Macro call has too many arguments.
(hc:) /usr/lib/hc1com: Segmentation fault (core dumped)
*** Exit 127
Stop.
%
The line number where it reported the error has nothing to do with the
real error. It contains only a function argument declaration.
Since this error is in the preprocessor, it is not practical for me to
give a file to reproduce the problem. It will have to be sufficient
to have a core dump and to know how it was created.