debian J64 latest.  If I just run J, I get:
$ USE_OPENMPI=2 ./jlibrary/bin/jconsole
   ?. 100 $ 1x
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 _90024

but if I run tsu.ijs first I get (using gdb):

$ USE_OPENMPI=2 gdb ./jlibrary/bin/jconsole
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./jlibrary/bin/jconsole...
(gdb) r
Starting program: /home/wheagy/git/jsource/jlibrary/bin/jconsole
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 81972]
[Detaching after vfork from child process 81974]
[Detaching after vfork from child process 81976]
   JVERSION
Engine: j903/j64avx2/linux
Beta: GPL3/2021-04-24T12:03:06
Library: 9.03.03
Platform: Linux 64
Installer: unknown
InstallPath: /home/wheagy/git/jsource/jlibrary
Contact: unknown
   load'test/tsu.ijs'
see: tsu_notes, tsu_usage, tsu_pacman, and tsu_jd

   RUN  ddall  NB. report scripts that fail
   RECHO ddall NB. echo script names as run and final count of failures

j903/j64avx2/linux/beta/GPL3/unknown/2021-04-24T12:03:06/clang-11-0-1/SLEEF=1
   ?. 100 $ 1x

Program received signal SIGSEGV, Segmentation fault.
jtthx1 (jt=jt@entry=0x41e200, w=0x31203a3d01650000) at ../../../../jsrc/f.c:249
249      n=AN(w); v=AV(w)+n-1; b=0>*v;
(gdb) bt
#0  jtthx1 (jt=jt@entry=0x41e200, w=0x31203a3d01650000)
    at ../../../../jsrc/f.c:249
#1  0x00007ffff7693d2e in jtthxqe (jt=<optimized out>, jt@entry=0x41e200,
    w=w@entry=0x4e4600) at ../../../../jsrc/f.c:287
#2  0x00007ffff769544b in jtthorn1main (jt=jt@entry=0x41e200,
    w=w@entry=0x4e4600, prxthornuni=0x7ffff7a54100 <Bnum+960>)
    at ../../../../jsrc/f.c:557
#3  0x00007ffff7699f3f in jtthorn1u (jt=<optimized out>, w=0x4e4600)
    at ../../../../jsrc/f.c:608
#4  jtjprx (jt=jt@entry=0x41e200, ieol=0, maxlen=256, lb=0, la=222,
    w=w@entry=0x4e4600) at ../../../../jsrc/f.c:727
#5  0x00007ffff769c3d3 in jtjpr1 (jt=jt@entry=0x41e200, w=0x10,
    w@entry=0x4e4600) at ../../../../jsrc/f.c:872
#6  0x00007ffff769c16c in jtjpr (jt=<optimized out>, w=w@entry=0x4e4600)
    at ../../../../jsrc/f.c:892
#7  0x00007ffff76bc78c in jtimmex (jt=<optimized out>, w=<optimized out>)
    at ../../../../jsrc/px.c:53
#8  0x00007ffff76a80cb in jdo (jt=0x41e000, lp=<optimized out>)
    at ../../../../jsrc/io.c:371
#9  0x00007ffff76a7d49 in JDo (jt=0x41e200,
lp=0x31203a3d01650000 <error: Cannot access memory at address 0x31203a3d01650000>) at ../../../../jsrc/io.c:473
#10 0x0000000000403110 in main (argc=<optimized out>, argv=<optimized out>)
    at ../../../../jsrc/jconsole.c:313
(gdb)


On 4/24/21 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