On debian J32:
./jlibrary/bin/jconsole
   ?. 1 $ 1x
Segmentation fault


On 4/24/21 2:39 PM, Henry Rich wrote:
I can reproduce this, I think - it's on the last line that takes 15 minutes.  The other methods didn't fail.

Thanks for an ingenious failure case!

Henry Rich

On 4/24/2021 1:55 PM, Clifford Reiter wrote:
Hi,

I believe I have found a repeatable way to crash J using ?1x via having
read some big data first. Covid makes J ill?

Best, Cliff


JVERSION

Engine: j902/j64avx2/windows

Release-a: commercial/2020-12-05T13:36:01

Library: 9.02.08

Qt IDE: 1.9.2s/5.12.10(5.12.10)

Platform: Win 64

Installer: J902 install

InstallPath: c:/program files/j902

Contact: www.jsoftware.com

+/0~:r=:?"0 (10000)$1x NB. runs in a blink

0

load 'files'

load 'web/gethttp'

load '~addons/tables/csv/csv.ijs'

+/0~:r=:?"0 (10000)$1x NB. runs in a blink

0

$x=:gethttp '
https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv
'

51360740

]x fwrite 'c:\d\us-counties.csv'

51360740

$x=:readcsv 'c:\d\us-counties.csv'

1251556 6

+/0~:r=:?"0 (10000)$1x NB. takes 15 min & result nonzero

8

NB. (0 ~:r)# r NB. crashes J

On Sat, Apr 24, 2021 at 11:44 AM Raul Miller <[email protected]> wrote:

I was not able to reproduce that problem, either.

(Just to confirm...)

FYI,

--
Raul

On Sat, Apr 24, 2021 at 11:05 AM Henry Rich <[email protected]> wrote:
In my home version I get

     +/ 0 ~: ?"0 (10000) $ 1x
0

and cannot produce an error.

If you compiled this yourself you're probably going to have to debug it
yourself.  Crashes in thorn1main are happening during typeout of the
result.  Probably an extended-integer value has a bad pointer.

Henry Rich

On 4/24/2021 12:24 AM, ethiejiesa via General wrote:
Can anyone reproduce this on j902-b?

         ?. 100 $ 1x
      Segmentaton fault

It also happens for smaller arrays, but less consistently:

         ?. 5 $ 1x
      0 0 0 0 0 0 0 0
      ...
         ?. 5 $ 1x
      Segmentation fault

I cannot reproduce the crash in either j901-f or j903-h; however, in
either
version I occasionally see strange results like the following:

      $ ijconsole-902-b
         ? 1x
      ...
         ? 1x
      _5888

      $ ijconsole-903-h
         ? 1x
      ...
         ? 1x
      _255
         ? 1x
      _256

Version info:

      j903-h/j64avx2/linux/beta/GPL3/
guix.gnu.org/2021-04-17T10:40:45/clang-9-0-1/SLEEF=1
      j902-b/j64avx2/linux/release/GPL3/
guix.gnu.org/2021-04-17T10:34:43/clang-9-0-1/SLEEF=1
      j901-f/j64avx2/linux/release/GPL3/
guix.gnu.org/2021-04-24T04:01:38
The above were compiled locally from these sources:

      https://github.com/jsoftware/jsource/releases/tag/j903-beta-h
      https://github.com/jsoftware/jsource/releases/tag/j902-release-b
      https://github.com/jsoftware/jsource/releases/tag/j901-release-f

FWIW, here is the gdb backtrace for the crash:

#0  0x00007ffff771e4ad in jtthxqe () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#1  0x00007ffff771f19c in jtthorn1main () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#2  0x00007ffff77222dd in jtjprx () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#3  0x00007ffff7723ebd in jtjpr1 () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#4  0x00007ffff7723d6c in jtjpr () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#5  0x00007ffff773d8a8 in jtimmex () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#6  0x00007ffff772db51 in jdo () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#7  0x00007ffff772e020 in JDo () from
/gnu/store/bf72x9cw5lwyj14vcn93gzlfwf4907r2-jlib-902-b/lib/j/j64avx2/libj.so
#8  0x0000000000402dd6 in main ()
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

--
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
----------------------------------------------------------------------
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