Ticket #5489: kdebug_session.txt

File kdebug_session.txt, 15.8 KB (added by aldeck, 12 years ago)
Line 
1slab memory manager: created area 0xd7800000 (126104)
2
3slab memory manager: created area 0xd8000000 (126105)
4
5heap_add_area: area 126312 added to small heap 0xccd0c000 - usable range 0x85807000 - 0x85c00000
6
7slab memory manager: created area 0xd8800000 (133822)
8
9vm_soft_fault: va 0x70616000 not covered by area in address space
10
11vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x70616d6d, ip 0x800d2723, write 0, user 0, thread 0x2560
12
13
14
15
16
17
18
19kdebug> bt
20
21stack trace for thread 9568 "cc1plus"
22
23 kernel stack: 0x81499000 to 0x8149d000
24
25 user stack: 0x7efed000 to 0x7ffed000
26
27frame caller <image>:function + offset
28
29 0 8149c9ec (+ 48) 8006fbac <kernel_x86> invoke_command_trampoline(0x8149ca84) + 0x001c
30
31 1 8149ca1c (+ 12) 800f8bbc <kernel_x86>:arch_debug_call_with_fault_handler + 0x001b
32
33 2 8149ca28 (+ 48) 8006ed7c <kernel_x86>:debug_call_with_fault_handler + 0x0060
34
35 3 8149ca58 (+ 64) 8006fe05 <kernel_x86>:invoke_debugger_command + 0x00b9
36
37 4 8149ca98 (+ 64) 8006fc31 <kernel_x86> invoke_pipe_segment(debugger_command_pipe*: 0x855ab030, int32: 0, 0x0 "<NULL>") + 0x0079
38
39 5 8149cad8 (+ 64) 8006ff70 <kernel_x86>:invoke_debugger_command_pipe + 0x009c
40
41 6 8149cb18 (+ 48) 80071928 <kernel_x86> ExpressionParser<0x8149cbc8>::_ParseCommandPipe(0x8149cbc4) + 0x0234
42
43 7 8149cb48 (+ 64) 80070d62 <kernel_x86> ExpressionParser<0x8149cbc8>::EvaluateCommand(0x8014c4e0 "bt", 0x8149cbc4) + 0x02ba
44
45 8 8149cb88 (+ 224) 80072d3c <kernel_x86>:evaluate_debug_command + 0x0080
46
47 9 8149cc68 (+ 64) 8006d896 <kernel_x86> kernel_debugger_loop(0x8012c8b7 "PANIC: ", 0x8013c540 "vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
48
49", 0x8149cd14 "mmap#'", int32: 3) + 0x029a
50
5110 8149cca8 (+ 48) 8006daf0 <kernel_x86> kernel_debugger_internal(0x8012c8b7 "PANIC: ", 0x8013c540 "vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
52
53", 0x8149cd14 "mmap#'", int32: 3) + 0x0048
54
5511 8149ccd8 (+ 48) 8006ef14 <kernel_x86>:panic + 0x0024
56
5712 8149cd08 (+ 64) 800da6d5 <kernel_x86>:vm_page_fault + 0x0131
58
5913 8149cd48 (+ 80) 800f3be6 <kernel_x86> page_fault_exception(iframe*: 0x8149cda4) + 0x017e
60
6114 8149cd98 (+ 12) 800f8f5d <kernel_x86>:int_bottom + 0x003d
62
63kernel iframe at 0x8149cda4 (end = 0x8149cdf4)
64
65 eax 0x1 ebx 0x83679200 ecx 0x0 edx 0x70616d6d
66
67 esi 0xd206ffe4 edi 0x81807e00 ebp 0x8149ce1c esp 0x8149cdd8
68
69 eip 0x800d2723 eflags 0x10286
70
71 vector: 0xe, error code: 0x0
72
7315 8149cda4 (+ 120) 800d2723 <kernel_x86>:object_cache_alloc + 0x016b
74
7516 8149ce1c (+ 48) 800d4e6b <kernel_x86> map_page(VMArea*: 0xcdbc09b0, vm_page*: 0x836792d0, uint32: 0x1400000, uint32: 0x33 (51), vm_page_reservation*: 0x8149cefc) + 0x0083
76
7717 8149ce4c (+ 192) 800db2ef <kernel_x86> vm_soft_fault(VMAddressSpace*: 0xce7d20f0, uint32: 0x1400000, true, true) + 0x0a9f
78
7918 8149cf0c (+ 64) 800da64c <kernel_x86>:vm_page_fault + 0x00a8
80
8119 8149cf4c (+ 80) 800f3be6 <kernel_x86> page_fault_exception(iframe*: 0x8149cfa8) + 0x017e
82
8320 8149cf9c (+ 12) 800f8fc6 <kernel_x86>:int_bottom_user + 0x005a
84
85user iframe at 0x8149cfa8 (end = 0x8149d000)
86
87 eax 0x1400000 ebx 0x945e18 ecx 0x9d4c9c edx 0x3c
88
89 esi 0x4 edi 0x0 ebp 0xfa5ed8 esp 0x8149cfdc
90
91 eip 0x618741 eflags 0x10246 user esp 0x7ffecab0
92
93 vector: 0xe, error code: 0x6
94
9521 8149cfa8 (+2142277424) 00618741 <cc1plus>:varray_init (nearest) + 0x0101
96
9722 00fa5ed8 (+ 0) 00000001
98
99kdebug>
100kdebug> slabs
101 address name objsize usage empty usedobj total flags
102
1030x81803000 block cache: 16 16 0 0 0 0 c0000000
104
1050x81803110 block cache: 24 24 0 0 0 0 80000000
106
1070x81803220 block cache: 32 32 12288 0 329 381 c0000000
108
1090x81803330 block cache: 48 48 4096 0 61 84 80000000
110
1110x81803420 block cache: 64 64 4096 0 5 63 c0000000
112
1130x81803510 block cache: 80 80 4096 0 39 50 80000000
114
1150x81803600 block cache: 96 96 0 0 0 0 80000000
116
1170x818036f0 block cache: 112 112 0 0 0 0 80000000
118
1190x818037e0 block cache: 128 128 4096 0 4 31 c0000000
120
1210x818038d0 block cache: 160 160 4096 0 14 25 80000000
122
1230x818039c0 block cache: 192 192 0 0 0 0 80000000
124
1250x81803ab0 block cache: 224 224 0 0 0 0 80000000
126
1270x81803ba0 block cache: 256 256 4096 0 6 15 c0000000
128
1290x81803c90 block cache: 320 320 69632 0 195 204 80000000
130
1310x81805dc0 block cache: 384 384 0 0 0 0 80000000
132
1330x81805c80 block cache: 448 448 0 0 0 0 80000000
134
1350x81805b40 block cache: 512 512 4096 0 1 8 c0000000
136
1370x81805a00 block cache: 640 640 0 0 0 0 80000000
138
1390x818058c0 block cache: 768 768 0 0 0 0 80000000
140
1410x81805780 block cache: 896 896 0 0 0 0 80000000
142
1430x81805640 block cache: 1024 1024 65536 0 1 64 c0000000
144
1450x81805500 block cache: 1280 1280 0 0 0 0 80000000
146
1470x818053c0 block cache: 1536 1536 0 0 0 0 80000000
148
1490x81805280 block cache: 1792 1792 0 0 0 0 80000000
150
1510x81805140 block cache: 2048 2048 0 0 0 0 c0000000
152
1530x81805000 block cache: 2560 2560 0 0 0 0 88000000
154
1550x81806dc0 block cache: 3072 3072 0 0 0 0 88000000
156
1570x81806c80 block cache: 3584 3584 0 0 0 0 88000000
158
1590x81806b40 block cache: 4096 4096 0 0 0 0 c8000000
160
1610x81806a00 block cache: 4608 4608 0 0 0 0 88000000
162
1630x818068c0 block cache: 5120 5120 0 0 0 0 88000000
164
1650x81806780 block cache: 5632 5632 0 0 0 0 88000000
166
1670x81806640 block cache: 6144 6144 0 0 0 0 88000000
168
1690x81806500 block cache: 6656 6656 0 0 0 0 88000000
170
1710x818063c0 block cache: 7168 7168 0 0 0 0 88000000
172
1730x81806280 block cache: 7680 7680 0 0 0 0 88000000
174
1750x81806140 block cache: 8192 8192 0 0 0 0 c8000000
176
1770x81807e00 page mappings 24 3735552 0 56291 155553 20000000
178
1790x81807d00 cached blocks 64 1769472 0 26702 27621 20000000
180
1810x81807c00 swapblock 148 622592 152 0 4104 0
182
1830x818a0dc0 block cache buffers 2048 14680064 0 7010 7168 20000000
184
1850x818a2a00 net buffer cache 320 81920 0 181 240 0
186
1870x818a28c0 data node cache 2048 262144 0 80 128 0
188
1890x81807b00 mbufs 256 131072 0 419 480 0
190
1910x818a2780 mbuf chunks 2048 720896 0 322 352 0
192
1930x818a2640 mbuf jumbo9 chunks 9216 0 0 0 0 0
194
1950x818a2500 mbuf jumbo page size chunks 4096 0 0 0 0 0
196
1970x818a23c0 block cache buffers 2048 3145728 0 1286 1536 20000000
198
1990x818a2280 block cache buffers 2048 94896128 0 45350 46336 20000000
200
201kdebug>
202kdebug>
203kdebug> area contains 0x70616d6d
204AREA: 0xce5d0690
205name: 'w:4887:Find_4893_stack'
206owner: 0x5d
207id: 0x1c20c
208base: 0x705d7000
209size: 0x41000
210protection: 0x3b
211wiring: 0x0
212memory_type: 0x0
213cache: 0xce6db550
214cache_type: RAM
215cache_offset: 0x0
216cache_next: 0x00000000
217cache_prev: 0x00000000
218page mappings: 0
219kdebug>
220kdebug> slab_cache 0x81807e00
221name: page mappings
222lock: 0x81807e28
223object_size: 24
224cache_color_cycle: 0
225used_count: 56291
226empty_count: 0
227pressure: 76
228slab_size: 65536
229usage: 3735552
230maximum: 0
231flags: 0x20000000
232cookie: 0x00000000
233resize entry don't wait: 0x00000000
234resize entry can wait: 0x00000000
235depot:
236 full: 0x00000000, count 0
237 empty: 0x818e5a00, count 128
238 max full: 128
239 capacity: 64
240 stores:
241 [0] loaded: 0x818c0280
242 previous: 0x818b9140
243 [1] loaded: 0x818a0c80
244 previous: 0x818b9dc0
245 [2] loaded: 0x818a0000
246 previous: 0x818ba500
247 [3] loaded: 0x818c3dc0
248 previous: 0x818bc3c0
249kdebug>
250kdebug> dis -b 150 0x800d2723
2510x800d25b8: 55 push %ebp
2520x800d25b9: 89e5 mov %esp, %ebp
2530x800d25bb: 83ec1c sub $0x1c, %esp
2540x800d25be: 57 push %edi
2550x800d25bf: 56 push %esi
2560x800d25c0: 53 push %ebx
2570x800d25c1: 8b7d08 mov 0x8(%ebp), %edi
2580x800d25c4: f6477b08 testb $0x8, 0x7b(%edi)
2590x800d25c8: 751a jnz 0x800d25e4
2600x800d25ca: 83c4f4 add $0xf4, %esp
2610x800d25cd: 8d87a4000000 lea 0xa4(%edi), %eax
2620x800d25d3: 50 push %eax
2630x800d25d4: e897e3ffff call 0x800d0970
2640x800d25d9: 83c410 add $0x10, %esp
2650x800d25dc: 85c0 test %eax, %eax
2660x800d25de: 0f856c020000 jnz 0x800d2850
2670x800d25e4: 8d4728 lea 0x28(%edi), %eax
2680x800d25e7: 8945f8 mov %eax, -0x8(%ebp)
2690x800d25ea: c645fd00 movb $0x0, -0x3(%ebp)
2700x800d25ee: 85c0 test %eax, %eax
2710x800d25f0: 741a jz 0x800d260c
2720x800d25f2: 83c4f8 add $0xf8, %esp
2730x800d25f5: 83c4fe add $0xfe, %esp
2740x800d25f8: 666a00 o16 push $0x0
2750x800d25fb: 50 push %eax
2760x800d25fc: e8af71f7ff call 0x800497b0
2770x800d2601: 83c410 add $0x10, %esp
2780x800d2604: 85c0 test %eax, %eax
2790x800d2606: 0f94c0 setz %al
2800x800d2609: 8845fd mov %al, -0x3(%ebp)
2810x800d260c: 8b7748 mov 0x48(%edi), %esi
2820x800d260f: 85f6 test %esi, %esi
2830x800d2611: 0f8509010000 jnz 0x800d2720
2840x800d2617: 8d7740 lea 0x40(%edi), %esi
2850x800d261a: 8b5f40 mov 0x40(%edi), %ebx
2860x800d261d: 85db test %ebx, %ebx
2870x800d261f: 7455 jz 0x800d2676
2880x800d2621: 837e0400 cmp $0x0, 0x4(%esi)
2890x800d2625: 7521 jnz 0x800d2648
2900x800d2627: 83c4f8 add $0xf8, %esp
2910x800d262a: 53 push %ebx
2920x800d262b: 56 push %esi
2930x800d262c: 68e0a71380 push $0x8013a7e0
2940x800d2631: 6800020000 push $0x200
2950x800d2636: 6840a81380 push $0x8013a840
2960x800d263b: 68a0a81380 push $0x8013a8a0
2970x800d2640: e8abc8f9ff call 0x8006eef0
2980x800d2645: 83c420 add $0x20, %esp
2990x800d2648: 89d9 mov %ebx, %ecx
3000x800d264a: 837b0400 cmp $0x0, 0x4(%ebx)
3010x800d264e: 740c jz 0x800d265c
3020x800d2650: 8b5304 mov 0x4(%ebx), %edx
3030x800d2653: 8b03 mov (%ebx), %eax
3040x800d2655: 8902 mov %eax, (%edx)
3050x800d2657: eb07 jmp 0x800d2660
3060x800d2659: 8d7600 lea 0x0(%esi), %esi
3070x800d265c: 8b01 mov (%ecx), %eax
3080x800d265e: 8906 mov %eax, (%esi)
3090x800d2660: 833900 cmp $0x0, (%ecx)
3100x800d2663: 740b jz 0x800d2670
3110x800d2665: 8b11 mov (%ecx), %edx
3120x800d2667: 8b4104 mov 0x4(%ecx), %eax
3130x800d266a: 894204 mov %eax, 0x4(%edx)
3140x800d266d: eb07 jmp 0x800d2676
3150x800d266f: 90 nop
3160x800d2670: 8b4104 mov 0x4(%ecx), %eax
3170x800d2673: 894604 mov %eax, 0x4(%esi)
3180x800d2676: 89de mov %ebx, %esi
3190x800d2678: 85f6 test %esi, %esi
3200x800d267a: 745c jz 0x800d26d8
3210x800d267c: ff4f60 dec 0x60(%edi)
3220x800d267f: 8d5f48 lea 0x48(%edi), %ebx
3230x800d2682: 837f4800 cmp $0x0, 0x48(%edi)
3240x800d2686: 7508 jnz 0x800d2690
3250x800d2688: 837b0400 cmp $0x0, 0x4(%ebx)
3260x800d268c: 7508 jnz 0x800d2696
3270x800d268e: eb26 jmp 0x800d26b6
3280x800d2690: 837b0400 cmp $0x0, 0x4(%ebx)
3290x800d2694: 7520 jnz 0x800d26b6
3300x800d2696: 83c4f4 add $0xf4, %esp
3310x800d2699: 53 push %ebx
3320x800d269a: 68e0a81380 push $0x8013a8e0
3330x800d269f: 6887010000 push $0x187
3340x800d26a4: 6840a81380 push $0x8013a840
3350x800d26a9: 6820a91380 push $0x8013a920
3360x800d26ae: e83dc8f9ff call 0x8006eef0
3370x800d26b3: 83c420 add $0x20, %esp
3380x800d26b6: 8b4304 mov 0x4(%ebx), %eax
3390x800d26b9: 894604 mov %eax, 0x4(%esi)
3400x800d26bc: c70600000000 mov $0x0, (%esi)
3410x800d26c2: 837b0400 cmp $0x0, 0x4(%ebx)
3420x800d26c6: 7408 jz 0x800d26d0
3430x800d26c8: 8b4304 mov 0x4(%ebx), %eax
3440x800d26cb: 8930 mov %esi, (%eax)
3450x800d26cd: eb03 jmp 0x800d26d2
3460x800d26cf: 90 nop
3470x800d26d0: 8933 mov %esi, (%ebx)
3480x800d26d2: 897304 mov %esi, 0x4(%ebx)
3490x800d26d5: eb49 jmp 0x800d2720
3500x800d26d7: 90 nop
3510x800d26d8: 83c4fc add $0xfc, %esp
3520x800d26db: 8b450c mov 0xc(%ebp), %eax
3530x800d26de: 50 push %eax
3540x800d26df: 6a01 push $0x1
3550x800d26e1: 57 push %edi
3560x800d26e2: e8ddeeffff call 0x800d15c4
3570x800d26e7: 83c410 add $0x10, %esp
3580x800d26ea: 85c0 test %eax, %eax
3590x800d26ec: 742a jz 0x800d2718
3600x800d26ee: 837df800 cmp $0x0, -0x8(%ebp)
3610x800d26f2: 741c jz 0x800d2710
3620x800d26f4: 807dfd00 cmpb $0x0, -0x3(%ebp)
3630x800d26f8: 7416 jz 0x800d2710
3640x800d26fa: 8b45f8 mov -0x8(%ebp), %eax
3650x800d26fd: 83c4f8 add $0xf8, %esp
3660x800d2700: 83c4fe add $0xfe, %esp
3670x800d2703: 666a00 o16 push $0x0
3680x800d2706: 50 push %eax
3690x800d2707: e87872f7ff call 0x80049984
3700x800d270c: c645fd00 movb $0x0, -0x3(%ebp)
3710x800d2710: 31c0 xor %eax, %eax
3720x800d2712: e939010000 jmp 0x800d2850
3730x800d2717: 90 nop
3740x800d2718: ff4764 inc 0x64(%edi)
3750x800d271b: e9ecfeffff jmp 0x800d260c
3760x800d2720: 8b5618 mov 0x18(%esi), %edx
3770x800d2723: 8b02 mov (%edx), %eax
3780x800d2725: 894618 mov %eax, 0x18(%esi)
3790x800d2728: 8955f0 mov %edx, -0x10(%ebp)
3800x800d272b: ff4e10 dec 0x10(%esi)
3810x800d272e: ff475c inc 0x5c(%edi)
3820x800d2731: 8b475c mov 0x5c(%edi), %eax
3830x800d2734: 8b5758 mov 0x58(%edi), %edx
3840x800d2737: 29c2 sub %eax, %edx
3850x800d2739: 89d0 mov %edx, %eax
3860x800d273b: 3b4768 cmp 0x68(%edi), %eax
387kdebug>
388kdebug>
389kdebug> ls 0x80049984
3900x80049984 = _mutex_unlock + 0x0 (kernel_x86)
391kdebug>
392kdebug> ls 0x800d15c4
3930x800d15c4 = object_cache_reserve_internal__FP11ObjectCacheUlUl + 0x0 (kernel_x86)
394kdebug>