#82 MySQLdb 0.9.2 crashes Python

MySQLdb-0.9.2
closed
MySQLdb (285)
5
2012-09-19
2004-03-17
Jarek Zgoda
No

MySQL 3.23.56 (client-only) was compiled with:
--enable-thread-safe-client \ --without-server \ --without-bench \ --without-docs \ --without-readline
then MySQLdb was built with simple "python setup.py
build", then installer by root. Now importing MySQLdb
crashes interpreter:

jarek:~$ python
Python 2.3.3 (#1, Feb 15 2004, 07:48:43)
[GCC 3.2.3] on linux2
Type "help", "copyright", "credits" or "license" for
more information.

import MySQLdb
Segmentation fault
jarek:~$

Discussion

  • Jarek Zgoda

    Jarek Zgoda - 2004-03-20

    Result from strace python -c 'import MySQLdb'

     
    Attachments
  • Jarek Zgoda

    Jarek Zgoda - 2004-03-21

    Logged In: YES
    user_id=92222

    After more careful examination of strace result I found that
    the problem comes from mx.DateTime package. I recompiled mx
    with optimizations switched off and segfaults gone. This is
    not related to MySQLdb so I'll try to close this bugreport.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks