Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 23707 invoked by uid 6000); 21 Aug 1998 17:09:30 -0000 Received: (qmail 23693 invoked from network); 21 Aug 1998 17:09:27 -0000 Received: from valis.worldgate.com (marcs@198.161.84.2) by taz.hyperreal.org with SMTP; 21 Aug 1998 17:09:27 -0000 Received: from localhost (marcs@localhost) by valis.worldgate.com (8.9.1/8.9.1) with SMTP id LAA21178 for ; Fri, 21 Aug 1998 11:09:25 -0600 (MDT) Date: Fri, 21 Aug 1998 11:09:25 -0600 (MDT) From: Marc Slemko To: new-httpd@apache.org Subject: Re: Spinning httpds - One Solution In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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 ()