From owner-soc-status@FreeBSD.ORG Mon Jul 18 08:14:46 2011 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEF60106568A for ; Mon, 18 Jul 2011 08:14:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA068FC1B for ; Mon, 18 Jul 2011 08:14:46 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=XR4AdwVFe5G+K9PtySS1/JOnv6WK/hruile8wX/SUjk= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=5aZyLiFkUVUA:10 a=WQU8e4WWZSUA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=JeSCWGw7mEejkHisRA4A:9 a=xAMJkxUINUZPHQkrPvgA:7 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 152996796; Mon, 18 Jul 2011 10:14:44 +0200 From: Hans Petter Selasky To: Ilya Putsikau Date: Mon, 18 Jul 2011 10:12:38 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201107181012.38709.hselasky@c2i.net> Cc: soc-status@freebsd.org, Ivan Voras Subject: Re: [fuse] Status report #8 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 08:14:47 -0000 On Monday 18 July 2011 10:01:55 Ilya Putsikau wrote: > Project: Finish porting fuse > > I spent last week fixing panic when process doing io on fuse file > system was interrupter. Issue appeared to be bigger than that. > Dispatchers used for io were not properly created and destroyed which > lead to corrupt fuse messages and use after free errors. I have a > patch to add proper reference counting and remove home grown free > ticket list replacing them with uma allocator. With the patch I can't > reproduce panic but there is now memory leak, I'm fixing it. I > committed series of smaller fixes made while working on the patch. Hi, Can you explain at which point in the code you are doing refcounting and when the structures are freed? --HPS