Opened 17 years ago
Closed 16 years ago
#1511 closed bug (fixed)
PANIC: ASSERT FAILED (src/system/kernel/arch/x86/arch_thread.c:68): stack->index < 4
Reported by: | marcusoverhagen | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
occured with hrev22394 (but might be related to the ahci driver)
PANIC: ASSERT FAILED (src/system/kernel/arch/x86/arch_thread.c:68): stack->index < 4
Welcome to Kernel Debugging Land... Running on CPU 0 kdebug> bt stack trace for thread 0xa1 "w>add-ons"
kernel stack: 0x947c4000 to 0x947c8000
user stack: 0x70249000 to 0x70289000
frame caller <image>:function + offset 947c70c0 (+ 52) 80083321 <kernel>:invoke_command + 0x0075 947c70f4 (+ 48) 80083572 <kernel>:kernel_debugger + 0x020e 947c7124 (+ 176) 80083609 <kernel>:panic + 0x002d 947c71d4 (+ 32) 8008c3ef <kernel>:x86_push_iframe + 0x0026 947c71f4 (+ 128) 8008b641 <kernel>:i386_handle_trap + 0x002a 947c7274 (+ 88) 8008e34e <kernel>:kernel_stack + 0x0005 (nearest) 947c72cc (+ 216) 8005b5ec <kernel>:_Z13vm_soft_faultmbb + 0x008e 947c73a4 (+ 48) 8005c412 <kernel>:vm_page_fault + 0x0034 947c73d4 (+ 144) 8008b878 <kernel>:i386_handle_trap + 0x0261 iframe at 0x947c746c (end = 0x947c74c0)
eax 0x815be82b ebx 0x908b0000 ecx 0xe8458000 edx 0xe8458d00 esi 0x0 edi 0xe8458d04 ebp 0x947c74bc esp 0x947c749c eip 0x80055fb4 eflags 0x10286 vector: 0xe, error code: 0x0
947c7464 (+ 88) 80055fb4 <kernel>:vm_area_lookup + 0x0026 947c74bc (+ 216) 8005b5ec <kernel>:_Z13vm_soft_faultmbb + 0x008e 947c7594 (+ 48) 8005c412 <kernel>:vm_page_fault + 0x0034 947c75c4 (+ 144) 8008b878 <kernel>:i386_handle_trap + 0x0261 iframe at 0x947c765c (end = 0x947c76b0)
eax 0x815be82b ebx 0x908b0000 ecx 0xe8458000 edx 0xe8458d00 esi 0x0 edi 0xe8458d04 ebp 0x947c76ac esp 0x947c768c eip 0x80055fb4 eflags 0x10286 vector: 0xe, error code: 0x0
947c7654 (+ 88) 80055fb4 <kernel>:vm_area_lookup + 0x0026 947c76ac (+ 216) 8005b5ec <kernel>:_Z13vm_soft_faultmbb + 0x008e 947c7784 (+ 48) 8005c412 <kernel>:vm_page_fault + 0x0034 947c77b4 (+ 144) 8008b878 <kernel>:i386_handle_trap + 0x0261 iframe at 0x947c784c (end = 0x947c78a0)
eax 0x815be82b ebx 0x908b0000 ecx 0x947c7000 edx 0xe8458d00 esi 0x908b0000 edi 0x947c790b ebp 0x947c789c esp 0x947c787c eip 0x80055fb4 eflags 0x10286 vector: 0xe, error code: 0x0
947c7844 (+ 88) 80055fb4 <kernel>:vm_area_lookup + 0x0026 947c789c (+ 40) 800560b5 <kernel>:_Z16test_lock_memoryP16vm_address_spacemRb + 0x0029 947c78c4 (+ 96) 8005c2a7 <kernel>:lock_memory + 0x0087 947c7924 (+ 64) 8026ae79 <block_io>:block_io_readv + 0x0039 947c7964 (+ 144) 80043677 <kernel>:_Z16devfs_read_pagesPvS_S_xPK5iovecmPmb + 0x00f7 947c79f4 (+ 64) 80047fa8 <kernel>:vfs_read_pages + 0x0034 947c7a34 (+ 752) 80063b10 <kernel>:_Z8pages_ioP14file_cache_refxPK5iovecmPmb + 0x00c0 947c7d24 (+ 32) 80063f73 <kernel>:file_cache_read_pages + 0x001f 947c7d44 (+ 64) 80259605 <bfs>:_Z14bfs_read_pagesPvS_S_xPK5iovecmPmb + 0x00fb 947c7d84 (+ 64) 80047fa8 <kernel>:vfs_read_pages + 0x0034 947c7dc4 (+ 64) 80065024 <kernel>:_Z10store_readP8vm_storexPK5iovecmPmb + 0x0032 947c7e04 (+ 224) 8005b980 <kernel>:_Z13vm_soft_faultmbb + 0x0422 947c7ee4 (+ 48) 8005c412 <kernel>:vm_page_fault + 0x0034 947c7f14 (+ 144) 8008b878 <kernel>:i386_handle_trap + 0x0261 iframe at 0x947c7fac (end = 0x947c8000)
eax 0x4 ebx 0x6232a4 ecx 0x70288af0 edx 0x0 esi 0x70288af0 edi 0x18106b10 ebp 0x70288acc esp 0x947c7fdc eip 0x5cb480 eflags 0x10206 user esp 0x70288a90 vector: 0xe, error code: 0x4
947c7fa4 (+ 0) 005cb480 </boot/beos/system/lib/libtracker.so@0x00498000>:unknown + 0x133480 70288acc (+ 96) 005895fc </boot/beos/system/lib/libtracker.so@0x00498000>:unknown + 0xf15fc 70288b2c (+ 128) 0058b138 </boot/beos/system/lib/libtracker.so@0x00498000>:unknown + 0xf3138 70288bac (+ 64) 0051c1b0 </boot/beos/system/lib/libtracker.so@0x00498000>:unknown + 0x841b0 70288bec (+ 48) 0051b060 </boot/beos/system/lib/libtracker.so@0x00498000>:unknown + 0x83060 70288c1c (+ 128) 002b6226 </boot/beos/system/lib/libbe.so@0x00202000>:unknown + 0xb4226 70288c9c (+ 32) 002b6273 </boot/beos/system/lib/libbe.so@0x00202000>:unknown + 0xb4273 70288cbc (+ 640) 0035d175 </boot/beos/system/lib/libbe.so@0x00202000>:unknown + 0x15b175 70288f3c (+ 96) 00359904 </boot/beos/system/lib/libbe.so@0x00202000>:unknown + 0x157904 70288f9c (+ 32) 002b79ee </boot/beos/system/lib/libbe.so@0x00202000>:unknown + 0xb59ee 70288fbc (+ 32) 0064690e </boot/beos/system/lib/libroot.so@0x00625000>:unknown + 0x2190e 70288fdc (+ 0) 70288fec 1416:w>TrackerWindow_a1_stack@0x70249000 + 0x3ffec kdebug>
The problem happens less frequently when underclocking the CPU to 900 MHz
Here are some other back traces for the same ASSERT, made at full CPU speed.