[mod_python] crash with apache 2.2.3

Graham Dumpleton grahamd at dscpl.com.au
Tue Sep 12 02:26:01 EDT 2006


I have pushed your response back onto the mailing list as it doesn't
give me any more ideas. Please try and keep followups on the mailing
list in case others can also help.

All I can say is that I have never seen so many configure options being
used. Do you really need to try and override so much stuff??

Graham

On 12/09/2006, at 1:55 AM, dirk wrote:

> Hi Graham,
>
> the simplest test case was:
>
> httpd.conf.local
>
> <Location /mpinfo>
>  SetHandler mod_python
>  PythonHandler mod_python.testhandler
> </Location>
>
> or
>
> <Location /mpinfo>
>  SetHandler python-program
>  PythonHandler mod_python.testhandler
> </Location>
>
> I compiled the packages (apache2, mod_python) both for i586.
>
> apache2 configure:
>
>  $ ./configure --enable-maintainer-mode --enable-so --enable- 
> layout=SuSE81 --with-program-name=httpd2-event --with-apr=/usr/bin/ 
> apr-1-config --with-apr-util=/usr/bin/apu-1-config --with-mpm=event  
> --enable-exception-hook --enable-mods-shared=all --enable- 
> ssl=shared --disable-isapi --enable-deflate --enable-echo --enable- 
> filter --enable-ext-filter --enable-charset-lite --enable-file- 
> cache --enable-logio --enable-dumpio --enable-bucketeer --enable- 
> case_filter --enable-case_filter_in --with-ldap --enable-ldap -- 
> enable-authnz_ldap --enable-proxy --enable-proxy-connect --enable- 
> proxy-ftp --enable-proxy-http --enable-cache --enable-disk-cache -- 
> enable-mem-cache --enable-dav-lock --enable-authn-alias --enable- 
> optional-hook-export --enable-optional-hook-import --enable- 
> optional-fn-import --enable-optional-fn-export --enable-suexec -- 
> with-suexec-bin=/usr/sbin/suexec2 --with-suexec-caller=wwwrun -- 
> with-suexec-docroot=/srv/www --with-suexec-logfile=/var/log/apache2/ 
> suexec.log --with-suexec-userdir=public_html --with-suexec- 
> uidmin=96 --with-suexec-gidmin=96 --with-suexec-safepath=/usr/local/ 
> bin:/usr/bin:/bin
>
> mod_python configure:
>
>  $ ./configure --with-apxs=/usr/sbin/apxs2 --libdir=/usr/lib
>
> Regards,
> Dirk
>
>
> Graham Dumpleton schrieb:
>> dummy at habmalnefrage.de wrote ..
>>
>>> Hi all,
>>>
>>> I have build apache 2.2.3 and mod_python 3.2.10 from suse src  
>>> rpms and
>>> after calling the first python programm the server crashed with  
>>> the debug
>>> output attached below.
>>>
>>> If I compile apache 2.2.3 and mod_python vanilla plain with  
>>> simple configure/make/make
>>> install the server works fine and didn't crash.
>>>
>>> Can anybody take the debug output and interpret why the server  
>>> crashed
>>>
>>
>> Debugger output doesn't particularly help much.
>>
>> My first thought though is whether the version of mod_python was  
>> actually
>> built for that version of Apache and Apache runtime libraries.  
>> Second thought
>> is whether there is a mix of packages being used which do and  
>> don't support
>> 64 bit.
>>
>> BTW, how simple was your mod_python test handler, was it a really  
>> basic hello
>> world or something else?
>>
>> Graham
>>
>>
>>
>>


More information about the Mod_python mailing list