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): pyxf86config-0.3.31-4.fc7 How reproducible: 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 Actual results: glibc reports the attached debug report Expected results: pytest script should terminate having done nothing. Additional info: 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