Hi Jeff,
Well I tried without SSL and other modules but still no luck.
Purify output.
* Command-line: ./httpd
**** Purify instrumented ./httpd (pid 32106) ****
COR: Fatal core dump:
* This is occurring while in thread 1074224000:
_p2154static [rtlib.o]
detach [http_main.c:3479]
standalone_main [http_main.c:5346]
main [http_main.c:5767]
__libc_start_main [libc.so.6]
_start [crt1.o]
* Received signal 11 (SIGSEGV - Segmentation fault)
* Handler function: SIG_DFL
Regards
Nitesh Naik
----- Original Message -----
From: "Jeff Trawick" <[EMAIL PROTECTED]>
To: "Nitesh Naik" <[EMAIL PROTECTED]>
Sent: Friday, March 11, 2005 4:58 PM
Subject: Re: how to avoid overrun in apache
> On Fri, 11 Mar 2005 10:57:03 +0530, Nitesh Naik <[EMAIL PROTECTED]> wrote:
> > Jeff,
> >
> > Compile option.
> > export CC="purify -follow-child-processes=yes gcc"
> >
> > Here is the output of purify.
> >
> > **** Purify instrumented /servers/run/apache/bin/httpd (pid 8850) ****
> > UMR: Uninitialized memory read:
> > * This is occurring while in thread 1074225280:
> > SHA1_Update [libcrypto.a]
>
> Isn't that OpenSSL? Have you tried the test with real Apache 1.3 (no
> EAPI patch, no third-party modules?)
>
> > **** Purify instrumented /servers/run/apache/bin/httpd (pid 8850) ****
> > Current file descriptors in use: 7
> > FIU: file descriptor 0: <stdin>
> > FIU: file descriptor 1: <stdout>
> > FIU: file descriptor 2: "/servers/run/logs/error_log", O_WRONLY |
O_APPEND |
> > O_CREAT
> > * Duplication of file descriptor 15.
>
> that sounds right; so this part of report doesn't report memory errors
> but reports how the application sets multiple file descriptors to
> point to same file?
>