Control: tags -1 + moreinfo

Dear Leonardo,

Le lundi 08 novembre 2021 à 13:18 +0000, Leonardo Vainsencher a écrit :
The following code causes 'Segmentation fault' when inv() is
executed:
%%% begin octave code %%%
 pkg load io 
 w = exp(-1i*pi/3); 
 P_6x6 = [ 1, -1,    1,    1,    1,    -1; ...
           1, -w,    w^2,  w^3,  w^4,  -w^5; ...
           1, -w^2,  w^4,  w^6,  w^8,  -w^10; ...
           1, -w^3,  w^6,  w^9,  w^12, -w^15; ...
           1, -w^4,  w^8,  w^12, w^16, -w^20; ...
           1, -w^5,  w^10, w^15, w^20, -w^25];
 Pi_6x6 = inv(P_6x6); % causes segfault
 D_6x6  = det(P_6x6); % causes segfault
%%% end octave code %%%

Octave run command (bash):
 octave-cli --no-init-file

If `pkg load io` is omitted, no segfault occurs (io package is a
dependency
of communications). If pinv() is used instead of inv(), segfault does
not
occur either.

Thanks for your bug report.

I am unable to replicate your problem. This code works fine for me
(tested on both Debian stable and unstable).

Can you provide a full backtrace of the segfault? For instructions,
see:
https://wiki.debian.org/HowToGetABacktrace

Can you also report the output of the following command:
 octave --eval "version -blas"

Best,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to