View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003571 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2014-01-29 08:27 | 2014-05-20 08:51 |
Reporter | jcfr | Assigned To | blowekamp | ||
Priority | high | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0003571: Import SimpleITK in Release build crashes Slicer | ||||
Description | $ ./Slicer --disable-builtin-modules --python-code "import SimpleITK" Segmentation fault (core dumped) | ||||
Additional Information | $ lsb_release -a $ gcc --version | ||||
Tags | No tags attached. | ||||
Is this a local build? Is this the standard configuration beyond just turning on SimpleITK? |
|
I just re-started a clean local build with the following options. Will keep you posted. cmake -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Support/qt-everywhere-opensource-release-build-4.8.5/bin/qmake -DSlicer_USE_SimpleITK:BOOL=1 -DSlicer_USE_QtTesting:BOOL=0 -DSlicer_USE_PYTHONQT_WITH_OPENSSL:BOOL=1 -DSlicer_BUILD_CLI:BOOL=0 -DSlicer_BUILD_QTSCRIPTEDMODULES:BOOL=0 -DSlicer_BUILD_DIFFUSION_SUPPORT:BOOL=0 -DSlicer_BUILD_MULTIVOLUME_SUPPORT:BOOL=0 ../Slicer-1
$ pwd $ ls -1 SimpleITK-0.7.1.post1-py2.7-linux-x86_64.egg/* SimpleITK-0.7.1.post1-py2.7-linux-x86_64.egg/EGG-INFO:
$ cat setuptools.pth |
|
I completed a clean build on a RH6 system and it works OK. Everything looks in order with what you posed. I have seen crashing when importing SimpleITK when there were multiple eggs installed, and version mis-matches of ITK and other dependencies. A stack trace would also be useful. Do most of the Slicer tests pass? There are no other issues with the build? A library dependency issue also comes to mind. Either a mis-match of the libraries _SimpleITK.so depends on compared to other ITK/Qt. Or some mis-match source files during the build causing problems. |
|
Thanks for checking on your side. I confirm that a clean Release configure/build [1] on the system documented in the issue description leads to a crash after importing SimpleITK [2] On the other hand, a Debug configure/build works as expected. As a side note, on a release build, I also have issue loading dicom files. Currently investigating. [1] cmake -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Support/qt-everywhere-opensource-release-build-4.8.5/bin/qmake -DSlicer_USE_SimpleITK:BOOL=1 -DSlicer_USE_QtTesting:BOOL=0 -DSlicer_USE_PYTHONQT_WITH_OPENSSL:BOOL=1 -DSlicer_BUILD_CLI:BOOL=0 -DSlicer_BUILD_QTSCRIPTEDMODULES:BOOL=0 -DSlicer_BUILD_DIFFUSION_SUPPORT:BOOL=0 -DSlicer_BUILD_MULTIVOLUME_SUPPORT:BOOL=0 ../Slicer-1 [2] ./Slicer --disable-builtin-modules --python-code "import SimpleITK" |
|
Replicating you configuration line I got the following configuration error (during Slicer?):
No target "EMSegmentCommandLine" Had to add the following to the configuration: |
|
Unable to reproduce the crash. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-29 08:27 | jcfr | New Issue | |
2014-01-29 08:27 | jcfr | Status | new => assigned |
2014-01-29 08:27 | jcfr | Assigned To | => jcfr |
2014-01-29 08:28 | jcfr | Assigned To | jcfr => blowekamp |
2014-01-29 08:28 | jcfr | Target Version | => Slicer 4.4.0 |
2014-01-29 08:28 | jcfr | Additional Information Updated | |
2014-01-29 08:50 | blowekamp | Note Added: 0010538 | |
2014-01-29 08:50 | blowekamp | Status | assigned => feedback |
2014-01-29 09:25 | jcfr | Note Added: 0010540 | |
2014-01-29 10:11 | blowekamp | Note Added: 0010541 | |
2014-01-29 12:03 | jcfr | Note Added: 0010542 | |
2014-01-29 12:03 | jcfr | Description Updated | |
2014-01-29 13:36 | blowekamp | Note Added: 0010543 | |
2014-05-20 08:51 | jcfr | Note Added: 0011915 | |
2014-05-20 08:51 | jcfr | Status | feedback => resolved |
2014-05-20 08:51 | jcfr | Fixed in Version | => Slicer 4.4.0 |
2014-05-20 08:51 | jcfr | Resolution | open => fixed |
2014-05-20 08:51 | jcfr | Status | resolved => closed |