Opened 5 years ago

#15357 new bug

dosfs_rename: ASSERT FAILED (../src/add-ons/kernel/file_systems/fat/dir.c:676)

Reported by: korli Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/FAT Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

PANIC: ASSERT FAILED (../src/add-ons/kernel/file_systems/fat/dir.c:676): vcache_loc_to_vnid(vol,(0 | ((ino_t)(dir->cluster) << 32) | (i)),((void *)0)) == ((((-0x7fffffff - 1) + 0x6000) + 3))
Welcome to Kernel Debugging Land...
Thread 510 "fstorture" running on CPU 0
stack trace for thread 510 "fstorture"
    kernel stack: 0xffffffff8533a000 to 0xffffffff8533f000
      user stack: 0x00007fc05cc46000 to 0x00007fc05dc46000
frame                       caller             <image>:function + offset
 0 ffffffff8533e398 (+  24) ffffffff8014e51c   <kernel_x86_64> arch_debug_call_with_fault_handler + 0x16
 1 ffffffff8533e3b0 (+  80) ffffffff800ae038   <kernel_x86_64> debug_call_with_fault_handler + 0x68
 2 ffffffff8533e400 (+  96) ffffffff800af9e1   <kernel_x86_64> kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0xf1
 3 ffffffff8533e460 (+  80) ffffffff800afcee   <kernel_x86_64> kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) + 0x6e
 4 ffffffff8533e4b0 (+ 256) ffffffff800b0052   <kernel_x86_64> panic + 0xb2
 5 ffffffff8533e5b0 (+ 800) ffffffff81aebf6b   <fat> _create_dir_entry_ + 0x30b
 6 ffffffff8533e8d0 (+ 704) ffffffff81aeccb4   <fat> create_dir_entry + 0x284
 7 ffffffff8533eb90 (+ 192) ffffffff81af5726   <fat> dosfs_rename + 0x786
 8 ffffffff8533ec50 (+ 576) ffffffff80104b2a   <kernel_x86_64> common_rename(int, char*, int, char*, bool) + 0x17a
 9 ffffffff8533ee90 (+ 144) ffffffff8010d1f8   <kernel_x86_64> _user_rename + 0xf8
10 ffffffff8533ef20 (+  16) ffffffff80150044   <kernel_x86_64> x86_64_syscall_entry + 0xfe
user iframe at 0xffffffff8533ef30 (end = 0xffffffff8533eff8)
 rax 0x7a                  rbx 0x7fc05dc44d20        rcx 0x1854d02e674
 rdx 0xffffffff            rsi 0xa0ac900c0           rdi 0xffffffff
 rbp 0x7fc05dc448c0         r8 0xfffffff8             r9 0x0
 r10 0x7fc05dc44d20        r11 0x3202                r12 0x1034b60d7cc
 r13 0xa0ac50060           r14 0x0                   r15 0x8
 rip 0x1854d02e674         rsp 0x7fc05dc448a8     rflags 0x3202
 vector: 0x63, error code: 0x0
11 ffffffff8533ef30 (+140466243787152) 000001854d02e674   <libroot.so> _kern_rename + 0x0c
12 00007fc05dc448c0 (+   0) 000001034b609e3f   <fstorture> cmpfileRename + 0x2f

Step to reproduce: run src/tests/add-ons/kernel/file_systems/fat/fat_test.sh

Change History (0)

Note: See TracTickets for help on using tickets.