D4GL (4js) COFF get segmentation violation
Iv'e got a work around by making /usr/fgl2c an tmpfs at startup, so something to do with the size of the data staructures or inodes being returned on this particular VM. where tge root fs is /dev/nvme0n1p2 60G 6.5G 54G 11% / I created my o\wn test AWS rhel8 machine (default free image), and it had no issue.
sh-4.2# file /usr/fgl2c/bin/fglWrt /usr/fgl2c/bin/fglWrt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped sh-4.2# this also works fine on my inhouse rhel8 but not on the AWS rhel8
sh-4.2# file /usr/fgl2c/bin/fglWrt /usr/fgl2c/bin/fglWrt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped sh-4.2#
Since the origianl post, I have also found that 1 32bit satically linked linux ELF binary fglWrt that is the the user license manager that comes with the informix 4gl also exhibits a similar problem when run with the -u option to verify users. sh-4.4# fglWrt -u ERROR(-6071):Cannot use directory '/usr/fgl2c/lock'. Check FGLDIR and verify if access rights are 'drwxrwxrwx'. running a system trace.... sh-4.4# (strace /usr/fgl2c/bin/fglWrt -u 2>&1) >fglWrt_u.strace fglWrt_u.strace attached, see line 53...
forgot to add.. these are the lines in the trace files I believe where I'm hitting the problem.. In callextdet_22220107.strace line 481: read(7, ERROR(-6071):Cannot use directory '/usr/fgl2c/lock'. In ibcs-us_callextdet_20220107.trace line 530: read(7, 0x00475A4C, 1024) read returns 1 (edx:1)
read(7, ERROR(-6071):Cannot use directory '/usr/fgl2c/lock'.
Thanks Russell, I will see if I can get access. -- reply above this line -- Rodney Sheppard Software Engineer - Development Manager Trans-Mit Pty. Ltd. 7 Wendy Court Hampton Park, Vic 3976, Australia Phone... +61 3 87878744 Email...... rod@transmit.com.au Web....... www.transmit.com.au ----- Original Message ----- From: Russell Stuart To: [ibcs-us:tickets] Sent: Wednesday, January 06, 2021 9:21 PM Subject: [ibcs-us:tickets] #5 error running SCO coff on RHEL8 At long last I've had a chance to have...