View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004125||Slicer4||Core: Base Code||public||2016-01-10 17:50||2018-01-26 21:18|
|Platform||Debian Testing||OS||linux||OS Version||4.3.0-1-amd64|
|Product Version||Slicer 4.6.0|
|Target Version||Slicer 4.9.0||Fixed in Version||Slicer 4.9.0|
|Summary||0004125: Linux crash at startup on fresh build|
Fresh build from source causes crash. This is Debian Testing, another computer with Debian Stable does not exhibit this problem.
#0 0x00007f45a3fff000 in ?? ()
Qt version is 4.8.7.
|Tags||No tags attached.|
It looks like the crash happens during initialization of OpenSSL hashing routines for hashlib, which seems to be imported by
As far as debugging:
... and see if you can reproduce the crash.
... you could revert to GCC 4.9 (or maybe install in parallel, not sure how hard that is in Debian), but you will need to do a clean superbuild in that case, and possibly tweak the compiler paths. Changing compilers is a bit on the risky side, so don't do this on a system you can't afford to brick :)
Confirmed that Slicer_USE_SYSTEM_OpenSSL to OFF does workaround this problem.
This is a build issue on a specific configuration and a workaround is available, so I change the severity to "minor" (it helps us focusing on real crashes in production code).
Behavior of this problem has changed. Setting Slicer_USE_SYSTEM_OpenSSL no longer effective; crash occurs with Slicer-built OpenSSL. The backtrace is:
Program received signal SIGSEGV, Segmentation fault.
Is it possible that system Qt is not compatible with slicer-built OpenSSL? Note System Qt links with libssl.so.1.0.2 which calls Slicer-debug/OpenSSL/libssl.so.1.0.0.
Update: Setting Slicer_USE_PYTHONQT_WITH_OPENSSL=OFF does seem to work.
OpenSSL version used on Unix has been updated to
@gregsharp As a side note, your authorship will be restored when we transition to GitHub. See https://www.slicer.org/wiki/Documentation/Labs/TransitionToGit#Authorship
Fix confirmed. Clean compile and no crash on Debian 9 (stable). Thanks Jc!!
|2016-01-10 17:50||gregsharp||New Issue|
|2016-01-10 17:50||gregsharp||Status||new => assigned|
|2016-01-10 17:50||gregsharp||Assigned To||=> jcfr|
|2016-01-29 18:47||jcfr||Note Added: 0013803|
|2016-02-08 10:29||gregsharp||Note Added: 0013807|
|2017-06-11 10:02||lassoan||Severity||crash => minor|
|2017-06-11 10:02||lassoan||Note Added: 0014757|
|2017-08-06 11:50||gregsharp||Note Added: 0015026|
|2017-08-06 11:52||gregsharp||Note Edited: 0015026||View Revisions|
|2017-08-06 18:42||gregsharp||Note Added: 0015027|
|2018-01-19 16:10||jcfr||Target Version||=> Slicer 4.9.0|
|2018-01-19 16:11||jcfr||Note Added: 0015488|
|2018-01-19 16:11||jcfr||Status||assigned => resolved|
|2018-01-19 16:11||jcfr||Resolution||open => fixed|
|2018-01-19 16:11||jcfr||Fixed in Version||=> Slicer 4.9.0|
|2018-01-26 21:18||gregsharp||Note Added: 0015501|