[mod_python] segmentation fault

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


-----BEGIN PGP SIGNED MESSAGE-----
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!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+4Ka3WgwF3QvpWNwRAhfgAJ0UlgoXrHlo5PcmIxE5luq1bYrqhgCgkulG
SklnZ2tHiMWzTjyEd5hZJ/8=
=Szy2
-----END PGP SIGNATURE-----



More information about the Mod_python mailing list