bugGNU Octave - Bugs: bug #66793, SIGSEGV on popping out window

 
 

bug #66793: SIGSEGV on popping out window

Submitter:  None
Submitted:  Fri 14 Feb 2025 06:53:38 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 9.4.0
Release:  Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 17 Feb 2025 05:19:12 PM UTC, comment #9: 

starting it with
LIBGL_ALWAYS_SOFTWARE=1 ./run-octave --gui
does not fix the issue.

Anonymous
Sun 16 Feb 2025 06:53:54 PM UTC, comment #8: 

The LIBGL_ALWAYS_SOFTWARE environment variable works (mostly?) with OpenGL implementations based on Mesa.  I don't Nvidia's OpenGL libraries and drivers pay attention to it.

John W. Eaton <jwe>
Group administrator
Sun 16 Feb 2025 06:37:38 PM UTC, comment #7: 

Environment variable LIBGL_ALWAYS_SOFTWARE=1 disables hardware acceleration.

Anonymous
Sun 16 Feb 2025 09:06:28 AM UTC, comment #6: 


comment #4:

> Does disabling hardware graphics acceleration make any difference

I failed to find the setting to do that. If you explain how to, I will try it.

Anonymous
Sun 16 Feb 2025 04:48:41 AM UTC, comment #5: 

I noticed that on Wayland, when windows detaches, it jumps (instantaneously changes position on the screen) by a significant fraction of a screen and away from the mouse.

This is with 10.0.1 on Centos Stream 10 Qt 6.8.1
No crash.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 15 Feb 2025 10:00:25 PM UTC, comment #4: 

Does disabling hardware graphics acceleration make any difference

Anonymous
Sat 15 Feb 2025 05:43:24 PM UTC, comment #3: 

Torsten Lilge:

  • I was undocking the window by dragging; I didn't know there was a button. Popping the window via the button does not seem to crash. Also, I discovered that the crash seems related to dragging specifically, as if I let go quickly enough, it also doesn't crash.
  • The crash also happens with no configure options.
  • Removing the GUI config file did not solve the issue.


Rik:
--with-qt=5 results in ./configure complaining about broken qt5 and not building the GUI. Specifically:
checking Qt version 5... checking for Qt5Core Qt5Gui Qt5Help Qt5Network Qt5OpenGL Qt5PrintSupport Qt5Widgets Qt5Xml... no
configure: WARNING: Your installation of Qt version 5 appears incomplete or broken in some way.  Fix that or use --with-qt=VER to use another version.

and

Build Octave Qt GUI:                  no (missing:Qt5Help Qt5OpenGL)
.

Also, I forgot to mention, I run make as
make CFLAGS="-O2 -pipe -march=native" CXXFLAGS="-O2 -pipe -march=native" FFLAGS="-O2 -pipe -march=native" FCFLAGS="-O2 -pipe -march=native" --jobs 8 --load-average 9
(technically, I think portage was passing the various FLAGS's as environment variables, but that shouldn't and doesn't seem to make a difference.)

Anonymous
Fri 14 Feb 2025 11:21:43 PM UTC, comment #2: 

Gentoo is usually bleeding edge on libraries.  Could you try configuring with '--with-qt=5', building, and then checking whether you can pop the command window out?

Rik <rik5>
Group administrator
Fri 14 Feb 2025 08:01:29 PM UTC, comment #1: 

Thanks for the report. I have some questions regarding your observations:

  • Are you undocking the command window by dragging it out of the main window or by clicking the undock/dock button?
  • Does the crash also happens with a build with "default" configuration?
  • Does removing (or just renaming for not losing your preferences) the gui config file solve the issue?
Torsten Lilge <ttl>
Group Member
Fri 14 Feb 2025 06:53:38 AM UTC, original submission:  

running octave --gui, if I try to pop out the command window, the application crashes. If started from terminal, prints "octave exited with signal 11"

running on x86-64, gentoo

configure is called as:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/octave-9.4.0 --htmldir=/usr/share/doc/octave-9.4.0/html --with-sysroot=/ --libdir=/usr/lib64 --localstatedir=/var/state/octave --with-blas=-lblas --with-lapack=-llapack --enable-shared --with-z --with-bz2 --without-fltk --without-libiconv-prefix --without-libreadline-prefix --disable-docs --enable-java --disable-rapidjson --enable-readline --with-curl --without-fftw3 --without-fftw3f --disable-fftw-threads --with-glpk --with-opengl --with-qt=6 --with-x --without-hdf5 --with-magick=GraphicsMagick++ --without-klu --without-portaudio --with-qhull_r --with-qrupdate --without-sndfile --with-arpack --with-umfpack --with-colamd --with-ccolamd --with-cholmod --with-cxsparse --without-spqr --with-openssl --without-sundials_ida --without-sundials_nvecserial

(The ebuild claims --with-foo type options are noops, and only included to simplify the ebuild)

Modifications to the interpreter source:
A patch applied to scripts/pkg/private/install.m, patch file is the first attachment


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #56887:  octave-5.1.0-pkgbuilddir.patch added by None (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-14 ttl StatusNone Need Info
    2025-02-14 None Attached File- Added octave-5.1.0-pkgbuilddir.patch, #56887

    Back to the top

    Powered by Savane 3.14-7003.
    Corresponding source code