MantisBT - ITK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006563 | ITK | public | 2008-03-07 13:02 | 2010-11-24 10:52 | |
Reporter | Mario Ceresa | ||||
Assigned To | Gaetan Lehmann | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | AMD 64 - Intel Xeon 64 | OS | Fedora Linux | OS Version | 8 |
Product Version | |||||
Target Version | Fixed in Version | ||||
Resolution Date | |||||
Sprint | |||||
Sprint Status | |||||
Summary | 0006563: WrapITK corrupts python interpreter | ||||
Description | The python interpreter dies with the following error: python: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed. Aborted whenever I run the following code: ----------------------------------------------------------------- from xml.dom.ext.reader import Sax2 import itk im = itk.ImageFileReader.IUS2.New() reader = Sax2.Reader() ----------------------------------------------------------------- it doesn't happen if i don't create the ImageFileReader filter. I suppose because the import is lazy and it doesn't actually load c++ code until I try and use a class. | ||||
Steps To Reproduce | Build and install ITK + WrapITK + this patch http://voxel.jouy.inra.fr/darcs/contrib-itk/WrapITK/patch/optional/python-interface-patches.patch [^] Install PyXML 0.8.4.7 fire up a python interpreter and write: from xml.dom.ext.reader import Sax2 import itk im = itk.ImageFileReader.IUS2.New() reader = Sax2.Reader() the interpreted crashes. | ||||
Additional Information | |||||
Tags | python, WrapITK | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-03-07 13:02 | Mario Ceresa | New Issue | |||
2008-03-07 13:11 | Mario Ceresa | Tag Attached: WrapITK | |||
2008-03-07 13:11 | Mario Ceresa | Tag Attached: python | |||
2008-03-07 13:18 | Mario Ceresa | Note Added: 0010751 | |||
2009-05-17 16:12 | Gaetan Lehmann | Status | new => assigned | ||
2009-05-17 16:12 | Gaetan Lehmann | Assigned To | => Gaetan Lehmann | ||
2009-06-26 13:54 | Gaetan Lehmann | Note Added: 0016762 | |||
2010-11-24 10:52 | Gaetan Lehmann | Note Added: 0023531 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|