Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 43411 invoked from network); 6 Jun 2007 13:39:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 13:39:34 -0000 Received: (qmail 32460 invoked by uid 500); 6 Jun 2007 13:39:37 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 32361 invoked by uid 500); 6 Jun 2007 13:39:36 -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 Delivered-To: moderator for dev@apr.apache.org Received: (qmail 77216 invoked by uid 99); 6 Jun 2007 11:40:19 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gringocroco@gmail.com designates 64.233.162.238 as permitted sender) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=YF3ECjI28QVW8KaRHQ5E6QJui6pMJ3fpNM/8fGbMr05XN1PVhcsc7gJcX4WZE+8kP8TwFV9TEY/WWScKfMvpwCEHc59IngNG5t9S9NeEnS39k9rRK2fuTtLfSO2wnSiRI8xyw4IrcD6LgmnnkagzUFvdm2/5rNDm9swJ2Kv5qP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=iZ/ibK/IAwfN15eHW+3ZRY4RBL7MynYAxHhPkuhGQ4cqp74kkfq/h7NiYdztpF4mdOtow4KU6baLOzEduE9jEZnlakfY/25zWkIXliHeE1VXlcizrRqrOjFTaROz5NfgkqDo2Rf4MzRCwwk0yvHN4+dZUZbZDuDF+V7nPjS6eeM= Message-ID: <4d45da050706060439n45645cbexd5aaf6389df6ceb8@mail.gmail.com> Date: Wed, 6 Jun 2007 14:39:53 +0300 From: "Lucian Adrian Grijincu" Reply-To: lucian.grijincu@gmail.com Sender: gringocroco@gmail.com To: "William A. Rowe, Jr." , dev@apr.apache.org Subject: Re: [Vote] Release APR 1.2.9/0.9.14 and apr-iconv 1.2.0 In-Reply-To: <4d45da050706060140v73014bdr9784afab278526bd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46649707.6010808@rowe-clan.net> <4d45da050706051709xcb3c061gfe56c73223a24ffc@mail.gmail.com> <466650B1.4060203@rowe-clan.net> <4d45da050706060140v73014bdr9784afab278526bd@mail.gmail.com> X-Google-Sender-Auth: 1abd76328de5f3a9 X-Virus-Checked: Checked by ClamAV on apache.org the cause: segmentation fault at: rv = apr_socket_bind(sock, to); from static void sendto_receivefrom(abts_case *tc, void *data) from testsockets.c the second parameter given is NULL: apr_socket_bind (sock=0x80d3c78, sa=0x0) at network_io/unix/sockets.c:154 the NULL value comes from rv = apr_sockaddr_info_get(&to, addr, APR_UNSPEC, 7772, 0, p); Which was supposed to initialize it, but failed to. digging deeper we get into network_io/unix/soccaddr.c, where there's a this call error = getaddrinfo(hostname, servname, &hints, &ai_list); This returns -9 which gai_strerror says it means "Address family for hostname not supported". getaddrinfo's input params are: hostname ="::1" servname = 0x0 hints = {ai_flags = AI_ADDRCONFIG, ai_family = 0, ai_socktype = 1, ai_protocol = 0, ai_addrlen = 0, ai_addr = 0x0, ai_canonname = 0x0, ai_next = 0x0} Will dig deeper, but if somebody has some knowledge why this would fail, jump in :) -- Lucian Adrian Grijincu On 6/6/07, Lucian Adrian Grijincu wrote: > I took http://apr.apache.org/dev/dist/apr-1.2.9.tar.gz > Hope I'm on target now:) > > I've done two tests. One in which I ran buildconf myself and one without. > For each test I then ran: > ./configure > make > make test > > Both failed with: > testsockets : \/bin/bash: line 1: 10039 Segmentation fault > (core dumped) ./$prog > > the line possition it reports differs from run to run. > > Same system: Ubuntu 7.04, 32bit. > > Also: > Still haven't checked if this is to be expected running ./test/testall gives: > testatomic : SUCCESS > testdir : SUCCESS > testdso : FAILED 8 of 9 > testdup : SUCCESS > testenv : SUCCESS > testfile : SUCCESS > testfilecopy : FAILED 2 of 4 > testfileinfo : SUCCESS > testflock : FAILED 2 of 3 > testfmt : SUCCESS > testfnmatch : FAILED 2 of 2 > testargs : SUCCESS > testhash : SUCCESS > testipsub : SUCCESS > testlock : SUCCESS > testlfs : SUCCESS > testmmap : |Segmentation fault (core dumped) > > Even though they pass when run from make check. > > On 6/6/07, William A. Rowe, Jr. wrote: > > note trunk isn't 1.2.9 - it's actually 1.3.0 with some additional > > socket features, so this is quite possibly not a problem with the > > new tarball. would you mind also trying branches/1.2.x or the > > tarball i created? > > > > Lucian Adrian Grijincu wrote: > > > Disclaimer: I haven't checked to see if this is the right behaviour, I > > > have an exam tomorow :( > > > > > > Ubuntu 7.04 32 bit > > > testsockets : \Segmentation fault (core dumped) > > > > > > I've tested it twice, with a clean checkout of trunk both times; same > > > behaviour. > > > All tests before this one worked fine. > > > > > > -- > > > Lucian Adrian Grijincu > > > > > > On 6/5/07, William A. Rowe, Jr. wrote: > > >> http://apr.apache.org/dev/dist/ > > >> > > >> +/-1? Package to release > > >> [ ] apr-0.9.14 > > >> [ ] apr-1.2.9 > > >> [ ] apr-iconv-1.2.0 > > >> > > >> Three packages so far to consider, votes welcome > > >> > > >> > > > > > > > > >