Hello,
I'm trying to build apache 1.3.34 and mod_perl 1.29 on a debian 3.1
machine and whenever mod_perl is loaded apache segfaults at any type of
request.
I've followed the steps at
http://perl.apache.org/docs/1.0/guide/install.html for building mod_perl
both into apache, and as a module. Both get the same result.
Startup line for apache is....
Apache/1.3.34 (Unix) mod_perl/1.29 PHP/4.4.1 mod_ssl/2.8.25
OpenSSL/0.9.7e configured -- resuming normal operations
I thought maybe one of the other modules loaded could have been causing
it, but I tried it without php and mod_ssl and it continued to crash,
Its not untill I remove mod_perl from apache that it resumes normal
operation.
kernel 2.4.32 if thats relevant. If I've missed out any important info
please let me know...any help would be much appreciated, Thank you.
-Jon
From the errorlog
[Fri Dec 16 08:16:48 2005] [notice] child pid 8962 exit signal
Segmentation fault (11)
[Fri Dec 16 08:16:50 2005] [notice] child pid 8964 exit signal
Segmentation fault (11)
[Fri Dec 16 08:16:51 2005] [notice] child pid 8959 exit signal
Segmentation fault (11)
I've tried running strace ./httpd -X and I get the following when I make
any type of request to the web server.
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGURG, {0x4096c7a0, [], SA_RESTORER|SA_INTERRUPT,
0x400976f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x4096c7a0, [], SA_RESTORER|SA_INTERRUPT,
0x400976f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4096c7a0, [], SA_RESTORER|SA_INTERRUPT,
0x400976f8}, {0x4096c7a0, [HUP USR1], SA_RESTORER, 0x400976f8}, 8) = 0
alarm(0) = 0
semop(786438, 0x80d4dd4, 1) = 0
select(18, [16 17], NULL, NULL, NULL) = 1 (in [17])
accept(17, {sa_family=AF_INET, sin_port=htons(2695),
sin_addr=inet_addr("::CLIENTIP::")}, [16]) = 3
semop(786438, 0x80d4dda, 1) = 0
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4096c7a0, [],
SA_RESTORER|SA_INTERRUPT, 0x400976f8}, 8) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("::SERVERIP::")}, [16]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
alarm(300) = 0
read(3, "GET / HTTP/1.1\r\nHost: ::SERVERIP::"..., 4096) = 544
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
time(NULL) = 1134684049
alarm(300) = 300
alarm(0) = 300
stat64("/var/www/domains", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/.htaccess", O_RDONLY) = -1 ENOENT (No such file or
directory)
brk(0) = 0x8281000
brk(0x82a3000) = 0x82a3000
open("/var/.htaccess", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/var/www/.htaccess", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/var/www/domains/.htaccess", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40019000
read(4, "\n", 4096) = 1
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40019000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++