[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65866] make check: Fatal segmentation fault w
From: |
Atri Bhattacharya |
Subject: |
[Octave-bug-tracker] [bug #65866] make check: Fatal segmentation fault when running image/getframe.m test |
Date: |
Mon, 10 Jun 2024 08:57:12 -0400 (EDT) |
Follow-up Comment #2, bug #65866 (group octave):
Many thanks for the quick response.
[comment #1 comment #1:]
> Thank you for the report.
>
> There is a known compatibility issue with Qt6 6.7.x in Octave 9.1.0. But
that should have been addressed by the changes for Octave 9.2.0.
>
> ISTR that we have seen on other platforms (Windows iirc) that some headless
runners have issues with that particular test.
> ISTR, that running the test suite with `make check
RUN_OCTAVE_OPTIONS="--no-gui-libs"` worked around that issue.
> Using that flag means that `octave-cli` (instead of `octave-gui`) will be
used for the test suite. That executable doesn't link to libgui (that is used
for the OpenGL graphics toolkits among other things). That also means that the
tests for getframe.m (and some other files) will be skipped.
>
Just tested that this works. So, indeed, this might be an issue with how
xvfb-run is working inside the build system chroot. Weird thing is that the
other GUI tests work, and our previously packaged version 8.4.0 also had the
full test-suite running without any issue.
>
> Is xvfb correctly configured? Does Mesa work correctly on the runners that
are used for that test?
>
I am going to test this more rigorously and try to figure out what is going on
but, in the meantime, the "no-gui-libs" workaround should be just fine.
> If you opt in to the workaround with `--no-gui-libs`, please test manually
that `test getframe` doesn't crash Octave on a local installation (with head).
After all, that could be an issue in the GUI libraries that is not only
triggered on headless systems.
Tested this, and it works:
~> octave --version
GNU Octave, version 9.2.0
Copyright (C) 1993-2024 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.
Octave was configured for "x86_64-suse-linux-gnu".
Home page: https://octave.org
Support resources: https://octave.org/support
Improve Octave: https://octave.org/get-involved
~> octave --eval "test getframe"
PASSES 2 out of 2 tests
Thanks again for the help.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65866>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/