View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002232ITKpublic2005-09-14 13:072009-04-07 08:03
ReporterStefan Klein 
Assigned ToMathieu Malaterre 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002232: gdcm lib gives segmentation fault when used in combination with shared libs (modules)
DescriptionA problem with using the itkDynamicLoader in combination with the GDCM library.

See the insight-user-mailing list starting with the following mail:

http://public.kitware.com/pipermail/insight-users/2005-September/014797.html [^]

In short, when the itkDynamicLoader is used to load some shared modules that link to the gdcm-library, a segmentation fault is generated on closing the shared modules.

Cause: global variables of type std::string. some may be solved by replacing them by char[], some by declaring the variables static.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Filespatch file icon gdcm2.patch [^] (4,201 bytes) 1969-12-31 19:00 [Show Content]

 Relationships

  Notes
(0003884)
Mathieu Malaterre (developer)
2006-03-20 14:49


The update to gdcm 1.2 has not solved my problem (bug 2232). Moreover, the patch you provided a while ago, as a temporary solution, does not work anymore with ITK2.6.0.

Have you thought of a more permanent solution?

In the attachment you can find the patch that solved the problem with ITK2.4.1. It is the same as the patch you sent me, except for line 74.
(0014251)
Mathieu Malaterre (developer)
2008-11-30 11:37

This is fixed in gdcm 2.x
(0014254)
Mathieu Malaterre (developer)
2008-11-30 11:41

Fixed. See
http://apps.sourceforge.net/mediawiki/gdcm/index.php?title=GDCM_Release_2.0 [^]

 Issue History
Date Modified Username Field Change
2007-09-19 11:07 Luis Ibanez Assigned To Mathieu Malaterre => David Cole
2007-09-19 11:07 Luis Ibanez Assigned To David Cole => Mathieu Malaterre
2008-11-30 11:37 Mathieu Malaterre Note Added: 0014251
2008-11-30 11:37 Mathieu Malaterre Status assigned => closed
2008-11-30 11:41 Mathieu Malaterre Note Added: 0014254
2008-11-30 11:41 Mathieu Malaterre Status closed => resolved
2009-04-07 08:03 Marius Staring Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team