Your graphics driver is trying to pickup the O2 LLVM which we use for other stuff and the two are incompatible. I am afraid the best option is to switch off the GUI using -b.
I am having a somewhat opposite problem, also on Ubuntu. My GLFW or GLX seems to pick the system LLVM, but then LLVM complains about use-dbg-addr
argument registered twice:
[QualityControl/latest] ~/alice $> o2-testworkflows-diamond-workflow
: CommandLine Error: Option 'use-dbg-addr' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
ld and gdb outputs show that indeed two different libLLVM are loaded, the latter being called by GLFW.
[QualityControl/latest] ~/alice $> LD_DEBUG=libs o2-testworkflows-diamond-workflow --run 2> ld_debug.log
Aborted (core dumped)
[QualityControl/latest] ~/alice $> grep 'calling init' ld_debug.log | grep LLVM
1072998: calling init: /home/pkonopka/alice/sw/ubuntu2204_x86-64/Clang/v15.0.7-6/lib/libLLVM-15.so
1072998: calling init: /lib/x86_64-linux-gnu/libLLVM-15.so.1
Program received signal SIGABRT, Aborted.
0x00007ffff2c969fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff2c969fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff2c42476 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff2c287f3 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007fffe56393db in llvm::report_fatal_error(llvm::Twine const&, bool) () from /lib/x86_64-linux-gnu/libLLVM-15.so.1
#4 0x00007fffe5639226 in llvm::report_fatal_error(char const*, bool) () from /lib/x86_64-linux-gnu/libLLVM-15.so.1
#5 0x00007fffe5620e6e in ?? () from /lib/x86_64-linux-gnu/libLLVM-15.so.1
#6 0x00007fffe56127bb in llvm::cl::Option::addArgument() () from /lib/x86_64-linux-gnu/libLLVM-15.so.1
#7 0x00007fffe5549844 in ?? () from /lib/x86_64-linux-gnu/libLLVM-15.so.1
#8 0x00007ffff7fc947e in ?? () from /lib64/ld-linux-x86-64.so.2
#9 0x00007ffff7fc9568 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff2d74ce5 in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007ffff7fd0ff6 in ?? () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ffff2d74c88 in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x00007ffff7fd134e in ?? () from /lib64/ld-linux-x86-64.so.2
#14 0x00007ffff2c9063c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#15 0x00007ffff2d74c88 in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#16 0x00007ffff2d74d53 in _dl_catch_error () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x00007ffff2c9012e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x00007ffff2c906c8 in dlopen () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x00007fffed89e3da in glLabelObjectEXT () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#20 0x00007fffed89e4cd in glLabelObjectEXT () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#21 0x00007fffed87c495 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#22 0x00007fffed892705 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#23 0x00007fffed884331 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#24 0x00007fffed880dfc in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#25 0x00007ffff2a96fc3 in extensionSupportedGLX (extension=0x7ffff2aba0ff "GLX_EXT_swap_control")
at /jenkins/workspace/DailyBuilds/DailyO2-ubuntu2204/daily-tags.I3UajISd5Y/SOURCES/GLFW/3.3.2/3.3.2/src/glx_context.c:210
#26 _glfwInitGLX () at /jenkins/workspace/DailyBuilds/DailyO2-ubuntu2204/daily-tags.I3UajISd5Y/SOURCES/GLFW/3.3.2/3.3.2/src/glx_context.c:359
#27 0x00007ffff2a92e4d in _glfwPlatformCreateWindow (window=window@entry=0x79f0a0, wndconfig=wndconfig@entry=0x7ffffffe2360,
ctxconfig=ctxconfig@entry=0x7ffffffe22d0, fbconfig=fbconfig@entry=0x7ffffffe2310)
at /jenkins/workspace/DailyBuilds/DailyO2-ubuntu2204/daily-tags.I3UajISd5Y/SOURCES/GLFW/3.3.2/3.3.2/src/x11_window.c:1981
#28 0x00007ffff2a8c0ef in glfwCreateWindow (width=1280, height=720, title=<optimised out>, monitor=0x0, share=<optimised out>)
at /jenkins/workspace/DailyBuilds/DailyO2-ubuntu2204/daily-tags.I3UajISd5Y/SOURCES/GLFW/3.3.2/3.3.2/src/window.c:216
#29 0x00007fffedc7cfa3 in o2::framework::initGUI (name=0x7ffff7b2eb60 "O2 Framework debug GUI", error_callback=<optimised out>)
at /home/pkonopka/alice/sw/SOURCES/DebugGUI/v0.8.0/0/DebugGUI/src/DebugGUI.cxx:42
#30 0x00007fffedf6b535 in ImGUIDebugGUI::initGUI (this=0x77e6b0, windowTitle=0x7ffff7b2eb60 "O2 Framework debug GUI", registry_=...)
at /home/pkonopka/alice/sw/SOURCES/O2/dev/0/Framework/GUISupport/src/Plugin.cxx:76
#31 0x00007ffff7997876 in runStateMachine (workflow=..., workflowInfo=..., previousDataProcessorInfos=..., commandInfo=..., driverControl=..., driverInfo=...,
driverConfig=..., metricsInfos=..., varmap=..., driverServices=..., frameworkId=...)
at /home/pkonopka/alice/sw/SOURCES/O2/dev/0/Framework/Core/src/runDataProcessing.cxx:1338
#32 0x00007ffff79aac62 in doMain (argc=1, argv=0x7fffffff70a8, workflow=..., channelPolicies=..., completionPolicies=..., dispatchPolicies=...,
resourcePolicies=..., callbacksPolicies=..., sendingPolicies=..., currentWorkflowOptions=..., configContext=...)
at /home/pkonopka/alice/sw/SOURCES/O2/dev/0/Framework/Core/src/runDataProcessing.cxx:3029
#33 0x0000000000495324 in mainNoCatch (argc=1, argv=0x7fffffff70a8)
at /home/pkonopka/alice/sw/SOURCES/O2/dev/0/Framework/Core/include/Framework/runDataProcessing.h:218
#34 0x00000000004956df in main (argc=1, argv=0x7fffffff70a8) at /home/pkonopka/alice/sw/SOURCES/O2/dev/0/Framework/Core/include/Framework/runDataProcessing.h:243
Has someone encountered a similar issue by any chance and managed to solve it?