Ticket #3447: serial_lock.txt

File serial_lock.txt, 8.5 KB (added by korli, 11 years ago)

debug session

Line 
1kdebug> teams
2team id parent name
30x81050990 125 0x810504c8 sh
40x80f9c000 1 0x00000000 kernel_team
50x80f9c990 71 0x80f9c000 syslog_daemon
60x81050000 75 0x80f9c7f8 input_server
70x80f9c330 45 0x80f9c000 registrar
80x80f9c4c8 52 0x80f9c000 debug_server
90x80f9c660 53 0x80f9c000 net_server
100x80f9c7f8 54 0x80f9c000 app_server
110x80f9ccc0 86 0x80f9c000 Tracker
120x81050198 87 0x80f9c000 Deskbar
130x810504c8 89 0x80f9c000 Terminal
140x80f9c198 154 0x81050990 PackageInstaller
15kdebug> threads 154
16thread id state wait for object cpu pri stack team name
170x83574000 158 waiting sem 1897 - 15 0x82500000 154 w>PackageInstaller: Open
180x83548000 164 waiting sem 1987 - 15 0x82520000 154 w>PackageInstaller: Open
190x81789800 167 waiting sem 2045 - 15 0x82574000 154 w>Installation progress
200x83579000 170 waiting mutex 0x80126904 - 15 0x82578000 154 w>Install QEMU for BeOS
210x8357b800 154 waiting sem 1877 - 10 0x80f50000 154 PackageInstaller
22kdebug> sc [1D [1D[1D [1D[1D [1Dbt 170
23stack trace for thread 170 "w>Install QEMU for BeOS"
24 kernel stack: 0x82578000 to 0x8257c000
25 user stack: 0x700c3000 to 0x70103000
26frame caller <image>:function + offset
27 0 8257b654 (+ 48) 80057f94 <kernel_x86> context_switch(thread*: [34m0x83579000[0m, thread*: [34m0x83501800[0m) + 0x003c
28 1 8257b684 (+ 64) 8005827b <kernel_x86> simple_reschedule() + 0x029f
29 2 8257b6c4 (+ 48) 8003ce49 <kernel_x86>:_mutex_lock + 0x01b1
30 3 8257b6f4 (+ 48) 8003be53 <kernel_x86>:recursive_lock_lock + 0x0053
31 4 8257b724 (+ 48) 8006f6c7 <kernel_x86> driver_added([34m0x817da080[0m [36m"/boot/home/config/add-ons/kernel/drivers/dev/misc"[0m) + 0x0037
32 5 8257b754 (+ 224) 80070615 <kernel_x86> DirectoryWatcher<[32m0x801268e8[0m>::EventOccured(NotificationService&: [34m0x801269c0[0m, BPrivate::KMessage*: [34m0x8257b8c0[0m) + 0x0421
33 6 8257b834 (+ 64) 8008acbc <kernel_x86> NodeMonitorService<[32m0x801269c0[0m>::_SendNotificationMessage(BPrivate::KMessage&: [34m0x8257b8c0[0m, interested_monitor_listener_list*: [34m0x8257bcec[0m, int32: [34m1[0m) + 0x0054
34 7 8257b874 (+1200) 8008af53 <kernel_x86> NodeMonitorService<[32m0x801269c0[0m>::NotifyEntryCreatedOrRemoved(int32: [34m1[0m, int32: [34m3[0m, int64: [34m131114[0m, [34m0x8257be04[0m [36m"misc"[0m, int64: [34m266933[0m) + 0x0217
35 8 8257bd24 (+ 64) 8008be08 <kernel_x86>:notify_entry_created + 0x002c
36 9 8257bd64 (+ 96) 805dc703 <bfs> bfs_create_dir(fs_volume*: [34m0x80f9e960[0m, fs_vnode*: [34m0x80fe6dd0[0m, [34m0x8257be04[0m [36m"misc"[0m, int32: [34m511[0m, [34m0x8257bdf8[0m) + 0x01db
3710 8257bdc4 (+ 320) 800983a2 <kernel_x86> dir_create(int32: [34m-1[0m, [34m0x817db100[0m [36m"/boot"[0m, int32: [34m511[0m, [34mfalse[0m) + 0x0072
3811 8257bf04 (+ 64) 8009df30 <kernel_x86>:_user_create_dir + 0x0094
3912 8257bf44 (+ 100) 800ce802 <kernel_x86>:handle_syscall + 0x00af
40user iframe at 0x8257bfa8 (end = 0x8257c000)
41 eax 0x69 ebx 0x468b70 ecx 0x701029c0 edx 0xffff0104
42 esi 0x70102a00 edi 0x70102a30 ebp 0x70102a4c esp 0x8257bfdc
43 eip 0xffff0104 eflags 0x206 user esp 0x701029c0
44 vector: 0x63, error code: 0x0
4513 8257bfa8 (+ 0) ffff0104 <commpage>:commpage_syscall + 0x0004
4614 70102a4c (+ 272) 0021ac96 <_APP_> PkgLink<[32m0x180174f8[0m>::WriteToPath([34m0x180e3858[0m [36m"/boot/apps"[0m, BPath*: [34m0x70102bcc[0m) + 0x01a6
4715 70102b5c (+ 224) 0020f3bf <_APP_> PackageView<[32m0x1805edb0[0m>::Install([34m0x42000000[0m, int8: [34m124[0m, BPath*: [34m0x20e71d[0m) + 0x04cb
4816 70102c3c (+ 208) 0020e7c7 <_APP_> PackageView<[32m0x1805edb0[0m>::MessageReceived(BMessage*: [34m0x180e1a68[0m) + 0x00bb
4917 70102d0c (+ 48) 002d97c3 <libbe.so> BLooper<[32m0x1805ef58[0m>::DispatchMessage(BMessage*: [34m0x180e1a68[0m, BHandler*: [34m0x1805edb0[0m) + 0x005b
5018 70102d3c (+ 480) 003885a1 <libbe.so> BWindow<[32m0x1805ef58[0m>::DispatchMessage(BMessage*: [34m0x180e1a68[0m, BHandler*: [34m0x1805edb0[0m) + 0x1759
5119 70102f1c (+ 96) 0038bf20 <libbe.so> BWindow<[32m0x1805ef58[0m>::task_looper([34m0x0[0m, [34m0x2daced00000000[0m, [34m0x744950[0m, [34m0x83579000[0m, BMessage*: NULL, BHandler*: NULL) + 0x0270
5220 70102f7c (+ 48) 002dad1f <libbe.so> BLooper<[32m0x1805ef58[0m>::_task0_(NULL) + 0x003f
5321 70102fac (+ 48) 006b7b98 <libroot.so>:_get_next_team_info (nearest) + 0x005c
5422 70102fdc (+ 0) 70102fec 4168:w>Install QEMU for BeOS_170_sta@0x700c3000 + 0x3ffec
55kdebug> bt 3[1D [1D[1D [1D[1D [1D[1D [1Dmutex 0x80126904
56mutex 0x80126904:
57 name: legacy driver
58 flags: 0x0
59 holder: 3
60 waiting threads: 170
61kdebug> bt 3
62stack trace for thread 3 "kernel daemon"
63 kernel stack: 0x80169000 to 0x8016d000
64frame caller <image>:function + offset
65 0 8016c748 (+ 48) 80057f94 <kernel_x86> context_switch(thread*: [34m0x817e1000[0m, thread*: [34m0x81804000[0m) + 0x003c
66 1 8016c778 (+ 64) 8005827b <kernel_x86> simple_reschedule() + 0x029f
67 2 8016c7b8 (+ 48) 8003ce49 <kernel_x86>:_mutex_lock + 0x01b1
68 3 8016c7e8 (+ 48) 8003be53 <kernel_x86>:recursive_lock_lock + 0x0053
69 4 8016c818 (+1200) 8008ad76 <kernel_x86> NodeMonitorService<[32m0x801269c0[0m>::NotifyEntryCreatedOrRemoved(int32: [34m1[0m, int32: [34m2[0m, int64: [34m19[0m, [34m0x81005588[0m [36m"kqemu"[0m, int64: [34m176[0m) + 0x003a
70 5 8016ccc8 (+ 64) 8008be08 <kernel_x86>:notify_entry_created + 0x002c
71 6 8016cd08 (+ 80) 800688d2 <kernel_x86> devfs_insert_in_dir(devfs_vnode*: [34m0x80f9f800[0m, devfs_vnode*: [34m0x810355c0[0m) + 0x00ae
72 7 8016cd58 (+ 64) 80068fb0 <kernel_x86> publish_node(devfs*: [34m0x80f9e3c0[0m, devfs_vnode*: [34m0x80f9f800[0m, devfs_vnode*: [34m0x810355c0[0m) + 0x0028
73 8 8016cd98 (+ 64) 80069097 <kernel_x86> publish_device(devfs*: [34m0x80f9e3c0[0m, [34m0x8257f95f[0m [36m"misc/kqemu"[0m, BaseDevice*: [34m0x810d06c8[0m) + 0x00db
74 9 8016cdd8 (+ 32) 8006b1d0 <kernel_x86> devfs_publish_device([34m0x8257f95f[0m [36m"misc/kqemu"[0m, BaseDevice*: [34m0x810d06c8[0m) + 0x001c
7510 8016cdf8 (+ 80) 8006ec12 <kernel_x86> republish_driver(legacy_driver*: [34m0x811233c0[0m) + 0x016a
7611 8016ce48 (+ 64) 8006ef6e <kernel_x86> load_driver(legacy_driver*: [34m0x811233c0[0m) + 0x0192
7712 8016ce88 (+ 128) 8006f489 <kernel_x86> add_driver([34m0x817da8c8[0m [36m"/boot/home/config/add-ons/kernel/drivers/bin/kqemu"[0m, int32: [34m-1[0m) + 0x022d
7813 8016cf08 (+ 32) 80071338 <kernel_x86>:legacy_driver_add + 0x0014
7914 8016cf28 (+ 64) 8006f5f5 <kernel_x86> handle_driver_events(NULL, int32: [34m3808[0m) + 0x00e5
8015 8016cf68 (+ 80) 8003baf6 <kernel_x86> KernelDaemon<[32m0x8011c6c0[0m>::_DaemonThread([34m0x817e1000[0m, [34m0x800514cd[0m, [34m0x80112694[0m, [34m0x0[0m, [34m0x0[0m, [34m0x8016cff8[0m, [34m0x80051547[0m, [34m0x8011c6c0[0m, [34m0x0[0m, [34m0x0[0m, [34m0x0[0m, VMCache: [34m0x0[0m, vm_page*: NULL) + 0x006e
8116 8016cfb8 (+ 32) 8003b8d6 <kernel_x86> KernelDaemon<[32m0x8011c6c0[0m>::_DaemonThreadEntry(NULL) + 0x0012
8217 8016cfd8 (+ 32) 80051547 <kernel_x86> _create_kernel_thread_kentry() + 0x001b
8318 8016cff8 (+2145988616) 800514e4 <kernel_x86> thread_kthread_exit() + 0x0000
84kdebug> thread 3
85THREAD: 0x817e1000
86id: 3 (0x3)
87name: "kernel daemon"
88all_next: 0x00000000
89team_next: 0x817d0800
90q_next: 0x81804000
91priority: 5 (next 5, I/O: -1)
92state: waiting
93next_state: waiting
94cpu: 0x00000000
95sig_pending: 0x0 (blocked: 0x0)
96in_kernel: 1
97waiting for: mutex 0x801269e0
98fault_handler: 0x00000000
99args: 0x8011c6c0 0x00000000
100entry: 0x8003b8c4
101team: 0x80f9c000, "kernel_team"
102 exit.sem: 8
103 exit.status: 0x0 (No error)
104 exit.reason: 0x0
105 exit.signal: 0x0
106 exit.waiters:
107kernel_stack_area: 83
108kernel_stack_base: 0x80169000
109user_stack_area: -1
110user_stack_base: 0x00000000
111user_local_storage: 0x00000000
112kernel_errno: 0x0 (No error)
113kernel_time: 203426
114user_time: 0
115flags: 0x0
116architecture dependant section:
117 esp: 0x8016c6ec
118 ss: 0x00000010
119 fpu_state at 0x817e13d0
120kdebug> mutex 0x801269e0
121mutex 0x801269e0:
122 name: node monitor
123 flags: 0x0
124 holder: 170
125 waiting threads: 3 80
126kdebug>