View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001766 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2012-02-28 09:18 | 2012-08-21 11:30 |
Reporter | pieper | Assigned To | jcfr | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | |||||
Target Version | Slicer 4.0.1 | Fixed in Version | Slicer 4.0.1 | ||
Summary | 0001766: startup crash - windows x64 build | ||||
Description | Built fresh x64 Release mode with visual studio 2008. Starting the application led to a crash. Built another version in RelWithDebInfo mode and got the same crash, this time with debugging info. See attached screenshot for details -- issue appears to be in the CTK error log code. | ||||
Additional Information | It looks to me as if the logic should be something more like: #if (defined (_WIN32) || defined(_WIN64)) && !defined (Slicer_BUILD_WIN32_CONSOLE) | ||||
Tags | No tags attached. | ||||
2012-02-28 09:18
|
|
_WIN32 is supposed to be defined in 64bits, so the check "|| defined(_WIN64)" is redundant. |
|
Ideally Q_OS_WIN32 should be used. |
|
Here is the code involved. void ctkFDHandler::init() Some relevant documentation: _pipe(): http://msdn.microsoft.com/en-us/library/edze9h7e%28v=vs.80%29.aspx RedirectionFile being a QFile: http://doc.qt.nokia.com/4.7-snapshot/qfile.html#open-5 What about running the corresponding CTK test ? |
|
Steve, do you have the crash in debug mode ? I don't have the problem in Debug nor Release (visual studio 2008 x64). |
|
This was tracked down to building a release or relwithdebinfo slicer against a debug build of qt. TODO: isn't there a way we can detect this in CMake? |
|
This is doable. Since Visual is a multi-configuration IDE, this has to be done at build time when the build type is known with the help of a custom_command. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-28 09:18 | pieper | New Issue | |
2012-02-28 09:18 | pieper | Status | new => assigned |
2012-02-28 09:18 | pieper | Assigned To | => jcfr |
2012-02-28 09:18 | pieper | File Added: win64 trace.png | |
2012-02-29 16:43 | finetjul | Note Added: 0003751 | |
2012-02-29 17:16 | jcfr | Note Added: 0003753 | |
2012-02-29 17:16 | jcfr | Note Added: 0003754 | |
2012-02-29 17:17 | jcfr | Note Edited: 0003754 | |
2012-02-29 17:17 | jcfr | Note Edited: 0003754 | |
2012-02-29 17:28 | jcfr | Note Edited: 0003754 | |
2012-03-03 12:24 | finetjul | Note Added: 0003768 | |
2012-03-03 12:24 | finetjul | Note Edited: 0003768 | |
2012-04-06 06:25 | pieper | Note Added: 0003974 | |
2012-04-06 06:25 | pieper | Status | assigned => closed |
2012-04-06 06:25 | pieper | Resolution | open => no change required |
2012-04-06 10:09 | pieper | Relationship added | parent of 0001868 |
2012-04-06 11:53 | jcfr | Note Added: 0003978 | |
2012-05-09 09:35 | jcfr | Relationship added | related to 0001767 |
2012-08-21 11:30 | jcfr | Fixed in Version | => Slicer 4.0.1 |
2012-08-21 11:30 | jcfr | Target Version | => Slicer 4.0.1 |