Malloc error

mankoff mankoff at gmail.com
Fri May 16 15:08:41 EDT 2008


Hi Group,

I'm brand spanking new to Python. Never coded in it, but I'm
comfortable coding in general in other languages. I'm Trying to get
some legacy code to run on a newer machine. I don't have access to the
legacy box for debugging.

I'm getting the following error:

Python(36979) malloc: *** error for object 0x88374: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug

My python version is:

$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

And this is on an Intel MacBook running 10.5.2

The error is getting printed hundreds of times until I CTRL+C at which
point I see:

Python(36979) malloc: *** error for object 0xa58074: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug
Traceback (most recent call last):
  File "v2_to_bdb.py", line 104, in <module>
    main()
  File "v2_to_bdb.py", line 101, in main
    fill_dbm(f, dbm, info, ids, sources)
  File "v2_to_bdb.py", line 34, in fill_dbm
    mystring = stationstring.serialize(dict, data)
KeyboardInterrupt

And advice on how to work around this error will be much appreciated.

Thanks,

   -k.



More information about the Python-list mailing list