View Revisions: Issue #4647

Summary 0004647: MacOS crash ctkMatrixWidget.cpp
Revision 2018-10-26 13:34 by dewhite
Description

After building Slicer from source (nightly-master branch), I get the following runtime error resulting in a program crash:

2018-10-26 11:18:42.097 Slicer[1559:9595646] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Switch to module: "Welcome"
Switch to module: "Volumes"
ASSERT: "this->Table->rowHeight(i) == newHeight" in file /opt/S/CTK/Libs/Widgets/ctkMatrixWidget.cpp, line 252
error: [/opt/S/Slicer-build/bin/Slicer.app/Contents/MacOS/./Slicer] exit abnormally - Report the problem.
This happens whenever I switch to the Volumes module (with or without data loaded).

OS: MacOS Sierra 10.12.6
XCode: Version 9.2 (9C40b)
clang: Apple LLVM version 9.0.0 (clang-900.0.39.2)
QT: 5.11.2
Cmake: 3.12.3

Slicer: Nightly-master branch (4.11.0 2018-10-23)

cmake command is
cmake
-DCMAKE_BUILD_TYPE:STRING=Debug
-DQt5_DIR:PATH=/Users/whitede/Applications/Qt/5.11.2/clang_64/lib/cmake/Qt5
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
-DSlicer_USE_GIT_PROTOCOL=OFF
-DSlicer_USE_PYTHONQT_WITH_TCL=OFF
/Users/whitede/MyProjects/Slicer

Error occurs whether or not data has been loaded.

Issue first posted on Discourse: https://discourse.slicer.org/t/custom-build-crash-macos-10-12/4545

Revision 2018-10-26 13:31 by dewhite
Description

After building Slicer from source (nightly-master branch), I get the following runtime error resulting in a program crash:

2018-10-26 11:18:42.097 Slicer[1559:9595646] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Switch to module: "Welcome"
Switch to module: "Volumes"
ASSERT: "this->Table->rowHeight(i) == newHeight" in file /opt/S/CTK/Libs/Widgets/ctkMatrixWidget.cpp, line 252
error: [/opt/S/Slicer-build/bin/Slicer.app/Contents/MacOS/./Slicer] exit abnormally - Report the problem.
This happens whenever I switch to the Volumes module (with or without data loaded).

OS: MacOS Sierra 10.12.6
XCode: Version 9.2 (9C40b)
clang: Apple LLVM version 9.0.0 (clang-900.0.39.2)
QT: 5.11.2
Cmake: 3.12.3

Slicer: Nightly-master branch (4.11.0 2018-10-23)

cmake command is
cmake
-DCMAKE_BUILD_TYPE:STRING=Debug
-DQt5_DIR:PATH=/Users/whitede/Applications/Qt/5.11.2/clang_64/lib/cmake/Qt5
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
-DSlicer_USE_GIT_PROTOCOL=OFF
-DSlicer_USE_PYTHONQT_WITH_TCL=OFF
/Users/whitede/MyProjects/Slicer

Error occurs whether or not data has been loaded.