Can't start latest stable on ubuntu 20.04

Due to the issues we had with Centos 7 and latest stable, I just recently installed Ubuntu 20.04 on a spare machine. This is just a default install, and nothing more (or less). Latest stable doesn’t start with this error:

> maga@magalab-ubuntu:~/Downloads/Slicer-4.11.20200930-linux-amd64$ ./Slicer 
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
> 
>     Available platform plugins are: xcb.
> 
>     error: [/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/bin/SlicerApp-real] exit abnormally - Report the problem.`
4 Likes

OK. As per this thread, setting:
export QT_DEBUG_PLUGINS=1

revealed missing library libxcb-xinerama0. Installing it fixed the problem.

maga@magalab-ubuntu:~/Downloads/Slicer-4.11.20200930-linux-amd64$ export QT_DEBUG_PLUGINS=1
maga@magalab-ubuntu:~/Downloads/Slicer-4.11.20200930-linux-amd64$ ./Slicer 
QFactoryLoader::QFactoryLoader() ignoring "com.nokia.qt.QGuiPlatformPluginInterface" since plugins are disabled in static builds 
QFactoryLoader::QFactoryLoader() ignoring "com.trolltech.Qt.QStyleFactoryInterface" since plugins are disabled in static builds 
QFactoryLoader::QFactoryLoader() ignoring "com.trolltech.Qt.QInputContextFactoryInterface" since plugins are disabled in static builds 
QFactoryLoader::QFactoryLoader() ignoring "com.trolltech.Qt.QImageIOHandlerFactoryInterface" since plugins are disabled in static builds 
QFactoryLoader::QFactoryLoader() checking directory path "/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so"
Found metadata in lib /home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/bin/platforms" ...
Cannot load library /home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so" : "Cannot load library /home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

error: [/home/maga/Downloads/Slicer-4.11.20200930-linux-amd64/bin/SlicerApp-real] exit abnormally - Report the problem.
2 Likes

Thanks for the report :+1:

So we should add libxcb-xinerama0 to the install line here?

or is there a different package name?

3 Likes

If you search for Qt an xinerama then you find lots of unhappy users complaining about this:

@jcfr @Sam_Horvath Could you try to build Qt with -no-xinerama option to see if it fixes the issue? (see https://doc.qt.io/qt-5/linux-deployment.html)

We can continue the discussion here, but I also added a ticket to make sure we implement a good solution before releasing Slicer5: https://github.com/Slicer/Slicer/issues/5251

Just wanted to report that I have encountered the exact error, latest stable and Ubuntu 16.04.

I wonder what is different about the latest stable in the way it is built. We still couldn’t figure out why open3d 0.8.0 that worked until the 9/25 version of Linux is now causing a crash in the current stable.

Open3d does not seem to be related to this problem and it is discussed here).

Requiring xinerama extension on linux seems to be a very widespread problem. Qt says it is not a bug, as they document what X11 extensions are required, but since Ubuntu does not come with xinerama installed by default (maybe earlier ir did), this causing users some pain. Development of xinerama stopped more than a decade ago, and it seems that is being weeded out from more and more places, but its removal from Qt is only scheduled for Qt6. Until then, we either need to build our Qt with xinerama disabled or add a note to the Slicer installation instructions.

Here is a pull request updating the build scripts: [5.15.1] Build Qt for linux with xinerama disabled by jcfr · Pull Request #60 · jcfr/qt-easy-build · GitHub

That said, we currently do not build Qt and instead rely on the official binary to include Qt in the docker image used to build the official installers. See here

Until then, we either need to build our Qt with xinerama disabled or add a note to the Slicer installation instructions.

An third approach could be to update the launcher so that it checks for requirements and provide a friendly message to the user.

In the meantime, updating the install instructions is a sensible solution.

1 Like

A post was split to a new topic: Problem running Slicer on CentOS8

[CentOS 7]

Same problem:

Cannot load library Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so" : "Cannot load library Slicer-4.11.20200930-linux-amd64/lib/QtPlugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I wonder why Slicer-4.11 fails to load libqxcb.so although it is found. I could try yum install libxcb-devel but do not have the privilege to do so. Any other bright ideas?

Are you able to request that the xcb package be installed?

If not, can you use singularity on that system for programs needing X and opengl?

Hi @pieper,

Are you able to request that the xcb package be installed?

If it has come down to having them available through the system, I should.

If not, can you use singularity on that system for programs needing X and opengl?

News for me, is Slicer available as a Singularity container now?

I think yes, from what I’ve seen xcb is going to be required, or at least for now that’s a reasonable workaround.

Regarding Singularity, I haven’t done that myself, but Docker works with Slicer (at least older Slicers) and perhaps Singularity would too. I ask, since you indicated Singularity is available to you for the trako project, but I don’t know if it will work for this too.

Hi all,
I think we are facing the same problem here.

The environment is:

  • OS: Ubuntu 20.10 64bit, GNOME 3.38.1
  • CPU: AMD A10-9600p
  • GPU: Radeon R5 (embedded) plus Radeon R6 M435DX
  • RAM: 16GB DDR4
  • xinerama, openssl and xcb installed.
  • Slicer preview release (2020-11-30).

That’s what we get:

ciro@ciro:~/Slicer-4.13.0-2020-11-30-linux-amd64$ export QT_DEBUG_PLUGINS=1
ciro@ciro:~/Slicer-4.13.0-2020-11-30-linux-amd64$ ./Slicer
QFactoryLoader::QFactoryLoader() ignoring “com.nokia.qt.QGuiPlatformPluginInterface” since plugins are disabled in static builds
QFactoryLoader::QFactoryLoader() ignoring “com.trolltech.Qt.QStyleFactoryInterface” since plugins are disabled in static builds
QFactoryLoader::QFactoryLoader() ignoring “com.trolltech.Qt.QInputContextFactoryInterface” since plugins are disabled in static builds
QFactoryLoader::QFactoryLoader() ignoring “com.trolltech.Qt.QImageIOHandlerFactoryInterface” since plugins are disabled in static builds
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platforms” …
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platforms/libqxcb.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platforms/libqxcb.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3”,
“MetaData”: {
“Keys”: [
“xcb”
]
},
“archreq”: 0,
“className”: “QXcbIntegrationPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“xcb”)
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/platforms” …
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platforms/libqxcb.so”
loaded library “Xcursor”
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platformthemes” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/platformthemes” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/platforminputcontexts” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/platforminputcontexts” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/xcbglintegrations” …
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/xcbglintegrations/libqxcb-glx-integration.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
“IID”: “org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5”,
“MetaData”: {
“Keys”: [
“xcb_glx”
]
},
“archreq”: 0,
“className”: “QXcbGlxIntegrationPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“xcb_glx”)
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/xcbglintegrations” …
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/xcbglintegrations/libqxcb-glx-integration.so”
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/iconengines” …
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/iconengines/libqSlicerIconEnginePlugin.so”
“Failed to extract plugin meta data from ‘/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/iconengines/libqSlicerIconEnginePlugin.so’”
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/iconengines” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats” …
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqgif.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqgif.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“gif”
],
“MimeTypes”: [
“image/gif”
]
},
“archreq”: 0,
“className”: “QGifPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“gif”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqicns.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqicns.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“icns”
],
“MimeTypes”: [
“image/x-icns”
]
},
“archreq”: 0,
“className”: “QICNSPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“icns”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqico.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqico.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“ico”,
“cur”
],
“MimeTypes”: [
“image/vnd.microsoft.icon”,
“image/vnd.microsoft.icon”
]
},
“archreq”: 0,
“className”: “QICOPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“ico”, “cur”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqjpeg.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqjpeg.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“jpg”,
“jpeg”
],
“MimeTypes”: [
“image/jpeg”,
“image/jpeg”
]
},
“archreq”: 0,
“className”: “QJpegPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“jpg”, “jpeg”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqsvg.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqsvg.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“svg”,
“svgz”
],
“MimeTypes”: [
“image/svg+xml”,
“image/svg+xml-compressed”
]
},
“archreq”: 0,
“className”: “QSvgPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“svg”, “svgz”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtga.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtga.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“tga”
],
“MimeTypes”: [
“image/x-tga”
]
},
“archreq”: 0,
“className”: “QTgaPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“tga”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtiff.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtiff.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“tiff”,
“tif”
],
“MimeTypes”: [
“image/tiff”,
“image/tiff”
]
},
“archreq”: 0,
“className”: “QTiffPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“tiff”, “tif”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwbmp.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwbmp.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“wbmp”
],
“MimeTypes”: [
“image/vnd.wap.wbmp”
]
},
“archreq”: 0,
“className”: “QWbmpPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“wbmp”)
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwebp.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwebp.so, metadata=
{
“IID”: “org.qt-project.Qt.QImageIOHandlerFactoryInterface”,
“MetaData”: {
“Keys”: [
“webp”
],
“MimeTypes”: [
“image/webp”
]
},
“archreq”: 0,
“className”: “QWebpPlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“webp”)
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/imageformats” …
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqgif.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqicns.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqico.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqjpeg.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqsvg.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtga.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqtiff.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwbmp.so”
loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/imageformats/libqwebp.so”
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/accessible” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/accessible” …
loaded library “crypto”
loaded library “ssl”
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/bearer” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/bearer” …
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/styles” …
QFactoryLoader::QFactoryLoader() looking at “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/styles/libqSlicerBaseQTGUIStylePlugins.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/QtPlugins/styles/libqSlicerBaseQTGUIStylePlugins.so, metadata=
{
“IID”: “org.qt-project.Qt.QStyleFactoryInterface”,
“MetaData”: {
“Keys”: [
“slicer”,
“light slicer”,
“dark slicer”
]
},
“archreq”: 0,
“className”: “qSlicerStylePlugin”,
“debug”: false,
“version”: 331520
}

Got keys from plugin meta data (“slicer”, “light slicer”, “dark slicer”)
QFactoryLoader::QFactoryLoader() checking directory path “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/styles” …
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerAnnotationsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerAnnotationsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerAnnotationsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerCamerasModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerCamerasModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerCamerasModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerColorsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerColorsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerColorsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerCropVolumeModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerCropVolumeModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerCropVolumeModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDataModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerDataModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDataModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDataStoreModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerDataStoreModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDataStoreModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDoubleArraysModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerDoubleArraysModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDoubleArraysModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDynamicModelerModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerDynamicModelerModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerDynamicModelerModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerMarkupsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerMarkupsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerMarkupsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerModelsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerModelsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerModelsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerMultiVolumeExplorerModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerMultiVolumeExplorerModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerMultiVolumeExplorerModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerPlotsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerPlotsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerPlotsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerReformatModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerReformatModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerReformatModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSceneViewsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerSceneViewsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSceneViewsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSegmentationsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerSegmentationsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSegmentationsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSequencesModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerSequencesModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSequencesModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSubjectHierarchyModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerSubjectHierarchyModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerSubjectHierarchyModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTablesModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerTablesModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTablesModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTerminologiesModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerTerminologiesModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTerminologiesModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTextsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerTextsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTextsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTransformsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerTransformsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerTransformsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerUnitsModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerUnitsModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerUnitsModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerViewControllersModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerViewControllersModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerViewControllersModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerVolumeRenderingModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerVolumeRenderingModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerVolumeRenderingModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerVolumesModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerVolumesModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerVolumesModule.so”
Found metadata in lib /home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerWelcomeModule.so, metadata=
{
“IID”: “org.slicer.modules.loadable.qSlicerLoadableModule/1.0”,
“archreq”: 0,
“className”: “qSlicerWelcomeModule”,
“debug”: false,
“version”: 331520
}

loaded library “/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/lib/Slicer-4.13/qt-loadable-modules/libqSlicerWelcomeModule.so”
error: [/home/ciro/Slicer-4.13.0-2020-11-30-linux-amd64/bin/SlicerApp-real] exit abnormally - Report the problem.

Any idea of what is going on?

Thanks a lot.

Paolo

Hi @PaoloZaffino - yes, I see the same sort of thing with 20.10 and @RafaelPalomar says he sees it too on other linux and hopes to investigate. I guess it’s a Qt platform issue so maybe just a build system update is enough. Looks like you are on a good track to debug but I don’t know how to interpret that output. Anyone else know? Also does. local build work for you?

Thanks @pieper
This is a student of mine machine, I have no access to it to try to build Slicer from source.

If we can provide additional information we will be glad.

Paolo

Thanks @PaoloZaffino for now the suggestion is to use 20.04 which doesn’t have this issue.

Just to report PoP OS Pop!_OS 20.10 which is based on ubuntu 20.10 is working fine with Slicer both stable and unstable versions! and Build works with CMAKE GUI. I have not tried CLI .

Hello,

I have been having a look at the problems using Slicer 4.11.20200930 in Ubuntu 20.10. Here are my findings:

  • [Error 1] On a fresh installation of Ubuntu 20.10 libxcb-xinerama0 needs to be installed to avoid an error related to qt and xcb when starting Slicer. Installing qt5dxcb-plugin will include libxcb-xinerama0 and remove some other warnings during the execution of Slicer.

  • [Error 2] Slicer crashes with a segmentation fault on application launch. It seems the crash produces on the interaction of python (ctypes extension) with libffi (/usr/lib/x86_64-linux-gnu/libffi.so.8). In Ubuntu 20.10 libffi is packaged in its 3.4 version, while in other distributions not having this problem the version is 3.3. This would suggest incompatibility between the python deployed in Slicer and libffi installed in Ubuntu 20.10; @manjula, could you check the version of libffi in PoP OS 20.10 just to discard this end?

  • [Workaround] The python version built in Slicer seems to come with its own libffi that can be built and included in libpython (statically) when BUILTIN_CTYPES=ON (in the python external project). Buiding the Slicer Python that way, Slicer seems to work properly. @pieper, @jcfr, @lassoan, my suggestion would be to check whether setting BUILTIN_CTYPES=ON breaks anyting for other OSs (Windows, different versions of Linux) and set it ON for the superbuild.

1 Like

Very helpful debugging Rafael!

You mean this is something we can include in the slicer packaging? Sounds much better than making the user install it.

This sounds promising enough that we should probably enable it for the preview builds and see if it resolves the issue. It sounds like the correct answer.