bugGNU Octave - Bugs: bug #65605, Octave call to function figure();...

 
 

bug #65605: Octave call to function figure(); results in segfault with Qt6 6.7.0

Submitter:  Chris Gorman <chrisgorman>
Submitted:  Wed 17 Apr 2024 01:38:33 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Chris Gorman Open/Closed:  * Closed
Release:  * 9.1.0 Operating System:  * Any
Fixed Release:  9.2.0 (current stable) Planned Release:  9.2.0 (current stable)
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 26 Apr 2024 02:31:03 PM UTC, comment #29: 

The `stable-gcc-fedora` worker failed while building the figures for the documentation:
https://buildbot.octave.org/#/builders/4/builds/473/steps/6/logs/stdio

That is a known error that occasionally happened already before this change. E.g., here:
https://buildbot.octave.org/#/builders/4/builds/457/steps/6/logs/stdio

The `stable-clang-fedora` worker no longer crashed:
https://buildbot.octave.org/#/builders/17/builds/474/steps/7/logs/stdio

Also the macOS runners using Qt6 are no longer crashing:
https://github.com/gnu-octave/octave/actions/runs/8848901114

Thank you again for bisecting to that change. It was very useful indeed.

Closing as fixed.

Markus M├╝tzel <mmuetzel>
Group administrator
Fri 26 Apr 2024 01:12:09 PM UTC, comment #28: 

Thank you for testing. ­čÖĆ

Since this fixes the issue at least on two different platforms, I pushed the change to the stable branch here:
https://hg.savannah.gnu.org/hgweb/octave/rev/317fa0e5c8de

Let's see if this also avoids the crash on the Fedora buildbots.

Marking as ready for test.

Markus M├╝tzel <mmuetzel>
Group administrator
Fri 26 Apr 2024 12:56:31 PM UTC, comment #27: 

Thank you Markus for the patch.  This fixes the crash for me on Arch using qt6 version 6.7.0.

Chris Gorman <chrisgorman>
Fri 26 Apr 2024 11:12:53 AM UTC, comment #26: 

Thank you for bisecting this to the relevant change in Qt6. That was very useful! ­čĹŹ

The attached patch avoids the crash on `figure()` with Qt6 version 6.7.0 for me on Windows 11 using binaries from MSYS2.

If I understand the documentation [1] correctly, this setting is only relevant for some mobile platforms (using OpenGL ES). It should be ok for us to set `QOpenGLWidget::PartialUpdate` afaict.

If this also fixes the issue on other platforms, it might be nice to get that on the stable branch before the release of Octave 9.2.0.

[1]: https://doc.qt.io/qt-6/qopenglwidget.html#UpdateBehavior-enum

(file #55978)

Markus M├╝tzel <mmuetzel>
Group administrator
Thu 25 Apr 2024 07:49:54 PM UTC, comment #25: 

The result of a git bisect on qtbase produces this commit which causes the crash.  https://github.com/qt/qtbase/commit/21d3bb9e7407f906232d01744a368bbfd4dbfc0f

It seems that this change is the desired behaviour moving forward, so I'm not sure about submitting a bug report to Qt.  I will wait for responses from the Octave devs to see if they want to code around this new behaviour for QOpenGLWidget or if they would like Qt to revert the change.

Chris

Chris Gorman <chrisgorman>
Tue 23 Apr 2024 05:38:52 AM UTC, comment #24: 

Yes, the bug is there. I just built a local copy and figure(); crashes the same.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 23 Apr 2024 05:35:12 AM UTC, comment #23: 


> "Default" branch seems to be OK though...


The order in which figure properties are set when calling `uifigure` was changed for bug #65459. That's probably the reason why the test suite no longer "senses" this bug. It is probably still there on all branches though...

Markus M├╝tzel <mmuetzel>
Group administrator
Tue 23 Apr 2024 05:26:40 AM UTC, comment #22: 

"Default" branch seems to be OK though...

Dmitri.
--
 

Dmitri A. Sergatskov <dasergatskov>
Tue 23 Apr 2024 05:07:56 AM UTC, comment #21: 

Oh yes, sure things our buildbots are missing it again (report as success):

https://buildbot.octave.org/#/builders/4/builds/470/steps/7/logs/stdio


  gui/uifigure.m .................................................fatal: caught signal Segmentation fault -- stopping myself...
make[4]: *** [Makefile:3202: check-local] Error 139
make[4]: Leaving directory '/home/buildbotu/fc25-x86_64/stable-gcc-fedora/build/test'
make[3]: *** [Makefile:3050: check-am] Error 2
make[3]: Leaving directory '/home/buildbotu/fc25-x86_64/stable-gcc-fedora/build/test'
make[2]: *** [Makefile:3052: check] Error 2
make[2]: Leaving directory '/home/buildbotu/fc25-x86_64/stable-gcc-fedora/build/test'
make[1]: *** [Makefile:28217: check-recursive] Error 1
make[1]: Leaving directory '/home/buildbotu/fc25-x86_64/stable-gcc-fedora/build'
make: *** [Makefile:28515: check] Error 2
program finished with exit code 2
elapsedTime=256.018591


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 23 Apr 2024 04:59:46 AM UTC, comment #20: 

I've noticed the same: `hf = figure("visible", "off");` seems to be fine. But a subsequent `set(hf, "visible", "on")` makes it crash.

Markus M├╝tzel <mmuetzel>
Group administrator
Mon 22 Apr 2024 07:50:04 PM UTC, comment #19: 

Hi Dmitri,

Works same here on Arch.  'figure("visible", "off")' does not crash.

As a side note, I spent a couple of days this weekend trying to git bisect qt6 to see if I could find the offending commit.  The long and short of the matter is that I couldn't figure out qt6's build structure enough to do it properly.  I have some ideas where I went wrong and will give it another try, but don't hope for this in the short term.

Chris

Chris Gorman <chrisgorman>
Mon 22 Apr 2024 07:28:39 PM UTC, comment #18: 

At least on Fedora 'figure("visiable", "off")' does not crash.
Also 'make" builds documents w/o problem.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Mon 22 Apr 2024 05:37:40 PM UTC, comment #17: 

It looks like this is probably also an issue on macOS.
From the CI:
https://github.com/gnu-octave/octave/actions/runs/8787102252/job/24111520072#step:12:395

fatal: caught signal Segmentation fault: 11 -- stopping myself...
/bin/sh: line 1: 76205 Segmentation fault: 11  ( /bin/sh ../run-octave --no-init-file --silent --no-history -p /Users/runner/work/octave/octave/.build/test/mex /Users/runner/work/octave/octave/.build/../test/fntests.m /Users/runner/work/octave/octave/.build/../test "" )
make[4]: *** [check-local] Error 139
make[3]: *** [check-am] Error 2
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
  gui/uifigure.m .................................................


Markus M├╝tzel <mmuetzel>
Group administrator
Mon 22 Apr 2024 08:07:58 AM UTC, comment #16: 

It looks like Homebrew also updated to Qt6 6.7.0 a couple of days ago:
https://github.com/Homebrew/homebrew-core/pull/169109

I guess it won't take long before we'll get similar reports from macOS users.

Markus M├╝tzel <mmuetzel>
Group administrator
Fri 19 Apr 2024 07:01:34 AM UTC, comment #15: 

Thanks for the backtrace from a different platform.

That very much looks like the same issue as on Windows with Qt6 6.7.0.
For some reason, `QOpenGLContext::currentContext()` returns a nullptr. And dereferencing it causes the segmentation fault. Afaict, that is happening here:
https://github.com/qt/qtbase/blob/488545ca72b7f2a59401a42c2c264f38916e15d1/src/openglwidgets/qopenglwidget.cpp#L996

I don't know why that is happening though. Should Octave have initialized an OpenGL context before that? Or is that something that Qt6 should have done automagically or failed to do? Or something else?

CC'ing Pantxo and Torsten in case they have an idea what might be happening here.

Markus M├╝tzel <mmuetzel>
Group administrator
Fri 19 Apr 2024 04:42:06 AM UTC, comment #14: 

Here is a backtrace with debugging symbols (full trace is attached):

Thread 1 "octave-gui" received signal SIGSEGV, Segmentation fault.
QOpenGLContext::functions (this=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/gui/kernel/qopenglcontext.cpp:517
517         Q_D(const QOpenGLContext);
...<deleted>...
Thread 1 (Thread 0x7fffed761a80 (LWP 156049) "octave-gui"):
#0  QOpenGLContext::functions (this=0x0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/gui/kernel/qopenglcontext.cpp:517
#1  0x00007ffff7e03da9 in QOpenGLWidgetPrivate::invalidateFboAfterPainting (this=this@entry=0x72b490) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/openglwidgets/qopenglwidget.cpp:1014
#2  0x00007ffff7e052e8 in QOpenGLWidgetPrivate::render (this=0x72b490) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/openglwidgets/qopenglwidget.cpp:977
#3  0x00007ffff4debe00 in QWidget::event (this=0x72e550, event=0x7fffffffaef0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:9402
#4  0x00007ffff4d8b368 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x72e550, e=0x7fffffffaef0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#5  0x00007ffff7ade2a3 in octave::octave_qapplication::notify (this=0x4bf800, receiver=0x72e550, ev=0x7fffffffaef0) at ../libgui/src/octave-qobject.cc:148
#6  0x00007ffff4395ab8 in QCoreApplication::notifyInternal2 (receiver=0x72e550, event=0x7fffffffaef0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#7  0x00007ffff4395d2d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1589
#8  0x00007ffff4de266c in QWidgetPrivate::sendPaintEvent (this=this@entry=0x72b490, toBePainted=...) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:5647
#9  0x00007ffff7e04b67 in QOpenGLWidget::resizeEvent (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/openglwidgets/qopenglwidget.cpp:1511
#10 0x00007ffff4dec61a in QWidget::event (this=0x72e550, event=0x7fffffffb280) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:9192
#11 0x00007ffff4d8b368 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x72e550, e=0x7fffffffb280) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#12 0x00007ffff7ade2a3 in octave::octave_qapplication::notify (this=0x4bf800, receiver=0x72e550, ev=0x7fffffffb280) at ../libgui/src/octave-qobject.cc:148
#13 0x00007ffff4395ab8 in QCoreApplication::notifyInternal2 (receiver=0x72e550, event=0x7fffffffb280) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#14 0x00007ffff4395d1d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#15 0x00007ffff4de25a4 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x72b490, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8032
#16 0x00007ffff4deb439 in QWidgetPrivate::show_helper (this=0x72b490) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8083
#17 0x00007ffff4deb736 in QWidgetPrivate::show_recursive (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8013
#18 0x00007ffff4deafea in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.h:101
#19 0x00007ffff4deb455 in QWidgetPrivate::show_helper (this=this@entry=0x873ab0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8089
#20 0x00007ffff4dea8cb in QWidgetPrivate::setVisible (this=0x873ab0, visible=visible@entry=true) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8440
#21 0x00007ffff4deaffa in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8523
#22 0x00007ffff4deb455 in QWidgetPrivate::show_helper (this=this@entry=0x6bf190) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8089
#23 0x00007ffff4dea8cb in QWidgetPrivate::setVisible (this=0x6bf190, visible=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8440
#24 0x00007ffff797a5e9 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QWidget::*)()>::call(void (QWidget::*)(), QWidget*, void**) (f=(void (QWidget::*)(class QWidget * const)) 0x7ffff4de7870 <QWidget::show()>, o=0x738f20, arg=0x8611b8) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:145
#25 0x00007ffff797a38f in QtPrivate::FunctionPointer<void (QWidget::*)()>::call<QtPrivate::List<>, void>(void (QWidget::*)(), QWidget*, void**) (f=(void (QWidget::*)(class QWidget * const)) 0x7ffff4de7870 <QWidget::show()>, o=0x738f20, arg=0x8611b8) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:182
#26 0x00007ffff7979e77 in QtPrivate::QCallableObject<void (QWidget::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x79ce30, r=0x738f20, a=0x8611b8, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:553
#27 0x00007ffff43ebdd5 in QObject::event (this=0x738f20, e=0x861170) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qobject.cpp:1446
#28 0x00007ffff799a2cf in octave::FigureWindowBase::event (this=0x738f20, evt=0x861170) at ../libgui/graphics/FigureWindow.h:35
#29 0x00007ffff4d8b368 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x738f20, e=0x861170) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#30 0x00007ffff7ade2a3 in octave::octave_qapplication::notify (this=0x4bf800, receiver=0x738f20, ev=0x861170) at ../libgui/src/octave-qobject.cc:148
#31 0x00007ffff4395ab8 in QCoreApplication::notifyInternal2 (receiver=0x738f20, event=0x861170) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#32 0x00007ffff4395d1d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#33 0x00007ffff4399861 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x4bf4e0) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1932
#34 0x00007ffff4399b0d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1789
#35 0x00007ffff467c7cf in postEventSourceDispatch (s=0x5eb200) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#36 0x00007ffff130f68c in g_main_dispatch (context=0x7fff54000f00) at ../glib/gmain.c:3344
#37 g_main_context_dispatch_unlocked (context=0x7fff54000f00) at ../glib/gmain.c:4152
#38 0x00007ffff1370788 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fff54000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#39 0x00007ffff1310b03 in g_main_context_iteration (context=0x7fff54000f00, may_block=1) at ../glib/gmain.c:4282
#40 0x00007ffff467bf83 in QEventDispatcherGlib::processEvents (this=0x5e7d60, flags=...) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#41 0x00007ffff43a26b3 in QEventLoop::exec (this=this@entry=0x7fffffffbe90, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/global/qflags.h:34
#42 0x00007ffff439e63c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.0-3.fc40.x86_64/src/corelib/global/qflags.h:74
#43 0x00007ffff7adfc72 in octave::base_qobject::exec (this=0x7fffffffbf50) at ../libgui/src/octave-qobject.cc:427
#44 0x00007ffff7af635d in octave::qt_application::execute (this=0x7fffffffc0a0) at ../libgui/src/qt-application.cc:102
#45 0x00000000004026fe in main (argc=8, argv=0x7fffffffc4d8) at ../src/main-gui.cc:150


Dmitri.
--


(file #55947)

Dmitri A. Sergatskov <dasergatskov>
Fri 19 Apr 2024 04:14:36 AM UTC, comment #13: 

Fedora 40 updated Qt6 to 6.7 and I can reproduce this problem there.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Thu 18 Apr 2024 01:49:47 PM UTC, comment #12: 

Will do Marcus.  If I can only figure out how their bug reporting system works. ;)

Chris Gorman <chrisgorman>
Thu 18 Apr 2024 01:40:33 PM UTC, comment #11: 

In case you do report it to upstream Qt6, please drop a link to the upstream issue here.

Markus M├╝tzel <mmuetzel>
Group administrator
Wed 17 Apr 2024 05:00:13 PM UTC, comment #10: 

Like I already wrote in comment #3: I don't know if this is a bug in that version of Qt6 or if Octave is doing something wrong. All that I can say is that it was still working fine with Qt6 6.6.3 in MSYS2. So, it might be a regression in Qt6 6.7.0.

I don't know if this issue has already been reported to Qt.

Markus M├╝tzel <mmuetzel>
Group administrator
Wed 17 Apr 2024 04:40:47 PM UTC, comment #9: 

Hi Marcus,

I wanted to know if I should log a bug report against Qt6 6.7.0 or if I should leave it as the problem lies with Octave.  (If this is known.)

Chris

Chris Gorman <chrisgorman>
Wed 17 Apr 2024 04:36:58 PM UTC, comment #8: 


> Should I push this upstream to Qt6 or has this already been done?


I don't know what that question means...

Markus M├╝tzel <mmuetzel>
Group administrator
Wed 17 Apr 2024 03:31:09 PM UTC, comment #7: 

Hi Marcus,

Sorry for the confusion.  I got a little excited and didn't read the bug report thoroughly.  My mistake.

Chris

Chris Gorman <chrisgorman>
Wed 17 Apr 2024 03:27:13 PM UTC, comment #6: 

Sorry if that wasn't clear from that report:
The crash on `figure()` with Qt6 6.7.0 is not fixed in MSYS2.
The proposed change in that PR was to work around an unrelated build issue.

Markus M├╝tzel <mmuetzel>
Group administrator
Wed 17 Apr 2024 03:23:14 PM UTC, comment #5: 

Hi Marcus and Dimitri,

--with-qt=5 fixes the problem.  Should I push this upstream to Qt6 or has this already been done?  Looking at the fix for msys2 was a simple include of windows.h.  Is there a linux header file that might fix this?

Thank you both for your help and insight.

Chris

Chris Gorman <chrisgorman>
Wed 17 Apr 2024 02:43:28 PM UTC, comment #4: 

Chris,

You may want to post on https://octave.discourse.group/latest
there are some Arch users there, may be they have/had a similar experience.

Qt 6.7 is a suspect. Could you try Qt5? (--with-qt=5 option to configure)?

Sincerely,

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 17 Apr 2024 02:42:32 PM UTC, comment #3: 

That looks very similar to the crash with Qt6 6.7.0 in MSYS2:
https://github.com/msys2/MINGW-packages/pull/20586#issuecomment-2041391929

I don't know if this is a bug in that version of Qt6 (it was still working fine with Qt6 6.6.3 in MSYS2) or if Octave is doing something wrong.

IIUC, the crash is happening when Qt6 is trying to dereference a null pointer.

Markus M├╝tzel <mmuetzel>
Group administrator
Wed 17 Apr 2024 02:29:27 PM UTC, comment #2: 

Hi Dimitri,

To answer your questions.  This is a self-compiled binary using the repo's 8.4.0 package file as a build template.  The qt6 verion is 6.7.0 and my graphics hardware is an AMD Radeon HD (Cedar).  Setting QT_OPENGL=software did not fix the problem.

My configure arguments are ...


  JAVA_HOME=/usr/lib/jvm/default \
  ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib \
    --enable-shared \
    --disable-static \
    --with-quantum-depth=16


Chris

Chris Gorman <chrisgorman>
Wed 17 Apr 2024 02:02:11 PM UTC, comment #1: 

Is this repo provided octave binary, or self-compiled?

What is Qt6 version?

What is your graphics hardware?

Try setting "QT_OPENGL=software" before starting octave.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 17 Apr 2024 01:38:33 PM UTC, original submission:  

System is arch linux.  Launching octave 9.1.0 and running the figure(); function results in a segfault and dumps core.  The following is the output from coredumpctl info PID.  I thought that it might be related to OpenGL, so I ran it with LIBGL_ALWAYS_SOFTWARE=1 and without.  There is no change.  Both core.  This debug info is from a run with LIBGL_ALWAYS_SOFTWARE=1.


[root@descartes ~]# cat octave_software_gl_figure.txt
           PID: 1635150 (octave-gui)
           UID: 1000 (chris)
           GID: 1000 (chris)
        Signal: 11 (SEGV)
     Timestamp: Wed 2024-04-17 08:59:32 EDT (1min 6s ago)
  Command Line: /usr/lib/octave/9.1.0/exec/x86_64-pc-linux-gnu/octave-gui
    Executable: /usr/lib/octave/9.1.0/exec/x86_64-pc-linux-gnu/octave-gui
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (chris)
       Boot ID: 8866033449374803810fe0af5028685e
    Machine ID: b26b37f3cb224b23aa4841ed6460b18c
      Hostname: descartes
       Storage: /var/lib/systemd/coredump/core.octave-gui.1000.8866033449374803810fe0af5028685e.1635150.1713358772000000.zst (present)
  Size on Disk: 4.6M
       Message: Process 1635150 (octave-gui) of user 1000 dumped core.

                Stack trace of thread 1635150:
                #0  0x0000752bdfe88818 _ZNK14QOpenGLContext9functionsEv (libQt6Gui.so.6 + 0x488818)
                #1  0x0000752be2efccb4 n/a (libQt6OpenGLWidgets.so.6 + 0x7cb4)
                #2  0x0000752be2efd8c5 n/a (libQt6OpenGLWidgets.so.6 + 0x88c5)
                #3  0x0000752bdf34703d _ZN7QWidget5eventEP6QEvent (libQt6Widgets.so.6 + 0x14703d)
                #4  0x0000752bdf2fbfcb _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfbfcb)
                #5  0x0000752be2c54dbe _ZN6octave19octave_qapplication6notifyEP7QObjectP6QEvent (liboctgui.so.10 + 0x254dbe)
                #6  0x0000752bded3dae8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x13dae8)
                #7  0x0000752bdf337e7b _ZN14QWidgetPrivate14sendPaintEventERK7QRegion (libQt6Widgets.so.6 + 0x137e7b)
                #8  0x0000752be2efdb7b _ZN13QOpenGLWidget11resizeEventEP12QResizeEvent (libQt6OpenGLWidgets.so.6 + 0x8b7b)
                #9  0x0000752bdf346fff _ZN7QWidget5eventEP6QEvent (libQt6Widgets.so.6 + 0x146fff)
                #10 0x0000752bdf2fbfcb _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfbfcb)
                #11 0x0000752be2c54dbe _ZN6octave19octave_qapplication6notifyEP7QObjectP6QEvent (liboctgui.so.10 + 0x254dbe)
                #12 0x0000752bded3dae8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x13dae8)
                #13 0x0000752bdf340eb8 _ZN14QWidgetPrivate30sendPendingMoveAndResizeEventsEbb (libQt6Widgets.so.6 + 0x140eb8)
                #14 0x0000752bdf344867 _ZN14QWidgetPrivate11show_helperEv (libQt6Widgets.so.6 + 0x144867)
                #15 0x0000752bdf345446 _ZN14QWidgetPrivate12showChildrenEb (libQt6Widgets.so.6 + 0x145446)
                #16 0x0000752bdf344883 _ZN14QWidgetPrivate11show_helperEv (libQt6Widgets.so.6 + 0x144883)
                #17 0x0000752bdf344db3 _ZN14QWidgetPrivate10setVisibleEb (libQt6Widgets.so.6 + 0x144db3)
                #18 0x0000752bdf345712 _ZN14QWidgetPrivate12showChildrenEb (libQt6Widgets.so.6 + 0x145712)
                #19 0x0000752bdf344883 _ZN14QWidgetPrivate11show_helperEv (libQt6Widgets.so.6 + 0x144883)
                #20 0x0000752bdf344db3 _ZN14QWidgetPrivate10setVisibleEb (libQt6Widgets.so.6 + 0x144db3)
                #21 0x0000752bded883e4 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1883e4)
                #22 0x0000752be2b9f13c n/a (liboctgui.so.10 + 0x19f13c)
                #23 0x0000752bdf2fbfcb _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfbfcb)
                #24 0x0000752be2c54dbe _ZN6octave19octave_qapplication6notifyEP7QObjectP6QEvent (liboctgui.so.10 + 0x254dbe)
                #25 0x0000752bded3dae8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x13dae8)
                #26 0x0000752bded3de74 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x13de74)
                #27 0x0000752bdef860e4 n/a (libQt6Core.so.6 + 0x3860e4)
                #28 0x0000752bdb8c3199 n/a (libglib-2.0.so.0 + 0x5a199)
                #29 0x0000752bdb9223bf n/a (libglib-2.0.so.0 + 0xb93bf)
                #30 0x0000752bdb8c2712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
                #31 0x0000752bdef83df4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x383df4)
                #32 0x0000752bded45c7e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x145c7e)
                #33 0x0000752bded416e8 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x1416e8)
                #34 0x0000752be2c52004 _ZN6octave12base_qobject4execEv (liboctgui.so.10 + 0x252004)
                #35 0x0000752be2c64518 _ZN6octave14qt_application7executeEv (liboctgui.so.10 + 0x264518)
                #36 0x00005d0da1926188 n/a (octave-gui + 0x1188)
                #37 0x0000752be0443cd0 n/a (libc.so.6 + 0x25cd0)
                #38 0x0000752be0443d8a __libc_start_main (libc.so.6 + 0x25d8a)
                #39 0x00005d0da1926455 n/a (octave-gui + 0x1455)

                Stack trace of thread 1635172:
                #0  0x0000752b95257192 n/a (swrast_dri.so + 0x657192)
                #1  0x0000752b95257c16 n/a (swrast_dri.so + 0x657c16)
                #2  0x0000752b952580cc n/a (swrast_dri.so + 0x6580cc)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635173:
                #0  0x0000752b95257192 n/a (swrast_dri.so + 0x657192)
                #1  0x0000752b95257c16 n/a (swrast_dri.so + 0x657c16)
                #2  0x0000752b952580cc n/a (swrast_dri.so + 0x6580cc)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635174:
                #0  0x0000752b95257198 n/a (swrast_dri.so + 0x657198)
                #1  0x0000752b95257c16 n/a (swrast_dri.so + 0x657c16)
                #2  0x0000752b952580cc n/a (swrast_dri.so + 0x6580cc)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635175:
                #0  0x0000752b95189dea n/a (swrast_dri.so + 0x589dea)
                #1  0x0000752b95256dcc n/a (swrast_dri.so + 0x656dcc)
                #2  0x0000752b95257c16 n/a (swrast_dri.so + 0x657c16)
                #3  0x0000752b952580cc n/a (swrast_dri.so + 0x6580cc)
                #4  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #5  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #6  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635176:
                #0  0x0000752b95257192 n/a (swrast_dri.so + 0x657192)
                #1  0x0000752b95257c16 n/a (swrast_dri.so + 0x657c16)
                #2  0x0000752b952580cc n/a (swrast_dri.so + 0x6580cc)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635177:
                #0  0x0000752be04a7709 pthread_barrier_wait (libc.so.6 + 0x89709)
                #1  0x0000752b952580c0 n/a (swrast_dri.so + 0x6580c0)
                #2  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #3  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #4  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635151:
                #0  0x0000752be05190bf __poll (libc.so.6 + 0xfb0bf)
                #1  0x0000752bdb922306 n/a (libglib-2.0.so.0 + 0xb9306)
                #2  0x0000752bdb8c2712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
                #3  0x0000752bdef83df4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x383df4)
                #4  0x0000752bded45c7e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x145c7e)
                #5  0x0000752bdee2cbef _ZN7QThread4execEv (libQt6Core.so.6 + 0x22cbef)
                #6  0x0000752bdb57513f n/a (libQt6DBus.so.6 + 0x2c13f)
                #7  0x0000752bdeeadcd3 n/a (libQt6Core.so.6 + 0x2adcd3)
                #8  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #9  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635154:
                #0  0x0000752be045b42a __sigtimedwait (libc.so.6 + 0x3d42a)
                #1  0x0000752be045aafc sigwait (libc.so.6 + 0x3cafc)
                #2  0x0000752be144aed1 n/a (liboctave.so.11 + 0xa4aed1)
                #3  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #4  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635153:
                #0  0x0000752be052488d syscall (libc.so.6 + 0x10688d)
                #1  0x0000752bdeeb4722 n/a (libQt6Core.so.6 + 0x2b4722)
                #2  0x0000752bded9788e n/a (libQt6Core.so.6 + 0x19788e)
                #3  0x0000752be2bd5613 _ZN6octave19qt_graphics_toolkit20create_object_signalEd (liboctgui.so.10 + 0x1d5613)
                #4  0x0000752be2bd4494 _ZN6octave19qt_graphics_toolkit10initializeERKNS_15graphics_objectE (liboctgui.so.10 + 0x1d4494)
                #5  0x0000752be2013258 n/a (liboctinterp.so.12 + 0x813258)
                #6  0x0000752be239f276 n/a (liboctinterp.so.12 + 0xb9f276)
                #7  0x0000752be268b51d n/a (liboctinterp.so.12 + 0xe8b51d)
                #8  0x0000752be2491626 _ZN6octave14F__go_uimenu__ERNS_11interpreterERK17octave_value_listi (liboctinterp.so.12 + 0xc91626)
                #9  0x0000752be21dbd7b _ZN6octave14tree_evaluator24execute_builtin_functionER14octave_builtiniRK17octave_value_list (liboctinterp.so.12 + 0x9dbd7b)
                #10 0x0000752be2061c0c _ZN14octave_builtin7executeERN6octave14tree_evaluatorEiRK17octave_value_list (liboctinterp.so.12 + 0x861c0c)
                #11 0x0000752be20b5978 _ZN15octave_function4callERN6octave14tree_evaluatorEiRK17octave_value_list (liboctinterp.so.12 + 0x8b5978)
                #12 0x0000752be21f707a _ZN6octave21tree_index_expression10evaluate_nERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9f707a)
                #13 0x0000752be2016ca5 n/a (liboctinterp.so.12 + 0x816ca5)
                #14 0x0000752be21cc9e8 _ZN6octave22tree_simple_assignment8evaluateERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9cc9e8)
                #15 0x0000752be21e6565 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e6565)
                #16 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #17 0x0000752be21e7b95 _ZN6octave14tree_evaluator21execute_user_functionER20octave_user_functioniRK17octave_value_list (liboctinterp.so.12 + 0x9e7b95)
                #18 0x0000752be212b405 _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list (liboctinterp.so.12 + 0x92b405)
                #19 0x0000752be21f707a _ZN6octave21tree_index_expression10evaluate_nERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9f707a)
                #20 0x0000752be2016ca5 n/a (liboctinterp.so.12 + 0x816ca5)
                #21 0x0000752be21cc9e8 _ZN6octave22tree_simple_assignment8evaluateERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9cc9e8)
                                    #22 0x0000752be21e6565 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e6565)
                #23 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #24 0x0000752be21e64fe _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e64fe)
                #25 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #26 0x0000752be21e7b95 _ZN6octave14tree_evaluator21execute_user_functionER20octave_user_functioniRK17octave_value_list (liboctinterp.so.12 + 0x9e7b95)
                #27 0x0000752be212b405 _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list (liboctinterp.so.12 + 0x92b405)
                #28 0x0000752be21f707a _ZN6octave21tree_index_expression10evaluate_nERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9f707a)
                #29 0x0000752be2016ca5 n/a (liboctinterp.so.12 + 0x816ca5)
                #30 0x0000752be21e6565 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e6565)
                #31 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #32 0x0000752be21e64fe _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e64fe)
                #33 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #34 0x0000752be21e7b95 _ZN6octave14tree_evaluator21execute_user_functionER20octave_user_functioniRK17octave_value_list (liboctinterp.so.12 + 0x9e7b95)
                #35 0x0000752be212b405 _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list (liboctinterp.so.12 + 0x92b405)
                #36 0x0000752be21f707a _ZN6octave21tree_index_expression10evaluate_nERNS_14tree_evaluatorEi (liboctinterp.so.12 + 0x9f707a)
                #37 0x0000752be2016ca5 n/a (liboctinterp.so.12 + 0x816ca5)
                #38 0x0000752be21e6565 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE (liboctinterp.so.12 + 0x9e6565)
                #39 0x0000752be21d7d5a _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE (liboctinterp.so.12 + 0x9d7d5a)
                #40 0x0000752be21d7500 _ZN6octave14tree_evaluator4evalERSt10shared_ptrINS_19tree_statement_listEEb (liboctinterp.so.12 + 0x9d7500)
                #41 0x0000752be21def96 _ZN6octave14tree_evaluator4replEv (liboctinterp.so.12 + 0x9def96)
                #42 0x0000752be24bc1f9 _ZN6octave11interpreter7executeEv (liboctinterp.so.12 + 0xcbc1f9)
                #43 0x0000752be2c095b8 _ZN6octave19interpreter_qobject7executeEv (liboctgui.so.10 + 0x2095b8)
                #44 0x0000752bded883e4 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1883e4)
                #45 0x0000752bdf2fbfcb _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfbfcb)
                #46 0x0000752be2c54dbe _ZN6octave19octave_qapplication6notifyEP7QObjectP6QEvent (liboctgui.so.10 + 0x254dbe)
                #47 0x0000752bded3dae8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x13dae8)
                #48 0x0000752bded3de74 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x13de74)
                #49 0x0000752bdef860e4 n/a (libQt6Core.so.6 + 0x3860e4)
                #50 0x0000752bdb8c3199 n/a (libglib-2.0.so.0 + 0x5a199)
                #51 0x0000752bdb9223bf n/a (libglib-2.0.so.0 + 0xb93bf)
                #52 0x0000752bdb8c2712 g_main_context_iteration (libglib-2.0.so.0 + 0x59712)
                #53 0x0000752bdef83df4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x383df4)
                #54 0x0000752bded45c7e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x145c7e)
                #55 0x0000752bdee2ccef _ZN7QThread3runEv (libQt6Core.so.6 + 0x22ccef)
                #56 0x0000752bdeeadcd3 n/a (libQt6Core.so.6 + 0x2adcd3)
                #57 0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #58 0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635152:
                #0  0x0000752be05190bf __poll (libc.so.6 + 0xfb0bf)
                #1  0x0000752bda1ac20b n/a (libxcb.so.1 + 0xd20b)
                #2  0x0000752bda1adf3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                #3  0x0000752ba6a5af0e n/a (libQt6XcbQpa.so.6 + 0x4bf0e)
                #4  0x0000752bdeeadcd3 n/a (libQt6Core.so.6 + 0x2adcd3)
                #5  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #6  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635181:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635184:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b94c863cc n/a (swrast_dri.so + 0x863cc)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635182:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635178:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635180:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635183:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)

                Stack trace of thread 1635179:
                #0  0x0000752be04a5ebe n/a (libc.so.6 + 0x87ebe)
                #1  0x0000752be04a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                #2  0x0000752b9523d084 n/a (swrast_dri.so + 0x63d084)
                #3  0x0000752b94c9ebfc n/a (swrast_dri.so + 0x9ebfc)
                #4  0x0000752be04a955a n/a (libc.so.6 + 0x8b55a)
                #5  0x0000752be0526a3c n/a (libc.so.6 + 0x108a3c)
                ELF object binary architecture: AMD x86-64


For completeness, I am including the gdb output as well. 


GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/octave/9.1.0/exec/x86_64-pc-linux-gnu/octave-gui...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /usr/lib/octave/9.1.0/exec/x86_64-pc-linux-gnu/octave-gui)

warning: Can't open file /SYSV00000000 (deleted) during file-backed mapping note processing
[New LWP 1635150]
[New LWP 1635172]
[New LWP 1635173]
[New LWP 1635174]
[New LWP 1635175]
[New LWP 1635176]
[New LWP 1635177]
[New LWP 1635151]
[New LWP 1635154]
[New LWP 1635153]
[New LWP 1635152]
[New LWP 1635181]
[New LWP 1635184]
[New LWP 1635182]
[New LWP 1635178]
[New LWP 1635180]
[New LWP 1635183]
[New LWP 1635179]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/octave/9.1.0/exec/x86_64-pc-linux-gnu/octave-gui'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000752bdfe88818 in QOpenGLContext::functions() const () from /usr/lib/libQt6Gui.so.6
[Current thread is 1 (Thread 0x752bd6aca140 (LWP 1635150))]
(gdb) thread apply all backtrace full

Thread 18 (Thread 0x752b890a06c0 (LWP 1635179)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 17 (Thread 0x752b6affd6c0 (LWP 1635183)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 16 (Thread 0x752b8889f6c0 (LWP 1635180)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 15 (Thread 0x752b898a16c0 (LWP 1635178)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 14 (Thread 0x752b6b7fe6c0 (LWP 1635182)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 13 (Thread 0x752b6a6bb6c0 (LWP 1635184)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b94c863cc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 12 (Thread 0x752b6bfff6c0 (LWP 1635181)):
#0  0x0000752be04a5ebe in ??? () at /usr/lib/libc.so.6
#1  0x0000752be04a8750 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x0000752b9523d084 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 11 (Thread 0x752ba53af6c0 (LWP 1635152)):
#0  0x0000752be05190bf in poll () at /usr/lib/libc.so.6
#1  0x0000752bda1ac20b in ??? () at /usr/lib/libxcb.so.1
#2  0x0000752bda1adf3d in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x0000752ba6a5af0e in ??? () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#4  0x0000752bdeeadcd3 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#6  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 10 (Thread 0x752ba49d46c0 (LWP 1635153)):
#0  0x0000752be052488d in syscall () at /usr/lib/libc.so.6
#1  0x0000752bdeeb4722 in ??? () at /usr/lib/libQt6Core.so.6
#2  0x0000752bded9788e in ??? () at /usr/lib/libQt6Core.so.6
#3  0x0000752be2bd5613 in octave::qt_graphics_toolkit::create_object_signal(double) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#4  0x0000752be2bd4494 in octave::qt_graphics_toolkit::initialize(octave::graphics_object const&) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#5  0x0000752be2013258 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#6  0x0000752be239f276 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#7  0x0000752be268b51d in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#8  0x0000752be2491626 in octave::F__go_uimenu__(octave::interpreter&, octave_value_list const&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#9  0x0000752be21dbd7b in octave::tree_evaluator::execute_builtin_function(octave_builtin&, int, octave_val--Type <RET> for more, q to quit, c to continue without paging--c
ue_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#10 0x0000752be2061c0c in octave_builtin::execute(octave::tree_evaluator&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#11 0x0000752be20b5978 in octave_function::call(octave::tree_evaluator&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#12 0x0000752be21f707a in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#13 0x0000752be2016ca5 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#14 0x0000752be21cc9e8 in octave::tree_simple_assignment::evaluate(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#15 0x0000752be21e6565 in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#16 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#17 0x0000752be21e7b95 in octave::tree_evaluator::execute_user_function(octave_user_function&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#18 0x0000752be212b405 in octave_user_function::call(octave::tree_evaluator&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#19 0x0000752be21f707a in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#20 0x0000752be2016ca5 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#21 0x0000752be21cc9e8 in octave::tree_simple_assignment::evaluate(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#22 0x0000752be21e6565 in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#23 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#24 0x0000752be21e64fe in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#25 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#26 0x0000752be21e7b95 in octave::tree_evaluator::execute_user_function(octave_user_function&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#27 0x0000752be212b405 in octave_user_function::call(octave::tree_evaluator&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#28 0x0000752be21f707a in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#29 0x0000752be2016ca5 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#30 0x0000752be21e6565 in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#31 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#32 0x0000752be21e64fe in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#33 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#34 0x0000752be21e7b95 in octave::tree_evaluator::execute_user_function(octave_user_function&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#35 0x0000752be212b405 in octave_user_function::call(octave::tree_evaluator&, int, octave_value_list const&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#36 0x0000752be21f707a in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#37 0x0000752be2016ca5 in ??? () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#38 0x0000752be21e6565 in octave::tree_evaluator::visit_statement(octave::tree_statement&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#39 0x0000752be21d7d5a in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#40 0x0000752be21d7500 in octave::tree_evaluator::eval(std::shared_ptr<octave::tree_statement_list>&, bool) () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#41 0x0000752be21def96 in octave::tree_evaluator::repl() () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#42 0x0000752be24bc1f9 in octave::interpreter::execute() () at /usr/lib/octave/9.1.0/liboctinterp.so.12
#43 0x0000752be2c095b8 in octave::interpreter_qobject::execute() () at /usr/lib/octave/9.1.0/liboctgui.so.10
#44 0x0000752bded883e4 in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#45 0x0000752bdf2fbfcb in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#46 0x0000752be2c54dbe in octave::octave_qapplication::notify(QObject*, QEvent*) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#47 0x0000752bded3dae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#48 0x0000752bded3de74 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#49 0x0000752bdef860e4 in ??? () at /usr/lib/libQt6Core.so.6
#50 0x0000752bdb8c3199 in ??? () at /usr/lib/libglib-2.0.so.0
#51 0x0000752bdb9223bf in ??? () at /usr/lib/libglib-2.0.so.0
#52 0x0000752bdb8c2712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#53 0x0000752bdef83df4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#54 0x0000752bded45c7e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#55 0x0000752bdee2ccef in QThread::run() () at /usr/lib/libQt6Core.so.6
#56 0x0000752bdeeadcd3 in ??? () at /usr/lib/libQt6Core.so.6
#57 0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#58 0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 9 (Thread 0x752b97fff6c0 (LWP 1635154)):
#0  0x0000752be045b42a in sigtimedwait () at /usr/lib/libc.so.6
#1  0x0000752be045aafc in sigwait () at /usr/lib/libc.so.6
#2  0x0000752be144aed1 in ??? () at /usr/lib/octave/9.1.0/liboctave.so.11
#3  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#4  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 8 (Thread 0x752ba5bb06c0 (LWP 1635151)):
#0  0x0000752be05190bf in poll () at /usr/lib/libc.so.6
#1  0x0000752bdb922306 in ??? () at /usr/lib/libglib-2.0.so.0
#2  0x0000752bdb8c2712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x0000752bdef83df4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x0000752bded45c7e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x0000752bdee2cbef in QThread::exec() () at /usr/lib/libQt6Core.so.6
#6  0x0000752bdb57513f in ??? () at /usr/lib/libQt6DBus.so.6
#7  0x0000752bdeeadcd3 in ??? () at /usr/lib/libQt6Core.so.6
#8  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#9  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 7 (Thread 0x752b8a0a26c0 (LWP 1635177)):
#0  0x0000752be04a7709 in pthread_barrier_wait () at /usr/lib/libc.so.6
#1  0x0000752b952580c0 in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#4  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 6 (Thread 0x752b8a8a36c0 (LWP 1635176)):
#0  0x0000752b95257192 in ??? () at /usr/lib/dri/swrast_dri.so
#1  0x0000752b95257c16 in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b952580cc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 5 (Thread 0x752b8b0a46c0 (LWP 1635175)):
#0  0x0000752b95189dea in ??? () at /usr/lib/dri/swrast_dri.so
#1  0x0000752b95256dcc in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b95257c16 in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b952580cc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#5  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#6  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 4 (Thread 0x752b8b8a56c0 (LWP 1635174)):
#0  0x0000752b95257198 in ??? () at /usr/lib/dri/swrast_dri.so
#1  0x0000752b95257c16 in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b952580cc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 3 (Thread 0x752b8c0a66c0 (LWP 1635173)):
#0  0x0000752b95257192 in ??? () at /usr/lib/dri/swrast_dri.so
#1  0x0000752b95257c16 in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b952580cc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 2 (Thread 0x752b8c8a76c0 (LWP 1635172)):
#0  0x0000752b95257192 in ??? () at /usr/lib/dri/swrast_dri.so
#1  0x0000752b95257c16 in ??? () at /usr/lib/dri/swrast_dri.so
#2  0x0000752b952580cc in ??? () at /usr/lib/dri/swrast_dri.so
#3  0x0000752b94c9ebfc in ??? () at /usr/lib/dri/swrast_dri.so
#4  0x0000752be04a955a in ??? () at /usr/lib/libc.so.6
#5  0x0000752be0526a3c in ??? () at /usr/lib/libc.so.6

Thread 1 (Thread 0x752bd6aca140 (LWP 1635150)):
#0  0x0000752bdfe88818 in QOpenGLContext::functions() const () at /usr/lib/libQt6Gui.so.6
#1  0x0000752be2efccb4 in ??? () at /usr/lib/libQt6OpenGLWidgets.so.6
#2  0x0000752be2efd8c5 in ??? () at /usr/lib/libQt6OpenGLWidgets.so.6
#3  0x0000752bdf34703d in QWidget::event(QEvent*) () at /usr/lib/libQt6Widgets.so.6
#4  0x0000752bdf2fbfcb in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#5  0x0000752be2c54dbe in octave::octave_qapplication::notify(QObject*, QEvent*) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#6  0x0000752bded3dae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#7  0x0000752bdf337e7b in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt6Widgets.so.6
#8  0x0000752be2efdb7b in QOpenGLWidget::resizeEvent(QResizeEvent*) () at /usr/lib/libQt6OpenGLWidgets.so.6
#9  0x0000752bdf346fff in QWidget::event(QEvent*) () at /usr/lib/libQt6Widgets.so.6
#10 0x0000752bdf2fbfcb in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#11 0x0000752be2c54dbe in octave::octave_qapplication::notify(QObject*, QEvent*) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#12 0x0000752bded3dae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#13 0x0000752bdf340eb8 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () at /usr/lib/libQt6Widgets.so.6
#14 0x0000752bdf344867 in QWidgetPrivate::show_helper() () at /usr/lib/libQt6Widgets.so.6
#15 0x0000752bdf345446 in QWidgetPrivate::showChildren(bool) () at /usr/lib/libQt6Widgets.so.6
#16 0x0000752bdf344883 in QWidgetPrivate::show_helper() () at /usr/lib/libQt6Widgets.so.6
#17 0x0000752bdf344db3 in QWidgetPrivate::setVisible(bool) () at /usr/lib/libQt6Widgets.so.6
#18 0x0000752bdf345712 in QWidgetPrivate::showChildren(bool) () at /usr/lib/libQt6Widgets.so.6
#19 0x0000752bdf344883 in QWidgetPrivate::show_helper() () at /usr/lib/libQt6Widgets.so.6
#20 0x0000752bdf344db3 in QWidgetPrivate::setVisible(bool) () at /usr/lib/libQt6Widgets.so.6
#21 0x0000752bded883e4 in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#22 0x0000752be2b9f13c in ??? () at /usr/lib/octave/9.1.0/liboctgui.so.10
#23 0x0000752bdf2fbfcb in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#24 0x0000752be2c54dbe in octave::octave_qapplication::notify(QObject*, QEvent*) () at /usr/lib/octave/9.1.0/liboctgui.so.10
#25 0x0000752bded3dae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#26 0x0000752bded3de74 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#27 0x0000752bdef860e4 in ??? () at /usr/lib/libQt6Core.so.6
#28 0x0000752bdb8c3199 in ??? () at /usr/lib/libglib-2.0.so.0
#29 0x0000752bdb9223bf in ??? () at /usr/lib/libglib-2.0.so.0
#30 0x0000752bdb8c2712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x0000752bdef83df4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#32 0x0000752bded45c7e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#33 0x0000752bded416e8 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#34 0x0000752be2c52004 in octave::base_qobject::exec() () at /usr/lib/octave/9.1.0/liboctgui.so.10
#35 0x0000752be2c64518 in octave::qt_application::execute() () at /usr/lib/octave/9.1.0/liboctgui.so.10
#36 0x00005d0da1926188 in ??? ()
#37 0x0000752be0443cd0 in ??? () at /usr/lib/libc.so.6
#38 0x0000752be0443d8a in __libc_start_main () at /usr/lib/libc.so.6
#39 0x00005d0da1926455 in ??? ()


Chris Gorman <chrisgorman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55947:  qt67_crash.txt.gz added by dasergatskov (8KiB - application/gzip)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel
  • -email is unavailable- added by mmuetzel
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by chrisgorman (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 14 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-17 mmuetzel Dependencies- bugs #65650 is dependent
    2024-04-26 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 9.2.0 (current stable)
    2024-04-26 mmuetzel StatusPatch Submitted Ready For Test
    2024-04-26 mmuetzel Attached File- Added bug65605-qt6-opengl-partial-update.patch, #55978
        StatusNone Patch Submitted
        Planned ReleaseNone 9.2.0 (current stable)
    2024-04-19 mmuetzel Operating SystemGNU/Linux Any
        Carbon-Copy- Added pantxo
        Carbon-Copy- Added ttl
    2024-04-19 dasergatskov Attached File- Added qt67_crash.txt.gz, #55947
    2024-04-17 mmuetzel SummaryOctave call to function figure(); results in segfault Octave call to function figure(); results in segfault with Qt6 6.7.0
    2024-04-17 mmuetzel SummaryOctave call to funciton figure(); results in segfault Octave call to function figure(); results in segfault

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code