-
-
Notifications
You must be signed in to change notification settings - Fork 698
Segmentation fault for specific pdf on alpine linux docker container #1287
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
Comments
Hi, this looks like a stack overflow inside libpoppler's recursive |
Thanks @lovell ! The requirement is for alpine linux, I will check for the same file on Ubuntu and update the results here. |
I agree with Lovell, this looks like a stack overflow. Alpine uses musl for its libc, rather than the glibc that's usual on Linux. glibc typically gives threads >2MB of stack, but musl only allows 80kb, more than 20x smaller: https://wiki.musl-libc.org/functional-differences-from-glibc.html#Thread-stack-size Unfortunately, this means you can't really run code which does any significant amount of recursion on Alpine. We've tried to keep libvips stack usage down, but of course we can't control the code in libraries which libvips uses, like poppler. |
I think this is done in master, I'll close. |
@priyankatapar Can you please edit your issue and remove links to issues from 1 to 589? It's confusing. You probably need to use a different quote. |
@wkuranowski OK, edited. |
Hello,
We are facing seg fault while processing a specific pdf file with Vips 8.7.4 version.
Click for the stack trace.
Anyone faced similar issue and did they find solution for this?
Thanks!
The text was updated successfully, but these errors were encountered: