Ticket #1929: kdl-session-steal-pages-livelock

File kdl-session-steal-pages-livelock, 13.2 KB (added by bonefish, 17 years ago)
Line 
1Welcome to Kernel Debugging Land...
2Running on CPU 0
3kdebug> running
4thread id state sem/cv cpu pri stack team name
50x90fbe800 146 running - 0 104 0x9f6ac000 74 PS/2 Mouse 1 watcher
6kdebug> ready
7thread id state sem/cv cpu pri stack team name
80x800d55a0 1 ready - - 0 0x80101000 1 idle thread 1
90x90e38000 64 ready - - 5 0x90c45000 1 ethernet link state checker
100x90d25000 2 ready - - 5 0x800ef000 1 kernel daemon
110x90d25800 3 ready - - 1 0x800f3000 1 page scrubber
120x90d26000 4 ready - - 11 0x800f7000 1 page writer
130x90d4c800 36 ready - - 5 0x80629000 1 syslog sender
140x90d26800 5 ready - - 10 0x800fb000 1 page daemon
150x90d8a800 37 ready - - 10 0x80632000 1 invalidate_loop
160x90d27000 6 ready - - 5 0x80569000 1 low memory handler
170x90d34000 8 ready - - 5 0x80571000 1 block writer
180x91077800 257 ready - - 10 0x9fb88000 257 perl
190x90d98000 46 ready - - 10 0x8063e000 44 message deliverer
200x90f93000 140 ready - - 5 0x9f694000 86 TrackerTaskLoop
210x90e7f800 78 ready - - 10 0x9f391000 70 daemon
220x90d98800 47 ready - - 10 0x80642000 44 timer_thread
230x90f93800 141 ready - - 5 0x9f698000 1 usb explore
240x90d35000 17 ready - - 10 0x80579000 1 media checker
250x90e81800 80 ready - - 103 0x9f399000 74 _input_server_event_loop_
260x90ee5800 112 ready - - 10 0x9f3f9000 90 big brother is watching you
270x90e60800 86 ready - - 10 0x9f381000 86 Tracker
280x90ef7000 120 ready - - 15 0x9f518000 52 w:87:Deskbar
290x90f01000 122 ready - - 5 0x9f51c000 87 Expando Window Watcher
300x90e14000 61 ready - - 10 0x806cf000 1 net timer
31kdebug> sc
32stack trace for thread 146 "PS/2 Mouse 1 watcher"
33 kernel stack: 0x9f6ac000 to 0x9f6b0000
34 user stack: 0x70145000 to 0x70185000
35frame caller <image>:function + offset
369f6af928 (+ 52) 80085d4f <kernel>:invoke_debugger_command + 0x00cf
379f6af95c (+ 64) 80086af0 <kernel>:_ParseCommand__16ExpressionParserRi + 0x01f8
389f6af99c (+ 48) 800864e2 <kernel>:EvaluateCommand__16ExpressionParserPCcRi + 0x01de
399f6af9cc (+ 228) 80087c04 <kernel>:evaluate_debug_command + 0x0088
409f6afab0 (+ 64) 80084922 <kernel>:kernel_debugger_loop__Fv + 0x017a
419f6afaf0 (+ 48) 8008556d <kernel>:kernel_debugger + 0x010d
429f6afb20 (+ 192) 80085455 <kernel>:panic + 0x0029
439f6afbe0 (+ 48) 9f525e19 </boot/beos/system/add-ons/kernel/bus_managers/ps2>:ps2_interrupt + 0x00cd
449f6afc10 (+ 64) 80028d28 <kernel>:int_io_interrupt_handler + 0x00e0
459f6afc50 (+ 48) 80093bc6 <kernel>:hardware_interrupt + 0x007a
469f6afc80 (+ 12) 80096e3d <kernel>:int_bottom + 0x001d (nearest)
47iframe at 0x9f6afc8c (end = 0x9f6afce4)
48 eax 0x200 ebx 0x0 ecx 0x90fcd800 edx 0x246
49 esi 0x9f6afd88 edi 0x0 ebp 0x9f6afcdc esp 0x9f6afcc0
50 eip 0x8009384c eflags 0x246
51 vector: 0x21, error code: 0x0
529f6afc8c (+ 80) 8009384c <kernel>:arch_int_restore_interrupts + 0x0020
539f6afcdc (+ 32) 800287b2 <kernel>:restore_interrupts + 0x0012
549f6afcfc (+ 80) 80023de5 <kernel>:Wait__29PrivateConditionVariableEntryUl + 0x0229
559f6afd4c (+ 144) 80064519 <kernel>:steal_pages__FPP7vm_pageUlb + 0x0299
569f6afddc (+ 48) 80064d57 <kernel>:vm_page_reserve_pages + 0x0097
579f6afe0c (+ 272) 8005eb61 <kernel>:vm_soft_fault__FUlbT1 + 0x0225
589f6aff1c (+ 64) 8005e719 <kernel>:vm_page_fault + 0x0031
599f6aff5c (+ 64) 80093b35 <kernel>:page_fault_exception + 0x00b1
609f6aff9c (+ 12) 80096ea6 <kernel>:int_bottom_user + 0x005a (nearest)
61iframe at 0x9f6affa8 (end = 0x9f6b0000)
62 eax 0x18077088 ebx 0x5488b8 ecx 0x0 edx 0xe
63 esi 0x18075af0 edi 0x18077088 ebp 0x70184d2c esp 0x9f6affdc
64 eip 0x4d35e1 eflags 0x10206 user esp 0x70184d04
65 vector: 0xe, error code: 0x6
669f6affa8 (+ 0) 004d35e1 </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x2a5e1
6770184d2c (+ 48) 004d3a99 </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x2aa99
6870184d5c (+ 80) 004d459b </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x2b59b
6970184dac (+ 48) 004d48c1 </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x2b8c1
7070184ddc (+ 48) 004d54ec </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x2c4ec
7170184e0c (+ 48) 002dfe9b </boot/beos/system/lib/libbe.so@0x0022c000>:unknown + 0xb3e9b
7270184e3c (+ 80) 002e017f </boot/beos/system/lib/libbe.so@0x0022c000>:unknown + 0xb417f
7370184e8c (+ 64) 002e17fe </boot/beos/system/lib/libbe.so@0x0022c000>:unknown + 0xb57fe
7470184ecc (+ 48) 00591ff6 </boot/beos/system/add-ons/input_server/devices/mouse@0x0058f000>:unknown + 0x2ff6
7570184efc (+ 128) 00591d9f </boot/beos/system/add-ons/input_server/devices/mouse@0x0058f000>:unknown + 0x2d9f
7670184f7c (+ 48) 00591f1f </boot/beos/system/add-ons/input_server/devices/mouse@0x0058f000>:unknown + 0x2f1f
7770184fac (+ 48) 004ca548 </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x21548
7870184fdc (+ 0) 70184fec 1351:PS/2 Mouse 1 watcher_146_stack@0x70145000 + 0x3ffec
79kdebug> sc 80
80stack trace for thread 80 "_input_server_event_loop_"
81 kernel stack: 0x9f399000 to 0x9f39d000
82 user stack: 0x70000000 to 0x70040000
83frame caller <image>:function + offset
849f39cbf0 (+ 32) 8002ed86 <kernel>:context_switch__FP6threadT0 + 0x0026
859f39cc10 (+ 64) 8002f01a <kernel>:scheduler_reschedule + 0x0272
869f39cc50 (+ 48) 80093bfc <kernel>:hardware_interrupt + 0x00b0
879f39cc80 (+ 12) 80096e3d <kernel>:int_bottom + 0x001d (nearest)
88iframe at 0x9f39cc8c (end = 0x9f39cce4)
89 eax 0x200 ebx 0x0 ecx 0x90fbe800 edx 0x246
90 esi 0x9f39cd88 edi 0x0 ebp 0x9f39ccdc esp 0x9f39ccc0
91 eip 0x8009384c eflags 0x246
92 vector: 0x21, error code: 0x0
939f39cc8c (+ 80) 8009384c <kernel>:arch_int_restore_interrupts + 0x0020
949f39ccdc (+ 32) 800287b2 <kernel>:restore_interrupts + 0x0012
959f39ccfc (+ 80) 80023de5 <kernel>:Wait__29PrivateConditionVariableEntryUl + 0x0229
969f39cd4c (+ 144) 80064519 <kernel>:steal_pages__FPP7vm_pageUlb + 0x0299
979f39cddc (+ 48) 80064d57 <kernel>:vm_page_reserve_pages + 0x0097
989f39ce0c (+ 272) 8005eb61 <kernel>:vm_soft_fault__FUlbT1 + 0x0225
999f39cf1c (+ 64) 8005e719 <kernel>:vm_page_fault + 0x0031
1009f39cf5c (+ 64) 80093b35 <kernel>:page_fault_exception + 0x00b1
1019f39cf9c (+ 12) 80096ea6 <kernel>:int_bottom_user + 0x005a (nearest)
102iframe at 0x9f39cfa8 (end = 0x9f39d000)
103 eax 0x7003fdb8 ebx 0x5a1f08 ecx 0x46b280 edx 0x7003fdbc
104 esi 0x7003fdb8 edi 0x7003fdfc ebp 0x7003fdcc esp 0x9f39cfdc
105 eip 0x59effc eflags 0x10203 user esp 0x7003fd70
106 vector: 0xe, error code: 0x4
1079f39cfa8 (+ 0) 0059effc </boot/beos/system/add-ons/input_server/filters/screen_saver@0x0059d000>:unknown + 0x1ffc
1087003fdcc (+ 64) 005a03e7 </boot/beos/system/add-ons/input_server/filters/screen_saver@0x0059d000>:unknown + 0x33e7
1097003fe0c (+ 64) 005a0698 </boot/beos/system/add-ons/input_server/filters/screen_saver@0x0059d000>:unknown + 0x3698
1107003fe4c (+ 96) 002154d5 </boot/beos/system/servers/input_server@0x00200000>:unknown + 0x154d5
1117003feac (+ 96) 0021532e </boot/beos/system/servers/input_server@0x00200000>:unknown + 0x1532e
1127003ff0c (+ 112) 002148cb </boot/beos/system/servers/input_server@0x00200000>:unknown + 0x148cb
1137003ff7c (+ 48) 0021472b </boot/beos/system/servers/input_server@0x00200000>:unknown + 0x1472b
1147003ffac (+ 48) 004ca548 </boot/beos/system/lib/libroot.so@0x004a9000>:unknown + 0x21548
1157003ffdc (+ 0) 7003ffec 735:_input_server_event_loop__80_st@0x70000000 + 0x3ffec
116kdebug> page_stats
117page stats:
118active: 58295
119inactive: 1
120busy: 0
121unused: 294
122wired: 6705
123modified: 65766
124free: 11
125clear: 0
126reserved pages: 16
127page deficit: 5
128
129free queue: 0x800d8250, count = 11
130clear queue: 0x800d825c, count = 0
131modified queue: 0x800d8268, count = 65767 (65766 temporary)
132active queue: 0x800d8280, count = 65294
133inactive queue: 0x800d8274, count = 2
134kdebug> page_queue inactive
135queue = 0x800d8274, queue->head = 0x91f737a8, queue->tail = 0x9f51bdb0, queue->count = 2
136kdebug> page 0x91f737a8
137PAGE: 0x91f737a8
138queue_next,prev: 0x9f51bdb0, 0x00000000
139hash_next: 0x91e091f8
140physical_number: 119fe
141cache: 0x90d95300
142cache_offset: 224
143cache_next,prev: 0x91f736cc, 0x91f73eb4
144type: 0
145state: inactive
146wired_count: 0
147usage_count: -1
148busy_writing: 0
149area mappings:
150kdebug> page 0x9f51bdb0
151PAGE: 0x9f51bdb0
152queue_next,prev: 0x00000000, 0x91f737a8
153hash_next: 0x00000000
154physical_number: 9f51bddc
155cache: 0x00000000
156cache_offset: 3
157cache_next,prev: 0x9f51be0c, 0x90db1d20
158type: 1
159state: inactive
160wired_count: 0
161usage_count: -122
162busy_writing: 0
163area mappings:
164kdebug> cache 0x90d95300
165CACHE 0x90d95300:
166 ref_count: 31
167 source: 0x00000000
168 store: 0x90d9a150
169 type: vnode
170 virtual_base: 0x0
171 virtual_size: 0x2a9a83
172 temporary: 0
173 scan_skip: 0
174 lock.holder: 120
175 lock.sem: 0x436
176 areas:
177 consumers:
178 0x90d951e0
179 0x90d950c0
180 0x90d956c0
181 0x90d955a0
182 0x90da1e40
183 0x90da1c00
184 0x90dc03c0
185 0x90dc0480
186 0x90dabcc0
187 0x90daba80
188 0x90e765a0
189 0x90e76660
190 0x90e8bcc0
191 0x90e8bd80
192 0x90e945a0
193 0x90e94060
194 0x90ea8000
195 0x90ea8900
196 0x90ea8a80
197 0x90eaf000
198 0x90eaff00
199 0x90eb60c0
200 0x90efdb40
201 0x90efda20
202 0x9103b540
203 0x9103b600
204 0x9103f540
205 0x9103f600
206 pages:
207 117 in cache
208kdebug> sem 0x436
209SEM: 0x9f05ea20
210id: 1078 (0x436)
211name: 'vm_cache'
212owner: 1
213count: 0
214queue: -
215last acquired by: 120, count: 1
216last released by: 5, count: 1
217kdebug> thread 120
218THREAD: 0x90ef7000
219id: 120 (0x78)
220name: "w:87:Deskbar"
221all_next: 0x90dc7800
222team_next: 0x90eec000
223q_next: 0x90d26000
224priority: 15 (next 15)
225state: ready
226next_state: ready
227cpu: 0x00000000
228sig_pending: 0x0 (blocked: 0x0)
229in_kernel: 1
230 sem.blocking: 74
231 sem.count: 0
232 sem.acquire_status: 0x0
233 sem.flags: 0x0
234condition variables:
235fault_handler: 0x00000000
236args: 0x0025de6c 0x180d8e98
237entry: 0x006e7528
238team: 0x90d97780, "app_server"
239 exit.sem: 3414
240 exit.status: 0x0 (No error)
241 exit.reason: 0x0
242 exit.signal: 0x0
243 exit.waiters:
244kernel_stack_area: 1130
245kernel_stack_base: 0x9f518000
246user_stack_area: 1131
247user_stack_base: 0x70451000
248user_local_storage: 0x70491000
249kernel_errno: 0x0 (No error)
250kernel_time: 69177
251user_time: 3673543
252flags: 0x0
253architecture dependant section:
254 esp: 0x9f51bb90
255 ss: 0x00000010
256 fpu_state at 0x90ef7360
257kdebug> sc 120
258stack trace for thread 120 "w:87:Deskbar"
259 kernel stack: 0x9f518000 to 0x9f51c000
260 user stack: 0x70451000 to 0x70491000
261frame caller <image>:function + offset
2629f51bbec (+ 32) 8002ed86 <kernel>:context_switch__FP6threadT0 + 0x0026
2639f51bc0c (+ 64) 8002f01a <kernel>:scheduler_reschedule + 0x0272
2649f51bc4c (+ 64) 80030865 <kernel>:release_sem_etc + 0x02a9
2659f51bc8c (+ 48) 80029379 <kernel>:mutex_unlock + 0x004d
2669f51bcbc (+ 96) 8005c98c <kernel>:vm_remove_all_page_mappings + 0x015c
2679f51bd1c (+ 48) 800641dc <kernel>:steal_page__FP7vm_pageb + 0x0084
2689f51bd4c (+ 144) 800642ee <kernel>:steal_pages__FPP7vm_pageUlb + 0x006e
2699f51bddc (+ 48) 80064d57 <kernel>:vm_page_reserve_pages + 0x0097
2709f51be0c (+ 272) 8005eb61 <kernel>:vm_soft_fault__FUlbT1 + 0x0225
2719f51bf1c (+ 64) 8005e719 <kernel>:vm_page_fault + 0x0031
2729f51bf5c (+ 64) 80093b35 <kernel>:page_fault_exception + 0x00b1
2739f51bf9c (+ 12) 80096ea6 <kernel>:int_bottom_user + 0x005a (nearest)
274iframe at 0x9f51bfa8 (end = 0x9f51c000)
275 eax 0x18980d10 ebx 0x2d0450 ecx 0x1 edx 0x18001938
276 esi 0x188b8878 edi 0x18980cd8 ebp 0x70490c0c esp 0x9f51bfdc
277 eip 0x26af90 eflags 0x10207 user esp 0x70490be0
278 vector: 0xe, error code: 0x4
2799f51bfa8 (+ 0) 0026af90 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x6af90
28070490c0c (+ 64) 0024d4b9 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x4d4b9
28170490c4c (+ 48) 0027d967 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x7d967
28270490c7c (+ 416) 002765a6 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x765a6
28370490e1c (+ 288) 00275661 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x75661
28470490f3c (+ 64) 0027a5e6 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x7a5e6
28570490f7c (+ 48) 0025de94 </boot/beos/system/servers/app_server@0x00200000>:unknown + 0x5de94
28670490fac (+ 48) 006e7548 </boot/beos/system/lib/libroot.so@0x006c6000>:unknown + 0x21548
28770490fdc (+ 0) 70490fec 1131:w:87:Deskbar_120_stack@0x70451000 + 0x3ffec