using PyMem_DEL() instead of PyObject_FREE() causes python 2.5 to double free or corrupt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-fam (Ubuntu) |
Fix Released
|
Medium
|
David Ross | ||
Feisty |
Fix Released
|
Undecided
|
Scott Kitterman |
Bug Description
Binary package hint: python-fam
Please read:
http://
Ubuntu Release: 7.04
Python Version: 2.5.1~rc1-0ubuntu3
Python-Fam: 1.1.1-2.1build1
Anybody running Python 2.5 and python-fam release or package 1.1.1-2.1build1 or lower will experience problems, specifically
To reproduce, use a program which utlizes Python 2.5 and python-fam. A webware example below.
apt-get install fam
apt-get install python-fam
wget http://
tar zxvf Webware-
./Webware-
cd Crash
open Configs/
change "AutoReload = False" to "AutoReload = True"
run ./AppServer
*** glibc detected *** python: double free or corruption (out): 0x084ff410 ***
the python instance is completely unresponsive.
Bug afflicts:
Python 2.5: unresponsive application
Python 2.4: unaffected
Tested the fix and it also allows the python-fam to use the libgamin supplied libfam which I accidently reported earlier as another issue.
description: | updated |
Changed in python-fam: | |
status: | Unconfirmed → Confirmed |
Changed in python-fam: | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
Changed in python-fam: | |
assignee: | nobody → kitterman |
status: | Confirmed → In Progress |
Changed in python-fam: | |
status: | Fix Committed → Fix Released |
David Ross schrieb: fam-patch1. diff" librarian. launchpad. net/7715145/ python- fam-patch1. diff
> ** Attachment added: "python-
> http://
>
shouldn't PyObject_Del be used instead of PyObject_FREE ?