I cannot reproduce this on the system I am working on, which is a few weeks later than your beta.  See if it's fixed in the next beta.

Your last 2 sentences, (4&$.)"1 sa and   (3&$.)"1 sa, give me the same results on older systems and I am assuming they are OK.

Henry Rich



On 7/9/2021 1:44 AM, Igor Zhuravlov wrote:
user@host:~/j903$ ./jconsole.sh
    JVERSION
Engine: j903/j64/linux
Beta-l: commercial/2021-06-17T12:57:13
Library: 9.03.06
Platform: Linux 64
Installer: J903 install
InstallPath: /home/user/j903
Contact: www.jsoftware.com
    $.^:_1 sa=. 1 (0 0 ; 1 1)} 1 $. 2 2 ; 0 01 ; 00
1 0
0 1
    datatype sa
sparse integer
    <@(4&$.)"1 sa
./jconsole.sh: line 6: 10196 Segmentation fault                   (core dumped) 
bin/jconsole "$@"

user@host:~/j903/bin$ ldd libj.so
        linux-vdso.so.1 (0x00007ffc90ba7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f669df26000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f669df20000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f669dd2e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f669e610000)

root@host:/# coredumpctl gdb 10196
...
Reading symbols from /home/user/j903/bin/jconsole...
(No debugging symbols found in /home/user/j903/bin/jconsole)
[New LWP 10196]
Core was generated by `bin/jconsole'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fdbdc6c53e2 in jtra () from /home/user/j903/bin/libj.so
(gdb) bt
#0  0x00007fdbdc6c53e2 in jtra () from /home/user/j903/bin/libj.so
#1  0x00007fdbdc6c5a6f in jtgc () from /home/user/j903/bin/libj.so
#2  0x00007fdbdc69a4e3 in jtsprank1 () from /home/user/j903/bin/libj.so
#3  0x00007fdbdc6c89db in jtparsea () from /home/user/j903/bin/libj.so
#4  0x00007fdbdc6c80ad in jtparse () from /home/user/j903/bin/libj.so
#5  0x00007fdbdc6cc2d4 in jtimmex () from /home/user/j903/bin/libj.so
#6  0x00007fdbdc6bc5d7 in jdo () from /home/user/j903/bin/libj.so
#7  0x00007fdbdc6bc3e4 in JDo () from /home/user/j903/bin/libj.so
#8  0x0000000000402dc0 in main ()
(gdb) quit

The following sentence gives SIGSEGV, too:
    <@($.^:_1)"1 sa

This sentence gives JE error:
    (4&$.)"1 sa
|domain error
|       (4&$.)"1 sa

This sentence gives sparse result instead of dense:
    (3&$.)"1 sa
0 │ 0
1 │ 0



--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to