New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when initializing app built and run from Ubuntu 18.04 #5000
Comments
Is it something related to QT version? I built it with QT5 but got something like Qt4 from env:
|
Thanks for the report The good news is that we are working on addressing the OpenSSL issue in #4992 Optional: Waiting the corresponding branch is integrated, you could check out the branch associated with the PR and test locally: |
Thanks for the info. I checked out the branch but got an error with libcurl when rebuilding it. The output is like below: [ 27%] Built target MRMLCLIPython |
Is it a conflict of curl? I don't see libcurl.a but libcurl-d.a instead of that. There are 4 folders for curl and I have no idea how to rebuild it. I am not familiar with the building process and cmake, anyone can help how to build a component(curl here) with an older branch? #ls curl-build/lib |
Building Slicer is tested daily and only require to have Qt5, git, cmake and a compiler installed. There is usually no need to apply manual patches. But, since we are in the middle of integrating some major changes, there are issues to be addressed. The one you reported is also captured in our QA system, See I am working on a fix. |
Hi Jean, Btw, is it a general issue for win/linux/mac or just linux specific? If there is a recommended or preferred platform(like win or osx or specific linux distro and version) to build slicer(4.11.0), I would like to use it as well. I tried Debian 10, Ubuntu 16.04 and Fedora 30/31 but none of them works. |
Slicer is cross platform and built on all three platforms (packages are built daily for these. See https://download.slicer.org), you should use the platform you are familiar with or the platform that is relevant for your research (e.g due to hardware availability on a specific platform only, ... ) Will post back here when the issue is fixed. |
thanks. |
The following error:
happens because curl is installed in folder |
…tory This commit fixes the following error: error: '/work/Preview/Slicer-0-build/curl-install/lib/libcurl.a', needed by 'bin/libRemoteIO.so', missing and no known rule to make it It fixes a regression originally introduced in 128fb86 (ENH: Update curl from 7.34 to 7.70) See Slicer#5000 and Slicer#4992
…tory This commit fixes the following error: error: '/work/Preview/Slicer-0-build/curl-install/lib/libcurl.a', needed by 'bin/libRemoteIO.so', missing and no known rule to make it It fixes a regression originally introduced in 128fb86 (ENH: Update curl from 7.34 to 7.70) See Slicer#5000 and Slicer#4992
Thanks Jean. The fix works for the compilation but it crashes again. I am not able to print the backtrace this time which probably caused by I Do you know how to generate a debug profile? I tried cmake-gui and add 'CMAKE_BUILD_TYPE' to 'Debug' as a string value but it is not saved. |
On macOS or Linux, building passing By default, a debug build will be created it means you do not have to do anything special.
I am closing this issue. This crash is expected to be fixed by #4992 that just got integrated. |
Anyone met this?
Crash when initialization built and run from Ubuntu 18.04
Stack and env:
Steps to reproduce
Build and run on Ubuntu 18.04
Environment
Slicer version: Slicer-4.??.?-YYYY-MM-DD
$ git log
commit da65fbc (HEAD -> master, origin/master, origin/HEAD)
Author: Jean-Christophe Fillion-Robin jchris.fillionr@kitware.com
Date: Wed Mar 18 23:46:47 2020 -0400
Operating system: Windows / Linux / Mac + which version
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: