httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: Spinning httpds - One Solution
Date Fri, 21 Aug 1998 17:09:25 GMT
On Fri, 21 Aug 1998, Rasmus Lerdorf wrote:

> > > So I install it.  I run it in -X.  The second php request for the below
> > > file results in a segv!?!  It dies in malloc()
> > 
> > Hmm, it does the same thing not in -X.
> 
> Backtrace?  

Program received signal SIGSEGV, Segmentation fault.
0x400ab460 in malloc ()
(gdb) bt
#0  0x400ab460 in malloc ()
#1  0x400ab375 in malloc ()
#2  0x806a779 in _emalloc (size=4) at alloc.c:125
#3  0x806a9ea in _estrndup (s=0xbffffd9d "-j2", length=3) at alloc.c:291
#4  0x80638b9 in _php3_hash_environment () at main.c:1258
#5  0x8091965 in lex_scan (phplval=0xbfffebcc) at language-scanner.lex:801
#6  0x8068db9 in read_next_token (tcm=0x80f6308, token=0xbfffe8e8, 
    phplval=0xbfffebcc) at token_cache.c:139
#7  0x806254f in phplex (phplval=0xbfffebcc) at main.c:435
#8  0x8087ada in phpparse () at /usr/local/share/bison.simple:387
#9  0x8063c77 in php3_parse (yyin=0x81183f8) at main.c:1442
#10 0x8063f4b in apache_php3_module_main (r=0x8115b4c, fd=20, 
    display_source_mode=0, preprocessed=0) at main.c:1822
#11 0x806128c in send_php3 ()
#12 0x8061310 in send_parsed_php3 ()
#13 0x8099073 in ap_invoke_handler ()
#14 0x80adb09 in process_request_internal ()
#15 0x80adb6c in ap_process_request ()
#16 0x80a50d9 in child_main ()
#17 0x80a534c in make_child ()
#18 0x80a56fa in perform_idle_server_maintenance ()
#19 0x80a5c95 in standalone_main ()
#20 0x80a62e3 in main ()



Mime
View raw message