DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40101>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40101





------- Additional Comments From [EMAIL PROTECTED]  2006-07-24 18:22 -------
(In reply to comment #1)
> I cannot reproduce this. Please attach a backtrace of your segfault. For hints
> how to create a proper backtrace please have a look at
> http://httpd.apache.org/dev/debugging.html.

I hope this strace is enough, I can't make this drop a core, it's also very hard
to attach to the child that's going to die (I suppose I could attach with gdb
and start killing children like I did for this one).  

It only does this on POSTs to forms from IPs that are blocked, not on normal
page requests even if the IP is blocked.  I am using suexec, chroot()'d,
fastcgi, php.  But, this is a simple 403 request to a ErrorDocument
/403_error.html, so I don't think any of that would interfere, and I'm almost
positive it was doing this long before fastcgi and it's suexec wrapper.

It looks like it's segfaulting when it writes to the log?  At any rate, there is
no log entry for the blocked IP.  (Also, I mangled the IPs and hostname, prolly
not well.. but meh.)

Thank you!

------- STRACE FROM THE CHILD WHEN IT DIED -------

15041 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}], 2,
-1) = 1
15041 accept(3, {sa_family=AF_INET, sin_port=htons(43259),
sin_addr=inet_addr("21.21.14.20")}, [16]) = 69
15041 semop(60719148, 0x402e7fd6, 1)    = 0
15041 gettimeofday({1153764525, 36922}, NULL) = 0
15041 getsockname(69, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("6.3.21.33")}, [16]) = 0
15041 gettimeofday({1153764525, 37085}, NULL) = 0
15041 brk(0)                            = 0x82f0000
15041 brk(0x82f2000)                    = 0x82f2000
15041 fcntl64(69, F_GETFL)              = 0x2 (flags O_RDWR)
15041 fcntl64(69, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15041 brk(0)                            = 0x82f2000
15041 brk(0x82f4000)                    = 0x82f4000
15041 read(69, 0x82f1e88, 8000)         = -1 EAGAIN (Resource temporarily
unavailable)
15041 poll([{fd=69, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
15041 read(69, "POST /misc/add_review.php?id=51 "..., 8000) = 1116
15041 gettimeofday({1153764525, 39239}, NULL) = 0
15041 semop(60686379, 0x402e7fd0, 1)    = 0
15041 semop(60686379, 0x402e7fd6, 1)    = 0
15041 semop(60686379, 0x402e7fd0, 1)    = 0
15041 semop(60686379, 0x402e7fd6, 1)    = 0
15041 gettimeofday({1153764525, 39580}, NULL) = 0
15041 gettimeofday({1153764525, 39610}, NULL) = 0
15041 stat64("/www/n/d/ndhost.net/html/misc/add_review.php",
{st_mode=S_IFREG|0755, st_size=14137, ...}) = 0
15041 open("/www/n/d/ndhost.net/html/.htaccess", O_RDONLY) = 71
15041 brk(0)                            = 0x82f4000
15041 brk(0x82f6000)                    = 0x82f6000
15041 fstat64(71, {st_mode=S_IFREG|0775, st_size=6550, ...}) = 0
15041 brk(0)                            = 0x82f6000
15041 brk(0x82f9000)                    = 0x82f9000
15041 read(71, "#\n# Apache/PHP/site settings:\n#\n"..., 4096) = 4096
15041 brk(0)                            = 0x82f9000
15041 brk(0x82fc000)                    = 0x82fc000
15041 read(71, "doctor/(.*)$\n  RewriteRule ^(.*)"..., 4096) = 2454
15041 brk(0)                            = 0x82fc000
15041 brk(0x82fe000)                    = 0x82fe000
15041 read(71, "", 4096)                = 0
15041 brk(0)                            = 0x82fe000
15041 brk(0x8300000)                    = 0x8300000
15041 brk(0)                            = 0x8300000
15041 brk(0x8301000)                    = 0x8301000
15041 brk(0)                            = 0x8301000
15041 brk(0x8303000)                    = 0x8303000
15041 close(71)                         = 0
15041 open("/www/n/d/ndhost.net/html/misc/.htaccess", O_RDONLY) = -1 ENOENT (No
such file or directory)
15041 open("/www/n/d/ndhost.net/html/misc/add_review.php/.htaccess", O_RDONLY) =
-1 ENOTDIR (Not a directory)
15041 brk(0)                            = 0x8303000
15041 brk(0x8305000)                    = 0x8305000
15041 gettimeofday({1153764525, 42933}, NULL) = 0
15041 write(15, "[Mon Jul 24 14:08:45 2006] [erro"..., 187) = 187
15041 semop(60686379, 0x402e7fd0, 1)    = 0
15041 semop(60686379, 0x402e7fd6, 1)    = 0
15041 semop(60686379, 0x402e7fd0, 1)    = 0
15041 semop(60686379, 0x402e7fd6, 1)    = 0
15041 stat64("/www/n/d/ndhost.net/html/403_error.html", {st_mode=S_IFREG|0775,
st_size=524, ...}) = 0
15041 open("/www/n/d/ndhost.net/html/403_error.html/.htaccess", O_RDONLY) = -1
ENOTDIR (Not a directory)
15041 gettimeofday({1153764525, 43353}, NULL) = 0
15041 write(15, "[Mon Jul 24 14:08:45 2006] [erro"..., 182) = 182
15041 brk(0)                            = 0x8305000
15041 brk(0x8307000)                    = 0x8307000
15041 brk(0)                            = 0x8307000
15041 brk(0x8309000)                    = 0x8309000
15041 brk(0)                            = 0x8309000
15041 brk(0x830b000)                    = 0x830b000
15041 read(69, 0x8308a30, 8000)         = -1 EAGAIN (Resource temporarily
unavailable)
15041 writev(69, [{"HTTP/1.1 403 Forbidden\r\nDate: Mo"..., 201}, {"<!DOCTYPE
HTML PUBLIC \"-//IETF//"..., 402}], 2) = 603
15041 gettimeofday({1153764525, 43948}, NULL) = 0
15041 write(43, "21.21.14.20 - - [24/Jul/2006"..., 228) = 228
15041 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
15041 chdir("/tmp")                     = 0
15041 rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
15041 getpid()                          = 15041
15041 getpid()                          = 15041
15041 kill(15041, SIGSEGV)              = 0
15041 sigreturn()                       = ? (mask now [RTMIN])
15041 --- SIGSEGV (Segmentation fault) @ 0 (0) ---

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to