obsd$ kdump -d -H
25755/534659 ktrace RET ktrace 0
25755/534659 ktrace CALL execve(0x775224aca83f,0x775224aca6d0,0x775224aca6e0)
25755/534659 ktrace NAMI "/home/fred/fpc_test/test1"
25755/534659 ktrace ARGS
[0] = "/home/fred/fpc_test/test1"
25755/534659 test1 NAMI "/usr/libexec/ld.so"
25755/534659 test1 RET execve JUSTRETURN
25755/534659 test1 CALL getentropy(0x741a88170140,40)
25755/534659 test1 RET getentropy 0
25755/534659 test1 CALL getentropy(0x741a88170140,40)
25755/534659 test1 RET getentropy 0
25755/534659 test1 CALL mmap(0,0x4000,0<PROT_NONE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 27406487552/0x6618dd000
25755/534659 test1 CALL mprotect(0x6618de000,0x2000,0x3<PROT_READ|PROT_WRITE>)
25755/534659 test1 RET mprotect 0
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 29989945344/0x6fb8a4000
25755/534659 test1 CALL issetugid()
25755/534659 test1 RET issetugid 0
25755/534659 test1 CALL mprotect(0x6c4b47000,0x1000,0x1<PROT_READ>)
25755/534659 test1 RET mprotect 0
25755/534659 test1 CALL mimmutable(0x6c4b47000,0x1000)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 27950288896/0x681f79000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 29271437312/0x6d0b6b000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 25961279488/0x60b69b000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 26434912256/0x627a4c000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28200251392/0x690ddb000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 25941798912/0x60a407000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28025401344/0x68671b000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 26535165952/0x62d9e8000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 26564194304/0x62f597000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28490244096/0x6a226a000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28754604032/0x6b1e87000
25755/534659 test1 CALL open(0x6c4a47602,0x10000<O_RDONLY|O_CLOEXEC>)
25755/534659 test1 NAMI "/var/run/ld.so.hints"
25755/534659 test1 RET open 3
25755/534659 test1 CALL fstat(3,0x741a8816ff60)
25755/534659 test1 STRU struct stat { dev=4, ino=103690, mode=-r--r--r-- , nlink=1, uid=0<"root">, gid=0<"wheel">, rdev=418048, atime=1718994445<"Jun 21 20:27:25 2024">.748676392, mtime=1718994444<"Jun 21 20:27:24 2024">.998732632, ctime=1718994444<"Jun 21 20:27:24 2024">.998732632, size=55702, blocks=112, blksize=16384, flags=0x0, gen=0x0 }
25755/534659 test1 RET fstat 0
25755/534659 test1 CALL mmap(0,0xd996,0x1<PROT_READ>,0x2<MAP_PRIVATE>,3,0)
25755/534659 test1 RET mmap 27130327040/0x65117f000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 27360616448/0x65ed1e000
25755/534659 test1 CALL mimmutable(0x65117f000,0xd996)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL close(3)
25755/534659 test1 RET close 0
25755/534659 test1 CALL open(0x65118607d,0x10000<O_RDONLY|O_CLOEXEC>)
25755/534659 test1 NAMI "/usr/lib/libc.so.99.0"
25755/534659 test1 RET open 3
25755/534659 test1 CALL fstat(3,0x741a88170018)
25755/534659 test1 STRU struct stat { dev=5, ino=51896, mode=-r--r--r-- , nlink=1, uid=0<"root">, gid=7<"bin">, rdev=268552, atime=1719006410<"Jun 21 23:46:50 2024">.208707940, mtime=1718994442<"Jun 21 20:27:22 2024">.733452477, ctime=1718994442<"Jun 21 20:27:22 2024">.733452477, size=3702088, blocks=7264, blksize=16384, flags=0x0, gen=0x0 }
25755/534659 test1 RET fstat 0
25755/534659 test1 CALL read(3,0x741a8816eb00,0x1000)
25755/534659 test1 GIO fd 3 read 4096 bytes
... (removed data of GIO)
25755/534659 test1 RET read 4096/0x1000
25755/534659 test1 CALL mmap(0,0xf7000,0<PROT_NONE>,0x2<MAP_PRIVATE>,3,0)
25755/534659 test1 RET mmap 29379473408/0x6d7273000
25755/534659 test1 CALL mmap(0x6d7273000,0x37000,0x1<PROT_READ>,0x12<MAP_PRIVATE|MAP_FIXED>,3,0)
25755/534659 test1 RET mmap 29379473408/0x6d7273000
25755/534659 test1 CALL mmap(0x6d72aa000,0xa8000,0x4<PROT_EXEC>,0x12<MAP_PRIVATE|MAP_FIXED>,3,0x36000)
25755/534659 test1 RET mmap 29379698688/0x6d72aa000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 26728656896/0x63926f000
25755/534659 test1 CALL mmap(0x6d7352000,0x6000,0x3<PROT_READ|PROT_WRITE>,0x12<MAP_PRIVATE|MAP_FIXED>,3,0xdd000)
25755/534659 test1 RET mmap 29380386816/0x6d7352000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 30110879744/0x702bf9000
25755/534659 test1 CALL mmap(0x6d7358000,0x4000,0x3<PROT_READ|PROT_WRITE>,0x12<MAP_PRIVATE|MAP_FIXED>,3,0xe2000)
25755/534659 test1 RET mmap 29380411392/0x6d7358000
25755/534659 test1 CALL mmap(0x6d735c000,0xe000,0x3<PROT_READ|PROT_WRITE>,0x1012<MAP_PRIVATE|MAP_FIXED|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 29380427776/0x6d735c000
25755/534659 test1 CALL mmap(0,0x6e8,0x1<PROT_READ>,0x2<MAP_PRIVATE>,3,0xe6000)
25755/534659 test1 RET mmap 28794580992/0x6b44a7000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28916326400/0x6bb8c2000
25755/534659 test1 CALL munmap(0x6b44a7000,0x6e8)
25755/534659 test1 RET munmap 0
25755/534659 test1 CALL pinsyscalls(29379698688,688128,28916326400,331)
25755/534659 test1 RET pinsyscalls 0
25755/534659 test1 CALL msyscall(0x6d72aa000,0xa8000)
25755/534659 test1 RET msyscall 0
25755/534659 test1 CALL close(3)
25755/534659 test1 RET close 0
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28247621632/0x693b08000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 27874893824/0x67d792000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 26432163840/0x6277ad000
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 29160669184/0x6ca1c8000
25755/534659 test1 CALL getthrid()
25755/534659 test1 RET getthrid 534659/0x82883
25755/534659 test1 CALL __set_tcb(0x681f794c0)
25755/534659 test1 RET __set_tcb 0
25755/534659 test1 CALL issetugid()
25755/534659 test1 RET issetugid 0
25755/534659 test1 CALL mprotect(0x6d7352170,0x5e90,0x1<PROT_READ>)
25755/534659 test1 RET mprotect 0
25755/534659 test1 CALL mimmutable(0x6d7352170,0x5e90)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mimmutable(0x6d7273000,0xdf170)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mimmutable(0x6d7358000,0x3000)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mimmutable(0x6d735c000,0xe000)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mprotect(0x406f1a818,0x7e8,0x1<PROT_READ>)
25755/534659 test1 RET mprotect 0
25755/534659 test1 CALL mimmutable(0x406f1a818,0x7e8)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL kbind(0x741a881702d8,24,0x6b4f62fa8784ccf8)
25755/534659 test1 RET kbind 0
25755/534659 test1 CALL mmap(0x6c4a4a000,0x2000,0<PROT_NONE>,0x1012<MAP_PRIVATE|MAP_FIXED|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 29068926976/0x6c4a4a000
25755/534659 test1 CALL mimmutable(0x6c4a4a000,0x2000)
25755/534659 test1 RET mimmutable 0
25755/534659 test1 CALL mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
25755/534659 test1 RET mmap 28885450752/0x6b9b50000
25755/534659 test1 CALL mprotect(0x6b9b50000,0x1000,0x1<PROT_READ>)
25755/534659 test1 RET mprotect 0
25755/534659 test1 PSIG SIGSEGV SIG_DFL code=SEGV_ACCERR addr=0x406df5c93 trapno=6
25755/534659 test1 NAMI "test1.core"