#16159: PANIC: Invalid concurrent access to page... (start), ... accessed by:
-134217729 [bt: file_cache]
----------------------------+----------------------------
Reporter: ttcoder | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
----------------------------+----------------------------
Comment (by ttcoder):
The KDL got saved in "previous_syslog".. First time I ever see that
happen. The bt mentions {{{file_cache_read}}} and {{{free_cached_page}}}.
The negative thread number looks incorrect, like in similar tickets of
this type.
{{{
PANIC: Invalid concurrent access to page 0xffffffff883c49e0 (start),
currently accessed by: -134217729
Welcome to Kernel Debugging Land...
Thread 1409 "cp" running on CPU 0
stack trace for thread 1409 "cp"
kernel stack: 0xffffffff81aa6000 to 0xffffffff81aab000
user stack: 0x00007fd4c085d000 to 0x00007fd4c185d000
frame caller <image>:function + offset
0 ffffffff81aaaa78 (+ 24) ffffffff8014e1bc <kernel_x86_64>
arch_debug_call_with_fault_handler + 0x16
1 ffffffff81aaaa90 (+ 80) ffffffff800ad8b8 <kernel_x86_64>
debug_call_with_fault_handler + 0x88
2 ffffffff81aaaae0 (+ 96) ffffffff800af241 <kernel_x86_64>
kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0xf1
3 ffffffff81aaab40 (+ 80) ffffffff800af53e <kernel_x86_64>
kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) +
0x6e
4 ffffffff81aaab90 (+ 240) ffffffff800af8a7 <kernel_x86_64> panic +
0xb7
5 ffffffff81aaac80 (+ 64) ffffffff8013abc3 <kernel_x86_64>
free_cached_page(vm_page*, bool) + 0x103
6 ffffffff81aaacc0 (+ 160) ffffffff8013af4c <kernel_x86_64>
free_cached_pages(unsigned int, bool) + 0x22c
7 ffffffff81aaad60 (+ 128) ffffffff8013b51b <kernel_x86_64>
reserve_pages(unsigned int, int, bool) + 0x21b
8 ffffffff81aaade0 (+ 176) ffffffff800517e7 <kernel_x86_64>
cache_io(void*, void*, long, unsigned long, unsigned long*, bool) + 0x77
9 ffffffff81aaae90 (+ 64) ffffffff80052ac6 <kernel_x86_64>
file_cache_read + 0x46
10 ffffffff81aaaed0 (+ 80) ffffffff800f0bf3 <kernel_x86_64>
common_user_io(int, long, void*, unsigned long, bool) + 0x123
11 ffffffff81aaaf20 (+ 16) ffffffff8014fd14 <kernel_x86_64>
x86_64_syscall_entry + 0xfe
user iframe at 0xffffffff81aaaf30 (end = 0xffffffff81aaaff8)
rax 0x8e rbx 0x0 rcx 0x129e5984c94
rdx 0x16e2c5ab000 rsi 0xffffffffffffffff rdi 0x3
rbp 0x7fd4c185b090 r8 0x0 r9 0x0
r10 0x20000 r11 0x3202 r12 0x20000
r13 0x16e2c5cb000 r14 0x0 r15 0x0
rip 0x129e5984c94 rsp 0x7fd4c185b078 rflags 0x3202
vector: 0x63, error code: 0x0
12 ffffffff81aaaf30 (+140553876078944) 00000129e5984c94 <libroot.so>
_kern_read + 0x0c
13 00007fd4c185b090 (+ 176) 0000005faa9720a7 <cp> usage (nearest) +
0xf27
14 00007fd4c185b140 (+ 896) 0000005faa9753ff <cp> cached_umask (nearest)
+ 0x2aef
15 00007fd4c185b4c0 (+ 944) 0000005faa9743e8 <cp> cached_umask (nearest)
+ 0x1ad8
16 00007fd4c185b870 (+ 944) 0000005faa9743e8 <cp> cached_umask (nearest)
+ 0x1ad8
17 00007fd4c185bc20 (+ 944) 0000005faa9743e8 <cp> cached_umask (nearest)
+ 0x1ad8
18 00007fd4c185bfd0 (+ 64) 0000005faa97661d <cp> copy + 0x7d
19 00007fd4c185c010 (+ 336) 0000005faa97183b <cp> usage (nearest) +
0x6bb
20 00007fd4c185c160 (+ 336) 0000005faa97042b <cp> main + 0x6eb
21 00007fd4c185c2b0 (+ 48) 0000005faa970701 <cp> _start + 0x51
22 00007fd4c185c2e0 (+ 48) 00000180db16f485
</boot/system/runtime_loader@0x00000180db15b000> <unknown> + 0x14485
23 00007fd4c185c310 (+ 0) 00007fff277da260 <commpage>
commpage_thread_exit + 0x00
initial commands: page -m 0xffffffff883c49e0; sc -134217729; cache _cache
PAGE: 0xffffffff883c49e0
queue_next,prev: 0xffffffff81aaace0, 0x0000000000000000
physical_number: 0x125b86
cache: 0xffffffffbecf0628
cache_offset: 5006
cache_next: 0xffffffff883c4a30
state: cached
wired_count: 0
usage_count: 0
busy: 0
busy_writing: 0
accessed: 0
modified: 0
accessor: -134217729
area mappings:
all mappings:
aspace 1, area 1: 0xffffff0125b86000 (rw modified accessed)
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/16159#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.