Hi Bill,<div><br></div><div>Yesterday Francois Budin reported a similar issue (he had a crash though). </div><div>After investigation, we noticed that the itkMRMLIOPlugin was loaded by the executable CLI because ITK_AUTOLOAD_PLUGIN was set. </div>

<div><br></div><div>I just pushed a fix that would prevent executable CLIs from loading the plugin:</div><div><a href="http://na-mic.org/Mantis/view.php?id=2773">http://na-mic.org/Mantis/view.php?id=2773</a><br></div><div>

<a href="http://na-mic.org/Mantis/view.php?id=1635">http://na-mic.org/Mantis/view.php?id=1635</a><br></div><div><br></div><div>Please note that it only applies to executable CLIs, the problem might still happen for loadable CLIs.</div>

<div><br></div><div>Julien.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 17, 2012 at 3:11 PM, Steve Pieper <span dir="ltr">&lt;<a href="mailto:pieper@ibility.net" target="_blank">pieper@ibility.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FYI<br>
<br>
<br>
---------- Forwarded message ----------<br>
From: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
Date: Sat, Nov 17, 2012 at 11:28 AM<br>
Subject: [Insight-developers] Possible issue with ITK dcmtk and Slicer dcmtk<br>
To: Insight Developers &lt;<a href="mailto:insight-developers@itk.org">insight-developers@itk.org</a>&gt;<br>
Cc: Hans Johnson &lt;<a href="mailto:hans-johnson@uiowa.edu">hans-johnson@uiowa.edu</a>&gt;, Kent Williams<br>
&lt;<a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a>&gt;<br>
<br>
<br>
Folks,<br>
<br>
I have not investigated this too much, but here it goes...<br>
<br>
I updated slicer 4 today and itkv4. I&#39;m building Slicer against<br>
today&#39;s itkv4 master.<br>
<br>
The EMSegmentCommandLine program is segfaulting when exiting. I tried<br>
it with the --xml argument.<br>
<br>
gdb reports (some symbols are missing because my build is not all debug<br>
<br>
#0  0x0000000000000031 in ?? ()<br>
#1  0x00007fffed103079 in OFListBase::~OFListBase (this=0x7fffed51b930,<br>
    __in_chrg=&lt;value optimized out&gt;)<br>
    at /home/lorensen/Projects/Slicer4-Superbuild/DCMTK/ofstd/libsrc/oflist.cc:54<br>
#2  0x00007fffe1980fba in OFList&lt;DcmCodecList*&gt;::~OFList() ()<br>
   from /home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3<br>
#3  0x00007fffd2649d3d in __cxa_finalize (d=0x7fffe1d0b2c0)<br>
    at cxa_finalize.c:56<br>
#4  0x00007fffe1978f36 in __do_global_dtors_aux ()<br>
   from /home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3<br>
#5  0x0000000000000000 in ?? ()<br>
<br>
Looks to me like Slicer&#39;s Superbuild DCMTK is classing with ITK&#39;s<br>
DCMTK. As I said I have not investigated this very much.<br>
<br>
Bill<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
_______________________________________________<br>
slicer-devel mailing list<br>
<a href="mailto:slicer-devel@bwh.harvard.edu">slicer-devel@bwh.harvard.edu</a><br>
<a href="http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel" target="_blank">http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel</a><br>
To unsubscribe: send email to <a href="mailto:slicer-devel-request@massmail.spl.harvard.edu">slicer-devel-request@massmail.spl.harvard.edu</a> with unsubscribe as the subject<br>
</blockquote></div><br></div>