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

segfault in harr_visit() #129

Open
llasram opened this issue Dec 12, 2024 · 1 comment
Open

segfault in harr_visit() #129

llasram opened this issue Dec 12, 2024 · 1 comment

Comments

@llasram
Copy link

llasram commented Dec 12, 2024

I found another one!

$ clang --version | head -n1
Debian clang version 19.1.4 (1)

$ git rev-parse --short HEAD
5ecd1858

$ make o3n
0/0 in 0.1s

$ ./BQN -e '(0⋈⊢)•_while_(1) ⟨⟩'
Segmentation fault
@dzaima
Copy link
Owner

dzaima commented Dec 12, 2024

This is essentially intended currently; problem is that the object freeing (and GC visiting before that) is recursive, and thus deeply-nested objects can exhaust the stack. And while it could be fixed, it'd be at the cost of some overhead on every object free.

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

2 participants