FS#76785 - [octave] testsuite fails in logspace.m with assertion from std::polar()

Attached to Project: Community Packages
Opened by Uwe Koloska (kolewu) - Friday, 09 December 2022, 12:44 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 08:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The testsuite `runtests()` crashes in `logspace.m` with this message:

/usr/include/c++/12.2.0/complex:703: std::complex<_Tp> std::polar(const _Tp&, const _Tp&) [with _Tp = double]:
Assertion '__rho >= 0' failed.
fatal: caught signal Aborted -- stopping myself...

Additional info:
* package version(s): octave 7.3.0-2
* Upstream thinks that this is a libstc++ bug:
** https://savannah.gnu.org/bugs/?55547
** https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107538

Steps to reproduce:
pacman -S octave texinfo
octave --eval 'runtests("/usr/share/octave/7.3.0/m/general")'

Workaround:
Compile octave without `_GLIBCXX_ASSERTIONS`
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 02 September 2023, 08:27 GMT
Reason for closing:  Upstream
Additional comments about closing:  This should be fixed upstream
Comment by Toolybird (Toolybird) - Friday, 09 December 2022, 23:42 GMT
We are not running `make check' for this pkg...but we probably should.

Loading...