View Issue Details

IDProjectCategoryView StatusLast Update
0001667Slicer4Module Editorpublic2012-08-21 10:01
ReporterDMeier Assigned Topieper  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.0.1 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0001667: Editor lock up for brush tool
Description

When using Editor brush tool for label map corrections, Slicer freezes up after a few minutes of editing. Looks like a memory/buffer issue?

Run on a 2x2.4Ghz Quad-core intel xeon Mac with 16GB RAM and OS X 10.7.2

See Nicola's comments & screenshot below.

Additional Information

Using brush or draw option works fine initially (I hit the return key as shortcut instead of clicking 'apply' button every time after editing - don't know if that has anything to do with the problem). Then the slicer does no longer apply the change as if I was still editing. This happened in both draw or brush option. The pointer even disappeared although one could see the changes on a button if the pointer though invisible happened to be on it. After waiting for a while I could quit the application and start over. It happened with the draw option as well with the paint (picture) one.

TagsNo tags attached.

Activities

2012-01-26 07:01

 

Slicer4_issue_Editor.jpg (255,960 bytes)
Slicer4_issue_Editor.jpg (255,960 bytes)
pieper

pieper

2012-01-26 09:10

administrator   ~0003551

Hi -

I'd like to figure this one out but I haven't been able to reproduce it - you say this always happens? I spent quite a while editing but didn't run into this situation so I wonder if there's something specific going on that I'm not reproducing here.

Also, when it happens can you check the error log and the python console and attach any information that shows up there?

-Steve

DMeier

DMeier

2012-01-27 10:39

developer   ~0003564

Here's an error log excerpt (Nicola):
It happened again while I was using the draw option in editor. Here is the description from the Error log:

invalid command name "vtkImageData0x120643f70"
invalid command name "vtkImageData0x120643f70"
while executing
"$disposeCheckPoint(imageData) Delete"
(procedure "EditorStoreCheckPointVolume" line 13)
invoked from within
"EditorStoreCheckPointVolume [$node GetID] previousCheckPointImages"
(procedure "EditorStoreCheckPoint" line 11)
invoked from within
"EditorStoreCheckPoint $_layers(label,node)"
(object "::EffectSWidget::drawEffect6" method "::Labeler::applyImageMask" body line 11)
invoked from within
"$this applyImageMask $maskIJKToRAS $mask $bounds"
(object "::EffectSWidget::drawEffect6" method "::Labeler::applyPolyMask" body line 17)
invoked from within
"$this applyPolyMask $o(polyData)"
(object "::EffectSWidget::drawEffect6" method "::DrawEffect::apply" body line 21)
invoked from within
"$this apply"
("Return" arm line 2)
invoked from within
"switch [$_interactor GetKeySym] {
"Return" -
"a" {
$this apply
set _actionState ""
}
..."
("KeyPressEvent" arm line 6)
invoked from within
"switch $event {
"LeftButtonPressEvent" {
set _actionState "drawing"
$o(cursorActor) VisibilityOff
$sliceGUI SetGrabID $t..."
(object "::EffectSWidget::drawEffect6" method "::DrawEffect::processEvent" body line 25)
invoked from within
"::EffectSWidget::drawEffect6 processEvent sliceGUIRed KeyPressEvent"
("eval" body line 1)
invoked from within
"eval $instance $args"
(procedure "::SWidget::ProtectedCallback" line 22)
invoked from within
"::SWidget::ProtectedCallback ::EffectSWidget::drawEffect6 processEvent sliceGUIRed KeyPressEvent"

pieper

pieper

2012-01-27 12:58

administrator   ~0003569

This workaround should prevent the symptom. Not sure yet of the underlying cause.

pieper@flint:~/slicer4/latest/Slicer4$ svn commit -m "BUG: check for reported error condition (bug 1667) where image data is deleted but still in data structure" ./Base/GUI/Tcl/EditorGUI.tcl
Sending Base/GUI/Tcl/EditorGUI.tcl
Transmitting file data .
Committed revision 19146.

Issue History

Date Modified Username Field Change
2012-01-26 07:01 DMeier New Issue
2012-01-26 07:01 DMeier Status new => assigned
2012-01-26 07:01 DMeier Assigned To => finetjul
2012-01-26 07:01 DMeier File Added: Slicer4_issue_Editor.jpg
2012-01-26 08:14 finetjul Assigned To finetjul => pieper
2012-01-26 08:14 finetjul Category GUI => Editor
2012-01-26 09:10 pieper Note Added: 0003551
2012-01-27 10:39 DMeier Note Added: 0003564
2012-01-27 12:58 pieper Note Added: 0003569
2012-01-31 10:16 pieper Status assigned => resolved
2012-01-31 10:16 pieper Resolution open => fixed
2012-07-16 05:07 pieper Status resolved => closed
2012-08-21 10:01 jcfr Fixed in Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-21 10:01 jcfr Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012