1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
$1 = 0xffff8000001f4ce0 "<kernel process>"
$2 = (Sortix::Thread *) 0xffff800001321000
$3 = 0x1ccb18 "console"
$4 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex () at kthread.cpp:56
#1  0x0000000000148ef6 in Sortix::kutex_wait (address=address@entry=0xffff800001821b70, value=value@entry=0, signal=signal@entry=false) at kthread.cpp:118
#2  0x0000000000149611 in Sortix::kthread_cond_wait (cond=cond@entry=0xffff800001320ee0, mutex=mutex@entry=0xffff800001320ecc) at kthread.cpp:275
#3  0x000000000014f197 in Sortix::LFBTextBuffer::RenderThread (this=0xffff800001320ec0) at lfbtextbuffer.cpp:716
#4  0x000000000014942a in Sortix::kthread_mutex_unlock (mutex=0x1) at kthread.cpp:219
$5 = (Sortix::Thread *) 0xffff8000001fe940
$6 = 0x1c676d "worker"
$7 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex () at kthread.cpp:56
#1  0x0000000000148ef6 in Sortix::kutex_wait (address=address@entry=0xffff8000001fe880, value=value@entry=0, signal=signal@entry=false) at kthread.cpp:118
#2  0x0000000000149611 in Sortix::kthread_cond_wait (cond=cond@entry=0x2f9310 <Sortix::Worker::jobsready>, mutex=mutex@entry=0x2f9320 <Sortix::Worker::jobslock>) at kthread.cpp:275
#3  0x00000000001b5ce7 in Sortix::Worker::Thread () at worker.cpp:91
#4  0x000000000014942a in Sortix::kthread_mutex_unlock (mutex=0x1) at kthread.cpp:219
$8 = (Sortix::Thread *) 0xffff8000001fbc20
$9 = 0x1bf0dc "interrupt"
$10 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex () at kthread.cpp:56
#1  0x0000000000148ef6 in Sortix::kutex_wait (address=address@entry=0xffff80000162abd0, value=value@entry=2, signal=signal@entry=false) at kthread.cpp:118
#2  0x000000000014932d in Sortix::kthread_mutex_lock (mutex=mutex@entry=0xffff80000162abd0) at kthread.cpp:183
#3  0x000000000015ceff in Sortix::EM::EM::InterruptWork (this=0xffff80000162aa40) at net/em/em.cpp:691
#4  0x000000000013e9ef in Sortix::Interrupt::WorkerThread () at interrupt.cpp:63
#5  0x000000000014942a in Sortix::kthread_mutex_unlock (mutex=0x1) at kthread.cpp:219
$11 = (Sortix::Thread *) 0xffff8000001f7220
$12 = 0x1c6556 "boot"
$13 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000001f7020, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000001f3308, mutex=mutex@entry=0x2f90ec <Sortix::process_family_lock>) at kthread.cpp:307
#3  0x000000000018cca5 in Sortix::Process::Wait (this=this@entry=0xffff8000001f1d80, thepid=thepid@entry=1, status_ptr=status_ptr@entry=0xffff8000001f7150, options=options@entry=0) at process.cpp:536
#4  0x000000000014882d in Sortix::BootThread () at kernel.cpp:770
#5  0x000000000014942a in Sortix::kthread_mutex_unlock (mutex=0x1) at kthread.cpp:219
$14 = (Sortix::Thread *) 0xffff8000001f4d20
$15 = 0x1c2999 "idle"
$16 = Sortix::NONE
#0  0x00000000001466e0 in Sortix::SystemIdleThread () at kernel.cpp:425
#1  Sortix::KernelInit (magic=<optimized out>, bootinfo_p=<optimized out>) at kernel.cpp:414
#2  0x0000000000101b5b in _start () at x64/boot.S:228
$17 = 0xffff80000162a6a0 "/sbin/init"
$18 = (Sortix::Thread *) 0xffff80000162a100
$19 = 0x1c6c92 "main"
$20 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff800001823a00, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff800001823ab8, mutex=mutex@entry=0xffff800001823aa4) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x434800, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x7ffffff7fe70) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$21 = 0xffff80000131dee0 "/bin/sortix-sh"
$22 = (Sortix::Thread *) 0xffff80000131d800
$23 = 0x1c6c92 "main"
$24 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff800001835a80, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff80000131f4d8, mutex=mutex@entry=0xffff80000131f4d0) at kthread.cpp:307
#3  0x00000000001a9308 in Sortix::TTY::read (this=0xffff80000131f400, ctx=0xffff800001835be8, userbuf=0x7ffffff7fccb <error: Cannot access memory at address 0x7ffffff7fccb>, count=<optimized out>) at tty.cpp:570
#4  0x000000000010ec13 in Sortix::Descriptor::read (this=this@entry=0xffff80000162a760, ctx=ctx@entry=0xffff800001835be8, buf=buf@entry=0x7ffffff7fccb <error: Cannot access memory at address 0x7ffffff7fccb>, count=count@entry=1) at descriptor.cpp:336
#5  0x000000000013f15e in Sortix::sys_read (fd=<optimized out>, buffer=0x7ffffff7fccb, count=1) at io.cpp:91
#6  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$25 = 0xffff80000131cda0 "/sbin/dhclient"
$26 = (Sortix::Thread *) 0xffff800001831f00
$27 = 0x1c6c92 "main"
$28 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x000000000010b332 in Sortix::Clock::SleepDelay (this=this@entry=0xffff8000001f1c80, duration=...) at clock.cpp:284
#2  0x00000000001ac94f in Sortix::sys_clock_nanosleep (clockid=<optimized out>, flags=<optimized out>, user_duration=0x7ffffff7f928, user_remainder=0x7ffffff7f938) at user-timer.cpp:289
#3  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$29 = 0xffff8000013261a0 "/sbin/sshd"
$30 = (Sortix::Thread *) 0xffff800001832620
$31 = 0x1c6c92 "main"
$32 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000018ba6c0, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000018ba778, mutex=mutex@entry=0xffff8000018ba764) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x5d26e0, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x7ffffff7faf0) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$33 = 0xffff800001833c40 "/sbin/ntpd"
$34 = (Sortix::Thread *) 0xffff80000182af20
$35 = 0x1c6c92 "main"
$36 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000018ef460, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000018ef518, mutex=mutex@entry=0xffff8000018ef504) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x55c1e0, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x0) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$37 = 0xffff800001833940 "/sbin/ntpd"
$38 = (Sortix::Thread *) 0xffff80000182c520
$39 = 0x1c6c92 "main"
$40 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000018aa6a0, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000018aa758, mutex=mutex@entry=0xffff8000018aa744) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x55c280, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x0) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$41 = 0xffff80000182d320 "/sbin/ntpd"
$42 = (Sortix::Thread *) 0xffff8000001f8360
$43 = 0x1c6c92 "main"
$44 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000018b1260, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000018b1318, mutex=mutex@entry=0xffff8000018b1304) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x7ffffff7fd28, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x0) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$45 = 0xffff800001868a60 "/sbin/sshd"
$46 = (Sortix::Thread *) 0xffff80000004c6c0
$47 = 0x1c6c92 "main"
$48 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff800001928e80, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff800001928f38, mutex=mutex@entry=0xffff800001928f24) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x5d42a0, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x7ffffff7f730) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$49 = 0xffff80000186d0a0 "/bin/time"
$50 = (Sortix::Thread *) 0xffff80000004cba0
$51 = 0x1c6c92 "main"
$52 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff800001870400, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000001e8c88, mutex=mutex@entry=0x2f90ec <Sortix::process_family_lock>) at kthread.cpp:307
#3  0x000000000018cca5 in Sortix::Process::Wait (this=this@entry=0xffff8000001e7700, thepid=thepid@entry=45, status_ptr=status_ptr@entry=0xffff8000018704a4, options=options@entry=0) at process.cpp:536
#4  0x000000000018d158 in Sortix::sys_waitpid (pid=45, user_status=0x7ffffff7ff7c, options=0) at process.cpp:572
#5  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$53 = 0xffff8000018b6180 "/bin/dash"
$54 = (Sortix::Thread *) 0xffff80000004d080
$55 = 0x1c6c92 "main"
$56 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000001d4ee0, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000001d65c8, mutex=mutex@entry=0x2f90ec <Sortix::process_family_lock>) at kthread.cpp:307
#3  0x000000000018cca5 in Sortix::Process::Wait (this=this@entry=0xffff8000001d5040, thepid=thepid@entry=-1, status_ptr=status_ptr@entry=0xffff8000001d4f84, options=options@entry=0) at process.cpp:536
#4  0x000000000018d158 in Sortix::sys_waitpid (pid=-1, user_status=0x7ffffff7f9dc, options=0) at process.cpp:572
#5  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$57 = 0xffff80000186b680 "/bin/qemu-system-x86_64"
$58 = (Sortix::Thread *) 0xffff800000057500
$59 = 0x1d121f "second"
$60 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x00000000001a5ce8 in Sortix::sys_futex (user_address=0x7ffffffbff40, op=257, value=0, user_timeout=0x0) at thread.cpp:486
#2  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$61 = (Sortix::Thread *) 0xffff800000057020
$62 = 0x1d121f "second"
$63 = Sortix::DEAD
#0  Sortix::kthread_exit () at kthread.cpp:252
#1  0x00000000001a6488 in Sortix::sys_exit_thread (requested_exit_code=<optimized out>, flags=<optimized out>, user_extended=<optimized out>) at thread.cpp:358
#2  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$64 = (Sortix::Thread *) 0xffff8000033d5f60
$65 = 0x1d121f "second"
$66 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x000000000010b332 in Sortix::Clock::SleepDelay (this=this@entry=0xffff8000001f1c80, duration=...) at clock.cpp:284
#2  0x00000000001ac94f in Sortix::sys_clock_nanosleep (clockid=<optimized out>, flags=<optimized out>, user_duration=0x7ffffffe9f88, user_remainder=0x7ffffffe9f98) at user-timer.cpp:289
#3  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$67 = (Sortix::Thread *) 0xffff800000056380
$68 = 0x1d121f "second"
$69 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x00000000001a5ce8 in Sortix::sys_futex (user_address=0x7fffffffef20, op=257, value=0, user_timeout=0x0) at thread.cpp:486
#2  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$70 = (Sortix::Thread *) 0xffff800000054da0
$71 = 0x1c6c92 "main"
$72 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff8000001ebfe0, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000001ec098, mutex=mutex@entry=0xffff8000001ec084) at kthread.cpp:307
#3  0x00000000001882b5 in Sortix::sys_ppoll (user_fds=0x3b670c0, nfds=<optimized out>, user_timeout_ts=<optimized out>, user_sigmask=0x0) at poll.cpp:310
#4  0x000000000010599b in syscall_handler () at x64/syscall.S:55
$73 = 0xffff800001876060 "/bin/ssh"
$74 = (Sortix::Thread *) 0xffff800000055ea0
$75 = 0x1c6c92 "main"
$76 = Sortix::FUTEX_WAITING
#0  Sortix::kthread_wait_futex_signal () at kthread.cpp:67
#1  0x0000000000148eef in Sortix::kutex_wait (address=address@entry=0xffff800000052440, value=value@entry=0, signal=signal@entry=true) at kthread.cpp:116
#2  0x00000000001497e7 in Sortix::kthread_cond_wait_signal (cond=cond@entry=0xffff8000083dcdc8, mutex=mutex@entry=0x2f90c8 <Sortix::TCP::tcp_lock>) at kthread.cpp:307
#3  0x000000000016db80 in Sortix::TCP::TCPSocket::recv_unlocked (this=this@entry=0xffff8000083dcd80, ctx=ctx@entry=0xffff8000000525e8, buf=buf@entry=0x7ffffff7e5ef <error: Cannot access memory at address 0x7ffffff7e5ef>, count=count@entry=1, flags=0) at net/tcp.cpp:1967
#4  0x0000000000171a0a in Sortix::TCP::TCPSocket::recv (this=0xffff8000083dcd80, ctx=0xffff8000000525e8, buf=0x7ffffff7e5ef <error: Cannot access memory at address 0x7ffffff7e5ef>, count=1, flags=<optimized out>) at net/tcp.cpp:1883
#5  0x000000000010ec13 in Sortix::Descriptor::read (this=this@entry=0xffff8000018fad00, ctx=ctx@entry=0xffff8000000525e8, buf=buf@entry=0x7ffffff7e5ef <error: Cannot access memory at address 0x7ffffff7e5ef>, count=count@entry=1) at descriptor.cpp:336
#6  0x000000000013f15e in Sortix::sys_read (fd=<optimized out>, buffer=0x7ffffff7e5ef, count=1) at io.cpp:91
#7  0x000000000010599b in syscall_handler () at x64/syscall.S:55