View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003561 | Slicer4 | Module EMSegment | public | 2014-01-22 05:08 | 2017-06-10 08:51 |
Reporter | ChristianMenard | Assigned To | pohl | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.2.2-1 | ||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0003561: Segmentation Task "Hand Bone" crashes | ||||
Description | I try to get the Segmentation Task "Hand bone" running, but during the preprocessing the task crashes. | ||||
Additional Information | System description:
| ||||
Tags | No tags attached. | ||||
related to | 0002741 | closed | pohl | Fix EMSegCLTask{HumanEye, MRIHumanBrainExp}_BRAINS_small failing on windows |
related to | 0003779 | closed | hjmjohnson | 'itk::ExceptionObject exception is thrown in TransformFileWriterTemplate which is run in connection with BRAINS |
Is slicer 4.2 not compatible with windows7 OS? Crashes every time |
|
@Christian: Regarding the "Crashed every time", do you mean that you can't start Slicer ? Or that it crashed while running EMSegment module ? |
|
Whenever I start the EMSegment Task, Slicer stops during the preprocessing Task. The 32 Bit Version of slicer crashes with an error message. I used the Hand Bone Segmentation from the Task library with the volume CT_Hand_Bone_Subject_1.nrrd from the task library. |
|
Is this reproducible using Slicer on a 64-bit system ? If you monitor the memory usage, is Slicer running out of memory ? Will know let the maintainer (Kilian) of EMSegment module helping you. @Kilian: Any idea what could be wrong ? |
|
I have 8GB Ram. The CPU usage is also at a Maximum. |
|
I have a Ubuntu machine - it works fine on that one with the newest build. Windows often has problems with memory allocation is too much memory is allocated at once. This has nothing to do with how much ram you have left but a "bug" in the OS. We previously have seen this problem . Sorry there is nothing I can do for you. By the way, how can I get access to CT_Hand_Bone_Subject_1.nrrd ? |
|
You can find the file under the slicer installation path under EMSegmenter Tasks HandBone. I can also send the file to you. You may be right that under Windows the slicer consumes maximum CPU ressources so that the GUI is almost not interacting. |
|
So finally Slicer is not working properly on Windows machines ? |
|
Yesterday I tested slicer to start in admin mode under Windows. |
|
what is the error message ? |
|
2014-03-06 04:48
|
EMSegmenter Bug.docx (331,180 bytes) |
Starting slicer 4.3.1 in Windows 7 64Bit, 8GB Ram
2-3 seconds -> error message Pre-processing did not execute correctly!! I attached a word file with snapshots |
|
@Christian: can you also past the error logs by going to the View Menu and selecting Error Log or by pressing Ctrl+0 ? It would greatly help |
|
@Christian: can you also past the error logs by going to the View Menu and selecting Error Log or by pressing Ctrl+0 ? It would greatly help |
|
I created a error log. Is there a way to Export the error log to a file ? |
|
2014-03-13 02:47
|
EMSegmenter Bug_ErrorLog.docx (460,354 bytes) |
It would help Kilian if you could provide the full error log - here's how:
|
|
2014-04-08 05:58
|
|
I uploaded the error.log file. |
|
very helpful - does not work bc of spaces in path Sourcing task general file: C:/temp/Slicer/EMSegmentTaskCopy/GenericTask.tcl |
|
now the strange thing is that I cannot find in any file in the EMSegmenter directory that performs source $dir/Slicer3Adapters.tcl (,i.e. grep Slicer3Adapters JC, Steve: Any idea where this is coming from ? |
|
The file "Slicer3Adapters.tcl" is currently located in Base/Python/Slicer/tcl (See [1]) and is sourced within the "tcl" function. See [2] |
|
tested on windows with:
|
|
Fixed by replacing backslashes with forward slashes in the tcl directory. Not sure when this became and issue, since earlier versions of the tpycl layer worked fine on windows. Probably this issue is a byproduct of the cmakeified python or some other change. |
|
Fixed in rev 23066. @Kilian, please close once you confirm. |
|
@ChristianMenard, please close once you confirm. |
|
what should i do now to get the slicer working. Can I Change the script by myself |
|
It looks like the nightly build for windows is failing for an unrelated reason. Hopefully it will be available in the next couple days. In the mean time, you could try applying this fix (add the one line replacing backslashes with slashes). You just need to find the corresponding file in your slicer installation. On windows you may need to change the access controls to make the file writable in order to make the changes. |
|
I tested it it works :) Christian |
|
Dear all Kind regards Christian |
|
2014-07-08 04:33
|
|
Thanks for reporting this - the key info in the log file is: "fileDEBUGTransform_RegFilterOutput.mat" This is due to a problem in brains that I know is being worked on: |
|
This issue is fixed in the latest origin/master of BRAINSTools, but other issues related to an incompatibility with the latest version of SlicerExecutionModel is being worked on. Hopefully these issues can be resolved in the next few days. |
|
I fixed the incompatibility issue. Now the fixed version of BRAINSTools has to be integrated into the slicer enviornment |
|
Sweet! |
|
@Hans: Let me know when you have an updated version of BRAINSTools and I will update the sha1 in Slicer. |
|
@JC The problem with SlicerExecutionModel having a separate exposed "find_package(ITK COMPONENTS {MINIMUM_LIST})" that implicitly preceeds building of other packages and their use of "find_package(ITK COMPONENTS {LARGE_LIST})" has been a large distraction to getting these changes tested and implemented. I think I've got a stable testing ground again. I also found why it was taking so long. The default values were changed to insane values (convergence threshold of 0.0) and sampling strategy was defaulting to 100% of all pixels (instead of the previous 1%). There should be something available by Monday afternoon. |
|
@jcfr I have a tried, but there is a new llinker error now related to inclusion of ITKIODCMTK component of ITK. Here is the current patch set: https://github.com/hjmjohnson/Slicer/tree/20140715BRAINSToolsUpdate Hans |
|
For reference, as of r23468, the new version of BRAINS has been integrated. |
|
Most likely fixed by r23638 / r23640 See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23638 |
|
2014-09-29 00:00
|
|
I tested the latest nightly build again for the Hand bone Segmentation Preprocessing did not execute correctly. I uploaded the error log regards Christian |
|
I tested the latest nightly build again for the Hand bone Segmentation -> Preprocessing did not execute correctly. I uploaded the error log regards Christian |
|
I was able to replicate the issue on Ubuntu - will dig deeper |
|
Slicer4 r23738 Tcl file as not updated to VTK 6 |
|
@Christian: Can you check that the bug is resolved in the few days to have it closed before the Slicer 4.4 release, which will be in a couple of days ? |
|
I have tested the task again with The Task by using the Default Parameters ended without error now and with the correct results. Good work But when i press Show plot (plot distribution) just after the preprocessing step slicer () slicerapp-real) crashes Problemsignatur: Lesen Sie unsere Datenschutzbestimmungen online: Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline: Closing Slicer (press x) the following message occurs Lesen Sie unsere Datenschutzbestimmungen online: Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline: |
|
I cannot reproduce the bug on Ubuntu. Here is fast way to get to it
|
|
I will try your workaround on another newly installed machine and will Report the result immediately |
|
I was able to reproduce this in a debug windows build. Here's the stack trace. It is using -1 as an index into a vector.
|
|
Steve : I believe I fixed it with r23748. Please check |
|
This works for me. |
|
I checked the new build and it worked now. regards Christian |
|
Import 2017-06-07 23:51:09: master 89d6c885 2014-04-09 20:56:05 Details Diff |
BUG: 0003561 handle paths for windows Earlier versions of the tpycl (tcl/python) layer worked on all platforms, but apparently a change occured (maybe the cmakeified python?) that led to a different interpretation of this path and now native windows paths with backslashes are returned from os.path. As a result we need to convert the paths before sending them to tcl, which always uses forward slashes for standard directory operations on all platforms. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23066 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/Python/slicer/slicerqt-with-tcl.py | Diff File | ||
Import 2017-06-07 23:51:09: master aad45820 2014-10-13 18:53:42 Details Diff |
BUG: 0003561 tcl file was not updated to VTK6 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23738 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild.cmake | Diff File | ||
Import 2017-06-07 23:51:09: master e2da2ccf 2014-10-17 16:08:35 Details Diff |
BUG: 0003561 did not check if index < 0, which causes crashes git-svn-id: http://svn.slicer.org/Slicer4/trunk@23748 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-22 05:08 | ChristianMenard | New Issue | |
2014-01-22 05:08 | ChristianMenard | Status | new => assigned |
2014-01-22 05:08 | ChristianMenard | Assigned To | => jcfr |
2014-02-17 01:49 | ChristianMenard | Note Added: 0010603 | |
2014-02-17 04:51 | jcfr | Category | Core: Base Code => Module EMSegment |
2014-02-17 04:52 | jcfr | Assigned To | jcfr => pohl |
2014-02-17 04:53 | jcfr | Note Added: 0010604 | |
2014-02-17 04:56 | ChristianMenard | Note Added: 0010605 | |
2014-02-17 04:59 | jcfr | Note Added: 0010606 | |
2014-02-17 05:03 | ChristianMenard | Note Added: 0010607 | |
2014-02-17 19:18 | pohl | Note Added: 0010608 | |
2014-02-17 22:53 | ChristianMenard | Note Added: 0010609 | |
2014-02-20 21:45 | ChristianMenard | Note Added: 0010618 | |
2014-02-20 21:53 | ChristianMenard | Note Added: 0010619 | |
2014-02-21 07:45 | pohl | Note Added: 0010620 | |
2014-03-06 04:48 | ChristianMenard | File Added: EMSegmenter Bug.docx | |
2014-03-06 04:51 | ChristianMenard | Note Added: 0010740 | |
2014-03-12 16:43 | pohl | Note Added: 0011429 | |
2014-03-12 16:43 | pohl | Note Added: 0011430 | |
2014-03-12 18:15 | jcfr | Target Version | => Slicer 4.4.0 |
2014-03-13 02:47 | ChristianMenard | Note Added: 0011431 | |
2014-03-13 02:47 | ChristianMenard | File Added: EMSegmenter Bug_ErrorLog.docx | |
2014-03-13 02:52 | pieper | Note Added: 0011432 | |
2014-04-08 05:58 | ChristianMenard | File Added: EMSegmenter_Handbone_Errorlog.txt | |
2014-04-08 05:58 | ChristianMenard | Note Added: 0011552 | |
2014-04-08 08:08 | pohl | Note Added: 0011554 | |
2014-04-08 19:09 | pohl | Note Edited: 0011554 | |
2014-04-08 19:29 | pohl | Note Added: 0011559 | |
2014-04-08 19:38 | jcfr | Note Added: 0011560 | |
2014-04-09 15:23 | pieper | Note Added: 0011563 | |
2014-04-09 16:59 | pieper | Note Added: 0011564 | |
2014-04-09 17:00 | pieper | Note Added: 0011565 | |
2014-04-09 17:00 | pieper | Status | assigned => resolved |
2014-04-09 17:00 | pieper | Fixed in Version | => Slicer 4.4.0 |
2014-04-09 17:00 | pieper | Resolution | open => fixed |
2014-04-09 20:33 | pohl | Note Added: 0011566 | |
2014-04-10 00:49 | ChristianMenard | Note Added: 0011567 | |
2014-04-10 03:14 | pieper | Note Added: 0011568 | |
2014-04-22 23:49 | ChristianMenard | Note Added: 0011645 | |
2014-07-08 04:32 | ChristianMenard | Note Added: 0012149 | |
2014-07-08 04:32 | ChristianMenard | Status | resolved => feedback |
2014-07-08 04:32 | ChristianMenard | Resolution | fixed => reopened |
2014-07-08 04:33 | ChristianMenard | File Added: Error EM Segmenter.txt.txt | |
2014-07-08 05:03 | pieper | Note Added: 0012150 | |
2014-07-08 05:08 | hjmjohnson | Note Added: 0012151 | |
2014-07-08 11:52 | pohl | Note Added: 0012154 | |
2014-07-08 12:07 | pieper | Note Added: 0012155 | |
2014-07-12 16:36 | jcfr | Note Added: 0012173 | |
2014-07-13 04:35 | hjmjohnson | Note Added: 0012174 | |
2014-07-19 06:07 | hjmjohnson | Note Added: 0012203 | |
2014-07-20 12:18 | jcfr | Note Added: 0012210 | |
2014-07-25 13:23 | pohl | Assigned To | pohl => hjmjohnson |
2014-07-25 13:23 | pohl | Status | feedback => assigned |
2014-07-29 16:31 | jcfr | Relationship added | related to 0002741 |
2014-07-29 16:31 | jcfr | Relationship added | related to 0003779 |
2014-09-02 11:03 | jcfr | Note Added: 0012454 | |
2014-09-02 11:03 | jcfr | Status | assigned => resolved |
2014-09-02 11:03 | jcfr | Resolution | reopened => fixed |
2014-09-29 00:00 | ChristianMenard | File Added: LogFile.txt | |
2014-09-29 00:01 | ChristianMenard | Note Added: 0012605 | |
2014-09-29 00:02 | ChristianMenard | Note Added: 0012606 | |
2014-09-29 00:02 | ChristianMenard | Status | resolved => feedback |
2014-09-29 00:02 | ChristianMenard | Resolution | fixed => reopened |
2014-10-07 17:11 | pohl | Status | feedback => assigned |
2014-10-07 17:11 | pohl | Assigned To | hjmjohnson => pohl |
2014-10-13 14:37 | pohl | Note Added: 0012613 | |
2014-10-13 15:10 | pohl | Note Added: 0012614 | |
2014-10-13 15:10 | pohl | Status | assigned => resolved |
2014-10-13 15:10 | pohl | Resolution | reopened => fixed |
2014-10-14 12:31 | pohl | Note Added: 0012622 | |
2014-10-14 12:31 | pohl | Status | resolved => feedback |
2014-10-14 12:31 | pohl | Resolution | fixed => reopened |
2014-10-14 23:33 | ChristianMenard | Note Added: 0012623 | |
2014-10-15 16:12 | pohl | Note Added: 0012625 | |
2014-10-15 16:13 | pohl | Status | feedback => assigned |
2014-10-15 16:13 | pohl | Assigned To | pohl => pieper |
2014-10-15 22:19 | ChristianMenard | Note Added: 0012626 | |
2014-10-17 09:08 | pieper | Note Added: 0012631 | |
2014-10-17 09:08 | pieper | Assigned To | pieper => pohl |
2014-10-17 09:08 | pieper | Status | assigned => confirmed |
2014-10-17 12:25 | pohl | Note Added: 0012632 | |
2014-10-17 13:45 | pieper | Note Added: 0012633 | |
2014-10-17 13:45 | pieper | Status | confirmed => resolved |
2014-10-17 13:45 | pieper | Resolution | reopened => fixed |
2014-10-24 00:32 | ChristianMenard | Note Added: 0012646 | |
2014-10-24 03:26 | pieper | Status | resolved => closed |
2017-06-10 08:51 | pohl | Changeset attached | => Slicer master e2da2ccf |
2017-06-10 08:51 | pohl | Changeset attached | => Slicer master aad45820 |
2017-06-10 08:51 | pieper | Changeset attached | => Slicer master 89d6c885 |