octave plot crashes in 24.04 in remote ssh -Y session

David L david4lists at gmail.com
Tue Oct 15 18:33:01 UTC 2024


If I ssh -Y to my 24.04 system that has an nvidia graphics card from my
22.04 system (which is the only place I've tried it from), open octave and
call plot(0,0), it crashes. I ran it under gdb and got this backtrace:
Thread 1 "octave-gui" received signal SIGSEGV, Segmentation fault.
0x00007ffed6ab90b9 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#0  0x00007ffed6ab90b9 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#1  0x00007ffed6acda13 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#2  0x00007ffed6acfc36 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#3  0x00007ffed6ad017d in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#4  0x00007ffed6ae9c10 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#5  0x00007ffed69eb565 in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#6  0x00007ffed6abce5e in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#7  0x00007ffed6ab178a in ?? () from
/lib/x86_64-linux-gnu/libnvidia-glcore.so.550.107.02
#8  0x00007fff95379bfe in ?? () from
/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#9  0x00007fff953492c0 in ?? () from
/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
#10 0x00007fffa5ccaea3 in QGLXContext::swapBuffers (this=0x555556315270,
surface=0x55555587f1c0) at qglxintegration.cpp:637
#11 0x00007ffff40c0cb3 in QPlatformBackingStore::composeAndFlush (
this=this at entry=0x7ffed8001e00, window=window at entry=0x555555917140, region=...,
offset=..., textures=textures at entry=0x5555562c05a0,
translucentBackground=translucentBackground at entry=false) at
painting/qplatformbackingstore.cpp:480
#12 0x00007fffeacf21be in QXcbBackingStore::composeAndFlush (
translucentBackground=false, textures=0x5555562c05a0, offset=..., region=...,
window=0x555555917140, this=0x7ffed8001e00) at qxcbbackingstore.cpp:900
#13 QXcbBackingStore::composeAndFlush (this=0x7ffed8001e00,
window=0x555555917140,
region=..., offset=..., textures=0x5555562c05a0, translucentBackground=false)
at qxcbbackingstore.cpp:891
#14 0x00007ffff457a11f in QWidgetRepaintManager::flush
(this=this at entry=0x555555a41150,
widget=0x555555967af0, region=..., widgetTextures=<optimized out>) at
kernel/qwidgetrepaintmanager.cpp:1193
#15 0x00007ffff457bb08 in QWidgetRepaintManager::flush (this=0x555555a41150)
at kernel/qwidgetrepaintmanager.cpp:1096
#16 0x00007ffff457dddb in QWidgetRepaintManager::paintAndFlush (
this=this at entry=0x555555a41150) at kernel/qwidgetrepaintmanager.cpp:1028
#17 0x00007ffff457e5f7 in QWidgetRepaintManager::sync (this=0x555555a41150,
exposedWidget=0x555555967af0, exposedRegion=...) at
kernel/qwidgetrepaintmanager.cpp:743
#18 0x00007ffff45ce269 in QWidgetWindow::event (this=0x555555917140,
event=0x7fffffffd450)
at kernel/qwidgetwindow.cpp:347
#19 0x00007ffff456bd45 in QApplicationPrivate::notify_helper (
this=this at entry=0x55555565b950, receiver=0x555555917140, e=0x7fffffffd450,
e at entry=0x55555565e410) at kernel/qapplication.cpp:3640
#20 0x00007ffff4573547 in QApplication::notify (this=this at entry=0x555555667540,
receiver=<optimized out>, e=0x55555565e410) at kernel/qapplication.cpp:3386
#21 0x00007ffff7c6024d in octave::octave_qapplication::notify
(this=0x555555667540,
receiver=<optimized out>, ev=<optimized out>) at
libgui/src/octave-qobject.cc:147
#22 0x00007ffff38d8118 in QCoreApplication::notifyInternal2
(receiver=0x555555917140,
event=0x7fffffffd450) at kernel/qcoreapplication.cpp:1064
#23 0x00007ffff38d8352 in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#24 0x00007ffff3d46c48 in QGuiApplicationPrivate::processExposeEvent
(e=0x555556313ab0)
at kernel/qguiapplication.cpp:3254
#25 0x00007ffff3d17bfc in QWindowSystemInterface::sendWindowSystemEvents (
flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1169
#26 0x00007fffeacfcd06 in xcbSourceDispatch
(source=source at entry=0x555555871f80)
at qxcbeventdispatcher.cpp:105
#27 0x00007ffff13145b5 in g_main_dispatch (context=0x7ffed8000ed0) at
../../../glib/gmain.c:3344
#28 0x00007ffff1373717 in g_main_context_dispatch_unlocked
(context=0x7ffed8000ed0)
at ../../../glib/gmain.c:4152
#29 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x7ffed8000ed0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../../../glib/gmain.c:4217
#30 0x00007ffff1313a53 in g_main_context_iteration (context=0x7ffed8000ed0,
may_block=1) at ../../../glib/gmain.c:4282
#31 0x00007ffff3935279 in QEventDispatcherGlib::processEvents
(this=0x55555586b990,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007ffff38d6a7b in QEventLoop::exec (this=this at entry=0x7fffffffd6f0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007ffff38df3e8 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007ffff3d38ecd in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1863
#35 0x00007ffff456bcb9 in QApplication::exec () at kernel/qapplication.cpp:2832

#36 0x00007ffff7c62bc3 in octave::base_qobject::exec (this=0x7fffffffd770)
at libgui/src/octave-qobject.cc:425
#37 0x00007ffff7c70563 in octave::qt_application::execute
(this=this at entry=0x7fffffffd9f0)
at libgui/src/qt-application.cc:73
#38 0x0000555555556434 in main (argc=1, argv=0x7fffffffdd68) at
src/main-gui.cc:148

It does not crash when I run it locally on either my 22.04 or 24.04 system.
octave --gui works fine, but still crashes when I try to plot anything
through the ssh -Y session.

If I call graphics_toolkit("gnuplot"), it doesn't crash, but using the
gnuplot graphics toolkit is discouraged and it doesn't work well.

Is this worth reporting as a bug or since it has nvidia libraries in the
backtrace would that be a waste of time?

Thanks,

       David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241015/16d8da4b/attachment.html>


More information about the ubuntu-users mailing list