Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 81416 invoked from network); 12 Aug 2008 15:11:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2008 15:11:52 -0000 Received: (qmail 16400 invoked by uid 500); 12 Aug 2008 15:11:50 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 16354 invoked by uid 500); 12 Aug 2008 15:11:50 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 16343 invoked by uid 99); 12 Aug 2008 15:11:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 08:11:50 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of trawick@gmail.com designates 209.85.128.184 as permitted sender) Received: from [209.85.128.184] (HELO fk-out-0910.google.com) (209.85.128.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 15:10:55 +0000 Received: by fk-out-0910.google.com with SMTP id k31so3852915fkk.11 for ; Tue, 12 Aug 2008 08:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=fDq4o0xY/29VrMLtcHfZFyty9hFevWn5yKDEVFpWZ0E=; b=sxZMxCZziZy0AhUP+26iBqV0wg8bP8zthWzbaC0o72CQVIb1zlqnM2HNb07gDjXZJq 3ut88VQ5ciLSKNKZQ1wAkp7nSjV5SBjIdBpHaRNpvYoFj6Hl7OuFWYB5QHLlYYxE/7RF eEcqfBI7Z2/Qi58EtpVQbqbXrc2sQqs8j3tCg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aP+YHXbF3bqW6PRezLSN+EaTmEMhFiVET42JgSlqSOBE30oSRtndZH6hK0nQ6ZTEPR SfL+F+nNJHEkvkNhiGRpGO73qWuk2pZKHiF615SkywY/WeCn40givVL/dsXVr0sJFoXM HOzvRwnShWoYLziyzVy8mjTO+bOtDQKof0d0M= Received: by 10.180.222.14 with SMTP id u14mr4664514bkg.47.1218553882062; Tue, 12 Aug 2008 08:11:22 -0700 (PDT) Received: by 10.210.70.16 with HTTP; Tue, 12 Aug 2008 08:11:22 -0700 (PDT) Message-ID: Date: Tue, 12 Aug 2008 11:11:22 -0400 From: "Jeff Trawick" To: dev@apr.apache.org Subject: Re: 1.3.3 tarballs for review In-Reply-To: <489DAB9A.1070007@rowe-clan.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_47235_17450423.1218553882066" References: <489DAB9A.1070007@rowe-clan.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_47235_17450423.1218553882066 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Aug 9, 2008 at 10:37 AM, William A. Rowe, Jr. wrote: > Available in the usual; http://apr.apache.org/dev/dist/, win32 > with exported .mak files to follow as soon as I have a bit of > free time, busy weekend here so likely on Sunday eve (when I'll > look also at committing Carlo's efforts on MinGW). > > +/-1 > [ ] Release apr-1.3.3 > [ ] Release apr-util-1.3.3 > > apr and apr-util test results for 1.3.2 and 1.3.3 match on OpenSolaris: apr: testsock : |Line 92: Problem getting http service (2): No such file or directory apr-util: testxlate : |Line 63: expected <0>, but saw <22> (perhaps the lack of expected charset aliases in Solaris iconv()?) I guess these last two messages are not errors:: Failed to load driver file apr_dbd_sqlite2.so Failed to load driver file apr_dbd_sqlite3.so A late code review found this disturbance: Index: memcache/apr_memcache.c =================================================================== --- memcache/apr_memcache.c (.../1.3.2) (revision 685172) +++ memcache/apr_memcache.c (.../1.3.3) (revision 685172) ... static apr_status_t mc_conn_construct(void **conn_, void *params, apr_pool_t *pool) { @@ -310,7 +331,11 @@ return rv; } +#if APR_HAS_THREADS + conn = malloc(sizeof( apr_memcache_conn_t )); /* non-pool space! */ +#else conn = apr_palloc(np, sizeof( apr_memcache_conn_t )); +#endif conn->p = np; @@ -334,34 +359,31 @@ rv = conn_connect(conn); if (rv != APR_SUCCESS) { apr_pool_destroy(np); + free(conn); That free() must be inside a check for APR_HAS_THREADS (potentially extremely painful to diagnose, but for a minority of platforms/builds). ------=_Part_47235_17450423.1218553882066 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
On Sat, Aug 9, 2008 at 10:37 AM, William A. Rowe, Jr. <wrowe@rowe-clan.net> wrote:
Available in the usual; http://apr.apache.org/dev/dist/, win32
with exported .mak files to follow as soon as I have a bit of
free time, busy weekend here so likely on Sunday eve (when I'll
look also at committing Carlo's efforts on MinGW).

 +/-1
 [  ]  Release apr-1.3.3
 [  ]  Release apr-util-1.3.3

apr and apr-util test results for 1.3.2 and 1.3.3 match on OpenSolaris:

apr:
testsock            : |Line 92: Problem getting http service (2): No such file or directory

apr-util:
testxlate           : |Line 63: expected <0>, but saw <22>
  (perhaps the lack of expected charset aliases in Solaris iconv()?)

I guess these last two messages are not errors::
Failed to load driver file apr_dbd_sqlite2.so
Failed to load driver file apr_dbd_sqlite3.so

A late code review found this disturbance:

Index: memcache/apr_memcache.c
===================================================================
--- memcache/apr_memcache.c     (.../1.3.2)     (revision 685172)
+++ memcache/apr_memcache.c     (.../1.3.3)     (revision 685172)
...
 static apr_status_t
 mc_conn_construct(void **conn_, void *params, apr_pool_t *pool)
 {
@@ -310,7 +331,11 @@
         return rv;
     }
 
+#if APR_HAS_THREADS
+    conn = malloc(sizeof( apr_memcache_conn_t )); /* non-pool space! */
+#else
     conn = apr_palloc(np, sizeof( apr_memcache_conn_t ));
+#endif
 
     conn->p = np;
 
@@ -334,34 +359,31 @@
     rv = conn_connect(conn);
     if (rv != APR_SUCCESS) {
         apr_pool_destroy(np);
+        free(conn);

That free() must be inside a check for APR_HAS_THREADS (potentially extremely painful to diagnose, but for a minority of platforms/builds).


------=_Part_47235_17450423.1218553882066--