Closed dasergatskov closed 7 months ago
The /usr
paths refer to the org.kde.Sdk//5.15-22.08
runtime, not the system libraries.
Can you link the issues in the Octave bug tracker?
Also, if this indeed affects the non-flatpak'd version of Octave as well, this issue should be closed, since this tracker is intended for issues that only occur with the Flatpak.
The issue is:
$ flatpak run org.octave.Octave
Gtk-Message: 09:16:26.781: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:16:26.781: Failed to load module "pk-gtk-module"
Gtk-Message: 09:16:26.781: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:16:26.781: Failed to load module "pk-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme ""
Qt: Session management error: Could not open network socket
GNU Octave, version 8.4.0
Copyright (C) 1993-2023 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at https://www.octave.org.
Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html
Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1> plot(1:3)
fatal: caught signal Aborted -- stopping myself...
octave:1> graphics_toolkit fltk
octave:2> plot(1:3)
Insufficient GL support
error: unable to plot due to insufficient OpenGL support
octave:3>
(and gnuplot works)
Dmitri.
Attached is a backtrace. The relevant thread seems to be:
Thread 1 (Thread 0x7fffef561540 (LWP 110) "octave-gui"):
#0 0x00007ffff4c91204 in __pthread_kill_implementation () at /usr/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff4c3f04e in raise () at /usr/lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff4c287fc in abort () at /usr/lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff3a9dc8f in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffedcc32d6e in () at /usr/lib/plugins/xcbglintegrations/libqxcb-glx-integration.so
#5 0x00007ffedcc331c7 in () at /usr/lib/plugins/xcbglintegrations/libqxcb-glx-integration.so
#6 0x00007ffff33a244d in QOpenGLContext::create() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7 0x00007ffff41aa569 in QWidgetPrivate::shareContext() const () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007ffff41dbab9 in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007ffff41dbc22 in QOpenGLWidget::resizeEvent(QResizeEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff41bd923 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff417affe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff7c79826 in octave::octave_qapplication::notify(QObject*, QEvent*) (this=0x555555656880, receiver=<optimized out>, ev=<optimized out>) at libgui/src/octave-qobject.cc:147
#13 0x00007ffff3cced98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff41b5019 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff41b9a13 in QWidgetPrivate::show_helper() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff41b99b9 in QWidgetPrivate::showChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff41b9a2f in QWidgetPrivate::show_helper() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff41bc993 in QWidgetPrivate::setVisible(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff41b9999 in QWidgetPrivate::showChildren(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff41b9a2f in QWidgetPrivate::show_helper() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff41bc993 in QWidgetPrivate::setVisible(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff3cfa9c0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff7bbd0b3 in octave::FigureWindowBase::event(QEvent*) (this=0x555555b5e210, evt=0x555555a60d00) at libgui/graphics/FigureWindow.h:35
#24 0x00007ffff417affe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff7c79826 in octave::octave_qapplication::notify(QObject*, QEvent*) (this=0x555555656880, receiver=<optimized out>, ev=<optimized out>) at libgui/src/octave-qobject.cc:147
#26 0x00007ffff3cced98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff3cd1d31 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff3d27403 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fffecf20d71 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fffecf77028 in g_main_context_iterate.constprop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fffecf1e4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff3d26ae6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff3ccd80b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff3cd5976 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff7c767be in octave::base_qobject::exec() (this=this@entry=0x7fffffffd0f0) at libgui/src/octave-qobject.cc:425
#36 0x00007ffff7c88aba in octave::qt_application::execute() (this=this@entry=0x7fffffffd390) at libgui/src/qt-application.cc:73
#37 0x00005555555563cf in main(int, char**) (argc=1, argv=0x7fffffffd708) at src/main-gui.cc:148
Dmitri.
After the latest update to org.freedesktop.Platform.GL.nvidia-545-23-08
(so the nvidia driver matches my system) the problem is gone.
Currently octave cannot plot on computer with proprietary nvidia drivers (crashes with signal 6). Looking further I noticed:
which looks odd to me since I assum most libraries should be from withing
/app
container. In particular:Is a mix-n-match of /app and system libraries. If I have Mesa drivers installed on the system it kind-of works since the libraries are ABI compatible (?).
In any case, it used to work fine some time ago (~month?) and now it does not.
There are already bug reports on the octave's bug tracker which seem to be related to this issue.
Sincerely,
Dmitri.