[slicer-users] bad allocation error in FastMarchingSegmentation module

אלעד e.dabool at gmail.com
Wed May 19 15:10:45 EDT 2010

hello all,

I have a problem with the FastMarchingSegmentation module,
when i use it after loading Slicer with a volume and some input the module
works great.
but if i try to use it again, i receive a bad allocation error. i guess
there is a memory leak in this module.

can someone tell us what can be done, this module is very important for our

Thank you,
Elad Dabool

the error we received:

ERROR: In ..\KWWidgets\vtkKWTkUtilities.
cxx, line 230
vtkSlicerApplication (0BD9AF90):
FastMarchingSegmentationProcessGUIEvents vtkObj5152 vtkObj5265 10000
    Returned Error on line 1:
Uncaught exception: bad allocation

Stack trace:
Uncaught exception: bad allocation

    while executing
"$fmFilter init [expr [lindex $dim 1] + 1] [expr [lindex $dim 3] + 1]  [expr
[lindex $dim 5] + 1] $depth $dx $dy $dz"
    (procedure "FastMarchingSegmentationInitializeFilter" line 29)
    invoked from within
"FastMarchingSegmentationInitializeFilter $this"
    (procedure "FastMarchingSegmentationProcessGUIEvents" line 43)
    invoked from within
"FastMarchingSegmentationProcessGUIEvents vtkObj5152 vtkObj5265 10000"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20100519/c9cb5cac/attachment.html>

More information about the slicer-users mailing list