[Pythonmac-SIG] memory corruption Python 2.3/Mac OS 10.3?

Bob Ippolito bob at redivi.com
Thu Aug 26 20:51:50 CEST 2004


On Aug 26, 2004, at 2:03 PM, Rayme Jernigan wrote:

> Hi All. I've been dealing with a nasty bug that looks a lot like 
> memory corruption in the version of Python that comes installed on OS 
> X 10.3.5.
>
> In short I have a list of lists that (without my telling it to) is 
> filling itself up with copies of a list element instance. The instance 
> value actually exists... it is defined elsewhere, and it's later 
> assigned to the zeroth element of the list, but it magically gets 
> assigned before I tell it to, and fills up the entire list to boot. 
> Judicious placement of print statements before and after some 
> operations on this list element which do not reference this "list of 
> lists" verify that this is what's happening. Arggh.

Please post a minimal example that demonstrates this bug.

-bob


More information about the Pythonmac-SIG mailing list