[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#259934: segfault with apache2-prefork



Package: apache2-mpm-prefork
Version: 2.0.50-5

apache2 segfaults when trying to deliver ANY content.
problem did not appear in earlier versions of 2.0.50.
debian environment is an up-to-date sid.

startup string:
Apache/2.0.50 (Debian GNU/Linux) PHP/4.3.8 mod_ssl/2.0.50 OpenSSL/0.9.7d

/var/log/apache2/access.log:

[17/Jul/2004:11:47:54 +0100] "GET /gallery HTTP/1.1" 301 394 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)"

/var/log/apache2/error.log:

[Sat Jul 17 11:47:55 2004] [notice] child pid 4106 exit signal Segmentation fault (11)

strace of httpd process that b0rks:

[{fd=5, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1
accept(5, {sa_family=AF_INET6, sin6_port=htons(1727), inet_pton(AF_INET6, "::ffff:192.168.0.17", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 12
semop(458756, 0xb7d54792, 1)            = 0
)            = 0
getsockname(12, poll({sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "::ffff:81.X.X.X", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl64(12, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(12, 0x822e008, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=12, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
read(12, "GET /gallery HTTP/1.1\r\nAccept: i"..., 8000) = 496
gettimeofday({1090061274, 935216}, NULL) = 0
stat64("/usr/share/gallery", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/share/gallery/.htaccess", O_RDONLY) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=1077, ...}) = 0
read(13, "# BEGIN Gallery section\n# (Autom"..., 4096) = 1077
read(13, "", 4096)                      = 0
close(13)                               = 0
writev(12, [{"HTTP/1.0 301 Moved Permanently\r\n"..., 303}, {"<!DOCTYPE HTML PUBLIC \"-//IETF//"..., 394}], 2) = 697
write(9, "192.168.0.17 - - [17/Jul/2004:11"..., 178) = 178
shutdown(12, 1 /* send */)              = 0
poll([{fd=12, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
read(12, "", 512)                       = 0
close(12)                               = 0
read(6, 0xbffffca3, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
semop(458756, 0xb7d5478c, 1[{fd=5, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1
accept(5, {sa_family=AF_INET6, sin6_port=htons(1728), inet_pton(AF_INET6, "::ffff:192.168.0.17", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 12
semop(458756, 0xb7d54792, 1)            = 0
)            = 0
getsockname(12, poll({sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "::ffff:81.X.X.X", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl64(12, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(12, 0x8230010, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=12, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
read(12, "GET /gallery/ HTTP/1.1\r\nAccept: "..., 8000) = 497
gettimeofday({1090061274, 968934}, NULL) = 0
stat64("/usr/share/gallery/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/share/gallery/.htaccess", O_RDONLY) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=1077, ...}) = 0
read(13, "# BEGIN Gallery section\n# (Autom"..., 4096) = 1077
read(13, "", 4096)                      = 0
close(13)                               = 0
stat64("/usr/share/gallery/index.html", 0xbffff82c) = -1 ENOENT (No such file or directory)
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=130, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery/index.html", 0xbffff80c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/gallery/index.cgi", 0xbffff82c) = -1 ENOENT (No such file or directory)
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=130, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery/index.cgi", 0xbffff80c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/gallery/index.pl", 0xbffff82c) = -1 ENOENT (No such file or directory)
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=130, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/gallery/index.pl", 0xbffff80c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/gallery/index.php", {st_mode=S_IFREG|0644, st_size=5104, ...}) = 0
getpid()                                = 4106
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/etc/apache2")                   = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
getpid()                                = 4106
getpid()                                = 4106
kill(4106, SIGSEGV)                     = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 4106 detached

Attachment: signature.asc
Description: Digital signature


Reply to: