New submission from wiredfool <[email protected]>:

Using Ubuntu 13.10, pypy 2.2.1 from the ppa. 

One of the tests in Pillow segfaults on a 32bit build, not on a 64bit build. 
This test 
passes 
on all cpythons that I've tested. 

It's this test: 
https://github.com/wiredfool/Pillow/blob/master/Tests/test_imagefont.py#L33 , 
though it also fails on the open file test in the next test case. 

The _render method works when passed a font path, not when it gets a file like 
object, 
i.e. 
this succeeds:  https://github.com/python-
imaging/Pillow/blob/master/Tests/test_imagefont.py#L63 and this fails: 
https://github.com/python-imaging/Pillow/blob/master/Tests/test_imagefont.py#L66


To Reproduce:

sudo apt-get install  libjpeg8-dev zlib1g-dev libfreetype6-dev 
git clone https://github.com/wiredfool/Pillow.git
virtualenv -p /usr/bin/pypy vpypy
source vpypy/bin/activate
cd Pillow/
python setup.py install
python Tests/test_imagefont.py --installed

----------
messages: 6499
nosy: pypy-issue, wiredfool
priority: bug
status: unread
title: Segfault on 32bit pypy

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1679>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to