There was a bug in (<<<x) { y that I introduced in beta-2.  I see your script uses that form.  beta-3 fixes the bug, and that's probably what the problem was.

hhr

On 6/5/2023 12:37 AM, Igor Zhuravlov wrote:
On Fri, 2 Jun 2023 at 8:20 PM bill lam <[email protected]> wrote:
Can you also check with beta3 available, should be available now?
With j9.5.0-beta3 both j64 and j64avx2, the crash is gone. BTW, there is no
crash with j904 and j9.4 .

The crash was presented with j9.5.0-beta2 only both j64 and j64avx2. Below is
the console session with jconsole and libj.so built from the repo with
_DEBUG=3 option:

user@host:~/gitdev/jsource/jlibrary/bin> LANG=C ./jconsole
    JVERSION
Engine: j9.5.0-beta2/j64/linux
Build: GPL3/2023-06-05T12:42:48/gcc-7-5/SLEEF=1
Library: 9.4.22
Platform: Linux 64
Installer: unknown
InstallPath: /home/user/gitdev/jsource/jlibrary
Contact: unknown
    load 'addons/math/mt/mt-crash.ijs'
JE has crashed, likely due to an internal bug.  Please report the code which
caused the crash, as well as the following printout, to the J programming
forum.
0000000000402973: jsrc/jconsole.c:74:   sigsegv
00007f34677dacff: ?:0:  ?
00007f3463107b6b: jsrc/m.c:1297:        jtgaf
00007f3463125c9c: jsrc/u.c:586: jtvib
00007f346309cf3f: jsrc/cc.c:45: jtcut02
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346311c8cb: jsrc/sc.c:181:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346311c8cb: jsrc/sc.c:181:        jtunquote
00007f3463098b62: jsrc/ca.c:103:        jtupon2cell
00007f34630ac0f4: jsrc/cf.c:20: fork120
00007f34630ab8d5: jsrc/cf.c:20: fork100
00007f34630988ed: jsrc/ca.c:100:        on1cell
00007f346311c8cb: jsrc/sc.c:181:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f346310d316: jsrc/p.c:289: jtparse
00007f346310fec9: jsrc/px.c:36: jtexec1
00007f3463290aa2: jsrc/xt.c:80: jtspit
00007f34630ab8d5: jsrc/cf.c:20: fork100
00007f346311c8cb: jsrc/sc.c:181:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346311c8cb: jsrc/sc.c:181:        jtunquote
00007f34630989ba: jsrc/ca.c:100:        on1cell
00007f34630cbf30: jsrc/cp.c:245:        jtpowv1cell
00007f34630ac016: jsrc/cf.c:20: fork120
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f346310d316: jsrc/p.c:289: jtparse
00007f3463110303: jsrc/px.c:54: jtimmex
00007f346328f299: jsrc/xs.c:80: jtline
00007f346328f4c3: jsrc/xs.c:142:        jtlinf
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f34630989ba: jsrc/ca.c:100:        on1cell
00007f346311c55a: jsrc/sc.c:163:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346311c55a: jsrc/sc.c:163:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f34630e5e82: jsrc/cx.c:426:        jtxdefn
00007f346311c55a: jsrc/sc.c:163:        jtunquote
00007f346310bb04: jsrc/p.c:757: jtparsea
00007f346310d316: jsrc/p.c:289: jtparse
00007f3463110303: jsrc/px.c:54: jtimmex
00007f34630fd81a: jsrc/io.c:382:        jtimmexexecct
00007f34630ff14a: jsrc/io.c:418:        jdo
00007f34630ff1a5: jsrc/io.c:523:        JDo
0000000000402366: jsrc/jconsole.c:393:  main
00007f34677c524c: ?:0:  ?
0000000000402789: sysdeps/x86_64/start.S:120:   _start
ffffffffffffffff: ?:0:  ?
-----------------------------------------------------------------------------
Segmentation fault (core dumped)

So, the problem is solved in current JE version. Thank you!


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

Reply via email to