ArchLinux GLIBCXX_3.4.29

smccully

Well-known member
Looks like at least ArchLinux has upgraded to GLIBC 3.4.29

Code:
[smccully@smccully-amd bin]$ ./PixInsight.sh         

PixInsight Core 1.8.8-7 Ripley (x64)
Copyright (c) 2003-2020 Pleiades Astrophoto

libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/smccully/.drirc: No such file or directory.
libGL: using driver amdgpu for 7
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/smccully/.drirc: No such file or directory.
libGL: pci id for fd 7: 1002:6863, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib/dri/radeonsi_dri.so: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so)
libGL error: MESA-LOADER: failed to open radeonsi: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL: using driver amdgpu for 7
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/smccully/.drirc: No such file or directory.
libGL: pci id for fd 7: 1002:6863, driver radeonsi
libGL: MESA-LOADER: failed to open /usr/lib/dri/radeonsi_dri.so: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so)
libGL error: MESA-LOADER: failed to open radeonsi: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL: MESA-LOADER: failed to open /usr/lib/dri/swrast_dri.so: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so)
libGL error: MESA-LOADER: failed to open swrast: /home/smccully/PixInsight/bin/./lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Received signal 6
#0 0x7f9aa3432479 base::debug::CollectStackTrace()
#1 0x7f9aa338bb16 base::debug::StackTrace::StackTrace()
#2 0x7f9aa342ec23 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f9aa34323f6 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f9aaa611870 (/usr/lib/libpthread-2.33.so+0x1386f)
#5 0x7f9a9cd64d22 __GI_raise
#6 0x7f9a9cd4e862 __GI_abort
#7 0x7f9a9df07a57 QMessageLogger::fatal()
#8 0x7f9a9b1cb57f QQuickWidgetPrivate::handleContextCreationFailure()
#9 0x7f9a9b1cb8b7 QQuickWidgetPrivate::createContext()
#10 0x7f9a9b1cd956 QQuickWidget::resizeEvent()
#11 0x7f9aa038c0a9 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::resizeEvent()
#12 0x7f9a9f7ed4ff QWidget::event()
#13 0x7f9a9b1ce617 QQuickWidget::event()
#14 0x7f9aa038c3b2 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event()
#15 0x7f9a9f7aabdf QApplicationPrivate::notify_helper()
#16 0x7f9a9f7b3990 QApplication::notify()
#17 0x55a2bcf4a12f pi::PixInsightApplication::notify()
#18 0x7f9a9e13a5ba QCoreApplication::notifyInternal2()
#19 0x7f9a9f7e5236 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#20 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#21 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#22 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#23 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#24 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#25 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#26 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#27 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#28 0x7f9a9f7e5199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#29 0x7f9a9f7e9b27 QWidgetPrivate::prepareToRender()
#30 0x7f9a9f7ea1c4 QWidget::render()
#31 0x7f9a9f7eacf7 QWidget::render()
#32 0x55a2bdbca04a pi::MovingWidgetAnimationPrivate::MovingWidgetAnimationPrivate()
#33 0x55a2bdbca123 pi::MovingWidgetAnimation::MovingWidgetAnimation()
#34 0x55a2bdbca199 pi::MovingWidget::MovingWidget()
#35 0x55a2bd8de733 pi::AutoHideWidget::Show()
#36 0x55a2bd8e239a pi::PixInsightCentralWidget::ShowWidget()
#37 0x55a2bd8e8e0e pi::ComponentWindow::Show()
#38 0x55a2bcda7fdf main
#39 0x7f9a9cd4fb25 __libc_start_main
#40 0x55a2bcdf302a _start
  r8: 0000000000000000  r9: 00007ffc75695930 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffc75695c88 r13: 000055a2c20a56a0 r14: 00007ffc75695cf0 r15: 000055a2c20a56a0
  di: 0000000000000002  si: 00007ffc75695930  bp: 00007f9a9ceea8f0  bx: 00007f9a9a63f000
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f9a9cd64d22  sp: 00007ffc75695930
  ip: 00007f9a9cd64d22 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.


Work around copy
Code:
cp /lib/libstdc++.so.6 ./lib/libstdc++.so.6

But still not running in wayland, having to currently unset QT_QPA_PLATFORM from
Code:
[smccully@smccully-amd bin]$ echo $QT_QPA_PLATFORM  
wayland
 
Duplicate of:

This is not a bug, but just how Linux works. Note that just by deleting this file:

/opt/PixInsight/bin/lib/libstdc++.so.6

the problem should be fixed.

The upcoming version 1.8.8-8 of PixInsight solves this problem by including an updated version of libstdc++ in the Linux distribution.
 
Something else has changed which is still requiring me to unset QT_QPA_PLATFORM. I've normally been able to run PixInsight with wayland set without issue. It does look like systemd was updated recently and not sure if this is related, i dont see the wayland socket at all.

Code:
[smccully@smccully-amd bin]$ echo $QT_QPA_PLATFORM  
wayland

Code:
mprotect(0x7f9fb1d3f000, 4096, PROT_READ) = 0
mprotect(0x7f9fb1d86000, 8192, PROT_READ) = 0
mprotect(0x7f9fb2020000, 8192, PROT_READ) = 0
mprotect(0x7f9fb2033000, 8192, PROT_READ) = 0
mprotect(0x7f9fb203a000, 4096, PROT_READ) = 0
mprotect(0x7f9fb240f000, 61440, PROT_READ) = 0
mprotect(0x7f9fb2622000, 4096, PROT_READ) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_UNIX, sun_path="/run/user/1000/wayland-0"}, 27) = -1 ENOENT (No such file or directory)
close(5) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_UNIX, sun_path="/run/user/1000/wayland-0"}, 27) = -1 ENOENT (No such file or directory)
close(5) = 0
write(2, "This application failed to start"..., 1208This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this p
roblem.

Available platform plugins are: eglfs (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), linuxfb (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), mini
mal (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), minimalegl (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), offscreen (from /home/smccully/PixI
nsight/bin/./lib/qt-plugins/platforms), vnc (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), wayland-egl (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platfo
rms), wayland (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), wayland-xcomposite-egl (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), wayland-xcomp
osite-glx (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), webgl (from /home/smccully/PixInsight/bin/./lib/qt-plugins/platforms), xcb (from /home/smccully/PixInsigh
t/bin/./lib/qt-plugins/platforms), eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

) = 1208
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid() = 39994
gettid() = 39994
tgkill(39994, 39994, SIGABRT) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=39994, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
PixInsight.sh: line 37: 39991 Aborted (core dumped) strace /home/smccully/PixInsight/bin/PixInsight
 
It does look like i was setting QT_QPA_PLATFORM, and XDG_SESSION_TYPE to wayland in my profile. So not clear why its crashing with wayland enabled. But probably not directly related to PixInsight either.
 
Back
Top