httpd segfaulting
| From: | Justin Clarke | Date: | Wed, 16 Jun 1999 21:32:57 +0000 |
| Subject: | httpd segfaulting | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7038@lists.php.net to get a copy of this message | ||
I have a script that dies only with certain queries.
The script in question is at http://www.mp3seek.com/search.phtml
http://www.mp3seek.com/search.phtml?query=laksjdlkas
does fine
http://www.mp3seek.com/search.phtml?query=mp3
is what I used to make it
segfault
So here's my gdb fun:
(gdb) bt
#0 0x401077e8 in chunk_alloc ()
#1 0x4010744a in __malloc ()
#2 0x806a99c in _emalloc (size=32) at alloc.c:115
#3 0x8065037 in _php3_hash_add_or_update (ht=0x81476d8,
arKey=0x81a3a38 "port", nKeyLength=5, pData=0xbfffe62c, nDataSize=16,
pDest=0x0, flag=0) at php3_hash.c:182
#4 0x8065c6a in _php3_hash_copy (target=0xbfffead8, source=0x81a3110,
pCopyConstructor=0x8067cd0 <pval_copy_constructor>, tmp=0xbfffe62c,
size=16) at php3_hash.c:715
#5 0x8067d4d in pval_copy_constructor (pvalue=0xbfffead0) at
variables.c:139
#6 0x8068208 in assign_to_variable (result=0xbfffead0, var_ptr=0xbfffed60,
expr=0xbfffed80, func=0) at variables.c:244
#7 0x8091f71 in phpparse () at language-parser.y:498
#8 0x8064be8 in php3_parse (yyin=0x8133810) at main.c:1541
#9 0x8064db0 in apache_php3_module_main (r=0x813071c, fd=21,
display_source_mode=0, preprocessed=0) at main.c:1922
#10 0x8062469 in send_php3 ()
#11 0x80624ca in send_parsed_php3 ()
#12 0x809f8f3 in ap_invoke_handler ()
#13 0x80b2639 in process_request_internal ()
#14 0x80b269c in ap_process_request ()
#15 0x80aa42e in child_main ()
#16 0x80aa5bc in make_child ()
#17 0x80aa719 in startup_children ()
#18 0x80aad36 in standalone_main ()
#19 0x80ab4a3 in main ()
#20 0x400c5b0f in __libc_start_main ()
(gdb)
any ideas? I'm not on the list, so please CC anything you send to
jclarke@lovemania.com
Thanks.
-Justin Clarke
FullSystem, Inc.
V: (707) 255-6798
F: (707) 667-2131