View Issue Details

IDProjectCategoryView StatusLast Update
0002204Slicer4Module DICOMpublic2013-07-08 14:34
Reporterinorton Assigned Topieper  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002204: Odd allocator bug in DCMTK code: SEGV on exit
Description

See attached log, the Offis stdlib deallocator is segfaulting when slicer exits. I have deleted Superbuild/CTK* and rebuilt, problem persists.

To reproduce, I start slicer (w/ gdb as in log), then immediately exit.

This does not happen in the 6/16 nightly from the website, I don't have a release build on my machine to test.

Additional Information

Ubuntu 12.04 64-bit
In case it makes a difference, this is running inside of a virtualbox VM on Windows 7 64-bit, with 4 cores allocated.

TagsNo tags attached.

Relationships

related to 0001537 closedjcfr Exit from tcl adapter causes seg fault when exiting program 

Activities

2012-06-18 08:32

 

oflib-bug.txt (8,748 bytes)
oflib-bug.txt (8,748 bytes)
inorton

inorton

2012-06-25 20:43

developer   ~0004939

The 6/23 windows 64-bit build also crashes on exit. I don't have a working debug build right now but when I do I'll check if it's the same issue.

pieper

pieper

2012-07-30 05:30

administrator   ~0005445

There's been discussion of this kind of issue coming from DCMTK being built static and included independently in more than one shared library. Apparently this can lead to singleton C++ objects in dcmtk being destructed more than one and/or in the wrong order.

finetjul

finetjul

2012-11-17 13:06

administrator   ~0007306

Logs of the discussion:
http://public.kitware.com/pipermail/ctk-developers/2012-February/000941.html

pieper

pieper

2012-12-06 03:59

administrator   ~0007419

Bill has made some progress on this:

http://slicer-devel.65872.n3.nabble.com/DCMTK-crash-on-exit-resolved-td4026961.html

pieper

pieper

2013-07-08 09:46

administrator   ~0008892

This was fixed when DCMTK was changed to a shared library build for slicer.

inorton

inorton

2013-07-08 14:34

developer   ~0008917

Thanks.

Issue History

Date Modified Username Field Change
2012-06-18 08:32 inorton New Issue
2012-06-18 08:32 inorton Status new => assigned
2012-06-18 08:32 inorton Assigned To => pieper
2012-06-18 08:32 inorton File Added: oflib-bug.txt
2012-06-25 20:43 inorton Note Added: 0004939
2012-07-30 05:28 pieper Relationship added related to 0001537
2012-07-30 05:30 pieper Note Added: 0005445
2012-08-22 05:56 jcfr Target Version => Slicer 4.3.0
2012-11-17 13:06 finetjul Note Added: 0007306
2012-12-06 03:59 pieper Note Added: 0007419
2013-07-08 09:46 pieper Note Added: 0008892
2013-07-08 09:46 pieper Status assigned => closed
2013-07-08 09:46 pieper Resolution open => fixed
2013-07-08 09:46 pieper Fixed in Version => Slicer 4.3.0
2013-07-08 14:34 inorton Note Added: 0008917