View Issue Details

IDProjectCategoryView StatusLast Update
0004046Slicer4Core: Diffusion and Tractography (Any modules)public2018-03-02 11:02
ReporterJungSun Lee Assigned Tojcfr  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionwon't fix 
Product VersionSlicer 4.4.0 
Target VersionFixed in VersionSlicer 4.7.0 
Summary0004046: Cannot mix incompatible Qt library (version 0x40805) with this library (version 0x40806)
Description

I downloaded pre-compiled Slicer 4.4 and installed it on Centos 7.
I installed qt-devel files (yum install qt-devel) before installing Slicer.

I selected DWI convert to convert from nifti DWI to nrrd DWI.

When I click dialog icon to select nitfi file (please see the attached capture file, red box), it shows an error.

Error : Cannot mix incompatible Qt library (version 0x40805) with this library (version 0x40806)
error: [/projects/schiz/software/Slicer-4.4.0-linux-amd64/./bin/SlicerApp-real] exit abnormally - Report the problem.

TagsNo tags attached.

Activities

2015-09-15 08:28

 

error (72,538 bytes)
error (72,538 bytes)

2015-09-15 08:32

 

error.png (72,538 bytes)
error.png (72,538 bytes)
jcfr

jcfr

2015-09-22 09:50

administrator   ~0013295

Hi JungSun,

Could you check if the problem occur with the nightly version ?

The nightly version can be downloaded from http://download.slicer.org

Thanks for your help,
Jc

JungSun Lee

JungSun Lee

2015-09-22 10:52

reporter   ~0013301

Hi,

I am sorry that the problem is not solved in Nightly version-2015-09-21.

Thank you

jcfr

jcfr

2015-09-25 14:15

administrator   ~0013307

Thanks for checking.

To summarize, here are the steps to reproduce the crash:

  • downloading Slicer nightly using for example: wget --content-disposition http://download.slicer.org/bitstream/436389
  • extracting the archive using: tar -xzvf Slicer-4.4.0-2015-09-23-linux-amd64.tar.gz
  • running Slicer using: ./Slicer
  • Open "DWIConverted"
  • click on the "..." on the right of the "FSL Nifti file" input
  • => Crash

After confirming you followed these steps, would it be possible for you to copy the output of the following command:

./Slicer --launch /usr/bin/ldd ./bin/SlicerApp-real

Could you also attach to this issue the file: ~/.config/Trolltech.conf

When you saved a copy of "~/.config/Trolltech.conf", try to delete the file and see if the crash still happen.

2015-09-27 08:02

 

cap_error_after.png (185,193 bytes)
cap_error_after.png (185,193 bytes)

2015-09-27 08:03

 

cap_error_before.png (377,937 bytes)
cap_error_before.png (377,937 bytes)

2015-09-27 08:05

 

list_lib_before.txt (26,751 bytes)
list_lib_before.txt (26,751 bytes)

2015-09-27 08:05

 

list_lib_after.txt (26,751 bytes)
list_lib_after.txt (26,751 bytes)

2015-09-27 08:05

 

Trolltech_after.conf (15,229 bytes)

2015-09-27 08:05

 

Trolltech_before.conf (79,372 bytes)
JungSun Lee

JungSun Lee

2015-09-27 08:13

reporter   ~0013309

Thank you for your kind advice.

But it does not work.

I installled new Slicer as your instruction.

But new version shows an error during loading modules (please see: cap_error_before.png)
As you can see, DWIconvert module is not loaded, so I cannot test it.

After delete Trolltech.conf, I run new version of Slicer.
Then it shows one error during loading modules (see : cap_error_after.png)
When I clicked the '...' in on the right of the FSL NIFTI file input, it shows an error "incompatible QT error"

I attached two ./bin/slicerapp-real (one is before deleting Trolltech, the other is after deleting Trolltech)
and attached Trolltech_before.conf and Trolltech_after.conf

jcfr

jcfr

2015-10-27 10:31

administrator   ~0013432

Hi Jae,

Did you make any progress on this particular issue ?

jcfr

jcfr

2015-10-27 10:32

administrator   ~0013433

Just to confirm, you also deleted all settings in "~/.config/NA-MIC" folder ?

JungSun Lee

JungSun Lee

2015-10-27 11:09

reporter   ~0013434

Hi,

I tested it after I deleted ~/.config/NA-MIC folder and Trolltech.conf and Trolltech folder.

But it shows the same error.

jcfr

jcfr

2015-10-27 13:42

administrator   ~0013438

Thanks for testing.

1) What are the value of your current env variables ?

You could get them by typing "export" in a terminal. I am particularly interest about the PATH and LD_LIBRARY_PATH ones.

2) An other things to try would be:

  • Start a terminal with the Slicer env:

    ./Slicer --launch /usr/bin/gnome-terminal

  • run the following code from the top-level Slicer superbuild folder:

    $ for lib in $(find . | grep ".so$"); do echo ">>> $lib"; ldd ${lib}; done > slicer_all_deps.txt
    $ cat slicer_all_deps.txt | grep "4.8.5" | wc -l
    0
    $ cat slicer_all_deps.txt | grep "4.8.6" | wc -l
    1590

In your case, I would expect the grep for "4.8.6" to return something. Then you could look at the file "slicer_all_deps.txt" to get more details ...

Thanks for your help,

Hth
Jc

2015-10-28 06:40

 

slicer_all_deps.txt (3,043,455 bytes)
slicer_all_deps.txt (3,043,455 bytes)
JungSun Lee

JungSun Lee

2015-10-28 06:52

reporter   ~0013442

Hi,

I am new at linux and image analysis. I am trying to make my computer's setting similar to PNL computer. So there are unnecessary PATH definition and programs.

  1. My default shell is TCSH. Here is my path definition.
    /projects/schiz/software/condor/bin:
    /projects/schiz/software/condor/sbin:
    /projects/schiz/software/freesurfer/bin:
    /projects/schiz/software/freesurfer/fsfast/bin:
    /projects/schiz/software/freesurfer/tktools:
    /usr/local/fsl/bin:
    /projects/schiz/software/freesurfer/mni/bin:
    /home/ljs/anaconda/bin:
    /usr/StorMan/pegasus/bin:
    /usr/StorMan/ssl/bin:
    /projects/schiz/software/condor/bin:
    /projects/schiz/software/condor/sbin:
    /projects/schiz/software/freesurfer/bin:
    /projects/schiz/software/freesurfer/fsfast/bin
    /projects/schiz/software/freesurfer/tktools:
    /usr/local/fsl/bin:
    /projects/schiz/software/freesurfer/mni/bin:
    /projects/schiz/software/condor/bin:
    /projects/schiz/software/condor/sbin:
    /projects/schiz/software/freesurfer/bin:
    /projects/schiz/software/freesurfer/fsfast/bin:
    /projects/schiz/software/freesurfer/tktools:
    /usr/local/fsl/bin:
    /projects/schiz/software/freesurfer/mni/bin:
    /usr/lib64/qt-3.3/bin
    :/usr/local/bin:
    /usr/local/sbin:
    /usr/bin:
    /usr/sbin:
    /bin:
    /sbin:/projects/schiz/software/pnlutil:
    /projects/schiz/software/measuretracts:
    /projects/schiz/software/NAMICExternalProjects-build/bin:
    /projects/schiz/software/mricron:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64/bin:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64:
    /projects/schiz/software/ENIGMA/scripts:
    /projects/schiz/software/Slicer3-3.6.3-2011-03-04-linux-x86_64/lib/TclTk/lib:/home/ljs/data/image/scripts:
    /projects/schiz/software/mricron_lx:
    /projects/schiz/software/pnlutil/scripts-all:
    /home/ljs/data/image/scripts/ENIGMA/scripts:
    /usr/local/MATLAB/R2012a/bin:
    /projects/schiz/software/pnlutil:
    /projects/schiz/software/measuretracts:
    /projects/schiz/software/NAMICExternalProjects-build/bin:
    /projects/schiz/software/mricron:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64/bin:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64:
    /projects/schiz/software/ENIGMA/scripts:
    /projects/schiz/software/Slicer3-3.6.3-2011-03-04-linux-x86_64/lib/TclTk/lib:
    /home/ljs/data/image/scripts:
    /projects/schiz/software/mricron_lx:
    /projects/schiz/software/pnlutil/scripts-all:
    /home/ljs/data/image/scripts/ENIGMA/scripts:
    /usr/local/MATLAB/R2012a/bin:
    /home/ljs/share/Dropbox/research/code:
    /projects/schiz/software/pnlutil:
    /projects/schiz/software/measuretracts:
    /projects/schiz/software/NAMICExternalProjects-build/bin:
    /projects/schiz/software/mricron:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64/bin:
    /projects/schiz/software/Slicer-4.4.0-2015-06-16-linux-amd64:/projects/schiz/software/ENIGMA/scripts:
    /projects/schiz/software/Slicer3-3.6.3-2011-03-04-linux-x86_64/lib/TclTk/lib:/home/ljs/data/image/scripts:
    /projects/schiz/software/mricron_lx:
    /projects/schiz/software/pnlutil/scripts-all:
    /home/ljs/data/image/scripts/ENIGMA/scripts:
    /usr/local/MATLAB/R2012a/bin:
    /home/ljs/share/Dropbox/research/code

  2. I changed the tcsh shell to bash to run your script. And most file in ./lib do not have 'x' permissions. So there are many warnings ('ldd : warning ~~~ ) when I ran your scritps. So I have to change the mode of file in ./lib to 750.
    Then I got the slicer_all_deps.txt file.
    But the number of file with 4.8.6 and 4.8.5 is 0. So I attached file.

Thank you for your help.
If you want to check my computer online or off-line, you can do it.

JungSun Lee

JungSun Lee

2015-10-28 06:53

reporter   ~0013443

And there is no definition of LD_LIBRARY_PATH in tcsh.

jcfr

jcfr

2015-10-28 07:02

administrator   ~0013444

Hi Jae,

I noticed that you run the command I posted in a regular shell. Make sure to start a terminal with the Slicer environment before running the command.

Two options:

./Slicer --launch /usr/bin/gnome-terminal

or

eval $("/path/to/Slicer" --launcher-show-set-environment-commands)

.

jcfr

jcfr

2015-10-28 07:04

administrator   ~0013445

Note that since this issue is most likely due to an environment configuration issue, I am un-targeting the issue.

jcfr

jcfr

2015-11-02 14:01

administrator   ~0013504

Hi Jae,

What is the status on this ?

Jc

lassoan

lassoan

2017-06-09 21:31

developer   ~0014705

The problem cannot be resolved without getting further feedback from the reporter.

Issue History

Date Modified Username Field Change
2015-09-15 08:28 JungSun Lee New Issue
2015-09-15 08:28 JungSun Lee Status new => assigned
2015-09-15 08:28 JungSun Lee Assigned To => kentwilliams
2015-09-15 08:28 JungSun Lee File Added: error
2015-09-15 08:32 JungSun Lee File Added: error.png
2015-09-16 09:40 jcfr Assigned To kentwilliams => jcfr
2015-09-16 09:41 jcfr Target Version => Slicer 4.5.0-1
2015-09-22 09:50 jcfr Note Added: 0013295
2015-09-22 09:50 jcfr Status assigned => feedback
2015-09-22 10:52 JungSun Lee Note Added: 0013301
2015-09-25 14:15 jcfr Note Added: 0013307
2015-09-27 08:02 JungSun Lee File Added: cap_error_after.png
2015-09-27 08:03 JungSun Lee File Added: cap_error_before.png
2015-09-27 08:05 JungSun Lee File Added: list_lib_before.txt
2015-09-27 08:05 JungSun Lee File Added: list_lib_after.txt
2015-09-27 08:05 JungSun Lee File Added: Trolltech_after.conf
2015-09-27 08:05 JungSun Lee File Added: Trolltech_before.conf
2015-09-27 08:13 JungSun Lee Note Added: 0013309
2015-10-27 10:31 jcfr Note Added: 0013432
2015-10-27 10:32 jcfr Note Added: 0013433
2015-10-27 11:09 JungSun Lee Note Added: 0013434
2015-10-27 13:42 jcfr Note Added: 0013438
2015-10-28 06:40 JungSun Lee File Added: slicer_all_deps.txt
2015-10-28 06:52 JungSun Lee Note Added: 0013442
2015-10-28 06:53 JungSun Lee Note Added: 0013443
2015-10-28 07:02 jcfr Note Added: 0013444
2015-10-28 07:04 jcfr Note Added: 0013445
2015-10-28 07:05 jcfr Target Version Slicer 4.5.0-1 =>
2015-11-02 14:01 jcfr Note Added: 0013504
2016-02-29 14:11 jcfr Category Module DWIConverter => Module DWIConverter (Provided by BRAINSTools)
2016-03-01 10:20 jcfr Category Module DWIConverter (Provided by BRAINSTools) => Core: Diffusion & Tractography (Any modules)
2016-06-20 14:14 jcfr Category Core: Diffusion & Tractography (Any modules) => Core: Diffusion and Tractography (Any modules)
2017-06-09 21:31 lassoan Status feedback => resolved
2017-06-09 21:31 lassoan Resolution open => won't fix
2017-06-09 21:31 lassoan Note Added: 0014705
2017-06-10 14:38 jcfr Fixed in Version => Slicer 4.7.0
2018-03-02 11:02 jcfr Status resolved => closed