usim

View Ticket
Login
Ticket Hash: c08e0439aca49ba14725819cc8492e09855fb437
Title: segfault in usim while creating a directory from lispm side
Status: Open Type: Code_Defect
Severity: Critical Priority:
Subsystem: Resolution:
Last Modified: 2023-02-01 21:39:53
Version Found In:
User Comments:
ams added on 2023-02-01 21:39:53:

When doing something along the lines of:

 (setq *fprint-test-file* (FS:MAKE-PATHNAME :HOST (send (send (fs:parse-pathname "SYS:VERIFY;")
								:host)
							  :host)
					     :DIRECTORY "TMP"
					     :NAME "FPRINT"
					     :TYPE "TST"))
 (FS:CREATE-DIRECTORY *fprint-test-file*)

The following segfault occurs:

 parseargs (args=args@entry=0x7fffe7b8fc9e "\215/tmp/fprint.tst\215", c=c@entry=0x555555585940 <commands+480>, t=t@entry=0x7fffe0004ab0) at /home/aszmidt/l/usim/../chaos/cmd/FILE.c:971
 971         if (c->c_syntax[0] == END)
 (gdb) bt
 #0  parseargs (args=args@entry=0x7fffe7b8fc9e "\215/tmp/fprint.tst\215", c=c@entry=0x555555585940 <commands+480>, t=t@entry=0x7fffe0004ab0) at /home/aszmidt/l/usim/../chaos/cmd/FILE.c:971
 #1  0x000055555556846f in getwork () at /home/aszmidt/l/usim/../chaos/cmd/FILE.c:947
 #2  0x0000555555568b7b in _processdata (conn=<optimized out>) at /home/aszmidt/l/usim/../chaos/cmd/FILE.c:728
 #3  0x00007ffff7cf9d6a in start_thread (arg=<optimized out>) at pthread_create.c:442
 #4  0x00007ffff7d7972c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81