[pypy-issue] [issue1679] Segfault on 32bit pypy

wiredfool tracker at bugs.pypy.org
Wed Jan 22 00:37:23 CET 2014


New submission from wiredfool <eric-pypy at soroos.net>:

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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1679>
________________________________________


More information about the pypy-issue mailing list