On Mon, Jan 30, 2023 at 10:59 AM bill lam <[email protected]> wrote:

> Igor, what is the version number of your system libgmp?

Both notebook and desktop PC have the same libgmp10 version installed:

user@notebook:~> LANG=C ls -l /usr/lib64/libgmp*
lrwxrwxrwx 1 root root     16 Nov 18  2021 /usr/lib64/libgmp.so.10 -> 
libgmp.so.10.3.2
-rwxr-xr-x 1 root root 615352 Nov 18  2021 /usr/lib64/libgmp.so.10.3.2

user@notebook:~> rpm -qf /usr/lib64/libgmp.so.10
libgmp10-6.1.2-4.9.1.x86_64

user@notebook:~> rpm -qf /usr/lib64/libgmp.so.10.3.2
libgmp10-6.1.2-4.9.1.x86_64

> Can you also try the following sentences to confirm whether it will crash
> or not?
> 
> (-/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1
> 
> (+/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1

On the notebook:

user@notebook:~/j904> LANG=C ./jconsole.sh 
   JVERSION
Engine: j904/j64avx/linux
Beta-j: commercial/2023-01-07T02:27:29
Library: 9.04.11
Platform: Linux 64
Installer: J904 install
InstallPath: /home/user/j904
Contact: www.jsoftware.com
   x: 1000
1000
   (-/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1
realloc(): invalid old size
./jconsole.sh: line 6: 14219 Aborted                 (core dumped) bin/jconsole 
"$@"

user@notebook:~/j904> LANG=C ./jconsole.sh 
   (+/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1
realloc(): invalid old size
./jconsole.sh: line 6: 14239 Aborted                 (core dumped) bin/jconsole 
"$@"

On the desktop PC:

user@desktop:~/j904> LANG=C ./jconsole.sh 
  JVERSION 
Engine: j904/j64avx2/linux 
Beta-j: commercial/2023-01-07T02:29:00 
Library: 9.04.10 
Platform: Linux 64 
Installer: J904 install 
InstallPath: /home/user/j904 
Contact: www.jsoftware.com 
  x: 1000 
1000 
  (-/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1 
_ 
  (+/ .*)x: 4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1 
|NaN error, executing dyad +"0 0 
|x and y are infinities of opposite sign 
| (+/ .*)x:4 4$_ __ 0 0 1 1 0 0 0 0 1 0 0 0 0 1
   exit ''

I'd like to clarify, desktop PC has system's libgmp.so :
  /usr/lib64/libgmp.so.10.3.2
copied into:
  /home/user/j904/bin/libgmp.so .
Seems like I've copied it right after OS upgrade in order to fix J, and
forgot completely about it. That is why desktop PC ran without problems
at the moment when I reported a crash at notebook.

--
Regards,
Igor


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to