Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FED49666 for ; Sun, 1 Apr 2012 21:07:12 +0000 (UTC) Received: (qmail 34146 invoked by uid 500); 1 Apr 2012 21:07:11 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 34074 invoked by uid 500); 1 Apr 2012 21:07:11 -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 34065 invoked by uid 99); 1 Apr 2012 21:07:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 21:07:11 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 21:07:05 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.72) (envelope-from ) id 1SERz1-0003Zl-7m for dev@apr.apache.org; Sun, 01 Apr 2012 23:06:43 +0200 From: Stefan Fritsch To: dev@apr.apache.org Subject: Re: [VOTE] Release apr-util 1.4.2 Date: Sun, 1 Apr 2012 23:06:42 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; ) References: <92025EAF-AF24-463F-9184-02C428D37EEB@sharp.fm> In-Reply-To: <92025EAF-AF24-463F-9184-02C428D37EEB@sharp.fm> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201204012306.42582.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org On Sunday 25 March 2012, Graham Leggett wrote: > Fixed in apr-util is the static build of the apr_crypto interface. > Full CHANGES are here: > https://svn.apache.org/repos/asf/apr/apr-util/tags/1.4.2/CHANGES >=20 > +/-1 > [ ] Release apr-util 1.4.2 as GA Sorry for being late, but =2D1 Works fine if linked dynamically with DSOs. But for the static build, httpd segfaults in mod_ssl (backtrace at the=20 bottom of the mail). Since 1.4.1 doesn't compile with 1.4.1 at all,=20 it's hard to say if this is a regression. Have you tried that? I am=20 not sure if it's apr-util's fault or if some of the other libraries=20 produce some strange conflict. Configure was: =2E/configure --with-crypto --with-openssl=3D/usr --with-nss=3D/usr --with- dbm=3Ddb --with-ldap=3Dyes --with-berkeley-db=3D/usr --with-pgsql --with- mysql --with-sqlite3 --with-freetds --with-odbc --enable-maintainer- mode --prefix=3D/usr/local/Aprutil1 --enable-nonportable-atomics -- enable-threads --enable-allocator-uses-mmap --with-apr=3D/usr/bin/apr- config CFLAGS=3D -gdwarf-2 -g3 -Wextra -Wno-unused-parameter -Wno- missing-field-initializers -Wno-sign-compare -Werror=3Ddeclaration- after-statement --disable-util-dso configure: WARNING: unrecognized options: --enable-maintainer-mode, -- enable-nonportable-atomics, --enable-threads, --enable-allocator-uses- mmap If configured statically but without openssl, it doesn't compile: crypto/apr_crypto.c: In function 'apr_crypto_get_driver': crypto/apr_crypto.c:227:5: error: 'else' without a previous 'if' make[1]: *** [crypto/apr_crypto.lo] Fehler 1 According to CHANGES, the only change is to fix static build, and it=20 fails at that. Therefore the -1. Program terminated with signal 11, Segmentation fault. #0 0xf5c34140 in ?? () (gdb) bt full #0 0xf5c34140 in ?? () No symbol table info available. #1 0xf73062f0 in int_free_ex_data (class_index=3D10, obj=3D0x8db1848,=20 ad=3D0x8db1860) at ex_data.c:522 mx =3D 1 i =3D item =3D 0x8dc5558 ptr =3D storage =3D 0x1 #2 0xf7306063 in CRYPTO_free_ex_data (class_index=3D10, obj=3D0x8db1848,=20 ad=3D0x8db1860) at ex_data.c:592 No locals. #3 0xf73a023f in x509_cb (operation=3D3, pval=3D0xffb07870,=20 it=3D0xf7465d3c, exarg=3D0x0) at x_x509.c:113 ret =3D 0x8db1848 #4 0xf73a573c in asn1_item_combine_free (pval=3D,=20 it=3D, combine=3D0) at tasn_fre.c:173 tt =3D seqtt =3D ef =3D cf =3D aux =3D asn1_cb =3D i =3D #5 0xf73a5957 in ASN1_item_free (val=3D0x8db1848, it=3D0xf7465d3c) at=20 tasn_fre.c:71 No locals. #6 0xf73a0465 in X509_free (a=3D0x8db1848) at x_x509.c:141 No locals. #7 0xf5d8eff3 in ssl_pphrase_Handle (s=3D0xf67df3e8, p=3D0xf67a7018) at=20 ssl_engine_pphrase.c:275 key_id =3D 0xf5a07f08 "localhost:8534:RSA" using_cache =3D mc =3D 0xf7768ce0 sc =3D 0xf5ab3788 pServ =3D 0xf5ab5388 cpVHostID =3D 0xf596c8f8 "localhost:8534" szPath =3D "/home/stf/apache/perl- framework/t/conf/ssl/ca/asf/certs/server.crt\000=F5\000 \000\000h=C8\226=F5= =20 '\230=F5\220=C3\177=F6=EC=D7n=F7ty=B0=FF`\bz=F7=E5=B4~=F6=F8=D7n=F7=F4=DFz= =F7@'\230=F5=E5=B4~=F6=F0{=B0=FF\000- conference/x- cooltalk\t\t\t\tice\000\000.mov\000\000ia\000\000in\000\000\000\000=20 w3d fgd swa\000\000signature+xml\000\000xml"... pPrivateKey =3D asn1 =3D ucp =3D 0x8dc52f5 "=F3&=D9mvg=E7\231\001" length =3D pX509Cert =3D 0x8db1848 bReadable =3D aPassPhrase =3D 0xf596c8b8 nPassPhrase =3D 0 nPassPhraseCur =3D 134815315 cpPassPhraseCur =3D 0x6
nPassPhraseRetry =3D nPassPhraseDialog =3D 0 nPassPhraseDialogCur =3D 10114 bPassPhraseDialogOnce =3D 0 cpp =3D i =3D 0 j =3D algoCert =3D 1 algoKey =3D at =3D 1 an =3D 0xf5d9ebfa "RSA" pkey_mtime =3D 0 rv =3D #8 0xf5d85f76 in ssl_init_Module (p=3D0xf7787018, plog=3D0xf67ad018,=20 ptemp=3D0xf67a7018, base_server=3D0xf67df3e8) at ssl_engine_init.c:322 mc =3D sc =3D 0xf5b89a50 s =3D #9 0x0808c399 in ap_run_post_config (pconf=3D0xf7787018,=20 plog=3D0xf67ad018, ptemp=3D0xf67a7018, s=3D0xf67df3e8) at config.c:105 pHook =3D n =3D rv =3D 0 #10 0x0806d3ad in main (argc=3D9, argv=3D0xffb09b24) at main.c:765 c =3D 68 'D' showcompile =3D 0 showdirectives =3D 0 confname =3D 0xffb0b20d "/home/stf/apache/perl- framework/t/conf/httpd.conf" def_server_root =3D 0xffb0b1e8 "/home/stf/apache/perl- framework/t" temp_error_log =3D 0x0 error =3D process =3D 0xf77890a8 pconf =3D 0xf7787018 plog =3D 0xf67ad018 ptemp =3D 0xf67a7018 pcommands =3D 0xf67e1018 opt =3D 0xf67e10b8 rv =3D mod =3D 0x80c0d6c opt_arg =3D 0xffb0b24d "PERL_USEITHREADS" signal_server =3D