Red Hat Bugzilla – Bug 219918
ixf86configmodule.so frees invalid pointer
Last modified: 2007-11-30 17:11:51 EST
Description of problem:
glibc reports an error inside a free() call by python within the
ixf86configmodule.so during a call to xf86config.XF86ConfFiles()
Version-Release number of selected component (if applicable):
Try running the attached simple test script against the attached simple
xorg.conf (or your own)
Steps to Reproduce:
1. backup your xorg.conf
2. install attached xorg.conf to /etc/X11/xorg.conf
3. execute attached ./pytest script
glibc reports the attached debug report
pytest script should terminate having done nothing.
I detected this when the nvidia-config-display script in the livna distribution
for the nvidia drivers began crashing on start up, wiping out my xorg.conf.
Created attachment 143852 [details]
glibc report with pytest script and xorg.conf
This is being caused by pyxf86config allocating memory with PyObject_Malloc and
then freeing it with PyMem_DEL. In python 2.5, these actually have a
differences (so that the interpreter can return memory to the system).
Fixed in pyxf86config-0.3.32