[mod_python] psp.PSP(req, string='hello world') causes segfault

Damjan gdamjan at mail.net.mk
Tue Apr 26 21:32:53 EDT 2005


> On slackware-10.1, python-2.4, Apache-2.0.53, modpython-3.1.4 I get:

BTW I also tried without PHP loaded, same thing happens.

> apache's error.log:
> [Wed Apr 27 00:18:58 2005] [notice] mod_python: (Re)importing module 'mptest'
> *** glibc detected *** double free or corruption (fasttop): 0x083c2db8 ***
> /usr/lib/python2.4/site-packages/mod_python/apache.py:457:
> DeprecationWarning: Non-ASCII character '\xe2' in
>  file /home/www/modpython/mptest.py on line 10, but no encoding
> declared; see http://www.python.org/peps/pep-0263.html for details
> [Wed Apr 27 00:18:59 2005] [notice] child pid 422 exit signal Aborted (6)

I guess, the pep-0263 error happens because of the segfault, since there
are no non-ASCII characters in that file (and I'm 100% sure of it).
Anyway even after adding # -*- coding: utf-8 -*- in the file I still get
this:
[Wed Apr 27 03:08:02 2005] [notice] mod_python: (Re)importing module 'mptest'
*** glibc detected *** double free or corruption (fasttop): 0x0819fcf0 ***
[Wed Apr 27 03:08:03 2005] [notice] child pid 1190 exit signal Aborted (6)


-- 
damjan | дамјан
This is my jabber ID --> damjan at bagra.net.mk <-- not my mail address!!!


More information about the Mod_python mailing list