On Wed, Jul 26, 2000 at 10:12:55AM -0500, Ed Kubaitis wrote:
> 
> Not for the original adb backtrace reported. I tried
> recompiling apache with -g. The httpd executable got much
> bigger (and was reported by file(1) as "not stripped").
> When I tried the graceful restart, still got a coredump.
> The adb $c traceback looked the same except that the third
> entry back was standalone_main() rather than ap_child_terminate():

Ah, my bad - I had seen adb as gdb ;-)
> 
> # adb /usr/local/src/apache+/apache*/src/httpd core
> core file = core -- program ``httpd'' on platform SUNW,Ultra-2
> SIGSEGV: Segmentation Fault
> $c
> SSL_CTX_ctrl(0x2f27f8,0x2f27d0,0xef62a9dc,0x0,0x2f657272,0x2f73736c) + 10c
> ap_init_modules(0x2f27d0,0x2f27f8,0x2d00fc,0x2f27f8,0xef623108,0xcc054)       + 60
> standalone_main(0x2,0xeffffc2c,0x2d00fc,0x44,0xef625c30,0xef625ebc) + 1e8
> main(0x2,0xeffffc2c,0xeffffc38,0x2ce400,0x0,0x0) + 7a8
> 
> Sorry if that doesn't give you what you were after. adb is the
> only debugger I have and I've never used it for anything
> beyond these simple tracebacks.
> 
I must admit that I'm not too familiar with adb - I've always had gdb.
How about using truss[1] ? It will probably tell us what apache was trying
to do before the segfault.

[1] Probably something like: truss /path/to/apache/bin/httpd -X -DSSL and then
do a kill -USR1 from another term (kill -USR1 is the same as graceful)

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to