-
Notifications
You must be signed in to change notification settings - Fork 33
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 when called from make #22
Comments
I ran into this too and it looks like it is caused by 'make' changing the stack size ulimit to unlimited. Here is a repro that doesn't involve 'make'. touch foo Running with strace give this.
|
You can work around this problem in your Makefile like this. bash -c "ulimit -s 8192; pxz ..." |
Good there is a work-around, but it is not intuitive to the user that he should use this work-around. Can it be fixed so pxz does the work-around by itself? |
Add this to Makefile:
test:
echo > foo
./pxz foo
$ make test
echo > foo
./pxz foo
make: *** [test] Segmentation fault
The text was updated successfully, but these errors were encountered: