Skip to content

Instantly share code, notes, and snippets.

@moonpiedumplings
Created August 7, 2024 04:26
Show Gist options
  • Save moonpiedumplings/809dcc89cfe289f8341aae85069a57e1 to your computer and use it in GitHub Desktop.
Save moonpiedumplings/809dcc89cfe289f8341aae85069a57e1 to your computer and use it in GitHub Desktop.
This is the strace output of tmux when it fails to run, created by running `ape ./tmux new-session -d --strace 2> tmuxstrace.log`
SYS  42  42 170'949 mmap(0x6fe000000, 4'096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0) → 0x6fe000000 (10'059'776 bytes total)
SYS  42  42 258'414 getcwd([u"/stuff"], 1'023) → 7
SYS  42  42 288'657 getenv("COSMOPOLITAN_DISABLE_ZIPOS") → NULL
SYS  42  42 299'594 issetugid() → 0
SYS  42  42 306'412 getenv("COSMOPOLITAN_INIT_ZIPOS") → NULL
SYS  42  42 313'853 issetugid() → 0
SYS  42  42 320'266 GetProgramExecutableName() → "/stuff/tmux"
SYS  42  42 347'609 openat(AT_FDCWD, "/stuff/tmux", O_RDONLY) → 3
SYS  42  42 381'918 fstat(3, [{.st_size=5'140'453, .st_blocks=5'140'480/512, .st_mode=0100755, .st_dev=0x2f, .st_ino=0x4699ec}]) → 0
SYS  42  42 405'192 mmap(0, 5'140'453, PROT_READ, MAP_SHARED, 3, 0) → 0x737cf5400000 (15'200'256 bytes total)
SYS  42  42 850'834 munmap(0x737cf5400000, 2'838'528) → 0 (12'361'728 bytes total)
SYS  42  42 1'004'037 madvise(0x737cf56b5000, 2'002'944, 4) → 0
SYS  42  42 1'025'546 mmap(0, 23'968, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf58fb000 (12'386'304 bytes total)
SYS  42  42 8'846'674 close(3) → 0
SYS  42  42 8'886'949 __zipos_get("/stuff/tmux") → 0
SYS  42  42 8'936'705 mmap(0, 233'472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf567c000 (12'619'776 bytes total)
SYS  42  42 15'743'272 inflate([u"SYMT☺   ▐↑       É♥      É♥       @     "...], 233'472, u"T▌y£ÅU▼0α3√îíåR¿ñDQ“í╚€=╦◘òäQûDÜ╩╛Ä%ä↑òl"..., 78'990) → 0
SYS  42  42 15'806'988 GetSymbolTableFromZip() → 0x737cf567c000
SYS  42  42 15'832'814 getenv("HOME") → "/root"
SYS  42  42 15'838'840 getenv("TMPDIR") → NULL
SYS  42  42 15'843'828 getenv("TERM") → "xterm"
SYS  42  42 15'850'332 sys_getrandom(0,0,0) → 0
SYS  42  42 15'895'936 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf58eb000 (12'685'312 bytes total)
SYS  42  42 15'934'005 fstat(0, [{.st_size=0, .st_mode=020620, .st_gid=5, .st_dev=0x62, .st_ino=0x3, .st_rdev=34'816, .st_blksize=1'024}]) → 0
SYS  42  42 15'963'200 issetugid() → 0
SYS  42  42 15'969'244 getenv("MUSL_LOCPATH") → NULL
SYS  42  42 15'979'476 mmap(0, 48, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf58ea000 (12'689'408 bytes total)
SYS  42  42 15'992'230 getenv("LC_ALL") → NULL
SYS  42  42 15'997'765 getenv("LC_TIME") → NULL
SYS  42  42 16'001'772 getenv("LANG") → NULL
SYS  42  42 16'006'464 getenv("TZ") → NULL
SYS  42  42 16'022'304 mmap(0, 131'072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf565c000 (12'820'480 bytes total)
SYS  42  42 16'086'152 faccessat(AT_FDCWD, "/etc/localtime", 04, 0) → -1 ENOENT
SYS  42  42 16'182'793 getcwd([u"/stuff"], 1'024) → 7 ENOENT
SYS  42  42 16'194'764 getenv("PWD") → "/stuff"
SYS  42  42 16'243'786 readlinkat(AT_FDCWD, "/stuff", [""]) → -1 EINVAL
SYS  42  42 16'252'686 readlinkat(AT_FDCWD, "/stuff", [""]) → -1 EINVAL
SYS  42  42 16'259'312 getenv("HOME") → "/root"
SYS  42  42 16'266'388 readlinkat(AT_FDCWD, "/etc", [""]) → -1 EINVAL
SYS  42  42 16'273'334 readlinkat(AT_FDCWD, "/etc/tmux.conf", [""]) → -1 ENOENT
SYS  42  42 16'290'027 readlinkat(AT_FDCWD, "/root", [""]) → -1 EINVAL
SYS  42  42 16'298'570 readlinkat(AT_FDCWD, "/root/.tmux.conf", [""]) → -1 ENOENT
SYS  42  42 16'306'094 readlinkat(AT_FDCWD, "/root", [""]) → -1 EINVAL
SYS  42  42 16'311'979 readlinkat(AT_FDCWD, "/root/.config", [""]) → -1 ENOENT
SYS  42  42 16'331'678 getenv("TMUX") → NULL
SYS  42  42 16'337'178 getenv("LC_ALL") → NULL
SYS  42  42 16'341'160 getenv("LC_CTYPE") → NULL
SYS  42  42 16'345'110 getenv("LANG") → NULL
SYS  42  42 16'532'082 getenv("SHELL") → NULL
SYS  42  42 16'546'438 getuid() → 0
SYS  42  42 16'591'677 openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) → 3 ENOENT
SYS  42  42 16'634'720 fstat(3, [{.st_size=702, .st_blocks=4'096/512, .st_mode=0100644, .st_dev=0x59, .st_ino=0x44b84b}]) → 0 ENOENT
SYS  42  42 16'656'653 read(3, [u"root:x:0:0:root:/root:/bin/sh◙bin:x:1:1:"...], 4'096) → 702 ENOENT
SYS  42  42 16'668'777 lseek(3, -672, SEEK_CUR) → 30 ENOENT
SYS  42  42 16'682'234 close(3) → 0 ENOENT
SYS  42  42 16'706'778 faccessat(AT_FDCWD, "/bin/sh", 01, 0) → 0 ENOENT
SYS  42  42 16'719'560 getenv("VISUAL") → NULL
SYS  42  42 16'724'616 getenv("EDITOR") → NULL
SYS  42  42 16'728'821 getenv("TMUX") → NULL
SYS  42  42 16'733'670 getuid() → 0
SYS  42  42 16'744'314 readlinkat(AT_FDCWD, "/tmp", [""]) → -1 EINVAL
SYS  42  42 16'753'052 readlinkat(AT_FDCWD, "/tmp/", [""]) → -1 EINVAL
SYS  42  42 16'767'294 mkdirat(AT_FDCWD, "/tmp/tmux-0", 0700) → -1 EEXIST
SYS  42  42 16'783'124 fstatat(AT_FDCWD, "/tmp/tmux-0", [{.st_size=14, .st_mode=040700, .st_dev=0x59, .st_ino=0x469e28}], AT_SYMLINK_NOFOLLOW) → 0 EEXIST
SYS  42  42 16'793'357 setenv("EVENT_NOEPOLL", "1", true) → 0 EEXIST
SYS  42  42 16'835'716 issetugid() → 0
SYS  42  42 16'853'124 getenv("EVENT_PRECISE_TIMER") → NULL
SYS  42  42 16'910'039 issetugid() → 0
SYS  42  42 16'922'624 getenv("EVENT_NOPOLL") → NULL
SYS  42  42 16'954'952 pipe2([{3, 4}], 02004000) → 0 EEXIST
SYS  42  42 16'965'771 issetugid() → 0
SYS  42  42 16'971'199 getenv("EVENT_SHOW_METHOD") → NULL
SYS  42  42 16'998'688 sigaction(SIGCHLD, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'072'015 uname([{"Linux", "ba547aff2e7e", "6.10.1-zen1-1-zen", "Cosmopolitan 3.6.2 MODE=x86_64; #1 ZEN SMP PREEMPT_DYNAMIC Wed, 24 Jul 2024 22:25:17 +0000", "x86_64", ""}]) → 0 EEXIST
SYS  42  42 17'118'350 sigaction(SIGPIPE, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EEXIST
SYS  42  42 17'125'958 sigaction(SIGTSTP, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EEXIST
SYS  42  42 17'132'750 sigaction(SIGTTIN, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EEXIST
SYS  42  42 17'138'930 sigaction(SIGTTOU, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EEXIST
SYS  42  42 17'148'448 sigaction(SIGQUIT, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EEXIST
SYS  42  42 17'183'394 sigaction(SIGINT, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'195'468 sigaction(SIGHUP, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'207'426 sigaction(SIGCHLD, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_IGN, .sa_flags=SA_RESTART|SA_RESTORER}]) → 0 EEXIST
SYS  42  42 17'219'340 sigaction(SIGCONT, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'229'124 sigaction(SIGTERM, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'242'669 sigaction(SIGUSR1, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'252'510 sigaction(SIGUSR2, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'263'038 sigaction(SIGWINCH, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL}]) → 0 EEXIST
SYS  42  42 17'294'386 socket(AF_UNIX, SOCK_STREAM, IPPROTO_IP) → 5 EEXIST
SYS  42  42 17'348'470 connect(5, /tmp/tmux-0/default) → -1 ECONNREFUSED
SYS  42  42 17'383'572 close(5) → 0 ECONNREFUSED
SYS  42  42 17'480'002 openat(AT_FDCWD, "/tmp/tmux-0/default.lock", O_WRONLY|O_CREAT, 0600) → 5 ECONNREFUSED
SYS  42  42 17'502'010 flock(5, 6) → 0 ECONNREFUSED
SYS  42  42 17'531'746 socket(AF_UNIX, SOCK_STREAM, IPPROTO_IP) → 6 ECONNREFUSED
SYS  42  42 17'554'106 connect(6, /tmp/tmux-0/default) → -1 ECONNREFUSED
SYS  42  42 17'577'317 close(6) → 0 ECONNREFUSED
SYS  42  42 17'657'982 unlinkat(AT_FDCWD, "/tmp/tmux-0/default", 0) → 0 ECONNREFUSED
SYS  42  42 17'676'178 sigprocmask(SIG_BLOCK, ~{ABRT,KILL,STOP,THR}, [{}]) → 0 ECONNREFUSED
SYS  42  42 17'717'562 pthread_atfork(prepare, localtime_lock)
SYS  42  42 17'730'656 pthread_atfork(prepare, __gdtoa_lock)
SYS  42  42 17'739'084 pthread_atfork(prepare, __gdtoa_lock1)
SYS  42  42 17'744'786 pthread_atfork(prepare, __cxa_lock)
SYS  42  42 17'751'308 pthread_atfork(prepare, __stdio_fork_prepare)
SYS  42  42 17'776'206 pthread_atfork(prepare, dlmalloc_pre_fork)
SYS  42  42 17'914'412 pthread_atfork(parent, dlmalloc_post_fork_parent)
SYS  42  42 17'929'308 pthread_atfork(parent, __stdio_fork_parent)
SYS  42  42 17'964'442 pthread_atfork(parent, __cxa_unlock)
SYS  42  42 17'971'500 pthread_atfork(parent, __gdtoa_unlock1)
SYS  42  42 17'977'735 pthread_atfork(parent, __gdtoa_unlock)
SYS  42  42 17'981'224 pthread_atfork(parent, localtime_unlock)
SYS  42  42 17'985'364 fork() → 43 ECONNREFUSED (took 261 us)
SYS  42  42 17'990'360 close(7) → 0 ECONNREFUSED
SYS  42  42 17'995'164 sigprocmask(SIG_SETMASK, {}, [NULL]) → 0 ECONNREFUSED
SYS  43  43 17'994'282 pthread_atfork(child, dlmalloc_post_fork_child)
SYS  42  42 18'003'633 close(5) → 0 ECONNREFUSED
SYS  43  43 18'021'850 pthread_atfork(child, __stdio_fork_child)
SYS  42  42 18'024'733 fcntl(6, F_GETFL) → O_RDWR
SYS  43  43 18'030'140 pthread_atfork(child, __cxa_wipe)
SYS  42  42 18'031'094 fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) → 0 ECONNREFUSED
SYS  43  43 18'035'311 pthread_atfork(child, __gdtoa_initlock1)
SYS  43  43 18'042'728 pthread_atfork(child, __gdtoa_initlock)
SYS  43  43 18'045'940 pthread_atfork(child, localtime_wipe)
SYS  43  43 18'054'167 fork() → 0 (child of 42; took 359 us)
SYS  43  43 18'064'742 close(6) → 0 ECONNREFUSED
SYS  43  43 18'069'783 pthread_atfork(prepare, localtime_lock)
SYS  43  43 18'073'486 pthread_atfork(prepare, __gdtoa_lock)
SYS  42  42 18'074'710 getuid() → 0
SYS  43  43 18'076'607 pthread_atfork(prepare, __gdtoa_lock1)
SYS  43  43 18'083'540 pthread_atfork(prepare, __cxa_lock)
SYS  43  43 18'087'210 pthread_atfork(prepare, __stdio_fork_prepare)
SYS  43  43 18'090'495 pthread_atfork(prepare, dlmalloc_pre_fork)
SYS  42  42 18'096'746 getcwd([u"/stuff"], 1'024) → 7 ECONNREFUSED
SYS  42  42 18'102'838 getenv("PWD") → "/stuff"
SYS  42  42 18'110'655 readlinkat(AT_FDCWD, "/stuff", [""]) → -1 EINVAL
SYS  42  42 18'117'390 readlinkat(AT_FDCWD, "/stuff", [""]) → -1 EINVAL
SYS  42  42 18'122'496 isatty(0) → true ECONNREFUSED
SYS  42  42 18'143'276 readlinkat(AT_FDCWD, "/proc/self/fd/0", ["/dev/pts/0"]) → 10 ECONNREFUSED
SYS  42  42 18'155'819 fstatat(AT_FDCWD, "/dev/pts/0", [{.st_size=0, .st_mode=020620, .st_gid=5, .st_dev=0x62, .st_ino=0x3, .st_rdev=34'816, .st_blksize=1'024}], 0) → 0 ECONNREFUSED
SYS  42  42 18'163'393 fstat(0, [{.st_size=0, .st_mode=020620, .st_gid=5, .st_dev=0x62, .st_ino=0x3, .st_rdev=34'816, .st_blksize=1'024}]) → 0 ECONNREFUSED
SYS  42  42 18'167'590 ttyname_r(0, u"/dev/pts/0") → 0
SYS  42  42 18'171'248 getenv("TERM") → "xterm"
SYS  42  42 18'175'044 isatty(0) → true ECONNREFUSED
SYS  42  42 18'182'458 getenv("TERMINFO") → NULL
SYS  43  43 18'192'070 pthread_atfork(parent, dlmalloc_post_fork_parent)
SYS  42  42 18'195'554 getenv("HOME") → "/root"
SYS  42  42 18'208'367 getenv("HOME") → "/root"
SYS  43  43 18'208'820 pthread_atfork(parent, __stdio_fork_parent)
SYS  42  42 18'211'800 getenv("TERMINFO_DIRS") → NULL
SYS  42  42 18'237'112 fstatat(AT_FDCWD, "/root/.terminfo", [n/a], 0) → -1 ENOENT
SYS  44  44 18'241'222 pthread_atfork(child, dlmalloc_post_fork_child)
SYS  43  43 18'256'905 pthread_atfork(parent, __cxa_unlock)
SYS  42  42 18'259'759 fstatat(AT_FDCWD, "/zip/usr/share/terminfo", [{.st_size=0, .st_mode=040755, .st_dev=0x4699ec, .st_ino=0x4a0bb0}], 0) → 0 ENOENT
SYS  44  44 18'267'083 pthread_atfork(child, __stdio_fork_child)
SYS  43  43 18'272'286 pthread_atfork(parent, __gdtoa_unlock1)
SYS  44  44 18'284'343 pthread_atfork(child, __cxa_wipe)
SYS  42  42 18'287'716 faccessat(AT_FDCWD, "/zip/usr/share/terminfo/x/xterm", 04, 0) → 0 ENOENT
SYS  43  43 18'289'276 pthread_atfork(parent, __gdtoa_unlock)
SYS  44  44 18'291'377 pthread_atfork(child, __gdtoa_initlock1)
SYS  43  43 18'300'082 pthread_atfork(parent, localtime_unlock)
SYS  44  44 18'306'299 pthread_atfork(child, __gdtoa_initlock)
SYS  43  43 18'308'934 fork() → 44 ECONNREFUSED (took 155 us)
SYS  44  44 18'313'075 pthread_atfork(child, localtime_wipe)
SYS  42  42 18'315'202 mmap(0, 3'882, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf58e9000 ENOENT (12'824'576 bytes total)
SYS  43  43 18'317'822 _Exit(0)
SYS  44  44 18'324'886 fork() → 0 (child of 43; took 185 us)
SYS  44  44 18'346'593 setsid() → 44 ECONNREFUSED
SYS  42  42 18'372'078 inflate([u"→☺0 & ☼ ¥☺►♠xterm|xterm terminal emulato"...], 3'818, u"¡V♂l\\G§╜≈╜gτú♦B¶É╦û╓íy%ìÜ▓√>│^€‼╫÷:╡S»wk"..., 1'932) → 0
SYS  42  42 18'385'540 openat(AT_FDCWD, "/zip/usr/share/terminfo/x/xterm", O_RDONLY) → 5 ENOENT
SYS  44  44 18'384'151 openat(AT_FDCWD, "/dev/null", O_RDWR) → 6 ECONNREFUSED
SYS  42  42 18'393'574 fstat(5, [{.st_size=3'818, .st_blocks=2'048/512, .st_mode=0100644, .st_dev=0x4699ec, .st_ino=0x4d08b2}]) → 0 ENOENT
SYS  44  44 18'403'549 dup2(6, 0) → 0 ECONNREFUSED
SYS  44  44 18'412'134 dup2(6, 1) → 1 ECONNREFUSED
SYS  42  42 18'411'902 readv(5, [{{u"→☺0 & ☼ ¥☺►♠xterm|xterm terminal emulato"..., 32'769}}], 2) → 3'818 ENOENT
SYS  44  44 18'417'932 dup2(6, 2) → 2 ECONNREFUSED
SYS  44  44 18'427'259 close(6) → 0 ECONNREFUSED
SYS  42  42 18'430'291 write(4, u"◄", 1) → 1 ENOENT
SYS  42  42 18'436'708 readv(5, [{}], 2) → 0 ENOENT
SYS  44  44 18'436'538 sigaction(SIGPIPE, {.sa_handler=SIG_DFL, .sa_flags=SA_RESTART}, [NULL]) → 0 ECONNREFUSED
SYS  44  44 18'444'138 sigaction(SIGTSTP, {.sa_handler=SIG_DFL, .sa_flags=SA_RESTART}, [NULL]) → 0 ECONNREFUSED
SYS  42  42 18'468'291 munmap(0x737cf58e9000, 3'882) → 0 ENOENT (12'820'480 bytes total)
SYS  44  44 18'468'832 sigaction(SIGINT, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  42  42 18'475'624 close(5) → 0 ENOENT
SYS  44  44 18'480'004 sigaction(SIGHUP, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  42  42 18'483'073 getenv("TERMINFO") → NULL
SYS  44  44 18'486'534 sigaction(SIGCHLD, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART|SA_RESTORER}, [NULL]) → 0 ECONNREFUSED
SYS  42  42 18'488'464 getenv("HOME") → "/root"
SYS  44  44 18'492'281 sigaction(SIGCONT, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  42  42 18'495'313 getenv("TERMINFO_DIRS") → NULL
SYS  44  44 18'498'404 sigaction(SIGTERM, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  44  44 18'504'361 sigaction(SIGUSR1, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  44  44 18'509'138 sigaction(SIGUSR2, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  44  44 18'513'282 sigaction(SIGWINCH, {.sa_handler=SIG_DFL}, [NULL]) → 0 ECONNREFUSED
SYS  44  44 18'522'524 close(3) → 0 ECONNREFUSED
SYS  44  44 18'526'355 close(4) → 0 ECONNREFUSED
SYS  44  44 18'530'024 close(3) → -1 EBADF
SYS  44  44 18'533'335 close(4) → -1 EBADF
SYS  42  42 18'533'775 isatty(0) → true ENOENT
SYS  44  44 18'543'782 pipe2([{3, 4}], 02004000) → 0 EBADF
SYS  42  42 18'547'638 tcgetattr(0, [{.c_iflag=ICRNL|IXON, .c_oflag=OPOST|ONLCR, .c_cflag=CS8|CREAD|0xf, .c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN, .c_cc[VMIN]=1, .c_cc[VTIME]=0, .c_cc[VINTR]=CTRL('C'), .c_cc[VQUIT]=CTRL('\\')}]) → 0 ENOENT
SYS  42  42 18'555'618 tcgetattr(0, [{.c_iflag=ICRNL|IXON, .c_oflag=OPOST|ONLCR, .c_cflag=CS8|CREAD|0xf, .c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN, .c_cc[VMIN]=1, .c_cc[VTIME]=0, .c_cc[VINTR]=CTRL('C'), .c_cc[VQUIT]=CTRL('\\')}]) → 0 ENOENT
SYS  42  42 18'561'144 isatty(0) → true ENOENT
SYS  42  42 18'565'223 tcgetwinsize(0, [{.ws_row=42, .ws_col=190}]) → 0
SYS  44  44 18'565'317 uname([{"Linux", "ba547aff2e7e", "6.10.1-zen1-1-zen", "Cosmopolitan 3.6.2 MODE=x86_64; #1 ZEN SMP PREEMPT_DYNAMIC Wed, 24 Jul 2024 22:25:17 +0000", "x86_64", ""}]) → 0 EBADF
SYS  42  42 18'568'973 getenv("LINES") → NULL
SYS  42  42 18'575'515 getenv("COLUMNS") → NULL
SYS  44  44 18'577'854 sigaction(SIGPIPE, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EBADF
SYS  44  44 18'582'839 sigaction(SIGTSTP, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EBADF
SYS  44  44 18'586'794 sigaction(SIGTTIN, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EBADF
SYS  44  44 18'590'961 sigaction(SIGTTOU, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EBADF
SYS  44  44 18'594'958 sigaction(SIGQUIT, {.sa_handler=SIG_IGN, .sa_flags=SA_RESTART}, [NULL]) → 0 EBADF
SYS  44  44 18'604'995 sigaction(SIGINT, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'621'420 sigaction(SIGHUP, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'629'950 sigaction(SIGCHLD, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_IGN, .sa_flags=SA_RESTART|SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'636'979 sigaction(SIGCONT, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'644'182 sigaction(SIGTERM, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'650'720 sigaction(SIGUSR1, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'657'928 sigaction(SIGUSR2, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  42  42 18'660'899 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf564c000 (12'886'016 bytes total)
SYS  44  44 18'664'798 sigaction(SIGWINCH, {.sa_handler=evsig_handler, .sa_flags=SA_RESTART, .sa_mask=~{ABRT,KILL,STOP,THR}}, [{.sa_handler=SIG_DFL, .sa_flags=SA_RESTORER}]) → 0 EBADF
SYS  44  44 18'675'636 sigprocmask(SIG_SETMASK, {}, [NULL]) → 0 EBADF
SYS  42  42 18'728'895 close(2147483647) → -1 EBADF
SYS  42  42 18'841'305 dup(0) → 5 EBADF
SYS  42  42 18'848'004 dup(1) → 7 EBADF
SYS  42  42 18'886'995 sendmsg(6, {.name=, , .control=u"¶       ☺   ☺   ♣       ", , .iov={{u"d   ¶   ◘   λλλλ   ↑", 20}, {u"o   ↑   ◘   λλλλ   ↑    ", 24}, {u"e   ▬   ◘   λλλλxterm ", 22}, {u"m   ¶   ◘   λλλλ    ", 20}, {u"f   ←   ◘   λλλλ/dev/pts/0 ", 27}, {u"l   ↨   ◘ ..., 0) → 5'779 EBADF
SYS  42  42 19'021'338 close(5) → 0 EBADF
SYS  42  42 19'044'398 sendmsg(6, {.name=, , .control=u"¶       ☺   ☺   •       ", , .iov={{u"n   ► ☺ ◘   λλλλ", 16}}, 0) → 16 EBADF
SYS  42  42 19'063'658 close(7) → 0 EBADF
SYS  42  42 19'070'238 sendmsg(6, {.name=, , .iov={{u"k   ¶   ◘   λλλλ*   ", 20}, {u"i   &   ◘   λλλλHOSTNAME=ba547aff2e7e ", 38}, {u"i   ↑   ◘   λλλλSHLVL=1 ", 24}, {u"i   ←   ◘   λλλλHOME=/root ", 27}, {u"i   ↓   ◘   λλλλOLDPWD=/ ", 25}, {u"i   !   ..., 0) → 319 EBADF
SYS  42  42 19'099'079 poll({{3, POLLIN, [POLLIN]}, {6, POLLIN|POLLOUT, [POLLOUT]}}, 2, -1) → 2 EBADF
SYS  42  42 19'106'276 read(3, [u"◄"], 1'024) → 1 EBADF
SYS  42  42 19'110'356 read(3, [u""], 1'024) → -1 EAGAIN
SYS  42  42 19'116'672 sendmsg(6, {.name=, , .iov={{u"╚   #   ◘   λλλλ☻   new-session -d ", 35}}, 0) → 35 EAGAIN
SYS  42  42 19'141'291 wait4(-1, [0], 1, 0) → 43 EAGAIN
SYS  44  44 20'021'854 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf564c000 EBADF (12'886'016 bytes total)
SYS  44  44 21'692'006 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf563c000 EBADF (12'951'552 bytes total)
SYS  44  44 24'254'384 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf562c000 EBADF (13'017'088 bytes total)
SYS  44  44 25'562'011 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf561c000 EBADF (13'082'624 bytes total)
SYS  44  44 26'342'684 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf560c000 EBADF (13'148'160 bytes total)
SYS  44  44 27'279'443 mmap(0, 65'536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf55fc000 EBADF (13'213'696 bytes total)
SYS  44  44 27'518'253 unlinkat(AT_FDCWD, "/tmp/tmux-0/default", 0) → -1 ENOENT
SYS  44  44 27'565'586 socket(AF_UNIX, SOCK_STREAM, IPPROTO_IP) → 6 ENOENT
SYS  44  44 27'572'964 umask(022) → 01
SYS  44  44 27'656'847 bind(6, /tmp/tmux-0/default) -> 0 ENOENT
SYS  44  44 27'666'666 umask(0117) → 01
SYS  44  44 27'670'624 listen(6, 128) → 0 ENOENT
SYS  44  44 27'677'522 fcntl(6, F_GETFL) → O_RDWR
SYS  44  44 27'683'358 fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) → 0 ENOENT
SYS  44  44 27'697'209 fstatat(AT_FDCWD, "/tmp/tmux-0/default", [{.st_size=0, .st_mode=0140660, .st_dev=0x59, .st_ino=0x469e74}], 0) → 0 ENOENT
SYS  44  44 27'714'533 fchmodat(AT_FDCWD, "/tmp/tmux-0/default", 0660, 0) → 0 ENOENT
SYS  44  44 27'719'588 fcntl(7, F_GETFL) → O_RDWR
SYS  44  44 27'722'597 fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) → 0 ENOENT
SYS  44  44 27'740'426 mmap(0, 131'072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) → 0x737cf55dc000 ENOENT (13'344'768 bytes total)
SYS  44  44 27'820'822 getuid() → 0
SYS  44  44 27'866'555 unlinkat(AT_FDCWD, "/tmp/tmux-0/default.lock", 0) → 0 ENOENT
SYS  44  44 27'897'092 close(5) → 0 ENOENT
SYS  44  44 27'905'718 getuid() → 0
SYS  44  44 27'909'594 getuid() → 0
SYS  44  44 27'925'192 poll({{3, POLLIN, [0]}, {7, POLLIN, [POLLIN]}, {6, POLLIN, [0]}}, 3, 3'600'000) → 1 ENOENT
SYS  44  44 27'983'838 openat(AT_FDCWD, "/proc/44/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 5 ENOENT
SYS  44  44 27'997'429 fstat(5, [{.st_size=9, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x44886, .st_blksize=1'024}]) → 0 ENOENT
SYS  44  44 28'047'566 sys_getdents(5) → 264
SYS  44  44 28'057'940 sys_getdents(5) → 0
SYS  44  44 28'062'430 close(5) → 0
SYS  44  44 28'084'798 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 ENOENT
SYS  44  44 28'106'096 recvmsg(7, [{.control=u"¶       ☺   ☺   ♣       ", .iov={{u"d   ¶   ◘   λλλλ   ↑o   ↑   ◘   λλλλ   ↑"..., 65'535}}], 0) → 5'779 ENOENT
SYS  44  44 28'126'838 faccessat(AT_FDCWD, "/stuff", 01, 0) → 0 ENOENT
SYS  44  44 29'755'411 poll({{3, POLLIN, [0]}, {6, POLLIN, [0]}, {7, POLLIN, [POLLIN]}}, 3, 3'599'998) → 1 ENOENT
SYS  44  44 29'797'659 openat(AT_FDCWD, "/proc/44/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 8 ENOENT
SYS  44  44 29'809'153 fstat(8, [{.st_size=10, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x44886, .st_blksize=1'024}]) → 0 ENOENT
SYS  44  44 29'846'032 sys_getdents(8) → 288
SYS  44  44 29'852'821 sys_getdents(8) → 0
SYS  44  44 29'857'061 close(8) → 0
SYS  44  44 29'862'822 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 ENOENT
SYS  44  44 29'871'008 recvmsg(7, [{.control=u"¶       ☺   ☺   ◘       ", .iov={{u"n   ► ☺ ◘   λλλλ", 65'535}}], 0) → 16 ENOENT
SYS  44  44 29'885'860 poll({{3, POLLIN, [0]}, {6, POLLIN, [0]}, {7, POLLIN, [POLLIN]}}, 3, 3'599'998) → 1 ENOENT
SYS  44  44 29'893'829 openat(AT_FDCWD, "/proc/44/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 9 ENOENT
SYS  44  44 29'898'824 fstat(9, [{.st_size=11, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x44886, .st_blksize=1'024}]) → 0 ENOENT
SYS  44  44 29'909'528 sys_getdents(9) → 312
SYS  44  44 29'914'124 sys_getdents(9) → 0
SYS  44  44 29'916'891 close(9) → 0
SYS  44  44 29'922'307 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 ENOENT
SYS  44  44 29'927'028 recvmsg(7, [{.iov={{u"k   ¶   ◘   λλλλ*   i   &   ◘   λλλλHOST"..., 65'535}}], 0) → 354 ENOENT
SYS  44  44 29'941'288 isatty(5) → true ENOENT
SYS  44  44 29'947'719 tcgetattr(5, [{.c_iflag=ICRNL|IXON, .c_oflag=OPOST|ONLCR, .c_cflag=CS8|CREAD|0xf, .c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN, .c_cc[VMIN]=1, .c_cc[VTIME]=0, .c_cc[VINTR]=CTRL('C'), .c_cc[VQUIT]=CTRL('\\')}]) → 0 ENOENT
SYS  44  44 29'952'550 tcgetwinsize(5, [{.ws_row=42, .ws_col=190}]) → 0 ENOENT
SYS  44  44 29'955'435 close(8) → 0 ENOENT
SYS  44  44 29'990'254 getuid() → 0
SYS  44  44 30'015'419 gethostname(["ba547aff2e7e"], 256) → 0 ENOENT
SYS  44  44 30'034'390 faccessat(AT_FDCWD, "/bin/sh", 01, 0) → 0 ENOENT
SYS  44  44 30'042'180 sigprocmask(SIG_BLOCK, ~{ABRT,KILL,STOP,THR}, [{}]) → 0 ENOENT
SYS  44  44 30'082'600 posix_openpt(O_RDWR|O_NOCTTY) → 8 ENOENT
SYS  44  44 30'087'433 grantpt(8) → 0 ENOENT
SYS  44  44 30'090'422 unlockpt(8) → 0 ENOENT
SYS  44  44 30'100'328 tcsetwinsize(9, {.ws_row=24, .ws_col=80, .ws_xpixel=1280, .ws_ypixel=768}) → 0 ENOENT
SYS  44  44 30'106'233 sigprocmask(SIG_BLOCK, ~{ABRT,KILL,STOP,THR}, [~{ABRT,KILL,STOP,THR}]) → 0 ENOENT
SYS  44  44 30'112'532 pipe2([{10, 11}], 02000000) → 0 ENOENT
SYS  44  44 30'116'556 pthread_atfork(prepare, localtime_lock)
SYS  44  44 30'119'643 pthread_atfork(prepare, __gdtoa_lock)
SYS  44  44 30'123'610 pthread_atfork(prepare, __gdtoa_lock1)
SYS  44  44 30'125'689 pthread_atfork(prepare, __cxa_lock)
SYS  44  44 30'138'624 pthread_atfork(prepare, __stdio_fork_prepare)
SYS  44  44 30'141'825 pthread_atfork(prepare, dlmalloc_pre_fork)
SYS  44  44 30'255'954 pthread_atfork(parent, dlmalloc_post_fork_parent)
SYS  44  44 30'265'285 pthread_atfork(parent, __stdio_fork_parent)
SYS  44  44 30'273'501 pthread_atfork(parent, __cxa_unlock)
SYS  44  44 30'278'375 pthread_atfork(parent, __gdtoa_unlock1)
SYS  44  44 30'282'542 pthread_atfork(parent, __gdtoa_unlock)
SYS  44  44 30'284'890 pthread_atfork(parent, localtime_unlock)
SYS  44  44 30'287'672 fork() → 45 ENOENT (took 185 us)
SYS  44  44 30'290'738 close(9) → 0 ENOENT
SYS  44  44 30'293'390 close(11) → 0 ENOENT
SYS  45  45 30'305'418 pthread_atfork(child, dlmalloc_post_fork_child)
SYS  45  45 30'322'242 pthread_atfork(child, __stdio_fork_child)
SYS  45  45 30'327'132 pthread_atfork(child, __cxa_wipe)
SYS  45  45 30'329'527 pthread_atfork(child, __gdtoa_initlock1)
SYS  45  45 30'332'904 pthread_atfork(child, __gdtoa_initlock)
SYS  45  45 30'334'944 pthread_atfork(child, localtime_wipe)
SYS  45  45 30'340'599 fork() → 0 (child of 44; took 241 us)
SYS  45  45 30'343'894 close(8) → 0 ENOENT
SYS  45  45 30'347'994 close(10) → 0 ENOENT
SYS  45  45 30'351'108 isatty(9) → true ENOENT
SYS  45  45 30'364'685 login_tty(9) → -1 EPERM
SYS  45  45 30'370'274 write(11, u"☺   ", 4) → 4 EPERM
SYS  45  45 30'373'037 _Exit(127)
SYS  44  44 30'404'022 read(10, [u"☺   "], 4) → 4 ENOENT
SYS  44  44 30'478'216 wait4(45, [0x7f00], 0, 0) → 45 ENOENT
SYS  44  44 30'496'084 close(10) → 0 EPERM
SYS  44  44 30'515'851 close(8) → 0 EPERM
SYS  44  44 30'526'024 sigprocmask(SIG_SETMASK, ~{ABRT,KILL,STOP,THR}, [NULL]) → 0 EPERM
SYS  44  44 30'558'712 gethostname(["ba547aff2e7e"], 256) → 0 EPERM
SYS  44  44 30'564'422 gethostname(["ba547aff2e7e"], 256) → 0 EPERM
SYS  44  44 30'575'295 getuid() → 0
SYS  44  44 30'579'174 getuid() → 0
SYS  44  44 30'590'848 openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) → 8 EPERM
SYS  44  44 30'596'974 fstat(8, [{.st_size=702, .st_blocks=4'096/512, .st_mode=0100644, .st_dev=0x59, .st_ino=0x44b84b}]) → 0 EPERM
SYS  44  44 30'605'497 read(8, [u"root:x:0:0:root:/root:/bin/sh◙bin:x:1:1:"...], 4'096) → 702 EPERM
SYS  44  44 30'622'068 lseek(8, -672, SEEK_CUR) → 30 EPERM
SYS  44  44 30'628'856 close(8) → 0 EPERM
SYS  44  44 30'648'792 write(4, u"☺", 1) → 1 EPERM
SYS  44  44 30'654'736 write(4, u"◄", 1) → 1 EPERM
SYS  44  44 30'658'123 write(4, u"↕", 1) → 1 EPERM
SYS  44  44 30'661'585 write(4, u"∟", 1) → 1 EPERM
SYS  44  44 30'673'534 sigprocmask(SIG_SETMASK, {}, [NULL]) → 0 EPERM
SYS  44  44 30'714'088 poll({{3, POLLIN, [POLLIN]}, {6, POLLIN, [0]}, {7, POLLIN|POLLOUT, [POLLOUT]}}, 3, 0) → 2 EPERM
SYS  44  44 30'736'008 sendmsg(7, {.name=, , .iov={{u"/☺  ∟   ◘   λλλλ☻   ☻       ", 28}}, 0) → 28 EPERM
SYS  44  44 30'751'546 read(3, [u"☺◄↕∟"], 1'024) → 4 EPERM
SYS  44  44 30'754'446 read(3, [u""], 1'024) → -1 EAGAIN
SYS  44  44 30'757'988 wait4(-1, [0], 3, 0) → -1 ECHILD
SYS  42  42 30'767'415 poll({{3, POLLIN, [0]}, {6, POLLIN, [POLLIN]}}, 2, -1) → 1 EAGAIN
SYS  42  42 30'791'605 openat(AT_FDCWD, "/proc/42/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 5 EAGAIN
SYS  42  42 30'798'752 fstat(5, [{.st_size=8, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x4396d, .st_blksize=1'024}]) → 0 EAGAIN
SYS  42  42 30'831'422 sys_getdents(5) → 240
SYS  42  42 30'839'440 sys_getdents(5) → 0
SYS  42  42 30'844'090 close(5) → 0
SYS  42  42 30'851'738 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 EAGAIN
SYS  42  42 30'859'784 recvmsg(6, [{.iov={{u"/☺  ∟   ◘   λλλλ☻   ☻       ", 65'535}}], 0) → 28 EAGAIN
SYS  42  42 30'872'475 dup(2) → 5 EAGAIN
SYS  42  42 30'876'698 close(2) → 0 EAGAIN
SYS  42  42 30'884'641 poll({{3, POLLIN, [0]}, {5, POLLOUT, [POLLOUT]}, {6, POLLIN|POLLOUT, [POLLOUT]}}, 3, -1) → 2 EAGAIN
SYS  42  42 30'901'340 sendmsg(6, {.name=, , .iov={{u"1☺  ↑   ◘   λλλλ☻       ", 24}}SYS  44  44 30'909'041 poll({{3, POLLIN, [0]}, {6, POLLIN, [0]}, {7, POLLIN, [POLLIN]}}, 3, 3'599'996) → 1 ECHILD
, 0) → 24 EAGAIN
SYS  44  44 30'927'808 openat(AT_FDCWD, "/proc/44/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 8 ECHILD
SYS  44  44 30'934'373 fstat(8, [{.st_size=10, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x44886, .st_blksize=1'024}]) → 0 ECHILD
SYS  44  44 30'948'741 sys_getdents(8) → 288
SYS  44  44 30'955'850 sys_getdents(8) → 0
SYS  44  44 30'959'823 close(8) → 0
SYS  44  44 30'964'536 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 ECHILD
SYS  44  44 30'970'441 recvmsg(7, [{.iov={{u"1☺  ↑   ◘   λλλλ☻       ", 65'535}}], 0) → 24 ECHILD
SYS  44  44 30'983'949 poll({{3, POLLIN, [0]}, {6, POLLIN, [0]}, {7, POLLIN|POLLOUT, [POLLOUT]}}, 3, 3'599'996) → 1 ECHILD
SYS  44  44 30'990'749 sendmsg(7, {.name=, , .iov={{u"0☺  O   ◘   λλλλ☻   create window failed"..., 79}, {u"╦   ¶   ◘   λλλλ☺   ", 20}}, 0) → 99 ECHILD
SYS  42  42 31'021'877 poll({{3, POLLIN, [0]}, {6, POLLIN, [POLLIN]}}, 2, -1) → 1 EAGAIN
SYS  42  42 31'040'212 openat(AT_FDCWD, "/proc/42/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 2 EAGAIN
SYS  42  42 31'047'146 fstat(2, [{.st_size=8, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x4396d, .st_blksize=1'024}]) → 0 EAGAIN
SYS  42  42 31'063'674 sys_getdents(2) → 240
SYS  42  42 31'068'331 sys_getdents(2) → 0
SYS  42  42 31'071'750 close(2) → 0
SYS  42  42 31'076'729 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 EAGAIN
SYS  42  42 31'081'332 recvmsg(6, [{.iov={{u"0☺  O   ◘   λλλλ☻   create window failed"..., 65'535}}], 0) → 99 EAGAIN
SYS  42  42 31'094'552 poll({{3, POLLIN, [0]}, {5, POLLOUT, [POLLOUT]}, {6, POLLIN, [0]}}, 3, -1) → 1 EAGAIN
create window failed: fork failed: Operation not permitted
SYS  42  42 31'100'484 writev(5, {{u"create window failed: fork failed: Opera"..., 59}}, 1) → 59 EAGAIN
SYS  42  42 31'104'648 fcntl(0, F_GETFL) → O_RDWR|O_LARGEFILE
SYS  42  42 31'107'200 fcntl(0, F_SETFL, O_RDWR|O_LARGEFILE) → 0 EAGAIN
SYS  42  42 31'109'651 fcntl(1, F_GETFL) → O_RDWR|O_LARGEFILE
SYS  42  42 31'112'160 fcntl(1, F_SETFL, O_RDWR|O_LARGEFILE) → 0 EAGAIN
SYS  42  42 31'114'539 fcntl(2, F_GETFL) → -1 EBADF
SYS  42  42 31'122'794 exit(1)
SYS  42  42 31'126'789 __cxa_finalize(localtime_lclptr_free, 0x737cf58eb3d0)
SYS  42  42 31'129'744 __cxa_finalize(__gdtoa_Bclear, 0)
SYS  42  42 31'132'110 __cxa_finalize(fflush_unlocked, 0)
SYS  42  42 31'135'229 _Exit(1)
SYS  44  44 31'252'176 poll({{3, POLLIN, [0]}, {6, POLLIN, [0]}, {7, POLLIN, [POLLIN|POLLHUP]}}, 3, 3'599'996) → 1 ECHILD
SYS  44  44 31'272'108 openat(AT_FDCWD, "/proc/44/fd/", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY) → 8 ECHILD
SYS  44  44 31'279'026 fstat(8, [{.st_size=10, .st_mode=040500, .st_nlink=2, .st_dev=0x5f, .st_ino=0x44886, .st_blksize=1'024}]) → 0 ECHILD
SYS  44  44 31'286'765 sys_getdents(8) → 288
SYS  44  44 31'291'020 sys_getdents(8) → 0
SYS  44  44 31'294'586 close(8) → 0
SYS  44  44 31'299'545 getrlimit(RLIMIT_NOFILE, [{1048576, 1048576}]) → 0 ECHILD
SYS  44  44 31'303'155 recvmsg(7, [{.iov={}], 0) → 0 ECHILD
SYS  44  44 31'358'527 close(7) → 0 ECHILD
SYS  44  44 31'364'491 close(5) → 0 ECHILD
SYS  44  44 31'372'669 exit(0)
SYS  44  44 31'377'173 __cxa_finalize(localtime_lclptr_free, 0x737cf58eb3d0)
SYS  44  44 31'382'066 __cxa_finalize(__gdtoa_Bclear, 0)
SYS  44  44 31'386'020 __cxa_finalize(fflush_unlocked, 0)
SYS  44  44 31'390'405 _Exit(0)
@moonpiedumplings
Copy link
Author

ape ./tmux new-session -d --strace 2> tmuxstrace.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment