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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message