[haiku-bugs] Re: [Haiku] #5229: PANIC: acquire_spinlock(): Failed to acquire spinlock 0xcdc5eb68 for a long time!
- From: "anevilyak" <trac@xxxxxxxxxxxx>
- Date: Sun, 10 Jan 2010 00:48:22 -0000
#5229: PANIC: acquire_spinlock(): Failed to acquire spinlock 0xcdc5eb68 for a
long
time!
---------------------------+------------------------------------------------
Reporter: anevilyak | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: System/Kernel | Version: R1/Development
Keywords: | Blockedby:
Platform: All | Blocking:
---------------------------+------------------------------------------------
Comment(by anevilyak):
If of interest, CPU 0's state was:
{{{
Thread 8651 "scheduling_recorder" running on CPU 0
kdebug> bt
stack trace for thread 8651 "scheduling_recorder"
kernel stack: 0x8118f000 to 0x81193000
user stack: 0x7efef000 to 0x7ffef000
frame caller <image>:function + offset
0 81192b58 (+ 32) 8006f8c1 <kernel_x86>
invoke_command_trampoline(void*: 0x81192bd8) + 0x0015
1 81192b78 (+ 12) 800df998
<kernel_x86>:arch_debug_call_with_fault_handler + 0x001b
2 81192b84 (+ 48) 8006d7a2 <kernel_x86>:debug_call_with_fault_handler
+ 0x0051
3 81192bb4 (+ 64) 8006fc6a <kernel_x86>:invoke_debugger_command +
0x00bb
4 81192bf4 (+ 48) 8006fd87 <kernel_x86>
invoke_pipe_segment(debugger_command_pipe*: 0x80135e22, int32: 0, char*:
NULL) + 0x0083
5 81192c24 (+ 32) 8006fe4f <kernel_x86>:invoke_debugger_command_pipe +
0x008b
6 81192c44 (+ 128) 80073bee <kernel_x86>
ExpressionParser<0x81192d14>::_ParseCommandPipe(int&: 0x81192d10) + 0x0aae
7 81192cc4 (+ 48) 800763b7 <kernel_x86>
ExpressionParser<0x81192d14>::EvaluateCommand(char const*: 0x80135e20
"bt", int&: 0x81192d10) + 0x06df
8 81192cf4 (+ 192) 80076530 <kernel_x86>:evaluate_debug_command +
0x0084
9 81192db4 (+ 96) 8006e6f2 <kernel_x86> kernel_debugger_internal(char
const*: 0x13ef80 "<???>", int32: 0) + 0x03a7
10 81192e14 (+ 32) 8006ea0e <kernel_x86>:debug_trap_cpu_in_kdl + 0x005b
11 81192e34 (+ 48) 8005a4cc <kernel_x86> process_pending_ici(int32:
-2129056084) + 0x027e
12 81192e64 (+ 32) 8005a8cc <kernel_x86>:acquire_spinlock + 0x0061
13 81192e84 (+ 48) 80044912 <kernel_x86>
ConditionVariable<0xcdc5ebb4>::Add(ConditionVariableEntry*: 0x81192ed8) +
0x0022
14 81192eb4 (+ 80) 80079a93 <kernel_x86>
SystemProfiler<0xcdc5eb40>::NextBuffer(uint32: 0x44d5c (281948), unsigned
long long*: 0x81192f2c) + 0x00bb
15 81192f04 (+ 64) 8007ab38
<kernel_x86>:_user_system_profiler_next_buffer + 0x00a2
16 81192f44 (+ 100) 800dff81 <kernel_x86>:handle_syscall + 0x00be
user iframe at 0x81192fa8 (end = 0x81193000)
eax 0xd8 ebx 0x2039fc ecx 0x7ffeee4c edx 0xffff0114
esi 0x44d5c edi 0x7ffeef48 ebp 0x7ffeef68 esp 0x81192fdc
eip 0xffff0114 eflags 0x246 user esp 0x7ffeee4c
vector: 0x63, error code: 0x0
17 81192fa8 (+ 0) ffff0114 <commpage>:commpage_syscall + 0x0004
18 7ffeef68 (+ 52) 00201363
</boot/system/bin/scheduling_recorder@0x00200000>:unknown + 0x1363
19 7ffeef9c (+ 64) 001052c3
</boot/system/runtime_loader@0x00100000>:unknown + 0x52c3
20 7ffeefdc (+ 0) 7ffeefec
309477:scheduling_recorder_main_stack@0x7efef000 + 0xffffec
kdebug>
}}}
Running {{{ calling 0x80079a10 }}} yields a read fault here though.
--
Ticket URL: <http://dev.haiku-os.org/ticket/5229#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
Other related posts: