Menu

Segmentation Fault in Mac Os X

Help
Anonymous
2003-05-12
2012-09-19
  • Anonymous

    Anonymous - 2003-05-12

    I'm using :
    Mac Os X 10.2.6,
    python2.3a2,
    MySQLdb 0.9.2,
    mysql 4.0.12-standard
    on a Powerbook G4 800.
    after setting up the lib and include dirs in setup py to point to the right libraries (not touching these causes build to fail), I try to set up a connection and get the following.
    '''
    >>> import MySQLdb
    >>> db = MySQLdb.connect(db='testdb', user=
    ... 'me')
    *** malloc[1761]: error for object 0x1a1fd8: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
    Segmentation fault
    '''
    Does this happen for anyone else? 
    Would any of you kind people know how I should or could  fix this so that I can get on with using this handy module?

    Thanks,

     
    • Morten Bagai

      Morten Bagai - 2003-05-18

      Yes, same thing happens for me - only with Python 2.2.5 instead of 2.3a2.

      Is this confirmed as MacOS X specific?

       
    • Christopher Cotton

      I have also been having this issue. I have MySQL 4.0.10. Python 2.3b1.

      There are were some compile warnings with the code.

      I definitely want to get this working on Mac OSX and the Python 2.3b1 since I want to use wxPython to write some database applications.

      I have even tried it with the CVS version and get the same issues.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.