Re: php_pcre.c change

From: Date: Thu, 17 Aug 2000 18:55:28 +0000
Subject: Re: php_pcre.c change
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-29322@lists.php.net to get a copy of this message
On Thu, Aug 17, 2000 at 01:48:54PM -0500, Andrei Zmievski wrote: > > The last change to php_pcre.c causes segfaults for me. Backing it out > > fixes things. If you require a backtrace, I can provide one. > > Please do. Here you are: Starting program: /usr/local/apache/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x80e4285 in _mem_block_check (ptr=0x8264ed4, silent=1, __zend_filename=0x81adec0 "php_pcre.c", __zend_lineno=493, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:578 578 if (valid_beginning (gdb) bt #0 0x80e4285 in _mem_block_check (ptr=0x8264ed4, silent=1, __zend_filename=0x81adec0 "php_pcre.c", __zend_lineno=493, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:578 #1 0x80e380c in _efree (ptr=0x8264ed4, __zend_filename=0x81adec0 "php_pcre.c", __zend_lineno=493, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:191 #2 0x809af9c in php_pcre_match (ht=3, return_value=0x82dede4, this_ptr=0x0, return_value_used=1, global=0) at php_pcre.c:493 #3 0x809afcc in php_if_preg_match (ht=3, return_value=0x82dede4, this_ptr=0x0, return_value_used=1) at php_pcre.c:503 #4 0x811b993 in execute (op_array=0x829e2a4) at ./zend_execute.c:1519 #5 0x811bb2e in execute (op_array=0x8272ba4) at ./zend_execute.c:1559 #6 0x80ef7c3 in zend_execute_scripts (type=8, file_count=3) at zend.c:712 #7 0x8081138 in php_execute_script (primary_file=0xbfbff8ac) at main.c:1166 #8 0x80fa6b4 in apache_php_module_main (r=0x82a8034, display_source_mode=0) at sapi_apache.c:89 #9 0x807ecbb in send_php (r=0x82a8034, display_source_mode=0, filename=0x82a8bb4 "/usr/local/apache/htdocs/horde/imp/message.php") at mod_php4.c:504 #10 0x807ece9 in send_parsed_php (r=0x82a8034) at mod_php4.c:515 #11 0x8128075 in ap_invoke_handler (r=0x82a8034) at http_config.c:508 #12 0x813c070 in process_request_internal (r=0x82a8034) at http_request.c:1215 #13 0x813c0da in ap_process_request (r=0x82a8034) at http_request.c:1231 #14 0x813337f in child_main (child_num_arg=0) at http_main.c:4177 #15 0x813353d in make_child (s=0x8252034, slot=0, now=966538526) at http_main.c:4281 #16 0x81336b6 in startup_children (number_to_start=3) at http_main.c:4363 #17 0x8133cc0 in standalone_main (argc=2, argv=0xbfbffb44) at http_main.c:4651 #18 0x81344d8 in main (argc=2, argv=0xbfbffb44) at http_main.c:4978 Compiled as an Apache module with: ./configure \ --with-apache=../apache_1.3.12 \ --with-config-file-path=/usr/local/apache/conf \ --enable-debug \ --enable-inline-optimization \ --without-gd \ --with-gettext \ --with-imap=../imap-4.7c \ --with-ldap \ --without-mysql \ --with-pgsql \ --enable-xml -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.dev (#29322) next »