httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Art Haas" <ah...@airmail.net>
Subject httpd-2.1 segfaults at startup
Date Wed, 14 Jan 2004 00:31:18 GMT
Hi.

I've been building and using what will be httpd-2.1 for months. Just
within the last week or two, my builds have all failed when I try to run
them. As others are certainly running the CVS head builds without
problems, I'm hoping for a bit of guidance to see if someone can suggest
a fix.

Here's the end of the 'strace' output - httpd has just started, and the
linker is pulling in all the libraries, when the following occurs:

open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1270908, ...}) = 0
old_mmap(NULL, 1281292, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401c0000
old_mmap(0x402ee000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12d000) = 0x402ee000
old_mmap(0x402f7000, 7436, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
0) = 0x402f7000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402f9000
set_thread_area({entry_number:-1 -> 6, base_addr:0x402f9500, limit:1048575, seg_32bit:1,
contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 61414)               = 0
set_tid_address(0x402f9548)             = 12008
rt_sigaction(SIGRTMIN, {0x401b23e0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x8095000
brk(0x80b6000)                          = 0x80b6000
brk(0)                                  = 0x80b6000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

I'm running on Debian, with the latest libc6 package from unstable -
libc6-2.3.2.ds1-10. Apache was built with GCC-3.4 built from CVS on
January 9. The Apache build was configured as follows:

$ CPPFLAGS="-DNDEBUG" CFLAGS="-O2 -march=pentium-mmx -std=gnu99 \
-finline-limit=100000" /opt/build/httpd-2.1/configure  \
--enable-mods-shared=all --enable-deflate --with-dbm=db42 \
--with-berkeley-db=/usr/local/BerkeleyDB.4.2

I've used these flags for months without problem, though the Berkeley
stuff is relatively new (I need 4.2 for use with Subversion). I'm
running the 2.6.1-rc3 kernel also.

Ideas for things to try? No one else is seeing this, correct?

Thanks in advance,

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822

Mime
View raw message