Bug 186645 - [fusefs] Crash after unmounting wdfs
Summary: [fusefs] Crash after unmounting wdfs
Status: Closed Not Enough Information
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 09:20 UTC by Sebastian Chmielewski
Modified: 2019-09-15 04:50 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Chmielewski 2014-02-11 09:20:00 UTC
FreeBSD crashes and reboots after unmounting wdfs (WebDav) resource

How-To-Repeat: - pkg install fuse_wdfs
- wdfs https://confluence.xxxx/plugins/servlet/confluence/default/Global/SOMEPROJECT Wiki
- navigate in Wiki
- exit from Wiki directory
- umount Wiki
- crash

stacktrace from core.txt.0

Fatal trap 1: privileged instruction fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xffffffff82c67543
stack pointer           = 0x28:0xffffff848fb0e4c0
frame pointer           = 0x28:0xffffff848fb0e500
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 4365 (umount)
trap number             = 1
panic: privileged instruction fault
cpuid = 1
KDB: stack backtrace:
#0 0xffffffff80947986 at kdb_backtrace+0x66
#1 0xffffffff8090d9ae at panic+0x1ce
#2 0xffffffff80cf2110 at trap_fatal+0x290
#3 0xffffffff80cf2921 at trap+0x241
#4 0xffffffff80cdbd53 at calltrap+0x8
#5 0xffffffff80b93c5e at vnode_pager_dealloc+0xae
#6 0xffffffff80b85c59 at vm_object_terminate+0x1a9
#7 0xffffffff80b92ce9 at vnode_destroy_vobject+0xb9
#8 0xffffffff82c618a1 at fuse_reclaim+0x21
#9 0xffffffff80d98c78 at VOP_RECLAIM_APV+0x78
#10 0xffffffff809aa264 at vgonel+0x134
#11 0xffffffff809ad76e at vflush+0x2de
#12 0xffffffff82c6023b at fuse_unmount+0x1db
#13 0xffffffff809a2056 at dounmount+0x3d6
#14 0xffffffff809a28c8 at sys_unmount+0x4a8
#15 0xffffffff80cf18ba at amd64_syscall+0x5ea
#16 0xffffffff80cdc037 at Xfast_syscall+0xf7
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-02-16 23:54:39 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-fs

reclassify.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:58 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Conrad Meyer freebsd_committer freebsd_triage 2018-08-10 08:50:20 UTC
Stack looks identical to bug 160790 comment #4, starting at VOP_RECLAIM.
Comment 4 Alan Somers freebsd_committer freebsd_triage 2019-04-03 15:26:06 UTC
If this is still an issue, could you please update the reproduction steps?  Firstly, there is no "fuse_wdfs" package.  Do you mean "fusefs-webdavfs"?  Secondly, the URL you provided doesn't help anybody without a local Confluence server.  Could you please provide the URL of a public server that demonstrates the problem, or instructions on how to setup a local server?
Comment 5 Alan Somers freebsd_committer freebsd_triage 2019-08-08 20:54:35 UTC
Please retest on current using the latest build (Aug-8 or later).