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

1.3.1 core dumps in aggdraw.Pen() when run in xenial docker image #22

Closed
lsmithso opened this issue Apr 24, 2018 · 3 comments
Closed

1.3.1 core dumps in aggdraw.Pen() when run in xenial docker image #22

lsmithso opened this issue Apr 24, 2018 · 3 comments

Comments

@lsmithso
Copy link

aggdraw 1.3.1 core dumps when run in a Xenial docker image. It works
fine with aggdraw 1.3 in a docker image, and both versions work find
when run natively.

I've isolated it to a call to aggdraw.Pen(). A docker image that
reproduces the problem is pasted below. Run it with
"gitlab-ci-multi-runner exec docker test".

image: ubuntu:xenial
test:
script:
- apt-get update
- apt-get -y install python-pip
- pip install 'aggdraw==1.3.1' pillow
- python -c "from PIL import Image;import aggdraw; main = Image.new('RGB', (480, 1024), 'white'); d = aggdraw.Draw(main); p = aggdraw.Pen((90,) * 3, 0.5)"

@djhoese
Copy link
Member

djhoese commented Apr 24, 2018

Good news I am able to reproduce this using an ubuntu xenial docker image (without gitlab runner). I'll see if I can figure this out today.

@djhoese
Copy link
Member

djhoese commented Apr 24, 2018

@lsmithso Version 1.3.2 is being built now. If all the tests pass this should result in a PyPI release: https://travis-ci.org/pytroll/aggdraw/builds/370571437

Let me know if this fixes things for you.

Edit: 1.3.2 is released.

@lsmithso
Copy link
Author

lsmithso commented Apr 24, 2018 via email

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