Everything tests ok, once z and zb are cleaned up at the end of g520.ijs

(I actually sent this on Wednesday, but my email keeps replying to list stuff at ".../forums.jsoftware.com".)

Bill H.

On 12/13/23 13:30, Henry Rich wrote:
Fixed for the release.  Thanks for taking the time to report it.

The problem was in the special code for (atom { list), which reuses the x argument block for the result when possible to save an allocation.  It went too far, by reusing x even when y is boxed.  This works much of the time but not when executed under &.> .

Henry Rich

On 12/12/2023 1:06 PM, David Lambert wrote:
to the general forum?   "...to the J programming forum."


$ ijconsole

   JVERSION
Engine: j9.5.0-beta9/j64avx2/linux
Build: commercial/2023-12-06T14:16:14/clang-11-0-0/SLEEF=1
Library: 9.5.5
Platform: Linux 64
Installer: unknown
InstallPath: /usr/share/j/9.5
Contact: www.jsoftware.com

      combinations=: 4 : 0 NB. R.E.Boss
  if. x e. 0 1 do. z=.<((x!y),x)$ i.y
  else. t=. |.(<.@-:)^:(i.<. 2^.x)x
    z=.({.t) ([:(,.&.><@;\.)/ >:@-~[\i.@]) ({.t)+y-x
    for_j. 2[\t do.
z=.([ ;@:(<"1@[ (,"1 ({.j)+])&.> ])&.> <@;\.({&.><)~ (1+({.j)-~{:"1)&.>) z
      if. 2|{:j do. z=.(i.1+y-x)(,.>:)&.> <@;\.z end.
    end.
  end.
  ;z
)


   combinations&> table~#\i.5
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.
0000000000403132: ?:0:    ?
00007f096d64290f: ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0: ?
00007f0968cecb5a: ?:0:    ?
00007f0968cf3b12: ?:0:    ?
00007f0968cf3b92: ?:0:    ?
00007f0968cf3b92: ?:0:    ?
00007f0968cf41e8: ?:0:    ?
00007f0968cc1146: ?:0:    ?
00007f0968cee1c2: ?:0:    ?
00007f0968cb93a6: ?:0:    ?
00007f0968d00764: ?:0:    ?
00007f0968c69434: ?:0:    ?
00007f0968cab445: ?:0:    ?
00007f0968ca6c36: ?:0:    ?
00007f0968cee1c2: ?:0:    ?
00007f0968cb93a6: ?:0:    ?
00007f0968beba00: ?:0:    ?
00007f0968beb967: ?:0:    ?
00007f0968cee1c2: ?:0:    ?
00007f0968ceda0c: ?:0:    ?
00007f0968cf2e19: ?:0:    ?
00007f0968cdbaff: ?:0:    ?
00007f0968cdb8f1: ?:0:    ?
000000000040306f: ?:0:    ?
00007f096d6280cf: sysdeps/nptl/libc_start_call_main.h:58: __libc_start_call_main
00007f096d628188: csu/libc-start.c:360:    __libc_start_main_impl
00000000004024dd: ?:0:    ?
ffffffffffffffff: ?:0:    ?
-----------------------------------------------------------------------------
Aborted (core dumped)

respectfully, Dave.

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

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

Reply via email to