Opened 4 years ago

Last modified 4 years ago

#16396 new bug

NFS4: Deleting directory from file share causes KDL

Reported by: dogcow Owned by: pdziepak
Priority: normal Milestone: Unscheduled
Component: File Systems/NFS4 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev54415 x86_84: When I attempt to delete a directory from an NFS4 file share, the system panics.

PANIC: ASSERT FAILED (../haiku-git/src/add-ons/kernel/file_systems/nfs4/FileSystem.cpp:262): result != (((-0x7fffffff - 1) + 0x6000) + 3)
Welcome to Kernel Debugging Land...
Thread 2519 "TrackerTaskLoop" running on CPU 2
stack trace for thread 2519 "TrackerTaskLoop"
    kernel stack: 0xffffffffb00ed000 to 0xffffffffb00f2000
      user stack: 0x00007fd9c4d1a000 to 0x00007fd9c4d5a000
frame                       caller             <image>:function + offset
 0 ffffffffb00f1ae8 (+  24) ffffffff8014fa1c   <kernel_x86_64> arch_debug_call_with_fault_handler + 0x16
 1 ffffffffb00f1b00 (+  80) ffffffff800ae1b8   <kernel_x86_64> debug_call_with_fault_handler + 0x88
 2 ffffffffb00f1b50 (+  96) ffffffff800afb41   <kernel_x86_64> kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0xf1
 3 ffffffffb00f1bb0 (+  80) ffffffff800afe3e   <kernel_x86_64> kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) + 0x6e
 4 ffffffffb00f1c00 (+ 240) ffffffff800b01a7   <kernel_x86_64> panic + 0xb7
 5 ffffffffb00f1cf0 (+ 352) ffffffffb0061541   </boot/system/add-ons/kernel/file_systems/nfs4> FileSystem::GetInode(long, Inode**) + 0xb1
 6 ffffffffb00f1e50 (+  32) ffffffffb007dde4   </boot/system/add-ons/kernel/file_systems/nfs4> VnodeToInode::Get() + 0x34
 7 ffffffffb00f1e70 (+  80) ffffffffb006b655   </boot/system/add-ons/kernel/file_systems/nfs4> nfs4_release_lock(fs_volume*, fs_vnode*, void*, flock const*) + 0x45
 8 ffffffffb00f1ec0 (+  32) ffffffff800f0ed5   <kernel_x86_64> close_fd + 0x25
 9 ffffffffb00f1ee0 (+  64) ffffffff800f115b   <kernel_x86_64> close_fd_index + 0xbb
10 ffffffffb00f1f20 (+  16) ffffffff801515f8   <kernel_x86_64> x86_64_syscall_entry + 0xfe
user iframe at 0xffffffffb00f1f30 (end = 0xffffffffb00f1ff8)
 rax 0x97                  rbx 0x7fd9c4d59480        rcx 0x182175d0df1
 rdx 0x75ac2512b8          rsi 0x0                   rdi 0x14
 rbp 0x7fd9c4d593c0         r8 0xec                   r9 0x0
 r10 0x0                   r11 0x3206                r12 0x0
 r13 0x7fd9c4d59420        r14 0x1                   r15 0x7fd9c4d59480
 rip 0x182175d0df1         rsp 0x7fd9c4d593a8     rflags 0x3206
 vector: 0x63, error code: 0x0
11 ffffffffb00f1f30 (+140574628148368) 00000182175d0df1   <libroot.so> _kern_close + 0x09
12 00007fd9c4d593c0 (+  32) 00000075abf6bbb9   <libbe.so> BDirectory::~BDirectory() + 0x29
13 00007fd9c4d593e0 (+ 304) 000001832d35b69e   <libtracker.so> _ZN8BPrivate13FSLaunchUsingEPK9entry_refP8BMessage (nearest) + 0x2de
14 00007fd9c4d59510 (+ 224) 000001832d35f22b   <libtracker.so> _ZN8BPrivate13FSMoveToTrashEP11BObjectListI9entry_refEP5BListb (nearest) + 0x3eb
15 00007fd9c4d595f0 (+  48) 000001832d3e01f5   <libtracker.so> BPrivate::ThreadSequence::Run(BObjectList<BPrivate::FunctionObject>*) + 0x35
16 00007fd9c4d59620 (+  32) 000001832d3e0285   <libtracker.so> BPrivate::ThreadSequence::Run() + 0x15
17 00007fd9c4d59640 (+  16) 000001832d3dfeea   <libtracker.so> BPrivate::SimpleThread::RunBinder(void*) + 0x0a
18 00007fd9c4d59650 (+  32) 00000182175d0039   <libroot.so> _thread_do_exit_work (nearest) + 0x79
19 00007fd9c4d59670 (+   0) 00007fd0d8bd9260   <commpage> commpage_thread_exit + 0x00
kdebug> btstack trace for thread 2519 "TrackerTaskLoop"
    kernel stack: 0xffffffffb00ed000 to 0xffffffffb00f2000
      user stack: 0x00007fd9c4d1a000 to 0x00007fd9c4d5a000
frame                       caller             <image>:function + offset
 0 ffffffffb00f1828 (+  32) ffffffff800b10e9   <kernel_x86_64> invoke_command_trampoline(void*) + 0x19
 1 ffffffffb00f1848 (+  24) ffffffff8014fa1c   <kernel_x86_64> arch_debug_call_with_fault_handler + 0x16
 2 ffffffffb00f1860 (+  80) ffffffff800ae1b8   <kernel_x86_64> debug_call_with_fault_handler + 0x88
 3 ffffffffb00f18b0 (+  96) ffffffff800b136f   <kernel_x86_64> invoke_debugger_command + 0xef
 4 ffffffffb00f1910 (+  64) ffffffff800b14e9   <kernel_x86_64> invoke_pipe_segment(debugger_command_pipe*, int, char*) + 0xf9
 5 ffffffffb00f1950 (+  80) ffffffff800b15fc   <kernel_x86_64> invoke_debugger_command_pipe + 0xac
 6 ffffffffb00f19a0 (+  96) ffffffff800b6288   <kernel_x86_64> ExpressionParser::_ParseCommandPipe(int&) + 0x118
 7 ffffffffb00f1a00 (+  96) ffffffff800bcf43   <kernel_x86_64> ExpressionParser::EvaluateCommand(char const*, int&) + 0xd83
 8 ffffffffb00f1a60 (+ 240) ffffffff800bf4ec   <kernel_x86_64> evaluate_debug_command + 0x11c
 9 ffffffffb00f1b50 (+  96) ffffffff800afc00   <kernel_x86_64> kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0x1b0
10 ffffffffb00f1bb0 (+  80) ffffffff800afe3e   <kernel_x86_64> kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) + 0x6e
11 ffffffffb00f1c00 (+ 240) ffffffff800b01a7   <kernel_x86_64> panic + 0xb7
12 ffffffffb00f1cf0 (+ 352) ffffffffb0061541   </boot/system/add-ons/kernel/file_systems/nfs4> FileSystem::GetInode(long, Inode**) + 0xb1
13 ffffffffb00f1e50 (+  32) ffffffffb007dde4   </boot/system/add-ons/kernel/file_systems/nfs4> VnodeToInode::Get() + 0x34
14 ffffffffb00f1e70 (+  80) ffffffffb006b655   </boot/system/add-ons/kernel/file_systems/nfs4> nfs4_release_lock(fs_volume*, fs_vnode*, void*, flock const*) + 0x45
15 ffffffffb00f1ec0 (+  32) ffffffff800f0ed5   <kernel_x86_64> close_fd + 0x25
16 ffffffffb00f1ee0 (+  64) ffffffff800f115b   <kernel_x86_64> close_fd_index + 0xbb
17 ffffffffb00f1f20 (+  16) ffffffff801515f8   <kernel_x86_64> x86_64_syscall_entry + 0xfe
user iframe at 0xffffffffb00f1f30 (end = 0xffffffffb00f1ff8)
 rax 0x97                  rbx 0x7fd9c4d59480        rcx 0x182175d0df1
 rdx 0x75ac2512b8          rsi 0x0                   rdi 0x14
 rbp 0x7fd9c4d593c0         r8 0xec                   r9 0x0
 r10 0x0                   r11 0x3206                r12 0x0
 r13 0x7fd9c4d59420        r14 0x1                   r15 0x7fd9c4d59480
 rip 0x182175d0df1         rsp 0x7fd9c4d593a8     rflags 0x3206
 vector: 0x63, error code: 0x0
18 ffffffffb00f1f30 (+140574628148368) 00000182175d0df1   <libroot.so> _kern_close + 0x09
19 00007fd9c4d593c0 (+  32) 00000075abf6bbb9   <libbe.so> BDirectory::~BDirectory() + 0x29
20 00007fd9c4d593e0 (+ 304) 000001832d35b69e   <libtracker.so> _ZN8BPrivate13FSLaunchUsingEPK9entry_refP8BMessage (nearest) + 0x2de
21 00007fd9c4d59510 (+ 224) 000001832d35f22b   <libtracker.so> _ZN8BPrivate13FSMoveToTrashEP11BObjectListI9entry_refEP5BListb (nearest) + 0x3eb
22 00007fd9c4d595f0 (+  48) 000001832d3e01f5   <libtracker.so> BPrivate::ThreadSequence::Run(BObjectList<BPrivate::FunctionObject>*) + 0x35
23 00007fd9c4d59620 (+  32) 000001832d3e0285   <libtracker.so> BPrivate::ThreadSequence::Run() + 0x15
24 00007fd9c4d59640 (+  16) 000001832d3dfeea   <libtracker.so> BPrivate::SimpleThread::RunBinder(void*) + 0x0a
25 00007fd9c4d59650 (+  32) 00000182175d0039   <libroot.so> _thread_do_exit_work (nearest) + 0x79
26 00007fd9c4d59670 (+   0) 00007fd0d8bd9260   <commpage> commpage_thread_exit + 0x00
kdebug> reboot

Change History (1)

comment:1 by waddlesplash, 4 years ago

Keywords: nfs nfs4 panic kdl removed
Note: See TracTickets for help on using tickets.