Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2003 10:59:35 +1100
From:      Tim Robbins <tjr@FreeBSD.org>
To:        Shizuka Kudo <shizukakudo_99@yahoo.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: today's 5-current hang hard when building apache2 port
Message-ID:  <20030222105935.A68271@dilbert.robbins.dropbear.id.au>
In-Reply-To: <20030221204152.9440.qmail@web11408.mail.yahoo.com>; from shizukakudo_99@yahoo.com on Fri, Feb 21, 2003 at 12:41:52PM -0800
References:  <20030221204152.9440.qmail@web11408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 21, 2003 at 12:41:52PM -0800, Shizuka Kudo wrote:

> I cvsup today and build/install world & kernel.  The machine was working fine until I tried to
> build apache2 port.  When configuring apache2, my PC hanged at the following line and need hard
> reset (i.e. cannot break into debugger and need pressing reset button).
> 
>   checking if TCP_NODELAY setting is inherited from listening sockets...
> 
> I traced the conftest program under gdb and received the following error on the 
>   "rc = connect(client_s, (struct sockaddr *)&sa, sizeof sa)" call.
> 
>   Program received signal SIGSEGV, Segmentation fault.
>   0x280fdaf0 in _longjmp () from /usr/lib/libc.so.5
> 
> Anyone has the same problem or idea what's happening?
> 
> Attached are the confdefs.h and conftest.c extracted from srclib/apr/configure that gave the above
> problem.
> 
> P.S. When building the apache2 port, I had CPUTYPE=p3 in make.conf and used "make configure WITH_THREADS=yes"

I've had this same problem. Here's the test program I was using, extracted
from the latest Apache 2 source, with puts() calls added:
http://people.freebsd.org/~tjr/nodel.c .
It seems to be locking up after the getsockopt() call has returned,
presumably when crt0 calls exit().


Tim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030222105935.A68271>