I was running the test suite today and I was getting a segfault in
test_sqlite. That seemed odd since I had not seen any issues on any
buildbots. And running the test independently was fine.

Noticing that sqlite 3.5.5 was recently available I had MacPorts
update. Unfortunately this didn't fix things. I narrowed things down
to running test_ctypes before test_sqlite as the trigger. In order to
debug I wanted to use a version of sqlite that I had compiled.

So after figuring out which package to download (turned out to be the
amalgamation version with shell.c and the included makefile), and
discovering a bug in setup.py where directories from CPPFLAGS were
being searched in reversed from their declared order, I managed to get
a build with my own version and the problem went away.

So I suspect that sqlite3 from MacPorts is built in such a way as to
cause issues. This on Leopard which might also somehow influence
things.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to