VisualizationGeant4 : Visualization of Configuration has some mistakes When I use the model of [VisualizationGeant4]

For some reason, I cannot get the visualization on my institute cluster having access to CVMFS. Here is what I am doing:

source /cvmfs/clicdp.cern.ch/software/allpix-squared/1.6.1/x86_64-centos7-gcc10-opt/setup.sh

I have used the following configuration files as an example:

Main config

[Allpix]
detectors_file = “tutorial-geometry.conf”
log_level = “WARNING”
number_of_events = 1

[GeometryBuilderGeant4]

[DepositionGeant4]
particle_type = “Pi+”
source_energy = 120GeV
source_type = “beam”
beam_size = 3mm
source_position = 0um 0um -200mm
beam_direction = 0 0 1
physics_list = FTFP_BERT_EMZ

[ElectricFieldReader]
model=“linear”
bias_voltage=-50V
depletion_voltage=-30V
output_plots = 1

[ProjectionPropagation]
temperature = 293K
output_plots = 1

[SimpleTransfer]
output_plots = 1

[DefaultDigitizer]
output_plots = 1

[VisualizationGeant4]
mode = “gui”
driver = “OGL”

Geometry

[detector1]
type = “timepix”
position = 0mm 0mm 0mm
orientation = 0deg 0deg 0deg

This is the log of running:

allpix -c tutorial-simulation.conf

But I have no way of visualizing it smoothly.
The error as follow:

|09:32:24.845| (STATUS) Welcome to Allpix^2 v2.2.2
|09:32:24.846| (STATUS) Initialized PRNG with system entropy seed 7759055272147953434
|09:32:27.087| (WARNING) Main ROOT file “/scratchfs/herd/niuyan/Allpix2/workare/test1/output/modules.root” exists and will be overwritten.
|09:32:27.175| (STATUS) Loaded 7 modules
|09:32:27.175| (STATUS) Initializing 7 module instantiationsqt.qpa.xcb: failed to initialize XRandr
qt.qpa.xcb: X server does not support XInput 2
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval -1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
Could not initialize GLX

|09:32:30.330| (FATAL) [I:VisualizationGeant4] Aborting!

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

Thread 2 (Thread 0x7f3e607f9700 (LWP 23695) “QXcbEventQueue”):
#0 0x00007f3e85870ddd in poll () from /lib64/libc.so.6
#1 0x00007f3e84332022 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2 0x00007f3e84333c6f in xcb_wait_for_event () from /lib64/libxcb.so.1
#3 0x00007f3e61e7bdd8 in ?? () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5XcbQpa.so.5
#4 0x00007f3e8cb76177 in ?? () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5Core.so.5
#5 0x00007f3e87725ea5 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f3e8587bb0d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3e7f975b80 (LWP 23624) “allpix”):
#0 0x00007f3e85842659 in waitpid () from /lib64/libc.so.6
#1 0x00007f3e857bff62 in do_system () from /lib64/libc.so.6
#2 0x00007f3e857c0311 in system () from /lib64/libc.so.6
#3 0x00007f3e8637687c in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libCore.so
#4 0x00007f3e86373e85 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libCore.so
#5
#6 0x00007f3e876b9ff1 in allpix::Configuration::has(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixCore.so
#7 0x00007f3e8ebafd28 in allpix::VisualizationGeant4Module::~VisualizationGeant4Module() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixModuleVisualizationGeant4.so
#8 0x00007f3e8ebb00b9 in allpix::VisualizationGeant4Module::~VisualizationGeant4Module() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixModuleVisualizationGeant4.so
#9 0x00000000004088e9 in allpix::Allpix::~Allpix() ()
#10 0x0000000000405d9e in clean() ()
#11 0x0000000000405eb5 in abort_handler(int) ()
#12
#13 0x00007f3e857b3387 in raise () from /lib64/libc.so.6
#14 0x00007f3e857b4a78 in abort () from /lib64/libc.so.6
#15 0x00007f3e8cb3e68d in QMessageLogger::fatal(char const*, …) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5Core.so.5
#16 0x00007f3e718ddd86 in ?? () from /cvmfs/sft.cern.ch/lcg/releases/qt5/5.12.4-48808/x86_64-centos7-gcc11-opt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#17 0x00007f3e718de1f7 in ?? () from /cvmfs/sft.cern.ch/lcg/releases/qt5/5.12.4-48808/x86_64-centos7-gcc11-opt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#18 0x00007f3e8d238f0d in QOpenGLContext::create() () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5Gui.so.5
#19 0x00007f3e87e79e65 in QGLContext::chooseContext(QGLContext const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#20 0x00007f3e87e789fe in QGLContext::create(QGLContext const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#21 0x00007f3e87e7cbc9 in QGLWidget::setContext(QGLContext*, QGLContext const*, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#22 0x00007f3e87e7cd00 in QGLWidgetPrivate::initContext(QGLContext*, QGLWidget const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#23 0x00007f3e87e7cf7a in QGLWidget::QGLWidget(QWidget*, QGLWidget const*, QFlagsQt::WindowType) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#24 0x00007f3e87f49176 in G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(G4OpenGLStoredSceneHandler&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4OpenGL.so
#25 0x00007f3e87f47676 in G4OpenGLStoredQt::CreateViewer(G4VSceneHandler&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4OpenGL.so
#26 0x00007f3e8e92d15d in G4VisManager::CreateViewer(G4String const&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4vis_management.so
#27 0x00007f3e8e90763f in G4VisCommandViewerCreate::SetNewValue(G4UIcommand*, G4String) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4vis_management.so
#28 0x00007f3e889a9415 in G4UIcommand::DoIt(G4String) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4intercoms.so
#29 0x00007f3e889c7b1c in G4UImanager::ApplyCommand(char const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4intercoms.so
#30 0x00007f3e8ebb2dbe in allpix::VisualizationGeant4Module::initialize() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixModuleVisualizationGeant4.so
#31 0x00007f3e876948f2 in allpix::ModuleManager::initialize() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixCore.so
#32 0x0000000000404840 in main ()

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum ROOT Forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at Sign in to GitHub · GitHub Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#13 0x00007f3e857b3387 in raise () from /lib64/libc.so.6
#14 0x00007f3e857b4a78 in abort () from /lib64/libc.so.6
#15 0x00007f3e8cb3e68d in QMessageLogger::fatal(char const*, …) const () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5Core.so.5
#16 0x00007f3e718ddd86 in ?? () from /cvmfs/sft.cern.ch/lcg/releases/qt5/5.12.4-48808/x86_64-centos7-gcc11-opt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#17 0x00007f3e718de1f7 in ?? () from /cvmfs/sft.cern.ch/lcg/releases/qt5/5.12.4-48808/x86_64-centos7-gcc11-opt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#18 0x00007f3e8d238f0d in QOpenGLContext::create() () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5Gui.so.5
#19 0x00007f3e87e79e65 in QGLContext::chooseContext(QGLContext const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#20 0x00007f3e87e789fe in QGLContext::create(QGLContext const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#21 0x00007f3e87e7cbc9 in QGLWidget::setContext(QGLContext*, QGLContext const*, bool) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#22 0x00007f3e87e7cd00 in QGLWidgetPrivate::initContext(QGLContext*, QGLWidget const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#23 0x00007f3e87e7cf7a in QGLWidget::QGLWidget(QWidget*, QGLWidget const*, QFlagsQt::WindowType) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/libQt5OpenGL.so.5
#24 0x00007f3e87f49176 in G4OpenGLStoredQtViewer::G4OpenGLStoredQtViewer(G4OpenGLStoredSceneHandler&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4OpenGL.so
#25 0x00007f3e87f47676 in G4OpenGLStoredQt::CreateViewer(G4VSceneHandler&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4OpenGL.so
#26 0x00007f3e8e92d15d in G4VisManager::CreateViewer(G4String const&, G4String const&) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4vis_management.so
#27 0x00007f3e8e90763f in G4VisCommandViewerCreate::SetNewValue(G4UIcommand*, G4String) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4vis_management.so
#28 0x00007f3e889a9415 in G4UIcommand::DoIt(G4String) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4intercoms.so
#29 0x00007f3e889c7b1c in G4UImanager::ApplyCommand(char const*) () from /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib64/libG4intercoms.so
#30 0x00007f3e8ebb2dbe in allpix::VisualizationGeant4Module::initialize() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixModuleVisualizationGeant4.so
#31 0x00007f3e876948f2 in allpix::ModuleManager::initialize() () from /cvmfs/clicdp.cern.ch/software/allpix-squared/2.2.2/x86_64-centos7-gcc11-opt/lib/libAllpixCore.so
#32 0x0000000000404840 in main ()

Hi @Newyean

it seems like not all GLX/Xrandr/X libraries are supplied by the LCG view on CVMFS, but for some it seems to rely on the system-installed ones - which seem to be missing in your case. I cannot find a list of locally required libraries, but likely the CERN SFT/LCG people can help you here.

Have you by any chance tried using a more recent version of Allpix Squared and see if the issue also persists there?

Cheers,
Simon

Thanks for your reply!
I do this is through the computer cluster, and then use a more recent version
/cvmfs/clicdp.cern.ch/software/allpix-squared/latest/x86_64-centos7-clang12-opt/
by:

source /cvmfs/clicdp.cern.ch/software/allpix-squared/latest/x86_64-centos7-clang12-opt/setup.sh

But I failed:

|22:41:56.911| (STATUS) Welcome to Allpix^2 v2.0.0-1517-g8c00ca74b
|22:41:56.912| (STATUS) Initialized PRNG with system entropy seed 347458378938923617
|22:42:04.172| (WARNING) Main ROOT file “/scratchfs/herd/niuyan/Allpix2/Allpix_example/allpix-squared-master/examples/test1/output/modules.root” exists and will be overwritten.
|22:42:04.587| (STATUS) Loading module VisualizationGeant4
|22:42:04.587| (WARNING) Module instance VisualizationGeant4 prevents multithreading
|22:42:04.588| (STATUS) Loaded 7 modules
|22:42:04.588| (ERROR) Multithreading disabled since the current module configuration does not support it
|22:42:04.588| (STATUS) Initializing 7 module instantiations

      ################################
      !!! G4Backtrace is activated !!!
      ################################

qt.qpa.plugin: Could not find the Qt platform plugin “xcb” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl.

CAUGHT SIGNAL: 6 ### address: 0x54f0000046ec, signal = SIGABRT, value = 6, description = abort program (formerly SIGIOT).

Backtrace:
[PID=18156, TID=-1][ 0/17]> /lib64/libc.so.6(gsignal+0x37) [0x7f1d77656387]
[PID=18156, TID=-1][ 1/17]> /lib64/libc.so.6(abort+0x148) [0x7f1d77657a78]
[PID=18156, TID=-1][ 2/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Core.so.5(+0x9b8fd) [0x7f1d7e8438fd]
[PID=18156, TID=-1][ 3/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x17e4) [0x7f1d7ef67484]
[PID=18156, TID=-1][ 4/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x30) [0x7f1d7ef67940]
[PID=18156, TID=-1][ 5/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0xb16) [0x7f1d7ea60a66]
[PID=18156, TID=-1][ 6/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x1b) [0x7f1d7ef6a36b]
[PID=18156, TID=-1][ 7/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7f1d7f66ba19]
[PID=18156, TID=-1][ 8/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(ZN4G4QtC2EiPPcS0+0x118) [0x7f1d8051bf58]
[PID=18156, TID=-1][ 9/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(ZN4G4Qt11getInstanceEiPPcS0+0x35) [0x7f1d8051be15]
[PID=18156, TID=-1][10/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(_ZN6G4UIQtC1EiPPc+0x23c) [0x7f1d804f412c]
[PID=18156, TID=-1][11/17]> /cvmfs/clicdp.cern.ch/software/allpix-squared/latest/x86_64-centos7-clang12-opt/lib/libAllpixModuleVisualizationGeant4.so(_ZN6allpix25VisualizationGeant4Module10initializeEv+0x80) [0x7f1d808d4850]
[PID=18156, TID=-1][12/17]> /cvmfs/clicdp.cern.ch/software/allpix-squared/latest/x86_64-centos7-clang12-opt/lib/libAllpixCore.so(_ZN6allpix13ModuleManager10initializeEv+0x1384) [0x7f1d793e7bb4]
[PID=18156, TID=-1][13/17]> /cvmfs/clicdp.cern.ch/software/allpix-squared/latest/x86_64-centos7-clang12-opt/lib/libAllpixCore.so(_ZN6allpix6Allpix10initializeEv+0x108) [0x7f1d7943fec8]
[PID=18156, TID=-1][14/17]> allpix() [0x406c1a]
[PID=18156, TID=-1][15/17]> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f1d77642555]
[PID=18156, TID=-1][16/17]> allpix() [0x4044ea]

: Aborted (Signal sent by tkill() 18156 21744)
Aborted (core dumped)

Is there any way you can install xcb-utils on your cluster computer? This seems to be necessary to run Qt. If not, then unfortunately the visualization won’t work there, but the rest of the framework should not be affected by this.

Cheers,
Simon

Thank you for your advice, it seems that I can‘t achieve visualization.

Hi Newyean,

I have the same problem with visualization. I tried different ways but it didn’t work. @simonspa i am receiving the same following message …
qt.qpa.plugin: Could not find the Qt platform plugin “xcb” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem… it is still not working because we have xcb-utils on our cluster computer. However i have an ad-hoc solution for this problem, i don’t know why is it working. whenever i need to check visualization, i use the following source command.
source /cvmfs/clicdp.cern.ch/software/allpix-squared/2.0.0/x86_64-centos7-gcc10-opt/setup.sh.
It perfectly works for visualization, and for other stuff i go back to latest.
@Newyean do you have any update about the problem you were facing ?

Unfortunately, I don’t have any update or effective solutions to this problem.

Hi @sakzai

if v2.0.0 works then it is likely an issue with Geant4 which has been updated to v11 since the release of Allpix Squared 2.0. Could you cross-check that things are working with Version 2.3.3 (still on Geant4 10.7 with LCG101) but not anymore with v2.4.0 (on Geant4 11.0.2 with LCG102)?

Cheers,
Simon

Hi @simonspa thank you for comment and guidance. Fortunately, it is also working with Version 2.3.3. It doesn’t work when i mention latest or 2.4.0 in the source command

Hi @sakzai

thanks for checking, then it indeed seems to be related to the Geant4 version we are using. I will follow this up for the next release.

Best,
Simon

Hi,

I am facing similar problem with visualization on lxplus, here is the error message:

=================================================================
qt.qpa.plugin: Could not find the Qt platform plugin “xcb” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl.

CAUGHT SIGNAL: 6 ### address: 0x2365a00002956, signal = SIGABRT, value = 6, description = abort program (formerly SIGIOT).

Backtrace:
[PID=10582, TID=-1][ 0/17]> /lib64/libc.so.6(gsignal+0x37) [0x7f85c9f4c387]
[PID=10582, TID=-1][ 1/17]> /lib64/libc.so.6(abort+0x148) [0x7f85c9f4da78]
[PID=10582, TID=-1][ 2/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Core.so.5(+0x9b8fd) [0x7f85d10208fd]
[PID=10582, TID=-1][ 3/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x17e4) [0x7f85d1744484]
[PID=10582, TID=-1][ 4/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x30) [0x7f85d1744940]
[PID=10582, TID=-1][ 5/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0xb16) [0x7f85d123da66]
[PID=10582, TID=-1][ 6/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x1b) [0x7f85d174736b]
[PID=10582, TID=-1][ 7/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7f85d1e48a19]
[PID=10582, TID=-1][ 8/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(ZN4G4QtC2EiPPcS0+0x118) [0x7f85d2cebf58]
[PID=10582, TID=-1][ 9/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(ZN4G4Qt11getInstanceEiPPcS0+0x35) [0x7f85d2cebe15]
[PID=10582, TID=-1][10/17]> /cvmfs/sft.cern.ch/lcg/views/LCG_102/x86_64-centos7-clang12-opt/lib64/libG4interfaces.so(_ZN6G4UIQtC1EiPPc+0x23c) [0x7f85d2cc412c]
[PID=10582, TID=-1][11/17]> /afs/cern.ch/user/h/hdarwish/allpix-squared/lib/libAllpixModuleVisualizationGeant4.so(_ZN6allpix25VisualizationGeant4Module10initializeEv+0x80) [0x7f85d3036810]
[PID=10582, TID=-1][12/17]> /afs/cern.ch/user/h/hdarwish/allpix-squared/lib/libAllpixCore.so(_ZN6allpix13ModuleManager10initializeEv+0x1374) [0x7f85cbcda404]
[PID=10582, TID=-1][13/17]> /afs/cern.ch/user/h/hdarwish/allpix-squared/lib/libAllpixCore.so(_ZN6allpix6Allpix10initializeEv+0x108) [0x7f85cbd2f3b8]
[PID=10582, TID=-1][14/17]> …/…/bin/allpix() [0x406b14]
[PID=10582, TID=-1][15/17]> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f85c9f38555]
[PID=10582, TID=-1][16/17]> …/…/bin/allpix() [0x4044ea]

: Aborted (Signal sent by tkill() 10582 144986)
Aborted (core dumped)

I tried the solution mentioned above but it didn’t work, here is what it gives:

Fatal in TROOT::InitInterpreter: cannot load library /cvmfs/sft.cern.ch/lcg/views/LCG_99/x86_64-centos7-gcc10-opt/lib/libRIO.so: undefined symbol: _ZN7TThread3RunEPv

I am using Allpix Squared version v2.0.0-1567-g217bdd4b5-dirty

Please if you can help me with this, since I tried to install allpix on my PC but I got many errors, so both ways are not working for me.

Best regards,

Hasan

Hi @hdarwish

It looks like you are attempting to run a CentOS7-compiled Allpix Squared on a Red Hat Enterprise Linux 9 machine (as all default LXPLUS nodes are). Please see our latest release notes and use an appropriate version.

Best,
Simon

Dear @simonspa,

Thanks a lot for your reply.
Finally, it works now.

Best regards,

Hasan