> -----Original Message-----
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 10:08 AM
> To: John Walker
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Make test hangs on httpdconf
> 
> 
> > Actually, it seems I've screwed things up worse than that. 
[...]

> try to run the test under strace
>   % strace perl t/TEST ...
[...]
> Alternatively, you can attach to the hanging process

fails on the same test still and I've reaquired the source, and done the
simplest of build from you guide. (And there aren't any errors in the
build.)

I've attached a txt file containing the output of strace -p. It doesn't mean
much to me, but perhaps you will see something meaningful. One line did
strike me as odd, but I got it again even after downloading a new tarball.
(No the file is not there...why do we test for it?)

open("/usr/src/mod_perl-1.25/t/.htaccess", O_RDONLY) = -1 ENOENT (No such
file or directory)

In the mean time, I have done a few other things to try to resolve the
problem. I am using Debian linux for the first time, and since I am familiar
with CPAN module shell, I uninstalled all the .deb perl files (except the
required base package) and then reinstalled everything through CPAN. CPAN
tells me (cpan> r) that I should upgrade Test::Harness, but when I try this
also fails. I don't know if this is related, but the name coincidence
strikes me as odd.

What could underly both of these and cause my problems? (I think my gcc
envirnment is pretty good... I was able to build a new 2.4 kernel with it
anyway...)

Thanks for the help,
John

From: root [[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 2:42 PM
To: John Walker

accept(16, {sin_family=AF_INET, sin_port=htons(32845), 
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x809f294, [], SA_INTERRUPT|0x4000000}, 8) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(8529), 
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0
setsockopt(3, IPPROTO_TCP1, [1], 4)     = 0
alarm(300)                              = 0
read(3, "GET /test.html HTTP/1.0\r\nHost: l"..., 4096) = 79
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
time(NULL)                              = 984080384
alarm(300)                              = 300
alarm(0)                                = 300
rt_sigaction(SIGALRM, NULL, {0x809def4, [], SA_RESTART|0x4000000}, 8) = 0
dup2(15, 2)                             = 2
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat("/usr/src/mod_perl-1.25/t/docs/test.html", {st_mode=S_IFREG|0644, st_size=566, 
...}) = 0
open("/usr/src/mod_perl-1.25/t/.htaccess", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/src/mod_perl-1.25/t/docs/.htaccess", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0666, st_size=1, ...}) = 0
fstat(4, {st_mode=S_IFREG|0666, st_size=1, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40015000
read(4, " ", 4096)                      = 1
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40015000, 4096)                = 0
open("/usr/src/mod_perl-1.25/t/docs/test.html", O_RDONLY) = 4
old_mmap(NULL, 566, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
alarm(300)                              = 0
alarm(0)                                = 300
alarm(300)                              = 0
alarm(300)                              = 300
alarm(0)                                = 300
close(4)                                = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, "HTTP/1.1 200 OK\r\nDate: Thu, 08 M"..., 839) = 839
alarm(30)                               = 0
shutdown(3, 1 /* send */)               = 0
select(4, [3], NULL, NULL, {2, 0})      = 1 (in [3], left {2, 0})
read(3, "", 512)                        = 0
close(3)                                = 0
alarm(0)                                = 30
rt_sigaction(SIGUSR1, {0x809f294, [], SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
alarm(0)                                = 0
munmap(0x40015000, 566)                 = 0
rt_sigaction(SIGALRM, {0x809def4, [], SA_RESTART|0x4000000}, {0x809def4, [], 
SA_RESTART|0x4000000}, 8) = 0
accept(16, {sin_family=AF_INET, sin_port=htons(32846), 
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x809f294, [], SA_INTERRUPT|0x4000000}, 8) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(8529), 
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0
setsockopt(3, IPPROTO_TCP1, [1], 4)     = 0
alarm(300)                              = 0
read(3, "GET /test.html HTTP/1.0\r\nHost: l"..., 4096) = 79
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
time(NULL)                              = 984080384
alarm(300)                              = 300
alarm(0)                                = 300
rt_sigaction(SIGALRM, NULL, {0x809def4, [], SA_RESTART|0x4000000}, 8) = 0
dup2(15, 2)                             = 2
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat("/usr/src/mod_perl-1.25/t/docs/test.html", {st_mode=S_IFREG|0644, st_size=566, 
...}) = 0
open("/usr/src/mod_perl-1.25/t/.htaccess", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/src/mod_perl-1.25/t/docs/.htaccess", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0666, st_size=1, ...}) = 0
fstat(4, {st_mode=S_IFREG|0666, st_size=1, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40015000
read(4, " ", 4096)                      = 1
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40015000, 4096)                = 0
open("/usr/src/mod_perl-1.25/t/docs/test.html", O_RDONLY) = 4
old_mmap(NULL, 566, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000
alarm(300)                              = 0
alarm(0)                                = 300
alarm(300)                              = 0
alarm(300)                              = 300
alarm(0)                                = 300
close(4)                                = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, "HTTP/1.1 200 OK\r\nDate: Thu, 08 M"..., 839) = 839
alarm(30)                               = 0
shutdown(3, 1 /* send */)               = 0
select(4, [3], NULL, NULL, {2, 0})      = 1 (in [3], left {1, 990000})
read(3, "", 512)                        = 0
close(3)                                = 0
alarm(0)                                = 30
rt_sigaction(SIGUSR1, {0x809f294, [], SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
alarm(0)                                = 0
munmap(0x40015000, 566)                 = 0
rt_sigaction(SIGALRM, {0x809def4, [], SA_RESTART|0x4000000}, {0x809def4, [], 
SA_RESTART|0x4000000}, 8) = 0
accept(16,  <unfinished ...>

Reply via email to