[Python-bugs-list] [ python-Bugs-630494 ] expat causes a core dump

noreply@sourceforge.net noreply@sourceforge.net
Tue, 05 Nov 2002 04:54:14 -0800


Bugs item #630494, was opened at 2002-10-29 15:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=630494&group_id=5470

Category: XML
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: MM Zeeman (mmzeeman)
>Assigned to: Martin v. Löwis (loewis)
Summary: expat causes a core dump

Initial Comment:
Raising an exception inside a StartNamespaceDeclHandler
causes
python to dump core. 

The attached program will cause a segmentation fault. 

Note it is possible to raise exception in the
StartElementHandler and
EndElementHandler

with Python 2.0
>python2.0 expat_testje.py
None 123
Segmentation fault (core dumped)

with Python 2.2.1
>python2 expat_testje.py
None 123
Segmentation fault (core dumped)



----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-10-29 23:14

Message:
Logged In: YES 
user_id=33168

This core dumps on 2.2.2 and 2.3.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=630494&group_id=5470