MySQLdb 0.9.2 crashes Python
MySQL database connector for Python programming
Brought to you by:
adustman
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:~$
Result from strace python -c 'import MySQLdb'
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.