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

tbl command segfault #21

Open
mtbakerguy opened this issue Aug 31, 2021 · 1 comment
Open

tbl command segfault #21

mtbakerguy opened this issue Aug 31, 2021 · 1 comment

Comments

@mtbakerguy
Copy link
Contributor

mtbakerguy commented Aug 31, 2021

If you have a table with 37 columns, you will consistently crash tbl as the reg function will overrun the nregs array and SEGFAULT:

.sp 1 .ce 1 .ps +10 Deployments .sp 1 .ps -10 .ce 0 .TS center, box, tab(;); cB s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s l | c1 | c1 | c1 | c1| c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1. Area _ .TE

While handling an arbitrary number of columns would be nice, it shouldn't crash at a minimum.

@mtbakerguy
Copy link
Contributor Author

mtbakerguy commented Aug 31, 2021

Relevant aside: the demo Makefile hides crashes as it'll go ahead and happily generate an empty PDF even though a crash happened much earlier in the pipeline.

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