Ticket #11482: syslog.txt

File syslog.txt, 7.3 KB (added by jessicah, 9 years ago)

kernel debug output during deadlock

Line 
1KERN: USER: User command requested kernel debugger.
2KERN: Welcome to Kernel Debugging Land...
3KERN: Thread 291475 "kernel_debugger" running on CPU 2
4KERN: kdebug> team 291393
5KERN: TEAM: 0xd41c8408
6KERN: id: 291393 (0x47241)
7KERN: serial_number: 282039
8KERN: name: 'condition_test'
9KERN: args: '../../bin.v2/libs/interprocess/test/condition_test.test/gcc-4.8'
10KERN: hash_next: 0xd43e8410
11KERN: parent: 0xd43e8410 (id = 291009)
12KERN: children: 0x00000000
13KERN: num_threads: 3
14KERN: state: 0
15KERN: flags: 0x1
16KERN: io_context: 0xfaf62f60
17KERN: address_space: 0xf929d5c0
18KERN: user data: 0x619d2000 (area 21843681)
19KERN: free user thread: 0xb9a70bd0
20KERN: main_thread: 0xd41ec680
21KERN: thread_list: 0xd41e9fb0
22KERN: group_id: 291393
23KERN: session_id: 291009
24KERN: kdebug> threads 291393
25KERN: thread id state wait for object cpu pri stack team name
26KERN: 0xd41ec680 291393 waiting sem 1103406 - 10 0x89f7d000291393 condition_test
27KERN: 0xd41e9710 291427 waiting cvar 0xdea4be30 - 10 0xdea48000291393 pthread func
28KERN: 0xd41e9fb0 291428 waiting cvar 0xdea4fe30 - 10 0xdea4c000291393 pthread func
29KERN: kdebug> cvar 0xdea4be30
30KERN: condition variable 0xdea4be30
31KERN: object: 0x29613d50 (user mutex)
32KERN: threads: 291427
33KERN: kdebug> cvar 0xdea4fe30
34KERN: condition variable 0xdea4fe30
35KERN: object: 0x29613d50 (user mutex)
36KERN: threads: 291428
37KERN: kdebug> sem 1103406
38KERN: SEM: 0xcd9542c8
39KERN: id: 1103406 (0x10d62e)
40KERN: name: 'thread_291427_retcode_sem'
41KERN: owner: 1
42KERN: count: -1
43KERN: queue: 291393
44KERN: last acquired by: 255767, count: 1
45KERN: last released by: 170773, count: 1
46KERN: kdebug> mutex 0x29613d50
47KERN: invalid address: 0x29613d50
48KERN: kdebug> sc 291428
49KERN: stack trace for thread 291428 "pthread func"
50KERN: kernel stack: 0xdea4c000 to 0xdea50000
51KERN: user stack: 0x71d39000 to 0x71d79000
52KERN: frame caller <image>:function + offset
53KERN: 0 dea4fc54 (+ 224) 800933b7 <kernel_x86> reschedule(int32: [34m6[0m) + 0xf8f
54KERN: 1 dea4fd34 (+ 48) 80093461 <kernel_x86> scheduler_reschedule + 0x61
55KERN: 2 dea4fd64 (+ 80) 80085616 <kernel_x86> thread_block + 0xfe
56KERN: 3 dea4fdb4 (+ 48) 80054f59 <kernel_x86> ConditionVariableEntry<[32m0xdea4fe10[0m>::Wait(uint32: [34m0x1[0m ([34m1[0m), int64: [34m9223372036854775807[0m) + 0x125
57KERN: 4 dea4fde4 (+ 112) 80090053 <kernel_x86> user_mutex_lock_locked([34m0x713fad50[0m, uint32: [34m0x29613d50[0m, [34m0xd36951[0m [36m"pthread condition"[0m, uint32: [34m0x1[0m ([34m1[0m), int64: [34m9223372036854775807[0m) + 0xcf
58KERN: 5 dea4fe54 (+ 176) 8009035a <kernel_x86> user_mutex_switch_lock([34m0x713fad1c[0m, [34m0x713fad50[0m, [34m0xd36951[0m [36m"pthread condition"[0m, uint32: [34m0x1[0m ([34m1[0m), int64: [34m9223372036854775807[0m) + 0xd6
59KERN: 6 dea4ff04 (+ 64) 80090675 <kernel_x86> _user_mutex_switch_lock + 0x55
60KERN: 7 dea4ff44 (+ 100) 801336cf <kernel_x86> handle_syscall + 0xdc
61KERN: user iframe at 0xdea4ffa8 (end = 0xdea50000)
62KERN: eax 0x9 ebx 0xd592e4 ecx 0x71d7889c edx 0x615e5114
63KERN: esi 0xffffffff edi 0x7fffffff ebp 0x71d788e8 esp 0xdea4ffdc
64KERN: eip 0x615e5114 eflags 0x3202 user esp 0x71d7889c
65KERN: vector: 0x63, error code: 0x0
66KERN: 8 dea4ffa8 (+ 0) 615e5114 <commpage> commpage_syscall + 0x04
67KERN: 9 71d788e8 (+ 48) 00cbb9f4 <libroot.so> pthread_cond_wait + 0x24
68KERN: 10 71d78918 (+ 48) 00dcb856 <condition_test> boost::interprocess::ipcdetail::posix_condition<[32m0x713fad40[0m>::do_wait(boost::interprocess::ipcdetail::posix_mutex&: [34m0x713fad18[0m) + 0x2e
69KERN: 11 71d78948 (+ 64) 00dd2b20 <condition_test> boost::interprocess::ipcdetail::posix_condition::wait<boost::interprocess::ipcdetail::internal_mutex_lock<boost::interprocess::scoped_lock<boost::interprocess<[32m0x713fad40[0m>::interprocess_mutex> > >(boost::interprocess::ipcdetail::internal_mutex_lock<boost::interprocess::scoped_lock<boost::interprocess::interprocess_mutex> >&: [34m0x71d789ac[0m) + 0x7e
70KERN: 12 71d78988 (+ 48) 00dd1f8e <condition_test> boost::interprocess::interprocess_condition::wait<boost::interprocess::scoped_lock<boost::interprocess<[32m0x713fad40[0m>::interprocess_mutex> >(boost::interprocess::scoped_lock<boost::interprocess::interprocess_mutex>&: [34m0x71d789d8[0m) + 0x34
71KERN: 13 71d789b8 (+ 48) 00dd3d67 <condition_test> boost::interprocess::test::condition_func<boost::interprocess::interprocess_condition, boost::interprocess::interprocess_mutex><[32m0x18c85174[0m>::operator()() + 0x4b
72KERN: 14 71d789e8 (+ 32) 00dd3995 <condition_test> boost::interprocess::ipcdetail::launch_thread_impl<boost::interprocess::test::condition_func<boost::interprocess::interprocess_condition, boost::interprocess::interprocess_mutex> ><[32m0x18c85170[0m>::run() + 0x21
73KERN: 15 71d78a08 (+ 48) 00dcb2e8 <condition_test> launch_thread_routine + 0x41
74KERN: 16 71d78a38 (+ 32) 00cbb13c <libroot.so> pthread_exit (nearest) + 0x4c
75KERN: 17 71d78a58 (+ 0) 615e5250 <commpage> commpage_thread_exit + 0x00
76KERN: kdebug> sc 291393
77KERN: stack trace for thread 291393 "condition_test"
78KERN: kernel stack: 0x89f7d000 to 0x89f81000
79KERN: user stack: 0x703fb000 to 0x713fb000
80KERN: frame caller <image>:function + offset
81KERN: 0 89f80c94 (+ 224) 800933b7 <kernel_x86> reschedule(int32: [34m6[0m) + 0xf8f
82KERN: 1 89f80d74 (+ 48) 80093461 <kernel_x86> scheduler_reschedule + 0x61
83KERN: 2 89f80da4 (+ 80) 80085616 <kernel_x86> thread_block + 0xfe
84KERN: 3 89f80df4 (+ 96) 8006ca0f <kernel_x86> switch_sem_etc + 0x3ef
85KERN: 4 89f80e54 (+ 64) 8006c5f2 <kernel_x86> acquire_sem_etc + 0x26
86KERN: 5 89f80e94 (+ 112) 80084c3f <kernel_x86> wait_for_thread_etc + 0x1af
87KERN: 6 89f80f04 (+ 64) 80086a3e <kernel_x86> _user_wait_for_thread + 0x2e
88KERN: 7 89f80f44 (+ 100) 801336cf <kernel_x86> handle_syscall + 0xdc
89KERN: user iframe at 0x89f80fa8 (end = 0x89f81000)
90KERN: eax 0x39 ebx 0xd592e4 ecx 0x713fabdc edx 0x615e5114
91KERN: esi 0x18cc1c90 edi 0x713fac2c ebp 0x713fabf8 esp 0x89f80fdc
92KERN: eip 0x615e5114 eflags 0x3202 user esp 0x713fabdc
93KERN: vector: 0x63, error code: 0x0
94KERN: 8 89f80fa8 (+ 0) 615e5114 <commpage> commpage_syscall + 0x04
95KERN: 9 713fabf8 (+ 80) 00cbb07b <libroot.so> pthread_join + 0x2b
96KERN: 10 713fac48 (+ 32) 00dcb230 <condition_test> boost::interprocess::ipcdetail<[32m0x18cc1c90[0m>::thread_join(_pthread_thread*: [34m0x713fad04[0m) + 0x1f
97KERN: 11 713fac68 (+ 272) 00dcf2be <condition_test> boost::interprocess::test::do_test_condition_queue_notify_one<boost::interprocess::interprocess_condition, boost::interprocess<[32m0x4[0m>::interprocess_mutex>() + 0x16d
98KERN: 12 713fad78 (+ 32) 00dcca8a <condition_test> boost::interprocess::test::do_test_condition<boost::interprocess::interprocess_condition, boost::interprocess<[32m0x713fadc0[0m>::interprocess_mutex>() + 0x264
99KERN: 13 713fad98 (+ 16) 00dc9f1c <condition_test> main + 0x1f
100KERN: 14 713fada8 (+ 64) 00dc9d62 <condition_test> _start + 0x52
101KERN: 15 713fade8 (+ 64) 00502ac4 </boot/system/runtime_loader@0x004f3000> <unknown> + 0xfac4
102KERN: 16 713fae28 (+ 0) 615e5250 <commpage> commpage_thread_exit + 0x00
103KERN: kdebug> exit