I can confirm the crash on Windows 7, j701 - 64 bit.
It apparently also crashes when this is not the first thing entered.
The variants just execute fine here.

Jan-Pieter

2013/5/22 Christopher Rosin <[email protected]>:
> The J interpreter was seg faulting when testing a program on random inputs.
> Narrowing down the problem, this phrase demonstrates the issue:
>    ((i."0 1) %)~ (?. 100 100 $ 0)
>
> This causes the J interpreter to crash with a segmentation fault.
> This happens with 64-bit j602a and j701a running on Ubuntu Linux (both
> 12.10 and 13.04),
> and 64-bit j701a for Mac (running under MacOS 10.6).
>
> The crash happens if the phrase above is the first thing typed into
> jconsole on these platforms.
>
> Under Linux (though not MacOS), this variant also seg faults under those
> conditions:
>    ((i."0 1) %)~ (?. 30 30 $ 0)
>
> But, strangely, if the following is instead the first thing typed in to
> jconsole:
>    ((i."0 1) %)~ (?. 20 20 $ 0)
> that doesn't seg fault, and then after that the 30 30 input can be
> completed successfully without seg faulting:
>    ((i."0 1) %)~ (?. 30 30 $ 0)
>
>
> -Chris
> ----------------------------------------------------------------------
> 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