fvpolpeta / devide

Automatically exported from code.google.com/p/devide
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

isolatedConnect.py crashes the whole of DeVIDE in certain seedpoint configs #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(reproducer submitted by Christian Vermorken, thanks!)

load up the attached DVN file. Delete points from the slice3dVWR, then try to 
add one point and see DeVIDE 12.2.7 crash.

This is due to ITK's IsolatedConnectImageFilter throwing its toys out of the 
cot after a certain sequence of ClearSeeds() / AddSeed() calls. Disappointing.

Original issue reported on code.google.com by cpbotha on 23 Feb 2012 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
I've narrowed it down some more. Run the attached network to prime the 
IsolatedConnectedImageFilter in the CodeRunner with some volume input. Then do 
the following to reproduce the crash:

{{{
icf.SetSeed1(itk.Index[3]([0,0,0]))
icf.Update()
}}}

So it seems to be a relatively simple case of the IsolatedConnectedImageFilter 
crashing when one of its seed lists is empty.

Doing the following also causes a crash:

{{{
icf.SetSeed1(itk.Index[3]([0,0,0]))
icf.SetSeed2(itk.Index[3]([1,1,1]))
icf.Update() # NO CRASH YET
icf.ClearSeeds2()
icf.Update() # CRASH!
}}}

Original comment by cpbotha on 23 Feb 2012 at 8:09

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 20b11dab1ab7.

Original comment by cpbotha on 23 Feb 2012 at 8:21