[mod_python] Segmentation fault with mod_python and DBXML

Manjeet Chaudhary manjeet at infogridpacific.com
Tue Aug 16 09:47:38 EDT 2005


Hello Graham

Graham Dumpleton wrote:

> Python has a version of expat builtin to it. The version of this
> most likely differs to a version of expat used as a shared library
> by some other module linked into Apache.
>
> Work out what version of expat library is installed on your system,
> you may have to update it.
>
>    
> http://www.modpython.org/pipermail/mod_python/2004-December/017023.html 

I upgraded "expat-1.95.7-4" to "expat-1.95.8-4" as well as to 
"expat-1.95.8-6". But the problem is still there.

> These mismatches in shared library versions required by different
> modules can occur in other situations as well. See:
>
>    
> http://www.modpython.org/FAQ/faqw.py?query=expat&querytype=simple&casefold=yes&req=search 
>

Is there any problem using mod_python and dbxml together.

> On 16/08/2005, at 8:24 PM, Manjeet Chaudhary wrote:
>
>> Hello All,
>>
>> Sorry if the mail got duplicated.
>> I am developing a web based application; based on Apache, 
>> mod_python,  dbxml and python programming; When i try to import dbxml 
>> module( to  perform various dbxml operations ) from mod-python 
>> handler and give a  url request to mod-python handler i am getting an 
>> error of  Segmentation Fault in apache error log .
>> I am using following versions of software
>> 1) dbxml -  2.1.8
>> 2) python - 2.3.4
>> 3) mod-python - 1.3.4
>> 4) apache 2.0.52
>> 5) Kernel version-2.6.9-5.0.5-EL
>>
>> I think the error occurs at the time when i am creating the 
>> XmlManager  instance in dbxml module.
>> I am using Publisher Handler of mod-python.
>>
>> Apache error log (/var/log/httpd/error_log)
>>
>> [Tue Aug 16 10:17:43 2005] [notice] mod_python: (Re)importing module  
>> 'mod_python.publisher'
>> [Tue Aug 16 10:17:43 2005] [notice] mod_python: (Re)importing module  
>> 'x' with path set to '['/var/www/cgi-bin/sw']'
>> [Tue Aug 16 10:17:44 2005] [notice] child pid 3238 exit signal  
>> Segmentation fault (11)
>>
>> Please let me know is there any solution to this problem .
>> It is very urgent.
>> Thanks in advance.
>> Regards,
>>
>> Manjeet Chaudhary
>> _______________________________________________
>> Mod_python mailing list
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>
>
>
>
>


More information about the Mod_python mailing list