memory corruption on PyPy

Bug #1503241 reported by Brecht Machiels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Invalid
Undecided
Unassigned

Bug Description

Running citeproc-py on pypy (2.6.1 on OS X and 2.5.0 on Linux) with lxml 3.4.4 (also tried 3.5.0b1 and 3.0) crashes due to memory corruption:

pypy(57478,0x7fff7a64a000) malloc: *** error for object 0x10484d178: incorrect checksum for freed object - object was probably modified after being freed.

or sometimes

Segmentation fault: 11

This occurs during a call to lxml.etree.ElementBase.find().

I tried creating a minimal script to reproduce, but failed. Steps to reproduce:

pip install lxml
pip install citeproc-py==0.3.0
wget https://raw.githubusercontent.com/brechtm/citeproc-py/v0.3.0/examples/bibtex.py
wget https://raw.githubusercontent.com/brechtm/citeproc-py/v0.3.0/examples/xampl.bib
pypy bibtex.py

PyPy might be the originator of this bug, but I don't know how to determine this.

Revision history for this message
scoder (scoder) wrote :

Closing as outdated and not a bug in lxml. Probably fixed by a newer PyPy version.

Changed in lxml:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.