#10522: Assert failed in TrashWatcher ------------------------------+------------------------------ Reporter: kallisti5 | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: File Systems/BFS | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ------------------------------+------------------------------ This may be related to the virtio driver in use... however wanted to post the backtrace somewhere as it is a assertion failure. hrev46844 x86_64 virtio disk building openssl recipe. {{{ PANIC: ASSERT FAILED (/home/kallisti5/Code/haiku/src/system/kernel/fs/vfs.cpp:1032): oldRefCount > 0; vnode 0xffffffff92edb380 Welcome to Kernel Debugging Land... Thread 537 "TrashWatcher" running on CPU 0 stack trace for thread 537 "TrashWatcher" kernel stack: 0xffffffff897ec000 to 0xffffffff897f1000 user stack: 0x00007f6234b71000 to 0x00007f6234bb1000 frame caller <image>:function + offset 0 ffffffff897f0a58 (+ 16) ffffffff8013224d <kernel_x86_64> arch_debug_stack_trace + 0x13 1 ffffffff897f0a68 (+ 16) ffffffff8009bf09 <kernel_x86_64> stack_trace_trampoline(void*) + 0x09 2 ffffffff897f0a78 (+ 24) ffffffff8012ad52 <kernel_x86_64> arch_debug_call_with_fault_handler + 0x16 3 ffffffff897f0a90 (+ 96) ffffffff8009c717 <kernel_x86_64> debug_call_with_fault_handler + 0x68 4 ffffffff897f0af0 (+ 96) ffffffff8009d6fd <kernel_x86_64> kernel_debugger_loop(char const*, char const*, __va_list_tag*, int) + 0x224 5 ffffffff897f0b50 (+ 80) ffffffff8009d9b6 <kernel_x86_64> kernel_debugger_internal(char const*, char const*, __va_list_tag*, int) + 0x132 6 ffffffff897f0ba0 (+ 240) ffffffff8009dc37 <kernel_x86_64> panic + 0xc1 7 ffffffff897f0c90 (+ 80) ffffffff800e339b <kernel_x86_64> dec_vnode_ref_count(vnode*, bool, bool) + 0xaf 8 ffffffff897f0ce0 (+ 16) ffffffff800e3682 <kernel_x86_64> put_mount(fs_mount*) + 0x1c 9 ffffffff897f0cf0 (+ 48) ffffffff800e37d9 <kernel_x86_64> fs_read_info(int, fs_info*) + 0xb8 10 ffffffff897f0d20 (+ 528) ffffffff800ec9f5 <kernel_x86_64> _user_read_fs_info + 0x34 11 ffffffff897f0f30 (+ 16) ffffffff8012c3a1 <kernel_x86_64> x86_64_syscall_entry + 0xf5 user iframe at 0xffffffff897f0f40 (end = 0xffffffff897f1000) rax 0x62 rbx 0x7f6234bb0c00 rcx 0x6688b55f74 rdx 0x47ec9cfd30 rsi 0x7f6234bb09a0 rdi 0x9 rbp 0x7f6234bb0990 r8 0x1bfee37c570 r9 0x0 r10 0x6688b55f91 r11 0x3202 r12 0x9 r13 0x7f6234bb0bd0 r14 0x7f6234bb0c30 r15 0x1 rip 0x6688b55f74 rsp 0x7f6234bb0978 rflags 0x3202 vector: 0x63, error code: 0x0 12 ffffffff897f0f40 (+140061756357200) 0000006688b55f74 <libroot.so> _kern_read_fs_info + 0x0c 13 00007f6234bb0990 (+ 528) 00000047ec716f2e <libbe.so> BVolume::SetTo(int) + 0x4a 14 00007f6234bb0ba0 (+ 32) 00000047ec717812 <libbe.so> BVolumeRoster::GetNextVolume(BVolume*) + 0x22 15 00007f6234bb0bc0 (+ 320) 0000017a01230d82 <libtracker.so> BPrivate::BTrashWatcher::CheckTrashDirs() + 0xea 16 00007f6234bb0d00 (+ 192) 0000017a01230fad <libtracker.so> BPrivate::BTrashWatcher::MessageReceived(BMessage*) + 0xc3 17 00007f6234bb0dc0 (+ 16) 00000047ec625782 <libbe.so> BLooper::DispatchMessage(BMessage*, BHandler*) + 0x36 18 00007f6234bb0dd0 (+ 96) 00000047ec625b04 <libbe.so> BLooper::task_looper() + 0x1c8 19 00007f6234bb0e30 (+ 32) 00000047ec624fb1 <libbe.so> BLooper::_task0_(void*) + 0x21 20 00007f6234bb0e50 (+ 32) 0000006688b55576 <libroot.so> _thread_do_exit_work (nearest) + 0x60 21 00007f6234bb0e70 (+ 0) 00007f74ae5982c8 <commpage> commpage_thread_exit + 0x00 kdebug> }}} -- Ticket URL: <https://dev.haiku-os.org/ticket/10522> Haiku <https://dev.haiku-os.org> Haiku - the operating system.