> ktrace -i -f oneshot.trace -t+ ./oneshot.sh > kdump -f oneshot.trace KTRACE OUTPUT =============================================================================== 589 1 ktrace EMUL "netbsd" 589 1 ktrace RET ktrace 0 589 1 ktrace CALL execve(0x7f7ffffffe47,0x7f7fffffdc98,0x7f7fffffdca8) 589 1 ktrace NAMI "./oneshot.sh" 589 1 ktrace NAMI "/bin/sh" 589 1 ktrace NAMI "/libexec/ld.elf_so" 589 1 sh EMUL "netbsd" 589 1 sh RET syscall JUSTRETURN 589 1 sh CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0) 589 1 sh RET mmap 140187598290944/0x7f7ff7ff8000 589 1 sh CALL open(0x7f7ff7c0d46d,0,0) 589 1 sh NAMI "/etc/ld.so.conf" 589 1 sh RET open -1 errno 2 No such file or directory 589 1 sh CALL open(0x7f7fffffd4d8,0,0x2e7469646562696c) 589 1 sh NAMI "/lib/libedit.so.3" 589 1 sh RET open 3 589 1 sh CALL __fstat50(3,0x7f7fffffd3f8) 589 1 sh RET __fstat50 0 589 1 sh CALL mmap(0,0x1000,1,1,3,0,0) 589 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 589 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 589 1 sh RET munmap 0 589 1 sh CALL mmap(0,0x22f000,5,0x15000002,3,0,0) 589 1 sh RET mmap 140187589935104/0x7f7ff7800000 589 1 sh CALL mmap(0x7f7ff7a29000,0x3000,3,0x12,3,0,0x29000) 589 1 sh RET mmap 140187592200192/0x7f7ff7a29000 589 1 sh CALL mmap(0x7f7ff7a2c000,0x3000,3,0x1012,0xffffffff,0,0) 589 1 sh RET mmap 140187592212480/0x7f7ff7a2c000 589 1 sh CALL mprotect(0x7f7ff7829000,0x200000,0) 589 1 sh RET mprotect 0 589 1 sh CALL close(3) 589 1 sh RET close 0 589 1 sh CALL open(0x7f7fffffd4d8,0,0x696d72657462696c) 589 1 sh NAMI "/lib/libterminfo.so.1" 589 1 sh RET open 3 589 1 sh CALL __fstat50(3,0x7f7fffffd3f8) 589 1 sh RET __fstat50 0 589 1 sh CALL mmap(0,0x1000,1,1,3,0,0) 589 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 589 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 589 1 sh RET munmap 0 589 1 sh CALL mmap(0,0x20d000,5,0x15000002,3,0,0) 589 1 sh RET mmap 140187585740800/0x7f7ff7400000 589 1 sh CALL mmap(0x7f7ff760c000,0x1000,3,0x12,3,0,0xc000) 589 1 sh RET mmap 140187587887104/0x7f7ff760c000 589 1 sh CALL mmap(0x7f7ff760d000,0,3,0x1012,0xffffffff,0,0) 589 1 sh RET mmap 140187587891200/0x7f7ff760d000 589 1 sh CALL mprotect(0x7f7ff740c000,0x200000,0) 589 1 sh RET mprotect 0 589 1 sh CALL close(3) 589 1 sh RET close 0 589 1 sh CALL open(0x7f7fffffd4d8,0,0x2e6f732e6362696c) 589 1 sh NAMI "/lib/libc.so.12" 589 1 sh RET open 3 589 1 sh CALL __fstat50(3,0x7f7fffffd3f8) 589 1 sh RET __fstat50 0 589 1 sh CALL mmap(0,0x1000,1,1,3,0,0) 589 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 589 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 589 1 sh RET munmap 0 589 1 sh CALL mmap(0,0x329000,5,0x15000002,3,0,0) 589 1 sh RET mmap 140187581546496/0x7f7ff7000000 589 1 sh CALL mmap(0x7f7ff730c000,0xd000,3,0x12,3,0,0x10c000) 589 1 sh RET mmap 140187584741376/0x7f7ff730c000 589 1 sh CALL mmap(0x7f7ff7319000,0x10000,3,0x1012,0xffffffff,0,0) 589 1 sh RET mmap 140187584794624/0x7f7ff7319000 589 1 sh CALL mprotect(0x7f7ff710c000,0x200000,0) 589 1 sh RET mprotect 0 589 1 sh CALL close(3) 589 1 sh RET close 0 589 1 sh CALL _lwp_setprivate(0x7f7ff7ffc040) 589 1 sh RET _lwp_setprivate 0 589 1 sh CALL _lwp_self 589 1 sh RET _lwp_self 1 589 1 sh CALL __sysctl(0x7f7fffffdb88,2,0x7f7ff7327220,0x7f7fffffdb80,0,0) 589 1 sh RET __sysctl 0 589 1 sh CALL _lwp_self 589 1 sh RET _lwp_self 1 589 1 sh CALL _lwp_self 589 1 sh RET _lwp_self 1 589 1 sh CALL _lwp_self 589 1 sh RET _lwp_self 1 589 1 sh CALL issetugid 589 1 sh RET issetugid 0 589 1 sh CALL getpid 589 1 sh RET getpid 589/0x24d, 607/0x25f 589 1 sh CALL __sysctl(0x7f7fffffd6c0,2,0x7f7ff7320790,0x7f7fffffd6b8,0,0) 589 1 sh RET __sysctl 0 589 1 sh CALL __sysctl(0x7f7fffffd5e0,2,0x7f7ff73282e0,0x7f7fffffd5d8,0,0) 589 1 sh RET __sysctl 0 589 1 sh CALL readlink(0x7f7ff70f0194,0x7f7fffffd6d0,0x400) 589 1 sh NAMI "/etc/malloc.conf" 589 1 sh RET readlink -1 errno 2 No such file or directory 589 1 sh CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 589 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 589 1 sh CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 589 1 sh RET mmap 140187598282752/0x7f7ff7ff6000 589 1 sh CALL mmap(0,0x100000,3,0x14001002,0xffffffff,0,0) 589 1 sh RET mmap 140187593080832/0x7f7ff7b00000 589 1 sh CALL geteuid 589 1 sh RET geteuid 0 589 1 sh CALL __stat50(0x41a205,0x7f7fffffdb00) 589 1 sh NAMI "." 589 1 sh RET __stat50 0 589 1 sh CALL __stat50(0x7f7ffffffe76,0x7f7fffffda60) 589 1 sh NAMI "/workzone/ACATS" 589 1 sh RET __stat50 0 589 1 sh CALL open(0x7f7ffffffe48,0,0x2e) 589 1 sh NAMI "./oneshot.sh" 589 1 sh RET open 3 589 1 sh CALL lseek(3,0,0,0) 589 1 sh RET lseek 0 589 1 sh CALL read(3,0x7f7fffffdb80,4) 589 1 sh GIO fd 3 read 4 bytes "#!/b" 589 1 sh RET read 4 589 1 sh CALL lseek(3,0,0,0) 589 1 sh RET lseek 0 589 1 sh CALL fcntl(3,0,0xa) 589 1 sh RET fcntl 10/0xa 589 1 sh CALL close(3) 589 1 sh RET close 0 589 1 sh CALL fcntl(0xa,2,1) 589 1 sh RET fcntl 0 589 1 sh CALL getuid 589 1 sh RET getuid 0 589 1 sh CALL geteuid 589 1 sh RET geteuid 0 589 1 sh CALL getgid 589 1 sh RET getgid 0 589 1 sh CALL getegid 589 1 sh RET getegid 0 589 1 sh CALL open(0x7f7ffffffe59,0,0x7f7ff7b06080) 589 1 sh NAMI "/root/.shrc" 589 1 sh RET open 3 589 1 sh CALL fcntl(3,2,1) 589 1 sh RET fcntl 0 589 1 sh CALL read(3,0x7f7ff7b0a400,0x3f8) 589 1 sh GIO fd 3 read 221 bytes "# $NetBSD: dot.shrc,v 1.8 2007/11/24 11:14:41 pavel Exp $\n\nif \ [ -f /etc/shrc ]; then\n . /etc/shrc\nfi\n\nhup(){ (read pid; k\ ill -HUP $pid) /dev/null ) && set -o tabcomplete\n\ ;;\nesac\n" 589 1 sh RET read 419/0x1a3 589 1 sh CALL read(0xb,0x7f7ff7b0a800,0x3f8) 589 1 sh GIO fd 11 read 0 bytes "" 589 1 sh RET read 0 589 1 sh CALL close(0xb) 589 1 sh RET close 0 589 1 sh CALL read(3,0x7f7ff7b0a400,0x3f8) 589 1 sh GIO fd 3 read 0 bytes "" 589 1 sh RET read 0 589 1 sh CALL close(3) 589 1 sh RET close 0 589 1 sh CALL __sigaction_sigtramp(SIGINT,0,0x7f7fffffdb70,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGINT,0x7f7fffffdb40,0x7f7fffffdb20,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGINT,0,0x7f7fffffdb30,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGINT,0x7f7fffffdb30,0,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigprocmask14(2,0x7f7fffffdb90,0) 589 1 sh RET __sigprocmask14 0 589 1 sh CALL __sigaction_sigtramp(SIGQUIT,0,0x7f7fffffdb70,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffdb40,0x7f7fffffdb20,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigprocmask14(2,0x7f7fffffdb90,0) 589 1 sh RET __sigprocmask14 0 589 1 sh CALL __sigaction_sigtramp(SIGHUP,0,0x7f7fffffdb70,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGHUP,0x7f7fffffdb40,0x7f7fffffdb20,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigprocmask14(2,0x7f7fffffdb90,0) 589 1 sh RET __sigprocmask14 0 589 1 sh CALL __sigaction_sigtramp(SIGTSTP,0,0x7f7fffffdb70,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGTSTP,0x7f7fffffdb40,0x7f7fffffdb20,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigprocmask14(2,0x7f7fffffdb90,0) 589 1 sh RET __sigprocmask14 0 589 1 sh CALL __sigaction_sigtramp(SIGPIPE,0,0x7f7fffffdb70,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigaction_sigtramp(SIGPIPE,0x7f7fffffdb40,0x7f7fffffdb20,0x7f7ff708c160,2) 589 1 sh RET __sigaction_sigtramp 0 589 1 sh CALL __sigprocmask14(2,0x7f7fffffdb90,0) 589 1 sh RET __sigprocmask14 0 589 1 sh CALL read(0xa,0x622080,0x3f8) 589 1 sh GIO fd 10 read 71 bytes "#!/bin/sh\n\n/usr/pkg/bin/expect -f exp_test.exp tests/a/a33003a/a3300\ 3a\n" 589 1 sh RET read 71/0x47 589 1 sh CALL __vfork14 629 1 sh EMUL "netbsd" 629 1 sh RET fork 0 629 1 sh CALL execve(0x622628,0x6226b0,0x6226d8) 629 1 sh NAMI "/usr/pkg/bin/expect" 629 1 sh NAMI "/usr/libexec/ld.elf_so" 629 1 expect EMUL "netbsd" 629 1 expect RET syscall JUSTRETURN 629 1 expect CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0) 629 1 expect RET mmap 140187598290944/0x7f7ff7ff8000 629 1 expect CALL open(0x7f7ff7c0d46d,0,0) 629 1 expect NAMI "/etc/ld.so.conf" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffd4a0,0,0x636570786562696c) 629 1 expect NAMI "/usr/pkg/lib/libexpect543.so.1" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 589 1 sh RET __vfork14 629/0x275 589 1 sh CALL getpgrp 589 1 sh RET getpgrp 589/0x24d 589 1 sh CALL __wait450(0xffffffff,0x7f7fffffd9b4,0,0) 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x22c000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187589935104/0x7f7ff7800000 629 1 expect CALL mmap(0x7f7ff7a26000,0x3000,3,0x12,3,0,0x26000) 629 1 expect RET mmap 140187592187904/0x7f7ff7a26000 629 1 expect CALL mmap(0x7f7ff7a29000,0x3000,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187592200192/0x7f7ff7a29000 629 1 expect CALL mprotect(0x7f7ff7826000,0x200000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6362696c) 629 1 expect NAMI "/usr/pkg/lib/libc.so.12" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6362696c) 629 1 expect NAMI "/usr/lib/libc.so.12" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x329000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187585740800/0x7f7ff7400000 629 1 expect CALL mmap(0x7f7ff770c000,0xd000,3,0x12,3,0,0x10c000) 629 1 expect RET mmap 140187588935680/0x7f7ff770c000 629 1 expect CALL mmap(0x7f7ff7719000,0x10000,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187588988928/0x7f7ff7719000 629 1 expect CALL mprotect(0x7f7ff750c000,0x200000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x34386c637462696c) 629 1 expect NAMI "/usr/pkg/lib/libtcl84.so.1" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x2bb000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187581546496/0x7f7ff7000000 629 1 expect CALL mmap(0x7f7ff72b0000,0xa000,3,0x12,3,0,0xb0000) 629 1 expect RET mmap 140187584364544/0x7f7ff72b0000 629 1 expect CALL mmap(0x7f7ff72ba000,0x1000,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187584405504/0x7f7ff72ba000 629 1 expect CALL mprotect(0x7f7ff70b1000,0x1ff000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x657268747062696c) 629 1 expect NAMI "/usr/pkg/lib/libpthread.so.1" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffd4a0,0,0x657268747062696c) 629 1 expect NAMI "/usr/lib/libpthread.so.1" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x210000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187577352192/0x7f7ff6c00000 629 1 expect CALL mmap(0x7f7ff6e0d000,0x1000,3,0x12,3,0,0xd000) 629 1 expect RET mmap 140187579502592/0x7f7ff6e0d000 629 1 expect CALL mmap(0x7f7ff6e0e000,0x2000,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187579506688/0x7f7ff6e0e000 629 1 expect CALL mprotect(0x7f7ff6c0e000,0x1ff000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6d62696c) 629 1 expect NAMI "/usr/pkg/lib/libm.so.0" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6d62696c) 629 1 expect NAMI "/usr/lib/libm.so.0" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x21f000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187573157888/0x7f7ff6800000 629 1 expect CALL mmap(0x7f7ff6a1e000,0x1000,3,0x12,3,0,0x1e000) 629 1 expect RET mmap 140187575377920/0x7f7ff6a1e000 629 1 expect CALL mmap(0x7f7ff6a1f000,0,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187575382016/0x7f7ff6a1f000 629 1 expect CALL mprotect(0x7f7ff681f000,0x1ff000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6c69747562696c) 629 1 expect NAMI "/usr/pkg/lib/libutil.so.7" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6c69747562696c) 629 1 expect NAMI "/usr/lib/libutil.so.7" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL mmap(0,0x1000,1,1,3,0,0) 629 1 expect RET mmap 140187598286848/0x7f7ff7ff7000 629 1 expect CALL munmap(0x7f7ff7ff7000,0x1000) 629 1 expect RET munmap 0 629 1 expect CALL mmap(0,0x216000,5,0x15000002,3,0,0) 629 1 expect RET mmap 140187568963584/0x7f7ff6400000 629 1 expect CALL mmap(0x7f7ff6612000,0x3000,3,0x12,3,0,0x12000) 629 1 expect RET mmap 140187571134464/0x7f7ff6612000 629 1 expect CALL mmap(0x7f7ff6615000,0x1000,3,0x1012,0xffffffff,0,0) 629 1 expect RET mmap 140187571146752/0x7f7ff6615000 629 1 expect CALL mprotect(0x7f7ff6412000,0x200000,0) 629 1 expect RET mprotect 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6362696c) 629 1 expect NAMI "/lib/libc.so.12" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7fffffd4a0,0,0x2e6f732e6362696c) 629 1 expect NAMI "/lib/libc.so.12" 629 1 expect RET open 3 629 1 expect CALL __fstat50(3,0x7f7fffffd3c0) 629 1 expect RET __fstat50 0 629 1 expect CALL close(3) 629 1 expect RET close 0 629 1 expect CALL _lwp_setprivate(0x7f7ff7ffd040) 629 1 expect RET _lwp_setprivate 0 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL __sysctl(0x7f7fffffdb50,2,0x7f7ff7727220,0x7f7fffffdb48,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffdb30,2,0x7f7ff6e0fba0,0x7f7fffffdb28,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL _lwp_unpark_all(0,0,0) 629 1 expect RET _lwp_unpark_all 1024/0x400 629 1 expect CALL __sysctl(0x7f7fffffda50,2,0x7f7ff77282e0,0x7f7fffffda48,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL getrlimit(3,0x7f7fffffdb10) 629 1 expect RET getrlimit 0 629 1 expect CALL mprotect(0x7f7fffc01000,0x1000,0) 629 1 expect RET mprotect 0 629 1 expect CALL _lwp_getprivate 629 1 expect RET _lwp_getprivate 140187598311488/0x7f7ff7ffd040 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_ctl(1,0x7f7fffc00208) 629 1 expect RET _lwp_ctl 0 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL lseek(0,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL lseek(1,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL lseek(2,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL __sigaction_sigtramp(SIGPIPE,0x7f7fffffdb80,0x7f7fffffdb60,0x7f7ff748c160,2) 629 1 expect RET __sigaction_sigtramp 0 629 1 expect CALL __sysctl(0x7f7fffffd630,2,0x7f7ff7720790,0x7f7fffffd628,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL readlink(0x7f7ff74f0194,0x7f7fffffd640,0x400) 629 1 expect NAMI "/etc/malloc.conf" 629 1 expect RET readlink -1 errno 2 No such file or directory 629 1 expect CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 629 1 expect RET mmap 140187598221312/0x7f7ff7fe7000 629 1 expect CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 629 1 expect RET mmap 140187598217216/0x7f7ff7fe6000 629 1 expect CALL mmap(0,0x100000,3,0x14001002,0xffffffff,0,0) 629 1 expect RET mmap 140187593080832/0x7f7ff7b00000 629 1 expect CALL mmap(0,0x400000,3,0x16001002,0xffffffff,0,0) 629 1 expect RET mmap 140187564769280/0x7f7ff6000000 629 1 expect CALL mprotect(0x7f7ff6001000,0x1000,0) 629 1 expect RET mprotect 0 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL getcontext(0x7f7ff6000a88) 629 1 expect RET getcontext 0 629 1 expect CALL _lwp_create(0x7f7ff6000a88,0x40,0x7f7ff6000180) 629 1 expect RET _lwp_create 0 629 1 expect CALL ___lwp_park50(0,0,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 2 expect CALL _lwp_ctl(1,0x7f7ff6000208) 629 2 expect RET _lwp_ctl 0 629 2 expect CALL pipe 629 2 expect RET pipe 3, 4 629 2 expect CALL fcntl(3,3,4) 629 2 expect RET fcntl 0 629 2 expect CALL fcntl(3,4,4) 629 2 expect RET fcntl 0 629 2 expect CALL fcntl(4,3,0) 629 2 expect RET fcntl 1 629 2 expect CALL fcntl(4,4,5) 629 2 expect RET fcntl 0 629 2 expect CALL _lwp_unpark(1,0x7f7ff7b0b9e8) 629 2 expect RET _lwp_unpark 0 629 2 expect CALL __select50(4,0x7f7ff63ffd40,0x7f7ff63ffd20,0x7f7ff63ffd00,0) 629 1 expect RET ___lwp_park50 0 629 1 expect CALL __sysctl(0x7f7fffffd470,2,0x7f7fffffd4a0,0x7f7fffffd468,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffd470,2,0x7f7fffffd5a0,0x7f7fffffd468,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffd470,2,0x7f7fffffd6a0,0x7f7fffffd468,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffd470,2,0x7f7fffffd7a0,0x7f7fffffd468,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffd470,2,0x7f7fffffd8a0,0x7f7fffffd468,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL __sysctl(0x7f7fffffdb80,2,0x7f7fffffd9a0,0x7f7fffffdb78,0,0) 629 1 expect RET __sysctl 0 629 1 expect CALL issetugid 629 1 expect RET issetugid 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b10710,0,0) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/lib/tcl8.4" 629 1 expect RET __lstat50 -1 errno 2 No such file or directory 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/lib" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/lib/tcl8.4" 629 1 expect RET access -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b10410,0,0) 629 1 expect NAMI "/usr/lib/tcl8.4/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/library" 629 1 expect RET __lstat50 -1 errno 2 No such file or directory 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/pkg/library" 629 1 expect RET access -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b10530,0,0) 629 1 expect NAMI "/usr/pkg/library/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/library" 629 1 expect RET __lstat50 -1 errno 2 No such file or directory 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/library" 629 1 expect RET access -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b20150,0,0) 629 1 expect NAMI "/usr/library/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/tcl8.4.18" 629 1 expect RET __lstat50 -1 errno 2 No such file or directory 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr" 629 1 expect RET access 0 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/usr/tcl8.4.18" 629 1 expect RET access -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b104d0,0,0) 629 1 expect NAMI "/usr/tcl8.4.18/library/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/tcl8.4.18" 629 1 expect RET __lstat50 -1 errno 2 No such file or directory 629 1 expect CALL access(0x7f7fffffd060,0) 629 1 expect NAMI "/tcl8.4.18" 629 1 expect RET access -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7ff7b10710,0,0) 629 1 expect NAMI "/tcl8.4.18/library/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b10590,0,0) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding/646.enc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffcc50,0x7f7fffffcb60) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding" 629 1 expect RET __lstat50 0 629 1 expect CALL open(0x7f7ff7b10410,0,0) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/encoding/iso8859-1.enc" 629 1 expect RET open 5 629 1 expect CALL fcntl(5,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL ioctl(5,TIOCGETA,0x7f7fffffd270) 629 1 expect RET ioctl -1 errno 25 Inappropriate ioctl for device 629 1 expect CALL read(5,0x7f7ff7b35038,0x1000) 629 1 expect GIO fd 5 read 1094 bytes "# Encoding file: iso8859-1, single-byte\nS\n003F 0 1\n00\n000000010002\ 0003000400050006000700080009000A000B000C000D000E000F\n0010001100120013\ 001400150016001700180019001A001B001C001D001E001F\n00200021002200230024\ 00250026002700280029002A002B002C002D002E002F\n003000310032003300340035\ 0036003700380039003A003B003C003D003E003F\n0040004100420043004400450046\ 004700480049004A004B004C004D004E004F\n00500051005200530054005500560057\ 00580059005A005B005C005D005E005F\n006000610062006300640065006600670068\ 0069006A006B006C006D006E006F\n0070007100720073007400750076007700780079\ 007A007B007C007D007E007F\n0080008100820083008400850086008700880089008A\ 008B008C008D008E008F\n0090009100920093009400950096009700980099009A009B\ 009C009D009E009F\n00A000A100A200A300A400A500A600A700A800A900AA00AB00AC\ 00AD00AE00AF\n00B000B100B200B300B400B500B600B700B800B900BA00BB00BC00BD\ 00BE00BF\n00C000C100C200C300C400C500C600C700C800C900CA00CB00CC00CD00CE\ 00CF\n00D000D100D200D300D400D500D600D700D800D900DA00DB00DC00DD00DE00DF\ \n00E000E100E200E300E400E500E600E700E800E900EA00EB00EC00ED00EE00EF\n00\ F000F100F200F300F400F500F600F700F800F900FA00FB00FC00FD00FE00FF\n" 629 1 expect RET read 1094/0x446 629 1 expect CALL read(5,0x7f7ff7b35038,0x1000) 629 1 expect GIO fd 5 read 0 bytes "" 629 1 expect RET read 0 629 1 expect CALL close(5) 629 1 expect RET close 0 629 1 expect CALL issetugid 629 1 expect RET issetugid 0 629 1 expect CALL __lstat50(0x7f7fffffc500,0x7f7fffffc410) 629 1 expect NAMI "/usr" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffc500,0x7f7fffffc410) 629 1 expect NAMI "/usr/pkg" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffc500,0x7f7fffffc410) 629 1 expect NAMI "/usr/pkg/lib" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffc500,0x7f7fffffc410) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4" 629 1 expect RET __lstat50 0 629 1 expect CALL access(0x7f7ff7b39f30,0) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/init.tcl" 629 1 expect RET access 0 629 1 expect CALL __stat50(0x7f7ff7b39f30,0x7f7fffffcaa0) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/init.tcl" 629 1 expect RET __stat50 0 629 1 expect CALL open(0x7f7ff7b39f30,0,0x1a4) 629 1 expect NAMI "/usr/pkg/lib/tcl8.4/init.tcl" 629 1 expect RET open 5 629 1 expect CALL fcntl(5,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL ioctl(5,TIOCGETA,0x7f7fffffc8a0) 629 1 expect RET ioctl -1 errno 25 Inappropriate ioctl for device 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 4088 bytes "# init.tcl --\n#\n# Default system startup file for Tcl-based applicat\ ions. Defines\n# \"unknown\" procedure and auto-load facilities.\n#\n\ # RCS: @(#) $Id: init.tcl,v 1.55.2.7 2007/07/05 18:03:45 dgp Exp $\n#\ \n# Copyright (c) 1991-1993 The Regents of the University of Californi\ a.\n# Copyright (c) 1994-1996 Sun Microsystems, Inc.\n# Copyright (c) \ 1998-1999 Scriptics Corporation.\n#\n# See the file \"license.terms\" \ for information on usage and redistribution\n# of this file, and for a\ DISCLAIMER OF ALL WARRANTIES.\n#\n\nif {[info commands package] == \"\ \"} {\n error \"version mismatch: library\\nscripts expect Tcl vers\ ion 7.5b1 or later but the loaded version is\\nonly [info patchlevel]\ \"\n}\npackage require -exact Tcl 8.4\n\n# Compute the auto path to us\ e in this interpreter.\n# The values on the path come from several loc\ ations:\n#\n# The environment variable TCLLIBPATH\n#\n# tcl_library, w\ hich is the directory containing this init.tcl script.\n# tclInitScrip\ t.h searches around for the directory containing this\n# init.tcl and \ defines tcl_library to that location before sourcing it.\n#\n# The par\ ent directory of tcl_library. Adding the parent\n# means that packages\ in peer directories will be found automatically.\n#\n# Also add the d\ irectory ../lib relative to the directory where the\n# executable is l\ ocated. This is meant to find binary packages for the\n# same archite\ cture as the current executable.\n#\n# tcl_pkgPath, which is set by th\ e platform-specific initialization routines\n# On UNIX it is compiled\ in\n# On Windows, it is not used\n# On Macintosh it is \"T\ ool Command Language\" in the Extensions folder\n\nif {![info exists a\ uto_path]} {\n if {[info exists env(TCLLIBPATH)]} {\n set au\ to_path $env(TCLLIBPATH)\n } else {\n set auto_path \"\"\n \ }\n}\nnamespace eval tcl {\n variable Dir\n if {[info library]\ ne \"\"} {\n foreach Dir [list [info library] [file dirname [info l\ ibrary]]] {\n if {[lsearch -exact $::auto_path $Dir] < 0} {\n\ lappend ::auto_path $Dir\n }\n }\n }\n \ set Dir [file join [file dirname [file dirname \\\n [info name\ ofexecutable]]] lib]\n if {[lsearch -exact $::auto_path $Dir] < 0} \ {\n lappend ::auto_path $Dir\n }\n if {[info exists ::tcl_pk\ gPath]} {\n foreach Dir $::tcl_pkgPath {\n if {[lsearch -exac\ t $::auto_path $Dir] < 0} {\n lappend ::auto_path $Dir\n\ }\n }\n }\n}\n \n# Windows specific end of initializat\ ion\n\nif {(![interp issafe]) && $tcl_platform(platform) eq \"windows\ \"} {\n namespace eval tcl {\n proc EnvTraceProc {lo n1 n2 op\ } {\n set x $::env($n2)\n set ::env($lo) $x\n set ::env(\ [string toupper $lo]) $x\n }\n proc InitWinEnv {} {\n gl\ obal env tcl_platform\n foreach p [array names env] {\n \ set u [string toupper $p]\n if {$u ne $p} {\n\ switch -- $u {\n COMSPEC -\n\ PATH {\n if {![info\ exists env($u)]} {\n set env($u) $env($p)\n\ }\n trace add variable\ env($p) write \\\n [namespace code [l\ ist EnvTraceProc $p]]\n trace add variable env($u)\ write \\\n [namespace code [list EnvT\ raceProc $p]]\n }\n }\n }\n\ }\n if {![info exists env(COMSPEC)]} {\n \ if {$tcl_platform(os) eq \"Windows NT\"} {\n se\ t env(COMSPEC) cmd.exe\n } else {\n se\ t env(COMSPEC) command.com\n }\n }\n }\n InitWi\ nEnv\n }\n}\n\n# Setup the unknown package handler\n\npackage unkno\ wn tclPkgUnknown\n\nif {![interp issafe]} {\n # setup platform spec\ ific unknown package handlers\n if {$::tcl_platform(platform) eq \"\ unix\"\n && $::tcl_platform(os) eq \"Darwin\"} {\n packag\ e unknown [list tcl::MacOSXPkgUnknown [package unknown]]\n }\n i\ f {$::tcl_platform(platform) eq \"macintosh\"} {\n package unknow\ n [list tcl::MacPkgUnknown [package unknown]]\n }\n}\n\n# Condition\ alize for presence of exec.\n\nif {[namespace which -command exec] eq \ \"\"} {\n\n # Some machines, such as the Macintosh, do not have exe\ c. Also, on all\n # platforms, safe interpreters do not have exec.\ \n\n set auto_noexec 1\n}\nset errorCode \"\"\nset errorInfo \"\"\n\ \n# Define a log command (which can be overwitten to log errors\n# dif\ ferently, specially when stderr is not available)\n\nif {[namespace wh\ ich -command tclLog] eq \"\"} {\n pr" 629 1 expect GIO fd 5 read 8 bytes "oc tclLo" 629 1 expect RET read 4096/0x1000 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 4088 bytes "g {string} {\n catch {puts stderr $string}\n }\n}\n\n# unknown --\ \n# This procedure is called when a Tcl command is invoked that doesn'\ t\n# exist in the interpreter. It takes the following steps to make t\ he\n# command available:\n#\n# 1. See if the command has the form \"n\ amespace inscope ns cmd\" and\n# if so, concatenate its argu\ ments onto the end and evaluate it.\n# 2. See if the autoload facilit\ y can locate the command in a\n# Tcl script file. If so, lo\ ad it and execute it.\n# 3. If the command was invoked interact\ ively at top-level:\n# (a) see if the command exists as an execut\ able UNIX program.\n# If so, \"exec\" the command.\n# (b\ ) see if the command requests csh-like history substitution\n# \ in one of the common forms !!, !, or ^old^new. If\n#\ so, emulate csh's history substitution.\n# (c\ ) see if the command is a unique abbreviation for another\n# \ command. If so, invoke the command.\n#\n# Arguments:\n# args \ - A list whose elements are the words of the original\n# \ command, including the command name.\n\nproc unknown args {\n \ global auto_noexec auto_noload env unknown_pending tcl_interactive\ \n global errorCode errorInfo\n\n # If the command word has the \ form \"namespace inscope ns cmd\"\n # then concatenate its argument\ s onto the end and evaluate it.\n\n set cmd [lindex $args 0]\n i\ f {[regexp \"^:*namespace\\[ \\t\\n\\]+inscope\" $cmd] && [llength $cm\ d] == 4} {\n set arglist [lrange $args 1 end]\n set ret [catch\ {uplevel 1 ::$cmd $arglist} result]\n if {$ret == 0} {\n \ return $result\n } else {\n return -code $ret \ -errorcode $errorCode $result\n }\n }\n\n # Save the valu\ es of errorCode and errorInfo variables, since they\n # may get mod\ ified if caught errors occur below. The variables will\n # be rest\ ored just before re-executing the missing command.\n\n # Safety che\ ck in case something unsets the variables \n # ::errorInfo or ::err\ orCode. [Bug 1063707]\n if {![info exists errorCode]} {\n set er\ rorCode \"\"\n }\n if {![info exists errorInfo]} {\n set er\ rorInfo \"\"\n }\n set savedErrorCode $errorCode\n set savedE\ rrorInfo $errorInfo\n set name $cmd\n if {![info exists auto_nol\ oad]} {\n #\n # Make sure we're not trying to load the same \ proc twice.\n #\n if {[info exists unknown_pending($name)]} {\n\ return -code error \"self-referential recursion in \\\"unk\ nown\\\" for command \\\"$name\\\"\";\n }\n set unknown_pending($n\ ame) pending;\n set ret [catch {auto_load $name [uplevel 1 {::namespac\ e current}]} msg]\n unset unknown_pending($name);\n if {$ret != 0}\ {\n append errorInfo \"\\n (autoloading \\\"$name\\\")\"\n\ return -code $ret -errorcode $errorCode -errorinfo $errorI\ nfo $msg\n }\n if {![array size unknown_pending]} {\n un\ set unknown_pending\n }\n if {$msg} {\n set errorCode $sav\ edErrorCode\n set errorInfo $savedErrorInfo\n set code [\ catch {uplevel 1 $args} msg]\n if {$code == 1} {\n \ #\n # Compute stack trace contribution from the [u\ plevel].\n # Note the dependence on how Tcl_AddErrorInfo,\ etc. \n # construct the stack trace.\n #\n\ set cinfo $args\n set ellipsis \"\"\n\ while {[string bytelength $cinfo] > 150} {\n \ set cinfo [string range $cinfo 0 end-1]\n se\ t ellipsis \"...\"\n }\n append cinfo $ellipsis\ \"\\\"\\n (\\\"uplevel\\\" body line 1)\"\n append cinfo \ \"\\n invoked from within\"\n append cinfo \"\\n\\\"\ uplevel 1 \\$args\\\"\"\n #\n # Try each pos\ sible form of the stack trace\n # and trim the extra contribut\ ion from the matching case\n #\n set expect \"$\ msg\\n while executing\\n\\\"$cinfo\"\n if {$errorInfo\ eq $expect} {\n #\n # The stack has on\ ly the eval from the expanded command\n # Do not generate \ any stack trace here.\n #\n return -code error\ -errorcode $errorCode $msg\n }\n #\n \ # Stack trace is nested, trim off just the contribution\n\ # from the extra \"eval\" of $args due to the \"catch\ \" above.\n #\n set expect \"\\n invoked fr\ om within\\n\\\"$cinfo\"\n set exlen [string length $expe\ ct]\n set eilen [string length $errorInfo]\n set i \ [expr {$eilen - $exlen - 1}]\n set einfo [string range $error\ Info 0 $i]\n #\n # For now verify that" 629 1 expect GIO fd 5 read 8 bytes " $errorI" 629 1 expect RET read 4096/0x1000 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 4088 bytes "nfo consists of what we are about\n # to return plus what \ we expected to trim off.\n #\n if {$errorInfo\ ne \"$einfo$expect\"} {\n error \"Tcl bug: unexpecte\ d stack trace in \\\"unknown\\\"\" {} \\\n [list \ CORE UNKNOWN BADTRACE $expect $errorInfo]\n }\n \ return -code error -errorcode $errorCode \\\n \ -errorinfo $einfo $msg\n } else {\n return\ -code $code $msg\n }\n }\n }\n\n if {([info level] == 1\ ) && [info script] eq \"\" \\\n && [info exists tcl_interactive] &\ & $tcl_interactive} {\n if {![info exists auto_noexec]} {\n se\ t new [auto_execok $name]\n if {$new ne \"\"} {\n \ set errorCode $savedErrorCode\n set errorInfo $savedEr\ rorInfo\n set redir \"\"\n if {[namespace\ which -command console] eq \"\"} {\n set redir \">&@std\ out <@stdin\"\n }\n return [uplevel 1 exec $redir \ $new [lrange $args 1 end]]\n }\n }\n set errorCode $savedEr\ rorCode\n set errorInfo $savedErrorInfo\n if {$name eq \"!!\"} {\ \n set newcmd [history event]\n } elseif {[regexp {^!(\ .+)$} $name -> event]} {\n set newcmd [history event $event]\ \n } elseif {[regexp {^\\^([^^]*)\\^([^^]*)\\^?$} $name -> old ne\ w]} {\n set newcmd [history event -1]\n catch {regsub -all\ -- $old $newcmd $new newcmd}\n }\n if {[info exists newcmd]} {\n\ tclLog $newcmd\n history change $newcmd 0\n re\ turn [uplevel 1 $newcmd]\n }\n\n set ret [catch {set candidates\ [info commands $name*]} msg]\n if {$name eq \"::\"} {\n se\ t name \"\"\n }\n if {$ret != 0} {\n return -code $ret \ -errorcode $errorCode \\\n \"error in unknown while check\ ing if \\\"$name\\\" is\\\n a unique command abbreviation:\ \\n$msg\"\n }\n # Filter out bogus matches when $name containe\ d\n # a glob-special char [Bug 946952]\n if {$name eq \"\"} {\n\ # Handle empty $name separately due to strangeness\n\ # in [string first] (See RFE 1243354)\n set cmds $\ candidates\n } else {\n set cmds [list]\n foreach x \ $candidates {\n if {[string first $name $x] == 0} {\n \ lappend cmds $x\n }\n }\n }\n if {[l\ length $cmds] == 1} {\n return [uplevel 1 [lreplace $args 0 0 [lin\ dex $cmds 0]]]\n }\n if {[llength $cmds]} {\n re\ turn -code error \"ambiguous command name \\\"$name\\\": [lsort $cmds]\ \"\n }\n }\n return -code error \"invalid command name \\\"$n\ ame\\\"\"\n}\n\n# auto_load --\n# Checks a collection of library direc\ tories to see if a procedure\n# is defined in one of them. If so, it \ sources the appropriate\n# library file to create the procedure. Retu\ rns 1 if it successfully\n# loaded the procedure, 0 otherwise.\n#\n# A\ rguments: \n# cmd - Name of the command to find an\ d load.\n# namespace (optional) The namespace where the command is be\ ing used - must be\n# a canonical namespace as r\ eturned [namespace current]\n# for instance. If \ not given, namespace current is used.\n\nproc auto_load {cmd {namespac\ e {}}} {\n global auto_index auto_oldpath auto_path\n\n if {$nam\ espace eq \"\"} {\n set namespace [uplevel 1 [list ::namespace cur\ rent]]\n }\n set nameList [auto_qualify $cmd $namespace]\n # \ workaround non canonical auto_index entries that might be around\n \ # from older auto_mkindex versions\n lappend nameList $cmd\n for\ each name $nameList {\n if {[info exists auto_index($name)]} {\n\ namespace eval :: $auto_index($name)\n # There's \ a couple of ways to look for a command of a given\n # name. O\ ne is to use\n # info commands $name\n # Unfortunately, i\ f the name has glob-magic chars in it like *\n # or [], it may no\ t match. For our purposes here, a better\n # route is to use \ \n # namespace which -command $name\n if {[names\ pace which -command $name] ne \"\"} {\n return 1\n }\ \n }\n }\n if {![info exists auto_path]} {\n return 0\n \ }\n\n if {![auto_load_index]} {\n return 0\n }\n foreach n\ ame $nameList {\n if {[info exists auto_index($name)]} {\n\ namespace eval :: $auto_index($name)\n if {[names\ pace which -command $name] ne \"\"} {\n return 1\n }\ \n }\n }\n return 0\n}\n\n# auto_load_index --\n# Loads the\ contents of tclIndex files on the auto_path directory\n# list. This \ is usually invoked within auto_load to load the index\n# of available \ commands. Re" 629 1 expect GIO fd 5 read 8 bytes "turns 1 " 629 1 expect RET read 4096/0x1000 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 4088 bytes "if the index is loaded, and 0 if\n# the index is already loaded and up\ to date.\n#\n# Arguments: \n# None.\n\nproc auto_load_index {} {\n \ global auto_index auto_oldpath auto_path errorInfo errorCode\n\n i\ f {[info exists auto_oldpath] && $auto_oldpath eq $auto_path} {\n\ return 0\n }\n set auto_oldpath $auto_path\n\n # Chec\ k if we are a safe interpreter. In that case, we support only\n # n\ ewer format tclIndex files.\n\n set issafe [interp issafe]\n for\ {set i [expr {[llength $auto_path] - 1}]} {$i >= 0} {incr i -1} {\n\ set dir [lindex $auto_path $i]\n set f \"\"\n if {$i\ ssafe} {\n catch {source [file join $dir tclIndex]}\n } else\ if {[catch {set f [open [file join $dir tclIndex]]}]} {\n co\ ntinue\n } else {\n set error [catch {\n \ set id [gets $f]\n if {$id eq \"# Tcl autoload in\ dex file, version 2.0\"} {\n eval [read $f]\n \ } elseif {$id eq \"# Tcl autoload index file: each line identi\ fies a Tcl\"} {\n while {[gets $f line] >= 0} {\n\ if {[string index $line 0] eq \"#\" \n \ || ([llength $line] != 2)} {\n \ continue\n }\n set na\ me [lindex $line 0]\n set auto_index($name) \\\n\ \"source [file join $dir [lindex $line\ 1]]\"\n }\n } else {\n er\ ror \"[file join $dir tclIndex] isn't a proper Tcl index file\"\n\ }\n } msg]\n if {$f ne \"\"} {\n \ close $f\n }\n if {$error} {\n error \ $msg $errorInfo $errorCode\n }\n }\n }\n return 1\n}\n\n#\ auto_qualify --\n#\n# Compute a fully qualified names list for use in\ the auto_index array.\n# For historical reasons, commands in the glob\ al namespace do not have leading\n# :: in the index key. The list has \ two elements when the command name is\n# relative (no leading ::) and \ the namespace is not the global one. Otherwise\n# only one name is ret\ urned (and searched in the auto_index).\n#\n# Arguments -\n# cmd\ The command name. Can be any name accepted for command\ \n# invocations (Like \"foo::::bar\").\n# namespace\ The namespace where the command is being used - must be\n# \ a canonical namespace as returned by [namespace current]\n#\ for instance.\n\nproc auto_qualify {cmd namespace} {\n\ \n # count separators and clean them up\n # (making sure that fo\ o:::::bar will be treated as foo::bar)\n set n [regsub -all {::+} $\ cmd :: cmd]\n\n # Ignore namespace if the name starts with ::\n \ # Handle special case of only leading ::\n\n # Before each return c\ ase we give an example of which category it is\n # with the followi\ ng form :\n # ( inputCmd, inputNameSpace) -> output\n\n if {[str\ ing match ::* $cmd]} {\n if {$n > 1} {\n # ( ::foo::bar , *\ ) -> ::foo::bar\n return [list $cmd]\n } else {\n\ # ( ::global , * ) -> global\n return [list [stri\ ng range $cmd 2 end]]\n }\n }\n \n # Potentially returning 2 \ elements to try :\n # (if the current namespace is not the global \ one)\n\n if {$n == 0} {\n if {$namespace eq \"::\"} {\n # \ ( nocolons , :: ) -> nocolons\n return [list $cmd]\n } else\ {\n # ( nocolons , ::sub ) -> ::sub::nocolons nocolons\n\ return [list ${namespace}::$cmd $cmd]\n }\n } elsei\ f {$namespace eq \"::\"} {\n # ( foo::bar , :: ) -> ::foo::bar\n\ return [list ::$cmd]\n } else {\n # ( foo::bar , ::sub )\ -> ::sub::foo::bar ::foo::bar\n return [list ${namespace}::$cm\ d ::$cmd]\n }\n}\n\n# auto_import --\n#\n# Invoked during \"namespa\ ce import\" to make see if the imported commands\n# reside in an autol\ oaded library. If so, the commands are loaded so\n# that they will be\ available for the import links. If not, then this\n# procedure does \ nothing.\n#\n# Arguments -\n# pattern The pattern of commands being \ imported (like \"foo::*\")\n# a canonical namespace as r\ eturned by [namespace current]\n\nproc auto_import {pattern} {\n gl\ obal auto_index\n\n # If no namespace is specified, this will be an\ error case\n\n if {![string match *::* $pattern]} {\n return\ \n }\n\n set ns [uplevel 1 [list ::namespace current]]\n set \ patternList [auto_qualify $pattern $ns]\n\n auto_load_index\n\n \ foreach pattern $patternList {\n foreach name [array names auto\ _index $pattern] {\n if {([namespace which -command $" 629 1 expect GIO fd 5 read 8 bytes "name] eq" 629 1 expect RET read 4096/0x1000 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 4088 bytes " \"\")\n && ([namespace qualifiers $pattern] eq [na\ mespace qualifiers $name])} {\n namespace eval :: $auto\ _index($name)\n }\n }\n }\n}\n\n# auto_execok --\ \n#\n# Returns string that indicates name of program to execute if \n#\ name corresponds to a shell builtin or an executable in the\n# Window\ s search path, or \"\" otherwise. Builds an associative \n# array aut\ o_execs that caches information about previous checks, \n# for speed.\ \n#\n# Arguments: \n# name - Name of a command.\n\n\ if {$tcl_platform(platform) eq \"windows\"} {\n# Windows version.\n#\n\ # Note that info executable doesn't work under Windows, so we have to\ \n# look for files with .exe, .com, or .bat extensions. Also, the pat\ h\n# may be in the Path or PATH environment variables, and path\n# com\ ponents are separated with semicolons, not colons as under Unix.\n#\np\ roc auto_execok name {\n global auto_execs env tcl_platform\n\n \ if {[info exists auto_execs($name)]} {\n return $auto_execs($na\ me)\n }\n set auto_execs($name) \"\"\n\n set shellBuiltins [l\ ist cls copy date del erase dir echo mkdir \\\n md rename ren rmdi\ r rd time type ver vol]\n if {$tcl_platform(os) eq \"Windows NT\"} \ {\n # NT includes the 'start' built-in\n lappend shellBuiltins \ \"start\"\n }\n if {[info exists env(PATHEXT)]} {\n # Add \ an initial ; to have the {} extension check first.\n set execExtens\ ions [split \";$env(PATHEXT)\" \";\"]\n } else {\n set execExtens\ ions [list {} .com .exe .bat]\n }\n\n if {[lsearch -exact $shell\ Builtins $name] != -1} {\n # When this is command.com for some re\ ason on Win2K, Tcl won't\n # exec it unless the case is right, wh\ ich this corrects. COMSPEC\n # may not point to a real file, so do \ the check.\n set cmd $env(COMSPEC)\n if {[file exists $cmd]} {\n\ set cmd [file attributes $cmd -shortname]\n }\n return\ [set auto_execs($name) [list $cmd /c $name]]\n }\n\n if {[lleng\ th [file split $name]] != 1} {\n foreach ext $execExtensions {\ \n set file ${name}${ext}\n if {[file exists $file] &&\ ![file isdirectory $file]} {\n return [set auto_execs($name) \ [list $file]]\n }\n }\n return \"\"\n }\n\n set path \"[\ file dirname [info nameof]];.;\"\n if {[info exists env(WINDIR)]} {\ \n set windir $env(WINDIR) \n }\n if {[info exists windir]}\ {\n if {$tcl_platform(os) eq \"Windows NT\"} {\n append pat\ h \"$windir/system32;\"\n }\n append path \"$windir/system;$\ windir;\"\n }\n\n foreach var {PATH Path path} {\n if {[i\ nfo exists env($var)]} {\n append path \";$env($var)\"\n\ }\n }\n\n foreach dir [split $path {;}] {\n # Skip\ already checked directories\n if {[info exists checked($dir)] || $di\ r eq {}} { continue }\n set checked($dir) {}\n foreach ext $execExten\ sions {\n set file [file join $dir ${name}${ext}]\n if\ {[file exists $file] && ![file isdirectory $file]} {\n return\ [set auto_execs($name) [list $file]]\n }\n }\n }\n return \ \"\"\n}\n\n} else {\n# Unix version.\n#\nproc auto_execok name {\n \ global auto_execs env\n\n if {[info exists auto_execs($name)]} {\n\ return $auto_execs($name)\n }\n set auto_execs($name) \"\ \"\n if {[llength [file split $name]] != 1} {\n if {[file exec\ utable $name] && ![file isdirectory $name]} {\n set auto_execs($na\ me) [list $name]\n }\n return $auto_execs($name)\n }\n \ foreach dir [split $env(PATH) :] {\n if {$dir eq \"\"} {\n se\ t dir .\n }\n set file [file join $dir $name]\n if {[f\ ile executable $file] && ![file isdirectory $file]} {\n set auto_e\ xecs($name) [list $file]\n return $auto_execs($name)\n }\n \ }\n return \"\"\n}\n\n}\n\n# ::tcl::CopyDirectory --\n#\n# This pr\ ocedure is called by Tcl's core when attempts to call the\n# filesyste\ m's copydirectory function fail. The semantics of the call\n# are tha\ t 'dest' does not yet exist, i.e. dest should become the exact\n# imag\ e of src. If dest does exist, we throw an error. \n# \n# Note that m\ aking changes to this procedure can change the results\n# of running T\ cl's tests.\n#\n# Arguments: \n# action - \"renaming\" or\ \"copying\" \n# src - source directory\n# dest -\ destination directory\nproc tcl::CopyDirectory {action\ src dest} {\n set nsrc [file normalize $src]\n set nde" 629 1 expect GIO fd 5 read 8 bytes "st [file" 629 1 expect RET read 4096/0x1000 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 2279 bytes " normalize $dest]\n if {$action eq \"renaming\"} {\n # Can't rename\ volumes. We could give a more precise\n # error message here, \ but that would break the test suite.\n if {[lsearch -exact [file volu\ mes] $nsrc] != -1} {\n return -code error \"error $action \\\"$sr\ c\\\" to\\\n \\\"$dest\\\": trying to rename a volume or move\ a directory\\\n into itself\"\n }\n }\n if {[fil\ e exists $dest]} {\n if {$nsrc eq $ndest} {\n return -co\ de error \"error $action \\\"$src\\\" to\\\n \\\"$dest\\\": t\ rying to rename a volume or move a directory\\\n into its\ elf\"\n }\n if {$action eq \"copying\"} {\n return -code error\ \"error $action \\\"$src\\\" to\\\n \\\"$dest\\\": file alre\ ady exists\"\n } else {\n # Depending on the platform, and o\ n the current\n # working directory, the directories '.', '..'\n\ # can be returned in various combinations. Anyway,\n\ # if any other file is returned, we must signal an error.\ \n set existing [glob -nocomplain -directory $dest * .*]\n\ eval [linsert \\\n [glob -nocomplain -directo\ ry $dest -type hidden * .*] 0 \\\n lappend existing]\ \n foreach s $existing {\n if {([file tail $s] ne\ \".\") && ([file tail $s] ne \"..\")} {\n return -co\ de error \"error $action \\\"$src\\\" to\\\n \\\"$des\ t\\\": file already exists\"\n }\n }\n }\n } else \ {\n if {[string first $nsrc $ndest] != -1} {\n set srclen\ [expr {[llength [file split $nsrc]] -1}]\n set ndest [lindex \ [file split $ndest] $srclen]\n if {$ndest eq [file tail $nsrc]} {\ \n return -code error \"error $action \\\"$src\\\" to\\\n\ \\\"$dest\\\": trying to rename a volume or move a d\ irectory\\\n into itself\"\n }\n }\n file m\ kdir $dest\n }\n # Have to be careful to capture both visible an\ d hidden files.\n # We will also be more generous to the file syste\ m and not\n # assume the hidden and non-hidden lists are non-overla\ pping.\n # \n # On Unix 'hidden' files begin with '.'. On other\ platforms\n # or filesystems hidden files may have other interpret\ ations.\n set filelist [concat [glob -nocomplain -directory $src *]\ \\\n [glob -nocomplain -directory $src -types hidden *]]\n \n\ foreach s [lsort -unique $filelist] {\n if {([file tail $s] ne\ \".\") && ([file tail $s] ne \"..\")} {\n file copy $s [file\ join $dest [file tail $s]]\n }\n }\n return\n}\n" 629 1 expect RET read 2279/0x8e7 629 1 expect CALL read(5,0x7f7ff7b3c038,0x1000) 629 1 expect GIO fd 5 read 0 bytes "" 629 1 expect RET read 0 629 1 expect CALL close(5) 629 1 expect RET close 0 629 1 expect CALL getpid 629 1 expect RET getpid 629/0x275, 589/0x24d 629 1 expect CALL open(0x7f7ff7821532,2,0xf7a2b6d8) 629 1 expect NAMI "/dev/tty" 629 1 expect RET open 5 629 1 expect CALL ioctl(5,TIOCGETA,0x7f7ff7a2b6a0) 629 1 expect GIO fd 5 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(5,TIOCGWINSZ,0x7f7ff7a2b398) 629 1 expect GIO fd 5 read 8 bytes "\^Y\0P\0\0\0\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(0,TIOCGETA,0x7f7fffffdb90) 629 1 expect GIO fd 0 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(1,TIOCGETA,0x7f7fffffdb90) 629 1 expect GIO fd 1 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL getpid 629 1 expect RET getpid 629/0x275, 589/0x24d 629 1 expect CALL ioctl(0,TIOCGETA,0x7f7fffffdb80) 629 1 expect GIO fd 0 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL lseek(0,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL ioctl(0,TIOCGETA,0x7f7fffffda20) 629 1 expect GIO fd 0 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(0,TIOCGETA,0x7f7ff7b35204) 629 1 expect GIO fd 0 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL lseek(1,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL ioctl(1,TIOCGETA,0x7f7fffffda20) 629 1 expect GIO fd 1 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(1,TIOCGETA,0x7f7ff7b35e64) 629 1 expect GIO fd 1 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL lseek(2,0,0,1) 629 1 expect RET lseek 1972/0x7b4 629 1 expect CALL ioctl(2,TIOCGETA,0x7f7fffffda20) 629 1 expect GIO fd 2 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL ioctl(2,TIOCGETA,0x7f7ff7b3c624) 629 1 expect GIO fd 2 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL fcntl(0,3,1) 629 1 expect RET fcntl 2 629 1 expect CALL fcntl(0,4,6) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL ioctl(2,TIOCGETA,0x7f7fffffdb80) 629 1 expect GIO fd 2 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL fcntl(2,3,1) 629 1 expect RET fcntl 6 629 1 expect CALL fcntl(2,4,6) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL fcntl(5,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(5,3,1) 629 1 expect RET fcntl 2 629 1 expect CALL fcntl(5,4,6) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(5,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL __sigaction_sigtramp(SIGINT,0x7f7fffffd6a0,0x7f7fffffd680,0x7f7ff748c160,2) 629 1 expect RET __sigaction_sigtramp 0 629 1 expect CALL __sigaction_sigtramp(SIGTERM,0x7f7fffffd6a0,0x7f7fffffd680,0x7f7ff748c160,2) 629 1 expect RET __sigaction_sigtramp 0 629 1 expect CALL open(0x7f7fffffda50,0,0) 629 1 expect NAMI "/usr/pkg/lib/tcl/expect5.43/expect.rc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL open(0x7f7fffffda50,0,0) 629 1 expect NAMI "/root/.expect.rc" 629 1 expect RET open -1 errno 2 No such file or directory 629 1 expect CALL __getcwd(0x7f7fffffd470,0x401) 629 1 expect RET __getcwd 16/0x10 629 1 expect CALL __lstat50(0x7f7fffffd310,0x7f7fffffd220) 629 1 expect NAMI "/workzone" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffd340,0x7f7fffffd250) 629 1 expect NAMI "/workzone" 629 1 expect RET __lstat50 0 629 1 expect CALL __lstat50(0x7f7fffffd340,0x7f7fffffd250) 629 1 expect NAMI "/workzone/ACATS" 629 1 expect RET __lstat50 0 629 1 expect CALL __stat50(0x7f7ff7b3a050,0x7f7fffffdb00) 629 1 expect NAMI "/workzone/ACATS/exp_test.exp" 629 1 expect RET __stat50 0 629 1 expect CALL open(0x7f7ff7b3a050,0,0x1a4) 629 1 expect NAMI "/workzone/ACATS/exp_test.exp" 629 1 expect RET open 6 629 1 expect CALL fcntl(6,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL ioctl(6,TIOCGETA,0x7f7fffffd900) 629 1 expect RET ioctl -1 errno 25 Inappropriate ioctl for device 629 1 expect CALL read(6,0x7f7ff7b5a038,0x1000) 629 1 expect GIO fd 6 read 222 bytes "#!/usr/bin/expect -f\n\nif {[info exists env(DEJAGNU_TIMEOUT)]} {\n \ set timeout $env(DEJAGNU_TIMEOUT)\n} else {\n set timeout 300 \n}\ \n\nspawn -noecho $argv\nexpect timeout {\n send_user \"Program tim\ ed out.\\n\"\n exit 1\n}\n" 629 1 expect RET read 222/0xde 629 1 expect CALL read(6,0x7f7ff7b5a038,0x1000) 629 1 expect GIO fd 6 read 0 bytes "" 629 1 expect RET read 0 629 1 expect CALL close(6) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7ff640f1e0,2,0xf7a28f20) 629 1 expect NAMI "/dev/ptm" 629 1 expect RET open 6 629 1 expect CALL ioctl(6,TIOCPTMGET,0x7f7fffffd190) 629 1 expect NAMI "/dev/ptyp0" 629 1 expect NAMI "/dev/ttyp0" 629 1 expect GIO fd 6 read 40 bytes "\a\0\0\0\b\0\0\0/dev/null\0\0\0\0\0\0\0/dev/pts/0\0\0\0\0\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL close(6) 629 1 expect RET close 0 629 1 expect CALL ioctl(8,TIOCPTSNAME,0x7f7fffffd1c0) 629 1 expect GIO fd 8 read 40 bytes "\0\0\0\0\0\0\0\0/dev/null\0\0\0\0\0\0\0/dev/pts/0\0\0\0\0\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL close(8) 629 1 expect RET close 0 629 1 expect CALL fcntl(7,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL pipe 629 1 expect RET pipe 6, 8 629 1 expect CALL pipe 629 1 expect RET pipe 9, 10/0xa 629 1 expect CALL pipe 629 1 expect RET pipe 11/0xb, 12/0xc 629 1 expect CALL fork 629 1 expect RET fork 593/0x251 629 1 expect CALL close(8) 629 1 expect RET close 0 629 1 expect CALL close(9) 629 1 expect RET close 0 593 1 expect EMUL "netbsd" 593 1 expect RET fork 0 593 1 expect CALL _lwp_ctl(1,0x7f7fffc00208) 593 1 expect RET _lwp_ctl 0 593 1 expect CALL _lwp_self 593 1 expect RET _lwp_self 1 593 1 expect CALL close(6) 593 1 expect RET close 0 593 1 expect CALL close(0xa) 593 1 expect RET close 0 593 1 expect CALL close(0xb) 593 1 expect RET close 0 593 1 expect CALL fcntl(0xc,2,1) 593 1 expect RET fcntl 0 593 1 expect CALL close(5) 593 1 expect RET close 0 593 1 expect CALL setsid 593 1 expect RET setsid 593/0x251 593 1 expect CALL fcntl(2,0,3) 593 1 expect RET fcntl 5 593 1 expect CALL close(0) 593 1 expect RET close 0 593 1 expect CALL close(1) 593 1 expect RET close 0 593 1 expect CALL close(2) 593 1 expect RET close 0 593 1 expect CALL open(0x7f7ff7a28f60,2,0) 593 1 expect NAMI "/dev/pts/0" 593 1 expect RET open 0 593 1 expect CALL fcntl(0,0,1) 593 1 expect RET fcntl 1 593 1 expect CALL fcntl(0,0,2) 593 1 expect RET fcntl 2 593 1 expect CALL ioctl(0,TIOCSETAW,0x7f7ff7a2b7c0) 593 1 expect GIO fd 0 wrote 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 593 1 expect RET ioctl 0 593 1 expect CALL ioctl(0,TIOCSWINSZ,0x7f7ff7a2b398) 593 1 expect GIO fd 0 wrote 8 bytes "\^Y\0P\0\0\0\0\0" 593 1 expect RET ioctl 0 593 1 expect CALL __sigaction_sigtramp(SIGCHLD,0x7f7fffffa9c0,0x7f7fffffa9a0,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGINT,0x7f7fffffa920,0x7f7fffffa980,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffa920,0x7f7fffffa940,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigprocmask14(1,0x7f7fffffa9b0,0x7f7fffffa9a0) 593 1 expect RET __sigprocmask14 0 593 1 expect CALL __vfork14 618 1 expect EMUL "netbsd" 618 1 expect RET fork 0 618 1 expect CALL __sigaction_sigtramp(SIGINT,0x7f7fffffa980,0,0x7f7ff748c160,2) 618 1 expect RET __sigaction_sigtramp 0 618 1 expect CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffa940,0,0x7f7ff748c160,2) 618 1 expect RET __sigaction_sigtramp 0 618 1 expect CALL __sigprocmask14(3,0x7f7fffffa9a0,0) 618 1 expect RET __sigprocmask14 0 618 1 expect CALL execve(0x7f7ff74ea65b,0x7f7fffffa960,0x7f7fffffdc98) 618 1 expect NAMI "/bin/sh" 618 1 expect NAMI "/libexec/ld.elf_so" 618 1 sh EMUL "netbsd" 618 1 sh RET syscall JUSTRETURN 593 1 expect RET __vfork14 618/0x26a 593 1 expect CALL __wait450(0x26a,0x7f7fffffa9cc,0,0) 629 1 expect CALL close(0xc) 629 1 expect RET close 0 629 1 expect CALL fcntl(7,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,3,1) 629 1 expect RET fcntl 2 629 1 expect CALL fcntl(7,4,6) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL read(6,0x7f7fffffd4df,1) 618 1 sh CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0) 618 1 sh RET mmap 140187598290944/0x7f7ff7ff8000 618 1 sh CALL open(0x7f7ff7c0d46d,0,0) 618 1 sh NAMI "/etc/ld.so.conf" 618 1 sh RET open -1 errno 2 No such file or directory 618 1 sh CALL open(0x7f7fffffd4c0,0,0x2e7469646562696c) 618 1 sh NAMI "/lib/libedit.so.3" 618 1 sh RET open 6 618 1 sh CALL __fstat50(6,0x7f7fffffd3e0) 618 1 sh RET __fstat50 0 618 1 sh CALL mmap(0,0x1000,1,1,6,0,0) 618 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 618 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 618 1 sh RET munmap 0 618 1 sh CALL mmap(0,0x22f000,5,0x15000002,6,0,0) 618 1 sh RET mmap 140187589935104/0x7f7ff7800000 618 1 sh CALL mmap(0x7f7ff7a29000,0x3000,3,0x12,6,0,0x29000) 618 1 sh RET mmap 140187592200192/0x7f7ff7a29000 618 1 sh CALL mmap(0x7f7ff7a2c000,0x3000,3,0x1012,0xffffffff,0,0) 618 1 sh RET mmap 140187592212480/0x7f7ff7a2c000 618 1 sh CALL mprotect(0x7f7ff7829000,0x200000,0) 618 1 sh RET mprotect 0 618 1 sh CALL close(6) 618 1 sh RET close 0 618 1 sh CALL open(0x7f7fffffd4c0,0,0x696d72657462696c) 618 1 sh NAMI "/lib/libterminfo.so.1" 618 1 sh RET open 6 618 1 sh CALL __fstat50(6,0x7f7fffffd3e0) 618 1 sh RET __fstat50 0 618 1 sh CALL mmap(0,0x1000,1,1,6,0,0) 618 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 618 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 618 1 sh RET munmap 0 618 1 sh CALL mmap(0,0x20d000,5,0x15000002,6,0,0) 618 1 sh RET mmap 140187585740800/0x7f7ff7400000 618 1 sh CALL mmap(0x7f7ff760c000,0x1000,3,0x12,6,0,0xc000) 618 1 sh RET mmap 140187587887104/0x7f7ff760c000 618 1 sh CALL mmap(0x7f7ff760d000,0,3,0x1012,0xffffffff,0,0) 618 1 sh RET mmap 140187587891200/0x7f7ff760d000 618 1 sh CALL mprotect(0x7f7ff740c000,0x200000,0) 618 1 sh RET mprotect 0 618 1 sh CALL close(6) 618 1 sh RET close 0 618 1 sh CALL open(0x7f7fffffd4c0,0,0x2e6f732e6362696c) 618 1 sh NAMI "/lib/libc.so.12" 618 1 sh RET open 6 618 1 sh CALL __fstat50(6,0x7f7fffffd3e0) 618 1 sh RET __fstat50 0 618 1 sh CALL mmap(0,0x1000,1,1,6,0,0) 618 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 618 1 sh CALL munmap(0x7f7ff7ff7000,0x1000) 618 1 sh RET munmap 0 618 1 sh CALL mmap(0,0x329000,5,0x15000002,6,0,0) 618 1 sh RET mmap 140187581546496/0x7f7ff7000000 618 1 sh CALL mmap(0x7f7ff730c000,0xd000,3,0x12,6,0,0x10c000) 618 1 sh RET mmap 140187584741376/0x7f7ff730c000 618 1 sh CALL mmap(0x7f7ff7319000,0x10000,3,0x1012,0xffffffff,0,0) 618 1 sh RET mmap 140187584794624/0x7f7ff7319000 618 1 sh CALL mprotect(0x7f7ff710c000,0x200000,0) 618 1 sh RET mprotect 0 618 1 sh CALL close(6) 618 1 sh RET close 0 618 1 sh CALL _lwp_setprivate(0x7f7ff7ffc040) 618 1 sh RET _lwp_setprivate 0 618 1 sh CALL _lwp_self 618 1 sh RET _lwp_self 1 618 1 sh CALL __sysctl(0x7f7fffffdb70,2,0x7f7ff7327220,0x7f7fffffdb68,0,0) 618 1 sh RET __sysctl 0 618 1 sh CALL _lwp_self 618 1 sh RET _lwp_self 1 618 1 sh CALL _lwp_self 618 1 sh RET _lwp_self 1 618 1 sh CALL _lwp_self 618 1 sh RET _lwp_self 1 618 1 sh CALL issetugid 618 1 sh RET issetugid 0 618 1 sh CALL getpid 618 1 sh RET getpid 618/0x26a, 593/0x251 618 1 sh CALL __sysctl(0x7f7fffffd6b0,2,0x7f7ff7320790,0x7f7fffffd6a8,0,0) 618 1 sh RET __sysctl 0 618 1 sh CALL __sysctl(0x7f7fffffd5d0,2,0x7f7ff73282e0,0x7f7fffffd5c8,0,0) 618 1 sh RET __sysctl 0 618 1 sh CALL readlink(0x7f7ff70f0194,0x7f7fffffd6c0,0x400) 618 1 sh NAMI "/etc/malloc.conf" 618 1 sh RET readlink -1 errno 2 No such file or directory 618 1 sh CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 618 1 sh RET mmap 140187598286848/0x7f7ff7ff7000 618 1 sh CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0) 618 1 sh RET mmap 140187598282752/0x7f7ff7ff6000 618 1 sh CALL mmap(0,0x100000,3,0x14001002,0xffffffff,0,0) 618 1 sh RET mmap 140187593080832/0x7f7ff7b00000 618 1 sh CALL geteuid 618 1 sh RET geteuid 0 618 1 sh CALL __stat50(0x41a205,0x7f7fffffdaf0) 618 1 sh NAMI "." 618 1 sh RET __stat50 0 618 1 sh CALL __stat50(0x7f7ffffffe73,0x7f7fffffda50) 618 1 sh NAMI "/workzone/ACATS" 618 1 sh RET __stat50 0 618 1 sh CALL getuid 618 1 sh RET getuid 0 618 1 sh CALL geteuid 618 1 sh RET geteuid 0 618 1 sh CALL getgid 618 1 sh RET getgid 0 618 1 sh CALL getegid 618 1 sh RET getegid 0 618 1 sh CALL open(0x7f7ffffffe56,0,0x7f7ff7b06080) 618 1 sh NAMI "/root/.shrc" 618 1 sh RET open 6 618 1 sh CALL fcntl(6,2,1) 618 1 sh RET fcntl 0 618 1 sh CALL read(6,0x7f7ff7b0a400,0x3f8) 618 1 sh GIO fd 6 read 221 bytes "# $NetBSD: dot.shrc,v 1.8 2007/11/24 11:14:41 pavel Exp $\n\nif \ [ -f /etc/shrc ]; then\n . /etc/shrc\nfi\n\nhup(){ (read pid; k\ ill -HUP $pid) /dev/null ) && set -o tabcomplete\n\ ;;\nesac\n" 618 1 sh RET read 419/0x1a3 618 1 sh CALL read(0xa,0x7f7ff7b0a800,0x3f8) 618 1 sh GIO fd 10 read 0 bytes "" 618 1 sh RET read 0 618 1 sh CALL close(0xa) 618 1 sh RET close 0 618 1 sh CALL read(6,0x7f7ff7b0a400,0x3f8) 618 1 sh GIO fd 6 read 0 bytes "" 618 1 sh RET read 0 618 1 sh CALL close(6) 618 1 sh RET close 0 618 1 sh CALL __sigaction_sigtramp(SIGINT,0,0x7f7fffffdb60,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGINT,0x7f7fffffdb30,0x7f7fffffdb10,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGINT,0,0x7f7fffffdb20,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGINT,0x7f7fffffdb20,0,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigprocmask14(2,0x7f7fffffdb80,0) 618 1 sh RET __sigprocmask14 0 618 1 sh CALL __sigaction_sigtramp(SIGQUIT,0,0x7f7fffffdb60,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffdb30,0x7f7fffffdb10,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigprocmask14(2,0x7f7fffffdb80,0) 618 1 sh RET __sigprocmask14 0 618 1 sh CALL __sigaction_sigtramp(SIGHUP,0,0x7f7fffffdb60,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGHUP,0x7f7fffffdb30,0x7f7fffffdb10,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigprocmask14(2,0x7f7fffffdb80,0) 618 1 sh RET __sigprocmask14 0 618 1 sh CALL __sigaction_sigtramp(SIGTSTP,0,0x7f7fffffdb60,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigaction_sigtramp(SIGTSTP,0x7f7fffffdb30,0x7f7fffffdb10,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __sigprocmask14(2,0x7f7fffffdb80,0) 618 1 sh RET __sigprocmask14 0 618 1 sh CALL __sigaction_sigtramp(SIGPIPE,0,0x7f7fffffdb60,0x7f7ff708c160,2) 618 1 sh RET __sigaction_sigtramp 0 618 1 sh CALL __vfork14 559 1 sh EMUL "netbsd" 559 1 sh RET fork 0 559 1 sh CALL close(0) 559 1 sh RET close 0 559 1 sh CALL open(0x622648,4,4) 559 1 sh NAMI "/dev/pts/0" 559 1 sh RET open 0 559 1 sh CALL fcntl(0,3,0) 559 1 sh RET fcntl 4 559 1 sh CALL fcntl(0,4,0) 559 1 sh RET fcntl 0 559 1 sh CALL execve(0x622610,0x622668,0x622680) 559 1 sh NAMI "/bin/stty" 559 1 sh NAMI "/libexec/ld.elf_so" 559 1 stty EMUL "netbsd" 559 1 stty RET syscall JUSTRETURN 618 1 sh RET __vfork14 559/0x22f 618 1 sh CALL getpgrp 618 1 sh RET getpgrp 593/0x251 618 1 sh CALL __wait450(0xffffffff,0x7f7fffffd9a4,0,0) 559 1 stty CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0) 559 1 stty RET mmap 140187598290944/0x7f7ff7ff8000 559 1 stty CALL open(0x7f7ff7c0d46d,0,0) 559 1 stty NAMI "/etc/ld.so.conf" 559 1 stty RET open -1 errno 2 No such file or directory 559 1 stty CALL open(0x7f7fffffd4e0,0,0x2e6f732e6362696c) 559 1 stty NAMI "/lib/libc.so.12" 559 1 stty RET open 6 559 1 stty CALL __fstat50(6,0x7f7fffffd400) 559 1 stty RET __fstat50 0 559 1 stty CALL mmap(0,0x1000,1,1,6,0,0) 559 1 stty RET mmap 140187598286848/0x7f7ff7ff7000 559 1 stty CALL munmap(0x7f7ff7ff7000,0x1000) 559 1 stty RET munmap 0 559 1 stty CALL mmap(0,0x329000,5,0x15000002,6,0,0) 559 1 stty RET mmap 140187589935104/0x7f7ff7800000 559 1 stty CALL mmap(0x7f7ff7b0c000,0xd000,3,0x12,6,0,0x10c000) 559 1 stty RET mmap 140187593129984/0x7f7ff7b0c000 559 1 stty CALL mmap(0x7f7ff7b19000,0x10000,3,0x1012,0xffffffff,0,0) 559 1 stty RET mmap 140187593183232/0x7f7ff7b19000 559 1 stty CALL mprotect(0x7f7ff790c000,0x200000,0) 559 1 stty RET mprotect 0 559 1 stty CALL close(6) 559 1 stty RET close 0 559 1 stty CALL _lwp_setprivate(0x7f7ff7ffc040) 559 1 stty RET _lwp_setprivate 0 559 1 stty CALL _lwp_self 559 1 stty RET _lwp_self 1 559 1 stty CALL __sysctl(0x7f7fffffdb90,2,0x7f7ff7b27220,0x7f7fffffdb88,0,0) 559 1 stty RET __sysctl 0 559 1 stty CALL _lwp_self 559 1 stty RET _lwp_self 1 559 1 stty CALL issetugid 559 1 stty RET issetugid 0 559 1 stty CALL ioctl(0,TIOCGETD,0x7f7fffffdbf4) 559 1 stty GIO fd 0 read 4 bytes "\0\0\0\0" 559 1 stty RET ioctl 0 559 1 stty CALL ioctl(0,TIOCGETA,0x7f7fffffdc10) 559 1 stty GIO fd 0 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 559 1 stty RET ioctl 0 559 1 stty CALL ioctl(0,TIOCGWINSZ,0x7f7fffffdc3c) 559 1 stty GIO fd 0 read 8 bytes "\^Y\0P\0\0\0\0\0" 559 1 stty RET ioctl 0 559 1 stty CALL ioctl(0,TIOCSETA,0x7f7fffffdc10) 559 1 stty GIO fd 0 wrote 44 bytes "\^B+\0\0\a\0\0\0\0K\0\0\M-O\^E\0\0\^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 559 1 stty RET ioctl 0 559 1 stty CALL _lwp_self 559 1 stty RET _lwp_self 1 559 1 stty CALL _lwp_self 559 1 stty RET _lwp_self 1 559 1 stty CALL exit(0) 618 1 sh RET __wait450 559/0x22f 618 1 sh CALL exit(0) 593 1 expect RET __wait450 618/0x26a 593 1 expect CALL __sigaction_sigtramp(SIGINT,0x7f7fffffa980,0,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffa940,0,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigprocmask14(3,0x7f7fffffa9a0,0) 593 1 expect RET __sigprocmask14 0 593 1 expect CALL __sigaction_sigtramp(SIGCHLD,0x7f7fffffa9c0,0x7f7fffffa9a0,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL ioctl(0,TIOCSCTTY,0) 593 1 expect RET ioctl 0 593 1 expect CALL __sigaction_sigtramp(SIGHUP,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGINT,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGQUIT,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGILL,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGTRAP,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGABRT,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGEMT,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGFPE,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGKILL,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp -1 errno 22 Invalid argument 593 1 expect CALL __sigaction_sigtramp(SIGBUS,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGSEGV,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGSYS,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGPIPE,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGALRM,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGTERM,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGURG,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGSTOP,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp -1 errno 22 Invalid argument 593 1 expect CALL __sigaction_sigtramp(SIGTSTP,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGCONT,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGCHLD,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGTTIN,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGTTOU,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGIO,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGXCPU,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGXFSZ,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGVTALRM,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGPROF,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGWINCH,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGINFO,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGUSR1,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGUSR2,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGPWR,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT0,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT1,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT2,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT3,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT4,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT5,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT6,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT7,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT8,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT9,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT10,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT11,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT12,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT13,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT14,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT15,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT16,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT17,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT18,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT19,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT20,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT21,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT22,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT23,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT24,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT25,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT26,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT27,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT28,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT29,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL __sigaction_sigtramp(SIGRT30,0x7f7fffffd230,0x7f7fffffd210,0x7f7ff748c160,2) 593 1 expect RET __sigaction_sigtramp 0 593 1 expect CALL write(8,0x7f7ff781fdf5,1) 593 1 expect GIO fd 8 wrote 1 bytes " " 593 1 expect RET write 1 629 1 expect GIO fd 6 read 1 bytes " " 629 1 expect RET read 1 629 1 expect CALL write(0xa,0x7f7ff781fdf5,1) 629 1 expect GIO fd 10 wrote 1 bytes " " 629 1 expect RET write 1 629 1 expect CALL close(6) 629 1 expect RET close 0 629 1 expect CALL close(0xa) 629 1 expect RET close 0 629 1 expect CALL read(0xb,0x7f7fffffd4d4,4) 593 1 expect CALL close(8) 593 1 expect RET close 0 593 1 expect CALL read(9,0x7f7fffffd4df,1) 593 1 expect GIO fd 9 read 1 bytes " " 593 1 expect RET read 1 593 1 expect CALL close(9) 593 1 expect RET close 0 593 1 expect CALL execve(0x7f7fffffd3b0,0x7f7fffffd540,0x7f7fffffdc98) 593 1 expect NAMI "tests/a/a33003a/a33003a" 593 1 expect NAMI "/usr/libexec/ld.elf_so" 593 1 a33003a EMUL "netbsd" 593 1 a33003a RET syscall JUSTRETURN 593 1 a33003a CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0) 593 1 a33003a RET mmap 140187598290944/0x7f7ff7ff8000 593 1 a33003a CALL open(0x7f7ff7c0d46d,0,0) 593 1 a33003a NAMI "/etc/ld.so.conf" 593 1 a33003a RET open -1 errno 2 No such file or directory 629 1 expect GIO fd 11 read 0 bytes "" 629 1 expect RET read 0 629 1 expect CALL close(0xb) 629 1 expect RET close 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd4a0,0) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd4a0,0) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd4a0,0) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd380,0x7f7fffffd390) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 593 1 a33003a CALL open(0x7f7fffffd4e0,0,0x2e6f732e6362696c) 593 1 a33003a NAMI "/usr/lib/libc.so.12" 593 1 a33003a RET open 6 593 1 a33003a CALL __fstat50(6,0x7f7fffffd400) 593 1 a33003a RET __fstat50 0 593 1 a33003a CALL mmap(0,0x1000,1,1,6,0,0) 593 1 a33003a RET mmap 140187598286848/0x7f7ff7ff7000 593 1 a33003a CALL munmap(0x7f7ff7ff7000,0x1000) 593 1 a33003a RET munmap 0 593 1 a33003a CALL mmap(0,0x329000,5,0x15000002,6,0,0) 593 1 a33003a RET mmap 140187589935104/0x7f7ff7800000 593 1 a33003a CALL mmap(0x7f7ff7b0c000,0xd000,3,0x12,6,0,0x10c000) 593 1 a33003a RET mmap 140187593129984/0x7f7ff7b0c000 593 1 a33003a CALL mmap(0x7f7ff7b19000,0x10000,3,0x1012,0xffffffff,0,0) 593 1 a33003a RET mmap 140187593183232/0x7f7ff7b19000 593 1 a33003a CALL mprotect(0x7f7ff790c000,0x200000,0) 593 1 a33003a RET mprotect 0 593 1 a33003a CALL close(6) 593 1 a33003a RET close 0 629 1 expect CALL write(4,0x7f7ff7094a4e,1) 629 1 expect GIO fd 4 wrote 1 bytes "\0" 629 1 expect RET write 1 629 2 expect RET __select50 1 593 1 a33003a CALL _lwp_setprivate(0x7f7ff7ffc040) 629 2 expect CALL ___lwp_park50(0,0,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 593 1 a33003a RET _lwp_setprivate 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd300,0x7f7fffffd310) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL ___lwp_park50(0x7f7fffffd340,2,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 2 expect RET ___lwp_park50 0 629 2 expect CALL read(3,0x7f7ff63ffd80,1) 629 2 expect GIO fd 3 read 1 bytes "\0" 629 2 expect RET read 1 629 2 expect CALL __select50(8,0x7f7ff63ffd40,0x7f7ff63ffd20,0x7f7ff63ffd00,0) 593 1 a33003a CALL _lwp_self 593 1 a33003a RET _lwp_self 1 593 1 a33003a CALL __sysctl(0x7f7fffffdb90,2,0x7f7ff7b27220,0x7f7fffffdb88,0,0) 593 1 a33003a RET __sysctl 0 593 1 a33003a CALL _lwp_self 593 1 a33003a RET _lwp_self 1 593 1 a33003a CALL __sigaction_sigtramp(SIGFPE,0x7f7fffffdc30,0,0x7f7ff788c160,2) 593 1 a33003a RET __sigaction_sigtramp 0 593 1 a33003a CALL __sigaction_sigtramp(SIGILL,0x7f7fffffdc30,0,0x7f7ff788c160,2) 593 1 a33003a RET __sigaction_sigtramp 0 593 1 a33003a CALL __sigaction_sigtramp(SIGSEGV,0x7f7fffffdc30,0,0x7f7ff788c160,2) 593 1 a33003a RET __sigaction_sigtramp 0 593 1 a33003a CALL __sigaction_sigtramp(SIGBUS,0x7f7fffffdc30,0,0x7f7ff788c160,2) 593 1 a33003a RET __sigaction_sigtramp 0 593 1 a33003a CALL __fstat50(2,0x7f7fffffdb90) 593 1 a33003a RET __fstat50 0 593 1 a33003a CALL __fstat50(0,0x7f7fffffdb90) 593 1 a33003a RET __fstat50 0 593 1 a33003a CALL __fstat50(1,0x7f7fffffdb90) 593 1 a33003a RET __fstat50 0 593 1 a33003a CALL write(1,0x7f7fffffd9e0,1) 593 1 a33003a GIO fd 1 wrote 1 bytes "\n" 593 1 a33003a RET write 1 593 1 a33003a CALL __gettimeofday50(0x7f7fffffd940,0x7f7fffffd950) 593 1 a33003a RET __gettimeofday50 0 593 1 a33003a CALL write(1,0x7f7fffffd980,0x29) 593 1 a33003a GIO fd 1 wrote 41 bytes ",.,. A33003A ACATS 2.5 11-04-25 12:25:17\n" 593 1 a33003a RET write 41/0x29 593 1 a33003a CALL write(1,0x7f7fffffd960,0x40) 629 2 expect RET __select50 1 593 1 a33003a GIO fd 1 wrote 64 bytes "---- A33003A CHECK THAT ALMOST RECURSIVE TYPES CAN BE DECLARED.\n" 629 2 expect CALL _lwp_unpark(1,0x7f7ff7b0b9e8) 593 1 a33003a RET write 64/0x40 629 2 expect RET _lwp_unpark 0 593 1 a33003a CALL write(1,0x7f7fffffd9f0,0x32) 629 2 expect CALL __select50(8,0x7f7ff63ffd40,0x7f7ff63ffd20,0x7f7ff63ffd00,0) 593 1 a33003a GIO fd 1 wrote 50 bytes "==== A33003A PASSED ============================.\n" 593 1 a33003a RET write 50/0x32 629 1 expect RET ___lwp_park50 0 593 1 a33003a CALL _lwp_self 593 1 a33003a RET _lwp_self 1 593 1 a33003a CALL _lwp_self 593 1 a33003a RET _lwp_self 1 593 1 a33003a CALL exit(0) 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL read(7,0x7f7ff7b5e838,0x1000) 629 1 expect GIO fd 7 read 160 bytes "\r\n,.,. A33003A ACATS 2.5 11-04-25 12:25:17\r\n---- A33003A CHECK THA\ T ALMOST RECURSIVE TYPES CAN BE DECLARED.\r\n==== A33003A PASSED =====\ =======================.\r\n" 629 1 expect RET read 160/0xa0 629 1 expect CALL write(1,0x7f7ff7b60038,0xa0) 629 1 expect GIO fd 1 wrote 160 bytes "\r\n,.,. A33003A ACATS 2.5 11-04-25 12:25:17\r\n---- A33003A CHECK THA\ T ALMOST RECURSIVE TYPES CAN BE DECLARED.\r\n==== A33003A PASSED =====\ =======================.\r\n" 629 1 expect RET write 160/0xa0 629 1 expect CALL __gettimeofday50(0x7f7fffffd4a0,0) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd380,0x7f7fffffd390) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL write(4,0x7f7ff7094a4e,1) 629 1 expect GIO fd 4 wrote 1 bytes "\0" 629 1 expect RET write 1 629 2 expect RET __select50 1 629 2 expect CALL ___lwp_park50(0,0,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 1 expect CALL __gettimeofday50(0x7f7fffffd300,0x7f7fffffd310) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL ___lwp_park50(0x7f7fffffd340,2,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 2 expect RET ___lwp_park50 0 629 2 expect CALL read(3,0x7f7ff63ffd80,1) 629 2 expect GIO fd 3 read 1 bytes "\0" 629 2 expect RET read 1 629 2 expect CALL __select50(8,0x7f7ff63ffd40,0x7f7ff63ffd20,0x7f7ff63ffd00,0) 629 2 expect RET __select50 1 629 2 expect CALL _lwp_unpark(1,0x7f7ff7b0b9e8) 629 2 expect RET _lwp_unpark 0 629 2 expect CALL __select50(8,0x7f7ff63ffd40,0x7f7ff63ffd20,0x7f7ff63ffd00,0) 629 1 expect RET ___lwp_park50 0 629 1 expect CALL __gettimeofday50(0x7f7fffffd350,0x7f7fffffd360) 629 1 expect RET __gettimeofday50 0 629 1 expect CALL read(7,0x7f7ff7b5e838,0x1000) 629 1 expect GIO fd 7 read 0 bytes "" 629 1 expect RET read 0 629 1 expect CALL fcntl(7,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL fcntl(7,4,2) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,3,0) 629 1 expect RET fcntl 2 629 1 expect CALL close(7) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7ff781ffa1,0,0xf7b18810) 629 1 expect NAMI "/dev/null" 629 1 expect RET open 6 629 1 expect CALL fcntl(6,0,7) 629 1 expect RET fcntl 7 629 1 expect CALL close(6) 629 1 expect RET close 0 629 1 expect CALL fcntl(7,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL ioctl(5,TIOCGETA,0x7f7fffffd630) 629 1 expect GIO fd 5 read 44 bytes "\^B+\0\0\^C\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\^Z\ \^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0" 629 1 expect RET ioctl 0 629 1 expect CALL fcntl(5,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL fcntl(5,4,2) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(5,3,0) 629 1 expect RET fcntl 2 629 1 expect CALL close(5) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7ff781ffa1,0,0xf7b18090) 629 1 expect NAMI "/dev/null" 629 1 expect RET open 5 629 1 expect CALL fcntl(5,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl 6 629 1 expect CALL fcntl(2,4,2) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl 2 629 1 expect CALL close(2) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7ff781ffa1,0,0xf7b17d90) 629 1 expect NAMI "/dev/null" 629 1 expect RET open 2 629 1 expect CALL fcntl(2,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 2 629 1 expect CALL fcntl(0,4,2) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 2 629 1 expect CALL close(0) 629 1 expect RET close 0 629 1 expect CALL close(1) 629 1 expect RET close 0 629 1 expect CALL open(0x7f7ff781ffa1,0,0xf7b17490) 629 1 expect NAMI "/dev/null" 629 1 expect RET open 0 629 1 expect CALL fcntl(0,2,1) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,4,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(7,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL close(7) 629 1 expect RET close 0 629 1 expect CALL fcntl(5,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(5,4,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(5,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL close(5) 629 1 expect RET close 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(2,4,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL close(2) 629 1 expect RET close 0 629 1 expect CALL fcntl(2,3,0) 629 1 expect RET fcntl -1 errno 9 Bad file descriptor 629 1 expect CALL fcntl(2,4,0xfffffffb) 629 1 expect RET fcntl -1 errno 9 Bad file descriptor 629 1 expect CALL fcntl(1,3,0) 629 1 expect RET fcntl -1 errno 9 Bad file descriptor 629 1 expect CALL fcntl(1,4,0xfffffffb) 629 1 expect RET fcntl -1 errno 9 Bad file descriptor 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,4,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,4,0) 629 1 expect RET fcntl 0 629 1 expect CALL fcntl(0,3,0) 629 1 expect RET fcntl 0 629 1 expect CALL close(0) 629 1 expect RET close 0 629 1 expect CALL write(4,0x7f7ff709823a,1) 629 1 expect GIO fd 4 wrote 1 bytes "q" 629 1 expect RET write 1 629 2 expect RET __select50 1 629 2 expect CALL ___lwp_park50(0,0,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 1 expect CALL close(4) 629 1 expect RET close 0 629 1 expect CALL ___lwp_park50(0,2,0x7f7ff7b0b9e8,0x7f7ff7b0b9e8) 629 2 expect RET ___lwp_park50 0 629 2 expect CALL read(3,0x7f7ff63ffd80,1) 629 2 expect GIO fd 3 read 1 bytes "q" 629 2 expect RET read 1 629 2 expect CALL close(3) 629 2 expect RET close 0 629 2 expect CALL _lwp_unpark(1,0x7f7ff7b0b9e8) 629 2 expect RET _lwp_unpark 0 629 2 expect CALL _lwp_exit 629 1 expect RET ___lwp_park50 0 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL _lwp_self 629 1 expect RET _lwp_self 1 629 1 expect CALL exit(0) 589 1 sh RET __wait450 629/0x275 589 1 sh CALL read(0xa,0x622080,0x3f8) 589 1 sh GIO fd 10 read 0 bytes "" 589 1 sh RET read 0 589 1 sh CALL exit(0)