PixInsight crashes in Fedora 34

Tertsi

Member
I just upgraded my Fedora 32 to 34 on my laptop (Lenovo T470s, graphics card is: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)) and PixInsight crashes during start up with message:

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

libGL error: MESA-LOADER: failed to open iris: /opt/PixInsight/bin/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/iris_dri.so) (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /opt/PixInsight/bin/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/iris_dri.so) (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /opt/PixInsight/bin/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/swrast_dri.so) (search paths /usr/lib64/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 0x7f1299fad479 base::debug::CollectStackTrace()
#1 0x7f1299f06b16 base::debug::StackTrace::StackTrace()
#2 0x7f1299fa9c23 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f1299fad3f6 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f12a118ca00 (/usr/lib64/libpthread-2.33.so+0x139ff)
#5 0x7f12938dd292 __GI_raise
#6 0x7f12938c68a4 __GI_abort
#7 0x7f1294a82a57 QMessageLogger::fatal()
#8 0x7f1291d2757f QQuickWidgetPrivate::handleContextCreationFailure()
#9 0x7f1291d278b7 QQuickWidgetPrivate::createContext()
#10 0x7f1291d29956 QQuickWidget::resizeEvent()
#11 0x7f1296f070a9 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::resizeEvent()
#12 0x7f12963684ff QWidget::event()
#13 0x7f1291d2a617 QQuickWidget::event()
#14 0x7f1296f073b2 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event()
#15 0x7f1296325bdf QApplicationPrivate::notify_helper()
#16 0x7f129632e990 QApplication::notify()
#17 0x5599d988d12f pi::pixInsightApplication::notify()
#18 0x7f1294cb55ba QCoreApplication::notifyInternal2()
#19 0x7f1296360236 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#20 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#21 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#22 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#23 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#24 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#25 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#26 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#27 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#28 0x7f1296360199 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#29 0x7f1296364b27 QWidgetPrivate::prepareToRender()
#30 0x7f12963651c4 QWidget::render()
#31 0x7f1296365cf7 QWidget::render()
#32 0x5599da50d04a pi::MovingWidgetAnimationPrivate::MovingWidgetAnimationPrivate()
#33 0x5599da50d123 pi::MovingWidgetAnimation::MovingWidgetAnimation()
#34 0x5599da50d199 pi::MovingWidget::MovingWidget()
#35 0x5599da221733 pi::AutoHideWidget::Show()
#36 0x5599da22539a pi::pixInsightCentralWidget::ShowWidget()
#37 0x5599da22be0e pi::ComponentWindow::Show()
#38 0x5599d96eafdf main
#39 0x7f12938c7b75 __libc_start_main
#40 0x5599d973602a _start
r8: 0000000000000000 r9: 00007ffce653b340 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffce653b698 r13: 00005599de3309e0 r14: 00007ffce653b700 r15: 00005599de3309e0
di: 0000000000000002 si: 00007ffce653b340 bp: 00007f1293a658f0 bx: 00007f1290f6a000
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f12938dd292 sp: 00007ffce653b340
ip: 00007f12938dd292 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.

Is there some drivers missing from my system?

Many thanks for your help in advance!
 

Juan Conejero

PixInsight Staff
This is not a bug in PixInsight. You are running an unsupported Linux distribution. For some odd reason your graphics driver (/usr/lib64/dri/iris_dri.so) is generating a dependency on the standard C++ library included in the PixInsight distribution (libstdc++). This should not happen under normal working conditions, i.e. the driver should be independent on userland code (such as an application like PixInsight).

You can try deleting the following file:

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

and it should work. But there is no guarantee.

I strongly recommend running PixInsight on a supported distribution. Our reference Linux platform is Kubuntu Linux 20.04 LTS.
 

Juan Conejero

PixInsight Staff
Glad to know that. By deleting that file you are always using the version provided by your Linux distribution. The incoming version 1.8.8-8 of PixInsight for Linux supports GLIBCXX_3.4.29 out of the box.
 

Tertsi

Member
Hi,

I get following crash info when I try to run latest PixInsight 1.8.8-8 in my Fedora 34. Any suggestions what I should do or how to fix this?

Many thanks in advance!

Code:
PixInsight Core 1.8.8-8 Ripley (x64)
Copyright (c) 2003-2021 Pleiades Astrophoto

libGL error: MESA-LOADER: failed to open iris: /lib64/libLLVM-12.so: undefined symbol: _ZNSt9once_flag9_M_finishEb, version GLIBCXX_3.4.29 (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /lib64/libLLVM-12.so: undefined symbol: _ZNSt9once_flag9_M_finishEb, version GLIBCXX_3.4.29 (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /lib64/libLLVM-12.so: undefined symbol: _ZNSt9once_flag9_M_finishEb, version GLIBCXX_3.4.29 (search paths /usr/lib64/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 0x7fed17f953f9 base::debug::CollectStackTrace()
#1 0x7fed17efd7a6 base::debug::StackTrace::StackTrace()
#2 0x7fed17f94433 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7fed17f95376 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7fed1f695a20 (/usr/lib64/libpthread-2.33.so+0x13a1f)
#5 0x7fed115632a2 gsignal
#6 0x7fed1154c8a4 abort
#7 0x7fed12741b77 QMessageLogger::fatal()
#8 0x7fed0f9d657f QQuickWidgetPrivate::handleContextCreationFailure()
#9 0x7fed0f9d68b7 QQuickWidgetPrivate::createContext()
#10 0x7fed0f9d8956 QQuickWidget::resizeEvent()
#11 0x7fed14bcc1b9 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::resizeEvent()
#12 0x7fed1402c7bf QWidget::event()
#13 0x7fed0f9d9617 QQuickWidget::event()
#14 0x7fed14bcc4c2 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event()
#15 0x7fed13fe9cff QApplicationPrivate::notify_helper()
#16 0x7fed13ff2a70 QApplication::notify()
#17 0x55c2ead6650f pi::PixInsightApplication::notify()
#18 0x7fed129759ca QCoreApplication::notifyInternal2()
#19 0x7fed140244b6 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#20 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#21 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#22 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#23 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#24 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#25 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#26 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#27 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#28 0x7fed14024419 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb.localalias
#29 0x7fed14028de7 QWidgetPrivate::prepareToRender()
#30 0x7fed14029484 QWidget::render()
#31 0x7fed14029fb7 QWidget::render()
#32 0x55c2eb9e733a pi::MovingWidgetAnimationPrivate::MovingWidgetAnimationPrivate()
#33 0x55c2eb9e7413 pi::MovingWidgetAnimation::MovingWidgetAnimation()
#34 0x55c2eb9e7489 pi::MovingWidget::MovingWidget()
#35 0x55c2eb6faa82 pi::AutoHideWidget::Show()
#36 0x55c2eb6fe70a pi::PixInsightCentralWidget::ShowWidget()
#37 0x55c2eb70517e pi::ComponentWindow::Show()
#38 0x55c2eabc2f6f main
#39 0x7fed1154db75 __libc_start_main
#40 0x55c2eac0e02a _start
  r8: 0000000000000000  r9: 00007ffd019ac080 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffd019ac3d8 r13: 000055c2efd60eb0 r14: 00007ffd019ac440 r15: 000055c2efd60eb0
  di: 0000000000000002  si: 00007ffd019ac080  bp: 00007fed116eb8f0  bx: 00007fed0ebca000
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007fed115632a2  sp: 00007ffd019ac080
  ip: 00007fed115632a2 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.
 

Juan Conejero

PixInsight Staff
For some reason your graphics drivers don't support GLIBCXX_3.4.29. To solve this problem, do exactly the same that I recommended to solve the OP's issue (see above). Just delete the following file:

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

and let me know if it works.
 
Top