On debian
   JVERSION
Engine: j806/j32/linux
Beta: GPL3/2018-12-09T17:16:30
Library: 8.07.20
Platform: Linux 32
Installer: unknown
InstallPath: /home/wheagy/jbld/j32
Contact: [email protected]


load 'plot'
d=: 4 : '''pensize 3'' plot ;/ |: 2{."1 x points/\. 0,~ |. ($~(4*x)*#) y' points=: 1 : '((4*m)|[+{:@]) ,~ (2&{.)@] + (3 : ''|:(,:y|.])(,-)}:y-|i: y''m) {~ (4*m)|[+{:@]' 90 d 7 13 270 9 29 240 *** Error in `/home/wheagy/jbld/j32/bin/jconsole': double free or corruption (!prev): 0x09e31060 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb762538a]
/lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb762bfc7]
/lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb762c806]
/home/wheagy/jbld/j32/bin/libj.so(jtmf+0x88)[0xb7383258]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:01 1557179 /home/wheagy/jbld/j32/bin/jconsole 0804a000-0804b000 r--p 00001000 08:01 1557179 /home/wheagy/jbld/j32/bin/jconsole 0804b000-0804c000 rw-p 00002000 08:01 1557179 /home/wheagy/jbld/j32/bin/jconsole
0804c000-08053000 rw-p 00000000 00:00 0
0980d000-09e7a000 rw-p 00000000 00:00 0          [heap]
af100000-af121000 rw-p 00000000 00:00 0
af121000-af200000 ---p 00000000 00:00 0
af2fe000-af33f000 rw-p 00000000 00:00 0
af33f000-af38a000 r-xp 00000000 08:01 2138257 /lib/i386-linux-gnu/libblkid.so.1.1.0 af38a000-af38c000 r--p 0004a000 08:01 2138257 /lib/i386-linux-gnu/libblkid.so.1.1.0 af38c000-af38d000 rw-p 0004c000 08:01 2138257 /lib/i386-linux-gnu/libblkid.so.1.1.0
af38d000-af38e000 rw-p 00000000 00:00 0 ...........

(memory map truncated - you can have the rest if you want)


On 2018-12-14 2:58 p.m., 'robert therriault' via Programming wrote:
Hi Devon,

The sequence you provided works doesn't crash for me for jqt on a mac.

     JVERSION
Engine: j807/j64/darwin
Release: commercial/2018-10-05T11:55:35
Library: 8.07.20
Qt IDE: 1.7.9/5.9.6
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/bobtherriault/j64-807
Contact: www.jsoftware.com

No crashes on console either.

Engine: j807/j64/darwin
Release: commercial/2018-10-05T11:55:35
Library: 8.07.20
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/bobtherriault/j64-807
Contact: www.jsoftware.com

However the display is not consistent, as sometimes the plot looks like a 
Spirograph design (like a rotated rectangle in place without refresh) and 
sometimes it looks like two straight lines (one vertical and one connected 
around the midpoint of the vertical and extended at an angle downwards - ASCII 
art below although the slope is not as steep as shown). Spirograph display has 
x-axis _300 to 50, two line display is 0 to 1.4e14
   |
   |\
   | \

So, something seems to be going on. I only noticed this after running the 
sequence on an instance of jqt and jconsole at the same time and even then it 
was not consistent.

Hope this helps,

Cheers, bob

On Dec 14, 2018, at 11:23 AM, Devon McCormick <[email protected]> wrote:

I can reproduce it in 8.07 but not 8.06:
load 'plot'
d=: 4 : '''pensize 3'' plot  ;/ |: 2{."1  x points/\. 0,~  |. ($~(4*x)*#) y'
points=: 1 : '((4*m)|[+{:@]) ,~ (2&{.)@] + (3 : ''|:(,:y|.])(,-)}:y-|i: y''
m) {~ (4*m)|[+{:@]'
90 d 7 13 270 9 29 290
90 d 7 13 270 9 29 240

Sometimes it fails on the second-to-last line but, so far, by the last one
5 out of 5 times.

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