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

SourceForge.net noreply@sourceforge.net
Sun, 26 Jan 2003 02:45:00 -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: Martin v. Löwis (loewis)
Date: 2003-01-26 11:45

Message:
Logged In: YES 
user_id=21627

It appears to be fixed in 2.3, although I haven't
investigated which particular change has fixed it.

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

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