logo       

Re: pysqlite 2.0.5 - python 2.4: msg#00049

python.db.pysqlite.user

Subject: Re: pysqlite 2.0.5 - python 2.4

> > Great, thanks, now this is clear, my only remaining confusion is with
> > the apache crashes.
>
> Do you also use PHP5 in your apache server?
>
> There are several reports of such segfaults in this situation:
> on the mod_python mailing list [1,2], something similar in their FAQ [3],
> on this very list some weeks ago [4], and in a trac ticket [5].
>
> It's quite possible that PHP5 (or even another module) triggers the load
> of a different sqlite3 library than the one you think you're using with
> pysqlite, and due to the mismatches, it crashes.
>
> -- Christian
>
> [1] http://www.modpython.org/pipermail/mod_python/2005-December/019734.html
> [2]
> http://www.modpython.org/pipermail/mod_python/2006-January/020061.html
> (oh, that one was from you :) )
> [3] http://www.modpython.org/FAQ/faqw.py?req=all#2.13
> [4] http://lists.initd.org/pipermail/pysqlite/2006-April/000504.html
> [5] http://projects.edgewall.com/trac/ticket/3112

Thanks, I was aware of that, in fact in my crossposted message to the
mod_python list I mentioned this explicitly and also that I checked
php-related sqlite3 library version mismatches but since I have
neither php5 (only php 4.3) nor php-sqlite I guess this can not be the
problem.

The fact that pysqlite 2.0.5 + sqlite 3.2.8 works fine and the crash
only happens with pysqlite 2.2.2 + sqlite 3.3.5 makes me think that
the problem might be somewhere else. It can of course very well be
that the cause of the problem is a similar library version mismatch
but so far I couldn't find which library is problematic. Nevertheless
not loading php-related stuff at all might help, so I'll check that
next.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise