Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer overflow when a problem has hold #2

Open
gqqnbig opened this issue Sep 13, 2023 · 0 comments
Open

buffer overflow when a problem has hold #2

gqqnbig opened this issue Sep 13, 2023 · 0 comments

Comments

@gqqnbig
Copy link

gqqnbig commented Sep 13, 2023

$ cat h.sim
begin
hold(1)
end;
$ cim h
Compiling h.sim:
"h.sim", line 3: *** buffer overflow detected ***: terminated
[1]    2072 IOT instruction (core dumped)  cim h

My program only has three lines; one of them is hold(1). When I compile it, cim throws error "buffer overflow detected".

I'm by no means an expert in Simula, but I insist the compiler shouldn't crash out.

I compiled cim on my machine. Its version is cim-5.1-x86_64-pc-linux-gnu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant