I'm glad you reported that. I tried again & it crashed, and I found for
sure what happened this time. Fixed in next beta.
Henry RIch
On 7/23/2020 5:05 PM, Bill Heagy wrote:
I've see both cases segfault on debian j64, latest source update,
(maybe second-latest, the latest is "Remove character codes :. :: t.
T. T: x. y.") compiled with clang or gcc. Here's what gdb says for
the second case:
$ OMP_NUM_THREADS=2 gdb jlibrary/bin/jconsole
GNU gdb (Debian 9.2-1) 9.2
Copyright (C) 2020 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:
<http://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 71738]
[Detaching after vfork from child process 71740]
[Detaching after vfork from child process 71742]
(2 ((</)`(<:/)`(</))\ ]) ((,:~<.)@:*:@:(3&%:),~
3(,:>.)@:%:(*:-]))@:*: }.1+i.10
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76fa900 in jtinfixprefix2 (jt=<optimized out>, a=<optimized
out>,
w=0x440840, self=<optimized out>) at ../../../../jsrc/ap.c:534
534 if(((VAV(fs)->id^CSLASH)|((ilnabs|(wi&(SGNTO0(ilnval))))^2))){ //
char==/ and (ilnabs==2, but not if input array is odd and ilnval is neg)
(gdb)
On 7/23/20 4:13 PM, Henry Rich wrote:
The crash was intermittent for me, but I think it was caused by
uninitialized memory. I reassigned the internal character codes and
the uninitialized memory suddenly became meaningful. I have fixed
that problem for the next beta. I hope that is what you were seeing.
Henry Rich
On 7/22/2020 10:26 AM, R.E. Boss wrote:
2 ((</)`(<:/)`(</))\ ((,:~<.)@:*:@:(3&%:),~
3(,:>.)@:%:(*:-]))@:*: }.1+i.10
1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 1 0 0
1 1 1 1 1 1 0 1 1
(2 ((</)`(<:/)`(</))\ ]) ((,:~<.)@:*:@:(3&%:),~
3(,:>.)@:%:(*:-]))@:*: }.1+i.10
This last line crashes J, why?
JVERSION
Engine: j902/j64/windows
Beta-c: commercial/2020-07-20T15:00:44
Library: 9.02.03
Qt IDE: 1.8.7/5.12.7(5.12.7)
Platform: Win 64
Installer: J902 install
InstallPath: c:/program files/j902
Contact: www.jsoftware.com
Apart from that, after updating base library from version 9.2.3 to
9.2.4, it still gives (in package manager) Installed 9.2.3 and
Latest 9.2.4
I do have administrator rights.
R.E. Boss
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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