Skip to content

Segmentation fault using parsers in Docker #71

Closed Answered by turnham
hawkeye-bot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hawkeye-bot Thanks for trying us out and the feedback! The issue in this case, is that setting the ulimit in the Dockerfile is not sufficient and it needs to be set when running the container. I've attached a complete working example, but the key part is the --ulimit setting you'll see in docker-run.sh:

docker run --rm --ulimit stack=32768000:32768000 --name docker-test docker-test:latest 

With that set the parsing can succeed:

> ./docker-run.sh

 > Parsing documents in /abc/documents

First block found on page 1:
EXECUTIVE EMPLOYMENT AGREEMENT    THIS EXECUTIVE EMPLOYMENT AGREEMENT (this Agreement) is entered into this 2nd day of   April, 2012, by and between Aphrodite Apollo (   Ex…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JessBerl
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hawkeye-bot
Comment options

You must be logged in to vote
1 reply
@turnham
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants