Re: [PHP4BETA] apache crashes with POSTing unknown content-types (purify dump included)
| From: | Andi Gutmans | Date: | Wed, 06 Oct 1999 17:38:01 +0000 |
| Subject: | Re: [PHP4BETA] apache crashes with POSTing unknown content-types (purify dump included) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5244@lists.php.net to get a copy of this message | ||
This might have something to do with Uwe's patch for FDF. See what happens if you reverse his patches to SAPI.c and post.c
Andi
At 06:18 PM 10/6/99 +0200, Thies C. Arntzen wrote:
latest CVS: script(s): ------------ send.php <? $data = 'POST /receive.php HTTP/1.0 Content-Type: text/tubu Content-Length: 10 1234567890'; $fp = fsockopen("voyager.digicol.old",2000); fwrite($fp,$data); $rec = fread($fp,32000); var_dump($rec); fclose($fp); ?> ------------ receive.php: <? ?> ------------ gdb says: r -X -f /dot/dc4/zend/apache-1.3/debug.conf Starting program: /dot/dc4/zend/apache-1.3/src/httpd -X -f /dot/dc4/zend/apache-1.3/debug.conf Program received signal SIGBUS, Bus error. 0xef5c6168 in realfree () from /usr/lib/libc.so.1 (gdb) where #0 0xef5c6168 in realfree () from /usr/lib/libc.so.1 #1 0xef5c689c in cleanfree () from /usr/lib/libc.so.1 #2 0xef5c5af8 in _malloc_unlocked () from /usr/lib/libc.so.1 #3 0xef5c5a00 in malloc () from /usr/lib/libc.so.1 #4 0x49254 in _emalloc (size=256) at /dot/dc4/zend/php-dev/mod_php4/../php4/libzend/zend_alloc.c:122 #5 0x5a798 in zend_stack_init (stack=0x1f51ec) at /dot/dc4/zend/php-dev/mod_php4/../php4/libzend/zend_stack.c:27 #6 0x4a39c in init_compiler () at /dot/dc4/zend/php-dev/mod_php4/../php4/libzend/zend_compile.c:82 #7 0x5c058 in zend_activate () at /dot/dc4/zend/php-dev/mod_php4/../php4/libzend/zend.c:429 #8 0x3e898 in php_request_startup () at ../php4/main.c:693 #9 0x6da10 in apache_php_module_main (r=0x232b98, fd=19, display_source_mode=0) at ../../../php4/sapi/apache/sapi_apache.c:67 #10 0x3d280 in send_php (r=0x232b98, display_source_mode=0, filename=0x233578 "/dot/dgs/tc/xmlrpc/dump.php") at mod_php4.c:331 #11 0x3d2d8 in send_parsed_php (r=0x232b98) at mod_php4.c:343 #12 0x12898c in ap_invoke_handler (r=0x232b98) at http_config.c:508 #13 0x144d2c in process_request_internal (r=0x232b98) at http_request.c:1214 #14 0x144db0 in ap_process_request (r=0x232b98) at http_request.c:1230 #15 0x1389d4 in child_main (child_num_arg=0) at http_main.c:4041 #16 0x138c68 in make_child (s=0x1f9928, slot=0, now=939226143) at http_main.c:4145 #17 0x138e84 in startup_children (number_to_start=5) at http_main.c:4227 #18 0x139870 in standalone_main (argc=4, argv=0xeffff95c) at http_main.c:4515 #19 0x13a458 in main (argc=4, argv=0xeffff95c) at http_main.c:4836 i'm not mr. sapi - digged some time whithout success. maybe one of the brither guys could have a look;-) tc -- PHP 4 Beta--- Andi Gutmans <andi@zend.com> http://www.zend.com/