[mod_python] segmentation fault

Jonathan Gardner jgardner at jonathangardner.net
Fri Jun 6 07:35:31 EST 2003

Hash: SHA1

On Thursday 05 June 2003 16:37, Julio Mendoza wrote:
> I'm using postgresql 7.3 and python from debian unstable.
> After varios upgrades my scripts are working bad.
> I can not find what happens.

Segfaults are always troublesome.

What I used to do in mod_perl was isolate the page or behavior that was giving 
the seg fault. Then I would try and see which version (you're using a version 
control system, right?) introduced the problem. If it wasn't obvious by then, 
I would put various log messages throughout the suspected handler.

Usually that would lead me to one line of code that was giving the problem. At 
least then I can post to the mailing list about what was causing the problem.

I think the same kind of strategy would work for mod_python as well.

Good luck, you have a fun journey ahead of you!

- -- 
Jonathan Gardner <jgardner at jonathangardner.net>
(was jgardn at alumni.washington.edu)
Live Free, Use Linux!
Version: GnuPG v1.2.1 (GNU/Linux)


More information about the Mod_python mailing list