From nobody@FreeBSD.org  Sun Oct  6 09:35:26 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 886B0B38
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Oct 2013 09:35:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 7641E20D5
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Oct 2013 09:35:26 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r969ZPKs086065
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Oct 2013 09:35:25 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r969ZPNG086059;
	Sun, 6 Oct 2013 09:35:25 GMT
	(envelope-from nobody)
Message-Id: <201310060935.r969ZPNG086059@oldred.freebsd.org>
Date: Sun, 6 Oct 2013 09:35:25 GMT
From: Luke <admin@3dr.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fusefs-kmod kernel panic on rsync
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182739
>Category:       kern
>Synopsis:       [fusefs] [panic] sysutils/fusefs-kmod kernel panic on rsync
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 09:40:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Mon May  5 18:30:01 UTC 2014
>Originator:     Luke
>Release:        9.1-RELEASE, 9.1-RELEASE
>Organization:
>Environment:
FreeBSD xxxxxxx 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:34:37 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
There is a problem with fusefs-kmod and FreeBSD 9.1 and rsync. While starting rsync on fuse share, one encounters kernel panic with:

fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.19


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address       = 0x0
fault code                           = supervisor read instruction, page not present
instruction pointer         = 0x20:0x0
stack pointer             = 0x28:0xffffff811b71bac0
frame pointer           = 0x28:0xffffff811b71bb10
code segment                  = base 0x0, limit 0xfffff, type 0x1b
                                               = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags              = interrupt enabled, resume, IOPL = 0
current process                               = 16502 (rsync)
trap number                     = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80920bb6 at kdb_backtrace+0x66
#1 0xffffffff808eabce at panic+0x1ce
#2 0xffffffff80bd8640 at trap_fatal+0x290
#3 0xffffffff80bd897d at trap_pfault+0x1ed
#4 0xffffffff80bd8f9e at trap+0x3ce
#5 0xffffffff80bc355f at calltrap+0x8
#6 0xffffffff80bd7ee6 at amd64_syscall+0x546
#7 0xffffffff80bc3847 at Xfast_syscall+0xf7
Uptime: 21h22m6s
Dumping 847 out of 4043 MB:..2%..12%..21%..31%..42%..51%..61%..72%..82%..91%


Same result can be obtained on FreeBSD 9.2

Might be related to http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/175328
>How-To-Repeat:
rsync on any fuse'd directory
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun May 4 05:17:41 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182739 

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org,
 admin@3dr.org
Cc: mirror176@cox.net
Subject: Re: kern/182739: [fusefs] [panic] sysutils/fusefs-kmod kernel panic on rsync
Date: Mon, 5 May 2014 14:15:34 -0400

 Please try the patch at http://people.freebsd.org/~jhb/patches/fuse_port.patch
 
 -- 
 John Baldwin
>Unformatted:
