This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: apache2 - mod_python - python2.4 core dump
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: nnorwitz, thurnerrupert, zseil
Priority: normal Keywords:

Created on 2006-09-13 22:05 by thurnerrupert, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg29816 - (view) Author: ThurnerRupert (thurnerrupert) Date: 2006-09-13 22:05
$ gdb bin/httpd
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) core core
Core was generated by `/usr/local/bin/httpd -k restart'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/local/lib/libssl.so.0.9.8
<... deleted the whole loaded libraries>

#0  0xfebb3218 in strlen () from /usr/lib/libc.so.1

(gdb) bt

#0  0xfebb3218 in strlen () from /usr/lib/libc.so.1
#1  0xfda6ac4c in PyString_FromString (
    str=0xfef65ec0 "unexpected parser state - please
send a bug report")
    at Objects/stringobject.c:106
#2  0xfdac9b50 in PyModule_AddStringConstant (m=0x594cd0,
    name=0xfe5a5478 "XML_ERROR_ENTITY_DECLARED_IN_PE",
value=0x0)
    at Python/modsupport.c:589
#3  0xfe57cec4 in initpyexpat ()
    at /usr/local/Python-2.4.3/Modules/pyexpat.c:1973

this happens when running moinmoin 1.5.4, and doing a
gui-edit. mod_python-3.2.10, httpd-2.2.3, solaris 8,
compile with gcc-3.4.6.

msg29817 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-14 03:34
Logged In: YES 
user_id=33168

Please file this bug report with mod_python.  That's
typically the cause and it will likely be very hard for any
Python developer to create this setup and much less try to
reproduce the error.

If you can provoke the same error without mod_python or
other third party C extensions, please file a bug report
with the minimal test case to reproduce.

If you need a work-around, I would suggest changing to a
different version of mod_python.
msg29818 - (view) Author: ThurnerRupert (thurnerrupert) Date: 2006-10-03 21:54
Logged In: YES 
user_id=1597584

ok ... i will.

we noticed similar errors when running:
 * edgewall trac 0.11-dev (which uses edgewall ghenshi)
 * xml-rpc plugin for edgewall trac

also, i filed the bug report after changing to newest 
mod_python. the old mod_python with apache 2.0.54 did not 
give a core, just segfaulted.

msg29819 - (view) Author: Ziga Seilnacht (zseil) * (Python committer) Date: 2006-10-03 22:47
Logged In: YES 
user_id=1326842

This looks like another problem with pyexpat getting
the export symbols from an older expat version.  See:
http://www.python.org/sf/1295808 and
http://www.python.org/sf/1075984
for details.
msg29820 - (view) Author: ThurnerRupert (thurnerrupert) Date: 2006-10-17 05:32
Logged In: YES 
user_id=1597584

thanks a lot, zseil!

with python-2.5 it works, so marking as duplicate of
http://www.python.org/sf/1295808.

History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 43972
2006-09-13 22:05:47thurnerrupertcreate