Hi Matt,
some DCMTK libraries have static de-initialization problems. This is why
we "pre-load" them, e.g. in the mitkWorkbench.cpp file by loading the
libCTKDicomCore library, which depends on DCMTK. This prevents the DCMTK
libraries from being unloaded when the CTK Plugin Framework loads and
unloads plug-ins to cache their resources.
This only happens on Linux.
Best,
Sascha
On 03/25/2013 04:41 PM, Clarkson, Matt wrote:
Hi there?
I believe I may have a crash from the DICOM plugin.
This happens in our 3rd party up, starting up with a clean plugin cache.
Im on Linux Mint 14, gcc 4.6.
Doesn't seem to happen on other Linuxes that we run.
Does anyone else have this?
Thanks
Matt
core dump in gdb says:
(gdb) backtrace
#0 0x0000000000000041 in ?? ()
#1 0x00007ff42ddbb5fb in OFListBase::~OFListBase() () from
/home/clarkson/build/NifTK-SuperBuild-Debug/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_qt_dicom.so
#2 0x00007ff42dd79054 in OFList<DcmCodecList*>::~OFList() () from
/home/clarkson/build/NifTK-SuperBuild-Debug/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_qt_dicom.so
#3 0x00007ff459065d1d in __cxa_finalize (d=0x7ff42d54d5c0) at
cxa_finalize.c:56
#4 0x00007ff42cdeb076 in __do_global_dtors_aux () from
/home/clarkson/build/NifTK-SuperBuild-Debug/CTK-build/CTK-build/bin/libCTKDICOMCore.so.0.1
#5 0x00000000000000f0 in ?? ()
#6 0x00007fffaccdd6a0 in ?? ()
#7 0x00007ff42d1c3891 in _fini () from
/home/clarkson/build/NifTK-SuperBuild-Debug/CTK-build/CTK-build/bin/libCTKDICOMCore.so.0.1
#8 0x00007fffaccdd6a0 in ?? ()
#9 0x00007ff45d1bb71e in _dl_close_worker (map=<optimised out>) at
dl-close.c:273
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
If I run through valgrind, I get lots of output, so it is attached,
and the app does start up.
Also, is this relevant?
http://www.na-mic.org/Mantis/view.php?id=2963
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users