Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 42222 invoked from network); 24 Sep 2003 17:42:13 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Sep 2003 17:42:13 -0000 Received: (qmail 30180 invoked by uid 500); 24 Sep 2003 17:42:00 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 29892 invoked by uid 500); 24 Sep 2003 17:41:57 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 29875 invoked from network); 24 Sep 2003 17:41:57 -0000 Received: from unknown (HELO exchange.dolfin.com) (207.181.122.42) by daedalus.apache.org with SMTP; 24 Sep 2003 17:41:57 -0000 Received: from espanol (dpvc-151-196-58-85.balt.east.verizon.net [151.196.58.85]) by exchange.dolfin.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id TNGS8MHT; Wed, 24 Sep 2003 13:44:07 -0400 From: "Aryeh Katz" To: dev@httpd.apache.org Date: Wed, 24 Sep 2003 13:42:56 -0400 MIME-Version: 1.0 Subject: allocator is NULL if I use heap buckets Message-ID: <3F719F60.8749.B405CBF@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I've encountered the following issue with my module development, and I was wondering if I could get a pointer. I'm writing an ouput filter that must write independent data like mod_status or mod_info. Rather than using rputs and the like, I used the brigade code. What I'm seeing is, if I allocate my data bucket using transient buckets, all is fine. However, when I allocate a heap bucket, allocator (and ONLY allocator) somehow becomes NULL when the time comes to destroy the brigade (which causes a seg fault). I am using the bucket_allocation function from the connection, and APR_POOL_DEBUG set to all didn't show any pool life problems. Is there something I can look at to find out why I am having bucket lifetime problems with heap buckets, or should I just stick to transient buckets. Aryeh --- Aryeh Katz Secured-Services Inc.