octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65605] Octave call to function figure(); resu


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #65605] Octave call to function figure(); results in segfault with Qt6 6.7.0
Date: Fri, 19 Apr 2024 03:01:34 -0400 (EDT)

Update of bug #65605 (group octave):

        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up 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.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65605>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]