Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 87157 invoked by uid 500); 12 Jan 2001 20:07:48 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 87132 invoked from network); 12 Jan 2001 20:07:45 -0000 X-Authentication-Warning: kurgan.lyra.org: gstein set sender to gstein@lyra.org using -f Date: Fri, 12 Jan 2001 12:08:06 -0800 From: Greg Stein To: new-httpd@apache.org Subject: Re: Seg fault in mod_dav. Message-ID: <20010112120806.H4640@lyra.org> Mail-Followup-To: new-httpd@apache.org References: <20010112035929.D4640@lyra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from rbb@covalent.net on Fri, Jan 12, 2001 at 06:29:19AM -0800 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Fri, Jan 12, 2001 at 06:29:19AM -0800, rbb@covalent.net wrote: > > > Excellent. You rock. This keyed me right in on the problem. I wasn't seeing > > the fault because my deletions of collections were succeeding. You were > > running into some kind of error, and BAM! :-) > > > > The basic issue is that dav_add_response() assumes a certain value in > > wres->walk_ctx which isn't being filled in when a deletion occurs. It isn't > > supposed to, so dav_add_response needs to change. > > [ this bug was introduced when I cleaned up the walk structures and handling > > a couple months ago ] > > > > Fix coming momentarily... > > Cool, and I'm REALLY glad I didn't have to track that down. :-) I never > would have found that bug. Oh... you would have seen the walk_ctx == NULL and tracked it back into dav_fs_delete_resource, finding that it wasn't setting that field. But yah: at that point, you probably would have thrown up your hands :-) It is actually a good reminder for me to continue cleaning up the walk stuff some more. I'll leave a note for myself in STATUS :-) Cheers, -g -- Greg Stein, http://www.lyra.org/