From matthewlara@example.org Sun Aug 01 11:19:46 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 35093 invoked from network); 1 Aug 2010 11:19:45 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Aug 2010 11:19:45 -0000 Received: (qmail 16718 invoked by uid 500); 1 Aug 2010 11:19:45 -0000 Delivered-To: matthewlara@example.org Received: (qmail 16314 invoked by uid 500); 1 Aug 2010 11:19:42 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 16307 invoked by uid 99); 1 Aug 2010 11:19:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 11:19:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FRT_LITTLE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 11:19:38 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o71BJGYS001293 for <matthewlara@example.org>; Sun, 1 Aug 2010 11:19:17 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o71BJ7TC029466 for matthewlara@example.org; Sun, 1 Aug 2010 07:19:07 -0400 (EDT) Date: Sun, 1 Aug 2010 07:19:07 -0400 (EDT) Message-Id: <matthewlara@example.org> From: matthewlara@example.org To: matthewlara@example.org Subject: Bug report for APR [2010/08/01] X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |44684|Inf|Nor|2008-03-26|32 libexpat used instead of 64 bit | |45232|New|Nor|2008-06-18|Empty APU_MODULES makes sh syntax error | |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45276|Opn|Nor|2008-06-25|Little issue with srclib/apr-util/Makefile | |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Nor|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47843|New|Cri|2009-09-15|Non-threadsafe use of memory pool by apr_thread_po| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48620|New|Nor|2010-01-26|Bucket split overwriting existing buckets - leadin| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49053|New|Nor|2010-04-06|Can't build apache 2.2.15 on Ubuntu Lucid (10.04) | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49645|New|Cri|2010-07-25|apr_dbd_odbc memory corruption | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| +-----+---+---+----------+--------------------------------------------------+ | Total 119 bugs | +---------------------------------------------------------------------------+ From matthewlara@example.org Tue Aug 03 06:36:37 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 51107 invoked from network); 3 Aug 2010 06:36:37 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 06:36:37 -0000 Received: (qmail 99698 invoked by uid 500); 3 Aug 2010 06:36:37 -0000 Delivered-To: matthewlara@example.org Received: (qmail 99301 invoked by uid 500); 3 Aug 2010 06:36:34 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 99293 invoked by uid 99); 3 Aug 2010 06:36:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 06:36:33 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO dns-factory.at) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 06:36:25 +0000 Received: from [83.161.120.155] matthewlara@example.org [83.161.120.155] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare via secured & encrypted transport (TLS); Tue, 03 Aug 2010 08:35:50 +0200 Message-ID: <matthewlara@example.org> Date: Tue, 03 Aug 2010 08:35:26 +0200 From: Guenter Knauf <matthewlara@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:83.161.120.155) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: matthewlara@example.org Subject: Re: [Patch] apr trunk doesn't install apu.h References: <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Am 06.06.2010 21:13, schrieb Rainer Jung: > Subject says it all, more in the patch log message at: > > http://people.apache.org/~rjung/patches/apr-trunk-fix-broken-installation-of-apu_h.patch > > > On the long term apu.h might go completely, but until now it is still > referenced in a lot of installed header files. So e.g. httpd trunk > doesn't compile against an installed apr 2 because apr_hooks.h includes > apu.h. fine so far, but also bad since shouldnt we at least make sure that APR itself builds without apu.h? There are still a bunch of headers which want to include apu.h - is it ok that I change them all to apr.h, or do I have to mimic this dummy apu.h creation? Building C:/projects/svn-httpd/apr-head/build Generating nw_export.i ### mwccnlm Compiler: # File: nw_export.inc # ---------------------- # 5: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_base64.h # -------------------------------- # 27: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_buckets.h # --------------------------------- # 28: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_date.h # ------------------------------ # 35: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_dbd.h # ----------------------------- # 24: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_dbm.h # ----------------------------- # 20: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_hooks.h # ------------------------------- # 20: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_ldap_url.h # ---------------------------------- # 35: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_md4.h # ----------------------------- # 44: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_xlate.h # ------------------------------- # 20: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_md5.h # ----------------------------- # 50: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_reslist.h # --------------------------------- # 26: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_optional.h # ---------------------------------- # 20: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_queue.h # ------------------------------- # 28: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_rmm.h # ----------------------------- # 32: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_sdbm.h # ------------------------------ # 27: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_sha1.h # ------------------------------ # 26: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_strmatch.h # ---------------------------------- # 24: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # File: nw_export.inc # ---------------------- # 62: #include "apr_support.h" # Error: ^ # the file 'apr_support.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_thread_pool.h # ------------------------------------- # 22: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_uri.h # ----------------------------- # 29: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_uuid.h # ------------------------------ # 24: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apr_xml.h # ----------------------------- # 32: #include "apu.h" # Error: ^ # the file 'apu.h' cannot be opened ### mwccnlm Compiler: # In: ..\include\apu_want.h # ------------------------------ # 17: #include "apu.h" /* configuration data */ # Error: ^ # the file 'apu.h' cannot be opened From matthewlara@example.org Tue Aug 03 06:45:44 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 52409 invoked from network); 3 Aug 2010 06:45:44 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 06:45:44 -0000 Received: (qmail 9119 invoked by uid 500); 3 Aug 2010 06:45:44 -0000 Delivered-To: matthewlara@example.org Received: (qmail 8723 invoked by uid 500); 3 Aug 2010 06:45:42 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 8715 invoked by uid 99); 3 Aug 2010 06:45:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 06:45:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtpauth12.prod.mesa1.secureserver.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Aug 2010 06:45:32 +0000 Received: (qmail 29695 invoked from network); 3 Aug 2010 06:45:09 -0000 Received: from unknown (83.161.120.155) by smtpauth12.prod.mesa1.secureserver.net (83.161.120.155) with ESMTP; 03 Aug 2010 06:45:09 -0000 Message-ID: <matthewlara@example.org> Date: Tue, 03 Aug 2010 01:44:45 -0500 From: "William A. Rowe Jr." <matthewlara@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:83.161.120.155) Gecko/20100711 Lightning/1.0b1 Thunderbird/3.0.6 MIME-Version: 1.0 To: matthewlara@example.org Subject: Re: [Patch] apr trunk doesn't install apu.h References: <matthewlara@example.org> <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 8/3/2010 1:35 AM, Guenter Knauf wrote: > fine so far, but also bad since shouldnt we at least make sure that APR > itself builds without apu.h? There are still a bunch of headers which > want to include apu.h - is it ok that I change them all to apr.h, or do > I have to mimic this dummy apu.h creation? Yes, and yes (for external users). apu.h should be nothing but a stub, and there is no reason to actually generate the dummy header, it should simply exist in include/ (and did the last time I looked?). From matthewlara@example.org Tue Aug 03 06:55:00 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 53368 invoked from network); 3 Aug 2010 06:54:59 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 06:54:59 -0000 Received: (qmail 15101 invoked by uid 500); 3 Aug 2010 06:54:59 -0000 Delivered-To: matthewlara@example.org Received: (qmail 14706 invoked by uid 500); 3 Aug 2010 06:54:56 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 14699 invoked by uid 99); 3 Aug 2010 06:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 06:54:54 +0000 X-ASF-Spam-Status: No, hits=-1.1 required=10.0 tests=MISSING_HEADERS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthewlara@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailserver.kippdata.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 06:54:47 +0000 Received: from [83.161.120.155] ([83.161.120.155]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id o736sNbU004435 for <matthewlara@example.org>; Tue, 3 Aug 2010 08:54:24 +0200 (CEST) Message-ID: <matthewlara@example.org> Date: Tue, 03 Aug 2010 08:54:22 +0200 From: Rainer Jung <matthewlara@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:83.161.120.155) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 CC: matthewlara@example.org Subject: Re: [Patch] apr trunk doesn't install apu.h References: <matthewlara@example.org> <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Hi Günter, On 03.08.2010 08:35, Guenter Knauf wrote: > Am 06.06.2010 21:13, schrieb Rainer Jung: >> Subject says it all, more in the patch log message at: >> >> http://people.apache.org/~rjung/patches/apr-trunk-fix-broken-installation-of-apu_h.patch >> >> >> >> On the long term apu.h might go completely, but until now it is still >> referenced in a lot of installed header files. So e.g. httpd trunk >> doesn't compile against an installed apr 2 because apr_hooks.h includes >> apu.h. > fine so far, but also bad since shouldnt we at least make sure that APR > itself builds without apu.h? There are still a bunch of headers which > want to include apu.h - is it ok that I change them all to apr.h, or do > I have to mimic this dummy apu.h creation? apr trunk contains apr-util, it has been merged into it and there is no more apr-util trunk. apu.h in apr trunk contains only one functional line: #include <apr.h> so it doesn't make sense any longer tou include apu.h nstead of apr.h from inside apr. I guess apu.h is only still there, to keep apr trunk a bit more compatible with existing code using apr/apu (like httpd). E.g. httpd trunk builds against apr trunk and also against apr/apu branches. In short: I gues it is OK to only include apr.h from inside apr, but you also have to install the redirecting apu.h in order to satisfy the needs of the software using apr/apu. Regards, Rainer From matthewlara@example.org Tue Aug 03 07:11:07 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 61144 invoked from network); 3 Aug 2010 07:11:06 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 07:11:06 -0000 Received: (qmail 27887 invoked by uid 500); 3 Aug 2010 07:11:06 -0000 Delivered-To: matthewlara@example.org Received: (qmail 27504 invoked by uid 500); 3 Aug 2010 07:11:03 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 27497 invoked by uid 99); 3 Aug 2010 07:11:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 07:11:03 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO dns-factory.at) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 07:10:55 +0000 Received: from [83.161.120.155] matthewlara@example.org [83.161.120.155] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare via secured & encrypted transport (TLS); Tue, 03 Aug 2010 09:10:22 +0200 Message-ID: <matthewlara@example.org> Date: Tue, 03 Aug 2010 09:09:59 +0200 From: Guenter Knauf <matthewlara@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:83.161.120.155) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: matthewlara@example.org Subject: Re: [Patch] apr trunk doesn't install apu.h References: <matthewlara@example.org> <matthewlara@example.org> <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Am 03.08.2010 08:44, schrieb William A. Rowe Jr.: > On 8/3/2010 1:35 AM, Guenter Knauf wrote: >> fine so far, but also bad since shouldnt we at least make sure that AP= R >> itself builds without apu.h? There are still a bunch of headers which >> want to include apu.h - is it ok that I change them all to apr.h, or d= o >> I have to mimic this dummy apu.h creation? > > Yes, and yes (for external users). > > apu.h should be nothing but a stub, and there is no reason to actually > generate the dummy header, it should simply exist in include/ (and did > the last time I looked?). > ah, ok - since we previously generated apu.h it was also cleaned away=20 with make ... :) Now restored from svn and removed build rule, that looks better ... G=C3=BCn. From matthewlara@example.org Wed Aug 04 14:17:36 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 30781 invoked from network); 4 Aug 2010 14:17:35 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Aug 2010 14:17:35 -0000 Received: (qmail 31628 invoked by uid 500); 4 Aug 2010 14:17:35 -0000 Delivered-To: matthewlara@example.org Received: (qmail 31228 invoked by uid 500); 4 Aug 2010 14:17:33 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 31221 invoked by uid 99); 4 Aug 2010 14:17:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 14:17:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthewlara@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO sajino.sajinet.com.pe) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 14:17:26 +0000 Received: by sajino.sajinet.com.pe (Postfix, from userid 1000) id 57741A580BA; Wed, 4 Aug 2010 14:17:04 +0000 (UTC) Date: Wed, 4 Aug 2010 14:17:04 +0000 From: Carlo Marcelo Arenas Belon <matthewlara@example.org> To: matthewlara@example.org Subject: undefined behaviour from apr_pollset_create Message-ID: <matthewlara@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Greetings, is the status of the pollset pointer in apr_pollset_create when size = 0 undefined or just undocumented? apr_pollset_create in apr 0.9 used to keep that pointer unchanged (NULL) for that case and by looking at the code/behaviour from newer versions it would seem that it gets allocated an apr_pollset_t* always, resulting on an application bug, where an infinite loop was created while polling repeatedly and empty pollset. making that a NULL pointer was a sideffect of asking for apr_palloc for a 0 size in 0.9, and since the logic has changed since then size is no longer involved on the creation of that pointer, but I am not sure if that was indeed intentional. either way, documentation is mute about this case, but is this something that would/could be fixed?, or should be at least mentioned as undefined considering the change on behaviour between versions? Carlo From matthewlara@example.org Thu Aug 05 09:12:19 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 60131 invoked from network); 5 Aug 2010 09:12:19 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Aug 2010 09:12:19 -0000 Received: (qmail 90014 invoked by uid 500); 5 Aug 2010 09:12:19 -0000 Delivered-To: matthewlara@example.org Received: (qmail 89597 invoked by uid 500); 5 Aug 2010 09:12:14 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 89574 invoked by uid 99); 5 Aug 2010 09:12:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 09:12:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO dns-factory.at) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 09:12:08 +0000 Received: from [83.161.120.155] matthewlara@example.org [83.161.120.155] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare via secured & encrypted transport (TLS); Thu, 05 Aug 2010 11:11:35 +0200 Message-ID: <matthewlara@example.org> Date: Thu, 05 Aug 2010 11:11:06 +0200 From: Guenter Knauf <matthewlara@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:83.161.120.155) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: matthewlara@example.org Subject: Re: scan-build on apr/trunk References: <matthewlara@example.org> <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Am 786-275-7701:03, schrieb Stefan Fritsch: > On Saturday 31 July 2010, Philip M. Gollucci wrote: >> http://p6m7g8.net/~pgollucci/sb/ >> >> I might take a stab at some of these next week. >> >> $ ./buildconf >> $ scan-build ./configure >> $ scan-build make -j12 > > One more issue found by gcc: Error handling in apr_memcache.c is > broken: > > apr/memcache/apr_memcache.c:793: warning: comparison of unsigned > expression< 0 is always false > apr/memcache/apr_memcache.c:1368: warning: comparison of unsigned > expression>=3D 0 is always true I've played a bit with recent OpenWatcom 1.9, and this compiler also=20 found the above as well as a couple of others: http://people.apache.org/~fuankg/openwatcom/owc_w32_log.txt http://people.apache.org/~fuankg/openwatcom/owc_nw_log.txt if someone is interested in the prelimary makefiles these are also in=20 same folder. G=FCn. From matthewlara@example.org Thu Aug 05 14:34:53 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 96223 invoked from network); 5 Aug 2010 14:34:53 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Aug 2010 14:34:53 -0000 Received: (qmail 49212 invoked by uid 500); 5 Aug 2010 14:34:52 -0000 Delivered-To: matthewlara@example.org Received: (qmail 48844 invoked by uid 500); 5 Aug 2010 14:34:50 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 48837 invoked by uid 99); 5 Aug 2010 14:34:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 14:34:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthewlara@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO sajino.sajinet.com.pe) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 14:34:42 +0000 Received: by sajino.sajinet.com.pe (Postfix, from userid 1000) id 2B23DA5807C; Thu, 5 Aug 2010 14:34:21 +0000 (UTC) Date: Thu, 5 Aug 2010 14:34:21 +0000 From: Carlo Marcelo Arenas Belon <matthewlara@example.org> To: matthewlara@example.org Subject: Re: undefined behaviour from apr_pollset_create Message-ID: <matthewlara@example.org> References: <matthewlara@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <matthewlara@example.org> User-Agent: Mutt/1.5.18 (2008-05-17) On Wed, Aug 04, 2010 at 02:17:04PM +0000, Carlo Marcelo Arenas Belon wrote: > > apr_pollset_create in apr 0.9 used to keep that pointer unchanged (NULL) > for that case and by looking at the code/behaviour from newer versions > it would seem that it gets allocated an apr_pollset_t* always, resulting > on an application bug, where an infinite loop was created while polling > repeatedly and empty pollset. after further investigation this resulted to be a wrong assumption on my part, the pollset pointer inside the opaque apr_pollset_t structure is indeed NULL in 0.9, but considering that it is opaque anyway, its status shouldn't matter and therefore this should be instead considered just as undocumented behaviour then. Carlo From matthewlara@example.org Sun Aug 08 11:19:18 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 75005 invoked from network); 8 Aug 2010 11:19:17 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Aug 2010 11:19:17 -0000 Received: (qmail 94970 invoked by uid 500); 8 Aug 2010 11:19:16 -0000 Delivered-To: matthewlara@example.org Received: (qmail 94568 invoked by uid 500); 8 Aug 2010 11:19:12 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 94558 invoked by uid 99); 8 Aug 2010 11:19:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Aug 2010 11:19:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FRT_LITTLE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Aug 2010 11:19:10 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o78BIo9O011118 for <matthewlara@example.org>; Sun, 8 Aug 2010 11:18:50 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o78BIgIe009300 for matthewlara@example.org; Sun, 8 Aug 2010 07:18:42 -0400 (EDT) Date: Sun, 8 Aug 2010 07:18:42 -0400 (EDT) Message-Id: <matthewlara@example.org> From: matthewlara@example.org To: matthewlara@example.org Subject: Bug report for APR [2010/08/08] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |44684|Inf|Nor|2008-03-26|32 libexpat used instead of 64 bit | |45232|New|Nor|2008-06-18|Empty APU_MODULES makes sh syntax error | |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45276|Opn|Nor|2008-06-25|Little issue with srclib/apr-util/Makefile | |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Nor|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47843|New|Cri|2009-09-15|Non-threadsafe use of memory pool by apr_thread_po| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48620|New|Nor|2010-01-26|Bucket split overwriting existing buckets - leadin| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49053|New|Nor|2010-04-06|Can't build apache 2.2.15 on Ubuntu Lucid (10.04) | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49645|New|Cri|2010-07-25|apr_dbd_odbc memory corruption | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| |49709|New|Maj|2010-08-05|apr_thread_pool_push may fail to wake up a thread | +-----+---+---+----------+--------------------------------------------------+ | Total 120 bugs | +---------------------------------------------------------------------------+ From matthewlara@example.org Wed Aug 11 16:52:25 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 8537 invoked from network); 11 Aug 2010 16:52:24 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Aug 2010 16:52:24 -0000 Received: (qmail 49744 invoked by uid 500); 11 Aug 2010 15:52:23 -0000 Delivered-To: matthewlara@example.org Received: (qmail 49646 invoked by uid 500); 11 Aug 2010 15:52:22 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 49635 invoked by uid 99); 11 Aug 2010 15:52:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 15:52:22 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO ndjsnpf02.ndc.nasa.gov) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 15:52:11 +0000 Received: from ndjsppt02.ndc.nasa.gov (ndjsppt02.ndc.nasa.gov [83.161.120.155]) by ndjsnpf02.ndc.nasa.gov (Postfix) with ESMTP id 2A4FAA8121 for <matthewlara@example.org>; Wed, 11 Aug 2010 10:51:50 -0500 (CDT) Received: from ndjshub01.ndc.nasa.gov (ndjshub01-pub.ndc.nasa.gov [83.161.120.155]) by ndjsppt02.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id o7BFpo7X011066 for <matthewlara@example.org>; Wed, 11 Aug 2010 10:51:50 -0500 Received: from wdyn-n229-242-103.arc.nasa.gov (83.161.120.155) by smtp01.ndc.nasa.gov (83.161.120.155) with Microsoft SMTP Server (TLS) id 83.161.120.155; Wed, 11 Aug 2010 10:51:50 -0500 From: Chris Knight <matthewlara@example.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: %lld/%llu not handled by apr_vformatter Date: Wed, 11 Aug 2010 08:51:48 -0700 Message-ID: <matthewlara@example.org> To: APR Developer List <matthewlara@example.org> MIME-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-11_07:2010-08-11,2010-08-11,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org I spent half-a-day yesterday trying to figure out why I was crashing in = apr_psprintf on a strlen until I realized that my "%llu%s" format string = was causing it to use my long long int as a char *. Needless to say, no harm in adding support for %ll[du] yes? Ah, 64-bit fun for everyone.... Example code: #include <apr.h> #include <apr_pools.h> #include <apr_strings.h> #include <stdio.h> int main(int argc, char **argv) { apr_pool_t *pool =3D NULL; char *s =3D "hello world"; u_int64_t v =3D 12345678; apr_pool_initialize(); apr_pool_create(&(pool), NULL); printf("%llu%s", v, s); // works char *f =3D apr_psprintf(pool, "%llu%s", v, s); // segfault on = strlen printf("%s\n", f); }= From matthewlara@example.org Wed Aug 11 17:10:05 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 28249 invoked from network); 11 Aug 2010 17:10:05 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Aug 2010 17:10:05 -0000 Received: (qmail 88126 invoked by uid 500); 11 Aug 2010 16:10:05 -0000 Delivered-To: matthewlara@example.org Received: (qmail 88052 invoked by uid 500); 11 Aug 2010 16:10:04 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Delivered-To: moderator for matthewlara@example.org Received: (qmail 72636 invoked by uid 99); 11 Aug 2010 16:03:16 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 Sender: matthewlara@example.org X-Originating-IP: [83.161.120.155] In-Reply-To: <matthewlara@example.org> References: <matthewlara@example.org> Date: Wed, 11 Aug 2010 11:02:46 -0500 X-Google-Sender-Auth: CUV2voGI6Eaf4DDfgZ5BNTZU0e0 Message-ID: <matthewlara@example.org> Subject: Re: %lld/%llu not handled by apr_vformatter From: "Hyrum K. Wright" <matthewlara@example.org> To: Chris Knight <matthewlara@example.org> Cc: APR Developer List <matthewlara@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Unfortunately, you seem to have found the same bug I uncovered in March: http://mail-archives.apache.org/mod_mbox/apr-dev/201003.mbox/%3Cb51ffb6f100= matthewlara@example.org%3E To my knowledge it hasn't been fixed, thought that thread does include a somewhat hacky patch to work around the issue. Perhaps it will be of use to you. -Hyrum On Wed, Aug 11, 2010 at 10:51 AM, Chris Knight <matthewlara@example.org> wrote: > I spent half-a-day yesterday trying to figure out why I was crashing in a= pr_psprintf on a strlen until I realized that my "%llu%s" format string was= causing it to use my long long int as a char *. > > Needless to say, no harm in adding support for %ll[du] yes? > > Ah, 64-bit fun for everyone.... > > Example code: > > #include <apr.h> > #include <apr_pools.h> > #include <apr_strings.h> > #include <stdio.h> > > int main(int argc, char **argv) { > =A0 =A0apr_pool_t *pool =3D NULL; > =A0 =A0char *s =3D "hello world"; u_int64_t v =3D 12345678; > > =A0 =A0apr_pool_initialize(); apr_pool_create(&(pool), NULL); > =A0 =A0printf("%llu%s", v, s); // works > =A0 =A0char *f =3D apr_psprintf(pool, "%llu%s", v, s); // segfault on str= len > =A0 =A0printf("%s\n", f); > } From matthewlara@example.org Wed Aug 11 17:12:45 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 29794 invoked from network); 11 Aug 2010 17:12:40 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Aug 2010 17:12:40 -0000 Received: (qmail 89079 invoked by uid 500); 11 Aug 2010 16:12:40 -0000 Delivered-To: matthewlara@example.org Received: (qmail 88996 invoked by uid 500); 11 Aug 2010 16:12:39 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 88989 invoked by uid 99); 11 Aug 2010 16:12:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 16:12:39 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO ndjsnpf02.ndc.nasa.gov) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 16:12:30 +0000 Received: from ndjsppt04.ndc.nasa.gov (ndjsppt04.ndc.nasa.gov [83.161.120.155]) by ndjsnpf02.ndc.nasa.gov (Postfix) with ESMTP id D578EA8121; Wed, 11 Aug 2010 11:12:08 -0500 (CDT) Received: from ndjshub01.ndc.nasa.gov (ndjshub01-pub.ndc.nasa.gov [83.161.120.155]) by ndjsppt04.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id o7BGC71K021581; Wed, 11 Aug 2010 11:12:08 -0500 Received: from wdyn-n229-242-103.arc.nasa.gov (83.161.120.155) by smtp01.ndc.nasa.gov (83.161.120.155) with Microsoft SMTP Server (TLS) id 83.161.120.155; Wed, 11 Aug 2010 11:12:07 -0500 Subject: Re: %lld/%llu not handled by apr_vformatter MIME-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" From: Chris Knight <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Date: Wed, 11 Aug 2010 09:12:05 -0700 CC: APR Developer List <matthewlara@example.org> Content-Transfer-Encoding: quoted-printable Message-ID: <matthewlara@example.org> References: <matthewlara@example.org> <matthewlara@example.org> To: "Hyrum K. Wright" <matthewlara@example.org> X-Mailer: Apple Mail (2.1081) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-11_07:2010-08-11,2010-08-11,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the pointer. While I understand the APR team wants to match APR_INT64_T_FMT, %ll[du] = should still be supported even if APR_INT64_T_FMT is "ld", to ensure = compatibility with the system printf. (APR team, I'd be happy to become a committer and/or submit patches, if = y'all are receptive.) On Aug 11, 2010, at 9:02 AM, Hyrum K. Wright wrote: > Unfortunately, you seem to have found the same bug I uncovered in = March: > = http://mail-archives.apache.org/mod_mbox/apr-dev/201003.mbox/%3Cb51ffb6f10= matthewlara@example.org%3E >=20 > To my knowledge it hasn't been fixed, thought that thread does include > a somewhat hacky patch to work around the issue. Perhaps it will be > of use to you. >=20 > -Hyrum >=20 > On Wed, Aug 11, 2010 at 10:51 AM, Chris Knight > <matthewlara@example.org> wrote: >> I spent half-a-day yesterday trying to figure out why I was crashing = in apr_psprintf on a strlen until I realized that my "%llu%s" format = string was causing it to use my long long int as a char *. >>=20 >> Needless to say, no harm in adding support for %ll[du] yes? >>=20 >> Ah, 64-bit fun for everyone.... >>=20 >> Example code: >>=20 >> #include <apr.h> >> #include <apr_pools.h> >> #include <apr_strings.h> >> #include <stdio.h> >>=20 >> int main(int argc, char **argv) { >> apr_pool_t *pool =3D NULL; >> char *s =3D "hello world"; u_int64_t v =3D 12345678; >>=20 >> apr_pool_initialize(); apr_pool_create(&(pool), NULL); >> printf("%llu%s", v, s); // works >> char *f =3D apr_psprintf(pool, "%llu%s", v, s); // segfault on = strlen >> printf("%s\n", f); >> } From matthewlara@example.org Wed Aug 11 18:39:26 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 83306 invoked from network); 11 Aug 2010 18:39:25 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Aug 2010 18:39:25 -0000 Received: (qmail 57495 invoked by uid 500); 11 Aug 2010 18:39:25 -0000 Delivered-To: matthewlara@example.org Received: (qmail 57366 invoked by uid 500); 11 Aug 2010 18:39:24 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 57359 invoked by uid 99); 11 Aug 2010 18:39:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 18:39:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of matthewlara@example.org) Received: from [83.161.120.155] (HELO qmta02.westchester.pa.mail.comcast.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 18:39:15 +0000 Received: from omta07.westchester.pa.mail.comcast.net ([83.161.120.155]) by qmta02.westchester.pa.mail.comcast.net with comcast id sz4r1e0021GhbT8526ewWG; Wed, 11 Aug 2010 18:38:56 +0000 Received: from [83.161.120.155] ([83.161.120.155]) by omta07.westchester.pa.mail.comcast.net with comcast id t6eu1e0021PGofZ3T6evJg; Wed, 11 Aug 2010 18:38:55 +0000 Subject: Re: %lld/%llu not handled by apr_vformatter Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Jim Jagielski <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Date: Wed, 11 Aug 2010 14:38:53 -0400 Cc: Chris Knight <matthewlara@example.org>, APR Developer List <matthewlara@example.org> Content-Transfer-Encoding: quoted-printable Message-Id: <matthewlara@example.org> References: <matthewlara@example.org> <matthewlara@example.org> To: Hyrum K. Wright <matthewlara@example.org> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Universal binaries for OS X and APR are not supported. I must force either 32 or 64 bit... Attempts to fix this at the APR level have been vetoed and so no further effort can be done. The long and short of it (no pun intended) is that under OS X and universal binaries, you can no longer have some type lengths statically defined in *.h files as being a certain number of bits. Instead, the APR *.h files would require some internal #if tests which "looks" to see how the package is being compiled and then selects the correct set of bit sizes... This was deemed "too ugly" and was vetoed. For hints, I would encourage people to see how MacPorts works around this... On Aug 11, 2010, at 12:02 PM, Hyrum K. Wright wrote: > Unfortunately, you seem to have found the same bug I uncovered in = March: > = http://mail-archives.apache.org/mod_mbox/apr-dev/201003.mbox/%3Cb51ffb6f10= matthewlara@example.org%3E >=20 > To my knowledge it hasn't been fixed, thought that thread does include > a somewhat hacky patch to work around the issue. Perhaps it will be > of use to you. >=20 > -Hyrum >=20 > On Wed, Aug 11, 2010 at 10:51 AM, Chris Knight > <matthewlara@example.org> wrote: >> I spent half-a-day yesterday trying to figure out why I was crashing = in apr_psprintf on a strlen until I realized that my "%llu%s" format = string was causing it to use my long long int as a char *. >>=20 >> Needless to say, no harm in adding support for %ll[du] yes? >>=20 >> Ah, 64-bit fun for everyone.... >>=20 >> Example code: >>=20 >> #include <apr.h> >> #include <apr_pools.h> >> #include <apr_strings.h> >> #include <stdio.h> >>=20 >> int main(int argc, char **argv) { >> apr_pool_t *pool =3D NULL; >> char *s =3D "hello world"; u_int64_t v =3D 12345678; >>=20 >> apr_pool_initialize(); apr_pool_create(&(pool), NULL); >> printf("%llu%s", v, s); // works >> char *f =3D apr_psprintf(pool, "%llu%s", v, s); // segfault on = strlen >> printf("%s\n", f); >> } >=20 From matthewlara@example.org Wed Aug 11 18:42:54 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 84026 invoked from network); 11 Aug 2010 18:42:54 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Aug 2010 18:42:54 -0000 Received: (qmail 60228 invoked by uid 500); 11 Aug 2010 18:42:53 -0000 Delivered-To: matthewlara@example.org Received: (qmail 60154 invoked by uid 500); 11 Aug 2010 18:42:53 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 60134 invoked by uid 99); 11 Aug 2010 18:42:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 18:42:52 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO ndmsnpf01.ndc.nasa.gov) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 18:42:43 +0000 Received: from ndjsppt05.ndc.nasa.gov (ndjsppt05.ndc.nasa.gov [83.161.120.155]) by ndmsnpf01.ndc.nasa.gov (Postfix) with ESMTP id 8BB6F26128B; Wed, 11 Aug 2010 13:42:22 -0500 (CDT) Received: from ndjshub02.ndc.nasa.gov (ndjshub02-pub.ndc.nasa.gov [83.161.120.155]) by ndjsppt05.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id o7BIgMei025993; Wed, 11 Aug 2010 13:42:22 -0500 Received: from wdyn-n229-242-103.arc.nasa.gov (83.161.120.155) by smtp01.ndc.nasa.gov (83.161.120.155) with Microsoft SMTP Server (TLS) id 83.161.120.155; Wed, 11 Aug 2010 13:42:22 -0500 Subject: Re: %lld/%llu not handled by apr_vformatter MIME-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" From: Chris Knight <matthewlara@example.org> In-Reply-To: <matthewlara@example.org> Date: Wed, 11 Aug 2010 11:42:20 -0700 CC: "Hyrum K. Wright" <matthewlara@example.org>, APR Developer List <matthewlara@example.org> Content-Transfer-Encoding: quoted-printable Message-ID: <matthewlara@example.org> References: <matthewlara@example.org> <matthewlara@example.org> <matthewlara@example.org> To: Jim Jagielski <matthewlara@example.org> X-Mailer: Apple Mail (2.1081) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-11_07:2010-08-11,2010-08-11,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org How does libc do printf for %lld for universal binaries? On Aug 11, 2010, at 11:38 AM, Jim Jagielski wrote: > Universal binaries for OS X and APR are not supported. I must > force either 32 or 64 bit... Attempts to fix this at the > APR level have been vetoed and so no further effort can > be done. >=20 > The long and short of it (no pun intended) is that under > OS X and universal binaries, you can no longer have > some type lengths statically defined in *.h files as > being a certain number of bits. Instead, the APR *.h files > would require some internal #if tests which "looks" to see > how the package is being compiled and then selects the > correct set of bit sizes... This was deemed "too ugly" > and was vetoed. >=20 > For hints, I would encourage people to see how MacPorts > works around this... >=20 > On Aug 11, 2010, at 12:02 PM, Hyrum K. Wright wrote: >=20 >> Unfortunately, you seem to have found the same bug I uncovered in = March: >> = http://mail-archives.apache.org/mod_mbox/apr-dev/201003.mbox/%3Cb51ffb6f10= matthewlara@example.org%3E >>=20 >> To my knowledge it hasn't been fixed, thought that thread does = include >> a somewhat hacky patch to work around the issue. Perhaps it will be >> of use to you. >>=20 >> -Hyrum >>=20 >> On Wed, Aug 11, 2010 at 10:51 AM, Chris Knight >> <matthewlara@example.org> wrote: >>> I spent half-a-day yesterday trying to figure out why I was crashing = in apr_psprintf on a strlen until I realized that my "%llu%s" format = string was causing it to use my long long int as a char *. >>>=20 >>> Needless to say, no harm in adding support for %ll[du] yes? >>>=20 >>> Ah, 64-bit fun for everyone.... >>>=20 >>> Example code: >>>=20 >>> #include <apr.h> >>> #include <apr_pools.h> >>> #include <apr_strings.h> >>> #include <stdio.h> >>>=20 >>> int main(int argc, char **argv) { >>> apr_pool_t *pool =3D NULL; >>> char *s =3D "hello world"; u_int64_t v =3D 12345678; >>>=20 >>> apr_pool_initialize(); apr_pool_create(&(pool), NULL); >>> printf("%llu%s", v, s); // works >>> char *f =3D apr_psprintf(pool, "%llu%s", v, s); // segfault on = strlen >>> printf("%s\n", f); >>> } >>=20 >=20 From matthewlara@example.org Sun Aug 15 11:22:50 2010 Return-Path: <matthewlara@example.org> Delivered-To: matthewlara@example.org Received: (qmail 32951 invoked from network); 15 Aug 2010 11:22:49 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 15 Aug 2010 11:22:49 -0000 Received: (qmail 50644 invoked by uid 500); 15 Aug 2010 11:22:49 -0000 Delivered-To: matthewlara@example.org Received: (qmail 50260 invoked by uid 500); 15 Aug 2010 11:22:45 -0000 Mailing-List: contact matthewlara@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:matthewlara@example.org> List-Help: <mailto:matthewlara@example.org> List-Unsubscribe: <mailto:matthewlara@example.org> List-Id: <dev.apr.apache.org> Delivered-To: mailing list matthewlara@example.org Received: (qmail 50249 invoked by uid 99); 15 Aug 2010 11:22:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Aug 2010 11:22:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FRT_LITTLE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Aug 2010 11:22:42 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7FBMMjR015252 for <matthewlara@example.org>; Sun, 15 Aug 2010 11:22:22 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o7FBM37K013432 for matthewlara@example.org; Sun, 15 Aug 2010 07:22:04 -0400 (EDT) Date: Sun, 15 Aug 2010 07:22:04 -0400 (EDT) Message-Id: <matthewlara@example.org> From: matthewlara@example.org To: matthewlara@example.org Subject: Bug report for APR [2010/08/15] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure
{'source': 'Apache Software Foundation Public Mail Archives'}