[haiku-bugs] [Haiku] #16394: NFS4: "Get Info" on file stored on network share causes KDL

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 12 Jul 2020 18:26:00 -0000

#16394: NFS4: "Get Info" on file stored on network share causes KDL
-------------------------------+-----------------------------
 Reporter:  dogcow             |       Owner:  pdziepak
     Type:  bug                |      Status:  new
 Priority:  normal             |   Milestone:  Unscheduled
Component:  File Systems/NFS4  |     Version:  R1/Development
 Keywords:                     |  Blocked By:
 Blocking:                     |    Platform:  x86-64
-------------------------------+-----------------------------
 hrev54415 / x86_64

 {{{
 Welcome to Kernel Debugging Land...
 Thread 3587 "w>test-notempty" running on CPU 1
 stack trace for thread 3587 "w>test-notempty"
     kernel stack: 0xffffffff9c7de000 to 0xffffffff9c7e3000
       user stack: 0x00007f506ceb9000 to 0x00007f506cef9000
 frame                       caller             <image>:function + offset
  0 ffffffff9c7e26c8 (+  24) ffffffff8014fa1c   <kernel_x86_64>
 arch_debug_call_with_fault_handler + 0x16
  1 ffffffff9c7e26e0 (+  80) ffffffff800ae1b8   <kernel_x86_64>
 debug_call_with_fault_handler + 0x88
  2 ffffffff9c7e2730 (+  96) ffffffff800afb41   <kernel_x86_64>
 kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0xf1
  3 ffffffff9c7e2790 (+  80) ffffffff800afe3e   <kernel_x86_64>
 kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) +
 0x6e
  4 ffffffff9c7e27e0 (+ 240) ffffffff800b01a7   <kernel_x86_64> panic +
 0xb7
  5 ffffffff9c7e28d0 (+ 224) ffffffff8015ac08   <kernel_x86_64>
 x86_unexpected_exception + 0x168
  6 ffffffff9c7e29b0 (+ 888) ffffffff801512ec   <kernel_x86_64> int_bottom
 + 0x80
 kernel iframe at 0xffffffff9c7e2d28 (end = 0xffffffff9c7e2df0)
  rax 0x1                   rbx 0xffffffff9f93e388    rcx 0x1
  rdx 0x8000                rsi 0x0                   rdi
 0xcccccccc00000000
  rbp 0xffffffff9c7e2e00     r8 0x0                    r9 0x26
  r10 0x1e519c81b24         r11 0x3202                r12 0x0
  r13 0xffffffff9f17ed80    r14 0xffffffff9f469048    r15 0x1
  rip 0xffffffff8014a45a    rsp 0xffffffff9c7e2df0 rflags 0x13246
  vector: 0xd, error code: 0x0
  7 ffffffff9c7e2d28 (+ 216) ffffffff8014a45a   <kernel_x86_64>
 VMCache::WriteModified() + 0x0a
  8 ffffffff9c7e2e00 (+  32) ffffffffb0045788   </boot/system/add-
 ons/kernel/file_systems/nfs4> _ZN5Inode13SyncAndCommitEb.part.33 + 0x18
  9 ffffffff9c7e2e20 (+  48) ffffffffb004ac5a   </boot/system/add-
 ons/kernel/file_systems/nfs4> Inode::Close(OpenFileCookie*) + 0xca
 10 ffffffff9c7e2e50 (+  80) ffffffffb004d53c   </boot/system/add-
 ons/kernel/file_systems/nfs4> nfs4_free_cookie(fs_volume*, fs_vnode*,
 void*) + 0x7c
 11 ffffffff9c7e2ea0 (+  32) ffffffff80101d83   <kernel_x86_64>
 file_free_fd(file_descriptor*) + 0x33
 12 ffffffff9c7e2ec0 (+  32) ffffffff800f0e94   <kernel_x86_64> put_fd +
 0x84
 13 ffffffff9c7e2ee0 (+  64) ffffffff800f1163   <kernel_x86_64>
 close_fd_index + 0xc3
 14 ffffffff9c7e2f20 (+  16) ffffffff801515f8   <kernel_x86_64>
 x86_64_syscall_entry + 0xfe
 user iframe at 0xffffffff9c7e2f30 (end = 0xffffffff9c7e2ff8)
  rax 0x97                  rbx 0x7f506cef86b0        rcx 0x1e519c81df1
  rdx 0x8000600e            rsi 0x45ed9e8e0c          rdi 0x19
  rbp 0x7f506cef8610         r8 0x0                    r9 0x0
  r10 0x1e519c81b24         r11 0x3202                r12 0x10563623acb0
  r13 0x7f506cef86b0        r14 0x7f506cef8690        r15 0x7f506cef8730
  rip 0x1e519c81df1         rsp 0x7f506cef85f8     rflags 0x3202
  vector: 0x63, error code: 0x0
 15 ffffffff9c7e2f30 (+139985071199968) 000001e519c81df1   <libroot.so>
 _kern_close + 0x09
 16 00007f506cef8610 (+  32) 00000045ed986432   <libbe.so> BNode::Unset() +
 0x12
 17 00007f506cef8630 (+  32) 00000045ed98645f   <libbe.so> BNode::~BNode()
 + 0x1f
 18 00007f506cef8650 (+ 512) 000001d7e5871b7c   <libtracker.so>
 BPrivate::SpringLoadedFolderAddUniqueTypeToList(entry_ref*,
 BObjectList<BString>*) + 0x13c
 19 00007f506cef8850 (+ 112) 000001d7e5871d13   <libtracker.so>
 BPrivate::SpringLoadedFolderCacheDragData(BMessage const*, BMessage**,
 BObjectList<BString>**) + 0xc3
 20 00007f506cef88c0 (+  32) 000001d7e582aa0a   <libtracker.so>
 BPrivate::BContainerWindow::DragStart(BMessage const*) + 0x4a
 21 00007f506cef88e0 (+  80) 000001d7e5899cbb   <libtracker.so>
 BPrivate::BPoseView::MouseMoved(BPoint, unsigned int, BMessage const*) +
 0x10b
 22 00007f506cef8930 (+ 400) 00000045ed94f82f   <libbe.so>
 BView::MessageReceived(BMessage*) + 0xb2f
 23 00007f506cef8ac0 (+ 272) 000001d7e58972c3   <libtracker.so>
 BPrivate::BPoseView::MessageReceived(BMessage*) + 0xd3
 24 00007f506cef8bd0 (+ 560) 00000045ed958063   <libbe.so>
 BWindow::DispatchMessage(BMessage*, BHandler*) + 0xb43
 25 00007f506cef8e00 (+ 144) 00000045ed9536b1   <libbe.so>
 BWindow::task_looper() + 0x1c1
 26 00007f506cef8e90 (+  32) 00000045ed897a41   <libbe.so>
 BLooper::_task0_(void*) + 0x21
 27 00007f506cef8eb0 (+  32) 000001e519c81039   <libroot.so>
 _thread_do_exit_work (nearest) + 0x79
 28 00007f506cef8ed0 (+   0) 00007ffb612ba260   <commpage>
 commpage_thread_exit + 0x00
 kdebug> rebtstack trace for thread 3587 "w>test-notempty"
     kernel stack: 0xffffffff9c7de000 to 0xffffffff9c7e3000
       user stack: 0x00007f506ceb9000 to 0x00007f506cef9000
 frame                       caller             <image>:function + offset
  0 ffffffff9c7e2408 (+  32) ffffffff800b10e9   <kernel_x86_64>
 invoke_command_trampoline(void*) + 0x19
  1 ffffffff9c7e2428 (+  24) ffffffff8014fa1c   <kernel_x86_64>
 arch_debug_call_with_fault_handler + 0x16
  2 ffffffff9c7e2440 (+  80) ffffffff800ae1b8   <kernel_x86_64>
 debug_call_with_fault_handler + 0x88
  3 ffffffff9c7e2490 (+  96) ffffffff800b136f   <kernel_x86_64>
 invoke_debugger_command + 0xef
  4 ffffffff9c7e24f0 (+  64) ffffffff800b14e9   <kernel_x86_64>
 invoke_pipe_segment(debugger_command_pipe*, int, char*) + 0xf9
  5 ffffffff9c7e2530 (+  80) ffffffff800b15fc   <kernel_x86_64>
 invoke_debugger_command_pipe + 0xac
  6 ffffffff9c7e2580 (+  96) ffffffff800b6288   <kernel_x86_64>
 ExpressionParser::_ParseCommandPipe(int&) + 0x118
  7 ffffffff9c7e25e0 (+  96) ffffffff800bcf43   <kernel_x86_64>
 ExpressionParser::EvaluateCommand(char const*, int&) + 0xd83
  8 ffffffff9c7e2640 (+ 240) ffffffff800bf4ec   <kernel_x86_64>
 evaluate_debug_command + 0x11c
  9 ffffffff9c7e2730 (+  96) ffffffff800afc00   <kernel_x86_64>
 kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) +
 0x1b0
 10 ffffffff9c7e2790 (+  80) ffffffff800afe3e   <kernel_x86_64>
 kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) +
 0x6e
 11 ffffffff9c7e27e0 (+ 240) ffffffff800b01a7   <kernel_x86_64> panic +
 0xb7
 12 ffffffff9c7e28d0 (+ 224) ffffffff8015ac08   <kernel_x86_64>
 x86_unexpected_exception + 0x168
 13 ffffffff9c7e29b0 (+ 888) ffffffff801512ec   <kernel_x86_64> int_bottom
 + 0x80
 kernel iframe at 0xffffffff9c7e2d28 (end = 0xffffffff9c7e2df0)
  rax 0x1                   rbx 0xffffffff9f93e388    rcx 0x1
  rdx 0x8000                rsi 0x0                   rdi
 0xcccccccc00000000
  rbp 0xffffffff9c7e2e00     r8 0x0                    r9 0x26
  r10 0x1e519c81b24         r11 0x3202                r12 0x0
  r13 0xffffffff9f17ed80    r14 0xffffffff9f469048    r15 0x1
  rip 0xffffffff8014a45a    rsp 0xffffffff9c7e2df0 rflags 0x13246
  vector: 0xd, error code: 0x0
 14 ffffffff9c7e2d28 (+ 216) ffffffff8014a45a   <kernel_x86_64>
 VMCache::WriteModified() + 0x0a
 15 ffffffff9c7e2e00 (+  32) ffffffffb0045788   </boot/system/add-
 ons/kernel/file_systems/nfs4> _ZN5Inode13SyncAndCommitEb.part.33 + 0x18
 16 ffffffff9c7e2e20 (+  48) ffffffffb004ac5a   </boot/system/add-
 ons/kernel/file_systems/nfs4> Inode::Close(OpenFileCookie*) + 0xca
 17 ffffffff9c7e2e50 (+  80) ffffffffb004d53c   </boot/system/add-
 ons/kernel/file_systems/nfs4> nfs4_free_cookie(fs_volume*, fs_vnode*,
 void*) + 0x7c
 18 ffffffff9c7e2ea0 (+  32) ffffffff80101d83   <kernel_x86_64>
 file_free_fd(file_descriptor*) + 0x33
 19 ffffffff9c7e2ec0 (+  32) ffffffff800f0e94   <kernel_x86_64> put_fd +
 0x84
 20 ffffffff9c7e2ee0 (+  64) ffffffff800f1163   <kernel_x86_64>
 close_fd_index + 0xc3
 21 ffffffff9c7e2f20 (+  16) ffffffff801515f8   <kernel_x86_64>
 x86_64_syscall_entry + 0xfe
 user iframe at 0xffffffff9c7e2f30 (end = 0xffffffff9c7e2ff8)
  rax 0x97                  rbx 0x7f506cef86b0        rcx 0x1e519c81df1
  rdx 0x8000600e            rsi 0x45ed9e8e0c          rdi 0x19
  rbp 0x7f506cef8610         r8 0x0                    r9 0x0
  r10 0x1e519c81b24         r11 0x3202                r12 0x10563623acb0
  r13 0x7f506cef86b0        r14 0x7f506cef8690        r15 0x7f506cef8730
  rip 0x1e519c81df1         rsp 0x7f506cef85f8     rflags 0x3202
  vector: 0x63, error code: 0x0
 22 ffffffff9c7e2f30 (+139985071199968) 000001e519c81df1   <libroot.so>
 _kern_close + 0x09
 23 00007f506cef8610 (+  32) 00000045ed986432   <libbe.so> BNode::Unset() +
 0x12
 24 00007f506cef8630 (+  32) 00000045ed98645f   <libbe.so> BNode::~BNode()
 + 0x1f
 25 00007f506cef8650 (+ 512) 000001d7e5871b7c   <libtracker.so>
 BPrivate::SpringLoadedFolderAddUniqueTypeToList(entry_ref*,
 BObjectList<BString>*) + 0x13c
 26 00007f506cef8850 (+ 112) 000001d7e5871d13   <libtracker.so>
 BPrivate::SpringLoadedFolderCacheDragData(BMessage const*, BMessage**,
 BObjectList<BString>**) + 0xc3
 27 00007f506cef88c0 (+  32) 000001d7e582aa0a   <libtracker.so>
 BPrivate::BContainerWindow::DragStart(BMessage const*) + 0x4a
 28 00007f506cef88e0 (+  80) 000001d7e5899cbb   <libtracker.so>
 BPrivate::BPoseView::MouseMoved(BPoint, unsigned int, BMessage const*) +
 0x10b
 29 00007f506cef8930 (+ 400) 00000045ed94f82f   <libbe.so>
 BView::MessageReceived(BMessage*) + 0xb2f
 30 00007f506cef8ac0 (+ 272) 000001d7e58972c3   <libtracker.so>
 BPrivate::BPoseView::MessageReceived(BMessage*) + 0xd3
 31 00007f506cef8bd0 (+ 560) 00000045ed958063   <libbe.so>
 BWindow::DispatchMessage(BMessage*, BHandler*) + 0xb43
 32 00007f506cef8e00 (+ 144) 00000045ed9536b1   <libbe.so>
 BWindow::task_looper() + 0x1c1
 33 00007f506cef8e90 (+  32) 00000045ed897a41   <libbe.so>
 BLooper::_task0_(void*) + 0x21
 34 00007f506cef8eb0 (+  32) 000001e519c81039   <libroot.so>
 _thread_do_exit_work (nearest) + 0x79
 35 00007f506cef8ed0 (+   0) 00007ffb612ba260   <commpage>
 commpage_thread_exit + 0x00
 kdebug> reboot
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16394>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: