#10522: Assert failed in TrashWatcher -----------------------------+---------------------------- Reporter: kallisti5 | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: vfs Blocked By: | Blocking: Has a Patch: 0 | Platform: x86-64 -----------------------------+---------------------------- Comment (by korli): I tested the following and the same crash occurs :( {{{ --- a/src/system/kernel/fs/vfs.cpp +++ b/src/system/kernel/fs/vfs.cpp @@ -703,7 +703,8 @@ get_mount(dev_t id, struct fs_mount** _mount) return B_BUSY; } - inc_vnode_ref_count(mount->root_vnode); + AutoLocker<Vnode> vnodeLocker(rootNode); + inc_vnode_ref_count(rootNode); *_mount = mount; return B_OK; } }}} -- Ticket URL: <https://dev.haiku-os.org/ticket/10522#comment:11> Haiku <https://dev.haiku-os.org> Haiku - the operating system.