<div dir="ltr"><div><div>Looks to me that<br>static vtkAtomicInt32 GlobalTimeStamp(0)<br><br></div>is being deleted during the finalization before some of the objects have been deleted.<br><br></div>I verified that by printing out the this pointer in the atomic destructor and printing out a message if Increment() is called with an Internal = 0.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 11:29 AM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>My linux builds (Fedora and Ubuntu) have started crashing after recent checkins. My MAc builds and runs fine.<br>
<br><br></div><div>The executables crash on exit. Looks like this-&gt;Internal is NULL.<br>
<br></div><div>For example when I run Cone,<br>Program received signal SIGSEGV, Segmentation fault.<br>0x011671b8 in vtkAtomicInt32::Increment (this=0x12b1a30)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Sequential/vtkAtomicInt32.cxx:49<br>

49        this-&gt;Internal-&gt;AtomicInt32CritSec);<br>Missing separate debuginfos, use: debuginfo-install python-libs-2.6.4-27.fc13.i686<br>(gdb) list<br>44    <br>45    int vtkAtomicInt32::Increment()<br>46    {<br>47      return vtkAtomicInt32Increment(<br>

48        &amp;this-&gt;Internal-&gt;Value,<br>49        this-&gt;Internal-&gt;AtomicInt32CritSec);<br>50    <br>51    }<br>52    <br>53    int vtkAtomicInt32::Add(int val)<br>(gdb) print this<br>$1 = (vtkAtomicInt32 * const) 0x12b1a30<br>

(gdb) print this-&gt;Internal<br>$2 = (vtkAtomicInt32Internal *) 0x0<br>(gdb) <br><br></div><div>Here is the traceback:<br>#0  0x011671b8 in vtkAtomicInt32::Increment (this=0x12b1a30)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Sequential/vtkAtomicInt32.cxx:49<br>

#1  0x0112e899 in vtkTimeStamp::Modified (this=0x805c234)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkTimeStamp.cxx:51<br>#2  0x010afdfa in vtkObject::Modified (this=0x805c220)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObject.cxx:854<br>

#3  0x00ffa2ab in vtkCollection::RemoveAllItems (this=0x805c220)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkCollection.cxx:197<br>#4  0x00ff9ec9 in vtkCollection::~vtkCollection (this=0x805c220, <br>    __in_chrg=&lt;value optimized out&gt;)<br>

    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkCollection.cxx:39<br>#5  0x010b23cb in vtkObjectFactoryCollection::~vtkObjectFactoryCollection (<br>    this=0x805c220, __in_chrg=&lt;value optimized out&gt;)<br>

    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectFactoryCollection.h:61<br>#6  0x010b2403 in vtkObjectFactoryCollection::~vtkObjectFactoryCollection (<br>    this=0x805c220, __in_chrg=&lt;value optimized out&gt;)<br>

    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectFactoryCollection.h:61<br>#7  0x010addc6 in vtkObjectBase::UnRegisterInternal (this=0x805c220, check=1)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectBase.cxx:232<br>

#8  0x010b04ee in vtkObject::UnRegisterInternal (this=0x805c220, o=0x0, check=<br>    1) at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObject.cxx:904<br>#9  0x00ffa5d9 in vtkCollection::UnRegister (this=0x805c220, o=0x0)<br>

    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkCollection.cxx:349<br>#10 0x010ada04 in vtkObjectBase::Delete (this=0x805c220)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectBase.cxx:134<br>

#11 0x010b3807 in vtkObjectFactory::UnRegisterAllFactories ()<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectFactory.cxx:444<br>#12 0x010b45e9 in vtkCleanUpObjectFactory::~vtkCleanUpObjectFactory (this=<br>

    0x12b15fe, __in_chrg=&lt;value optimized out&gt;)<br>    at /home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/vtkObjectFactory.cxx:40<br>#13 0x006ff618 in __cxa_finalize (d=0x1295678) at cxa_finalize.c:56<br>#14 0x00ee0fa5 in __do_global_dtors_aux ()<br>

   from /home/lorensen/ProjectsGIT/VTKGerrit-linux/lib/libvtkCommonCore-6.1.so.1<br>#15 0x01177490 in _fini ()<br>   from /home/lorensen/ProjectsGIT/VTKGerrit-linux/lib/libvtkCommonCore-6.1.so.1<br>#16 0x006be3c5 in _dl_fini () at dl-fini.c:248<br>

#17 0x006ff29f in __run_exit_handlers (status=0) at exit.c:78<br>#18 exit (status=0) at exit.c:100<br>#19 0x006e7cce in __libc_start_main (main=0x8049c40 &lt;main()&gt;, argc=1, ubp_av=<br>    0xbffff264, init=0x8049be0 &lt;__libc_csu_init&gt;, fini=<br>

    0x8049bd0 &lt;__libc_csu_fini&gt;, rtld_fini=0x6be220 &lt;_dl_fini&gt;, stack_end=<br>    0xbffff25c) at libc-start.c:258<br>#20 0x08049b31 in _start ()<span class="HOEnZb"><font color="#888888"><br><br></font></span></div>
<span class="HOEnZb"><font color="#888888"><div><div><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>

</div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>