Hi all!

#0  0x80000038 in ?? ()
#1  0x40331677 in zend_isset_isempty_prop_obj_handler (execute_data=0x4136becc, 
opline=0x4136becc, op_array=0x4136becc)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:3995
#2  0x4032ab1a in execute (op_array=0x80ffaf4) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#3  0x4032e399 in zend_do_fcall_common_helper (execute_data=0xbfffa120, 
opline=0x413aba48, op_array=0x4136ea74)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2677
#4  0x4032e693 in zend_do_fcall_by_name_handler (execute_data=0x41227514, 
opline=0x4136becc, op_array=0x4136becc)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2759
#5  0x4032ab1a in execute (op_array=0x4136ea74) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#6  0x4033024f in zend_include_or_eval_handler (execute_data=0xbfffa6b0, 
opline=0x4137a63c, op_array=0x41227514)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:3492
#7  0x4032ab1a in execute (op_array=0x4136e0fc) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#8  0x4032e399 in zend_do_fcall_common_helper (execute_data=0xbfffaef0, 
opline=0x41339944, op_array=0x81994b0)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2677
#9  0x4032e693 in zend_do_fcall_by_name_handler (execute_data=0x41227514, 
opline=0x4136becc, op_array=0x4136becc)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2759
#10 0x4032ab1a in execute (op_array=0x81994b0) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#11 0x4032e399 in zend_do_fcall_common_helper (execute_data=0xbfffb360, 
opline=0x413734d8, op_array=0x41346d0c)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2677
#12 0x4032e76d in zend_do_fcall_handler (execute_data=0xbfffb360, opline=0x413734d8, 
op_array=0x4136becc)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:2777
#13 0x4032ab1a in execute (op_array=0x41346d0c) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#14 0x4033024f in zend_include_or_eval_handler (execute_data=0xbfffcfe0, 
opline=0x80dd6dc, op_array=0x41227514)
    at /home/tony/CVS/php-src/Zend/zend_execute.c:3492
#15 0x4032ab1a in execute (op_array=0x80cb10c) at 
/home/tony/CVS/php-src/Zend/zend_execute.c:1339
#16 0x4030d133 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at 
/home/tony/CVS/php-src/Zend/zend.c:1041
#17 0x402d5941 in php_execute_script (primary_file=0xbffff340) at 
/home/tony/CVS/php-src/main/main.c:1650
#18 0x40334c2e in apache_php_module_main (r=0x8195354, display_source_mode=0)
    at /home/tony/CVS/php-src/sapi/apache/sapi_apache.c:54
#19 0x4033578b in send_php (r=0x8195354, display_source_mode=0, filename=0x0)
    at /home/tony/CVS/php-src/sapi/apache/mod_php5.c:621
#20 0x40335955 in send_parsed_php (r=0x8195354) at 
/home/tony/CVS/php-src/sapi/apache/mod_php5.c:636
#21 0x0806b1d6 in ap_invoke_handler ()
#22 0x080811fe in process_request_internal ()
#23 0x08081668 in ap_internal_redirect ()
#24 0x0806000a in handle_dir ()
#25 0x0806b1d6 in ap_invoke_handler ()
#26 0x080811fe in process_request_internal ()
#27 0x0808125b in ap_process_request ()
#28 0x08077c14 in child_main ()
#29 0x08077dc6 in make_child ()
#30 0x08077f45 in startup_children ()
#31 0x0807862f in standalone_main ()
#32 0x08078ec9 in main ()
#33 0x400d2af7 in __libc_start_main () from /lib/i686/libc.so.6


PHP code (haven't successed to make a short test example yet, but dump_bt in gdb says, 
that this code causes segfault after some iterations):

<?

class ... {
.....
        function getCfg( $varname ) {
                if (isset( $this->_config->$varname )) { <---- segfault 
                        return $this->_config->$varname;
                } else {
                        return null;
                }
        }
...
}

?>

With debug enabled I got these errors:

Warning: String is not zero-terminated (col_mainя?М?*ZZ?М?**D) (source: 
/home/tony/CVS/php-src_debug/Zend/zend_opcode.c:214) in Unknown on line 0
Warning: String is not zero-terminated (menutypeя?М?*ZZZ?М?*D) (source: 
/home/tony/CVS/php-src_debug/Zend/zend_opcode.c:208) in Unknown on line 0
Warning: String is not zero-terminated (databaseя?М?*ZZZ?М?*D) (source: 
/home/tony/CVS/php-src_debug/Zend/zend_opcode.c:208) in Unknown on line 0

Additional info:

PHP was configured with this line: './configure' '--with-mysql=/usr/local/mysql' 
'--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib-dir=/usr/lib' 
'--with-oci8=/opt/OraHome1' '--enable-sigchild' '--without-sqlite' 
'--enable-memory-limit' '--with-mime-magic=/usr/share/magic.mime' '--disable-dom'
and I don't use any dynamic modules in php.ini.

---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED] || [EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to