problem with mcal under php4

From: Date: Thu, 27 Jan 2000 18:24:19 +0000
Subject: problem with mcal under php4
Groups: php.version4 
Request: Send a blank email to php-version4+get-9481@lists.php.net to get a copy of this message
Could someone who knows more about Zend internals take a look at this? Calling mcal_fetch_event() causes a segfault; I can't figure out why. I'm attaching the backtrace I got, along with a test script to reproduce it. -chuck -- Charles Hagenbuch, <chagenbu@wso.williams.edu> -- "Every new beginning comes from some other beginning's end." - Semisonic

Starting program: /usr/local/src/zend/apache_1.3.11/src/httpd -X Program received signal SIGSEGV, Segmentation fault. _mem_block_check (ptr=0x1, silent=1, __zend_filename=0x819785c "zend_execute_API.c", __zend_lineno=218, __zend_orig_filename=0x8197ec5 "zend_variables.c", __zend_orig_lineno=63) at zend_alloc.c:483 483 switch (p->magic) { (gdb) bt #0 _mem_block_check (ptr=0x1, silent=1, __zend_filename=0x819785c "zend_execute_API.c", __zend_lineno=218, __zend_orig_filename=0x8197ec5 "zend_variables.c", __zend_orig_lineno=63) at zend_alloc.c:483 #1 0x8083d46 in _efree (ptr=0x1, __zend_filename=0x819785c "zend_execute_API.c", __zend_lineno=218, __zend_orig_filename=0x8197ec5 "zend_variables.c", __zend_orig_lineno=63) at zend_alloc.c:170 #2 0x808e12c in _zval_dtor (zvalue=0x822dbc0, __zend_filename=0x819785c "zend_execute_API.c", __zend_lineno=218) at zend_variables.c:63 #3 0x80895e6 in _zval_ptr_dtor (zval_ptr=0x8286bc8, __zend_filename=0x8197ec5 "zend_variables.c", __zend_lineno=180) at zend_execute_API.c:218 #4 0x808e393 in _zval_ptr_dtor_wrapper (zval_ptr=0x8286bc8) at zend_variables.c:180 #5 0x8091d10 in zend_hash_destroy (ht=0x82866b8) at zend_hash.c:581 #6 0x808e16b in _zval_dtor (zvalue=0x8284180, __zend_filename=0x81b51c0 "./zend_execute.c", __zend_lineno=346) at zend_variables.c:75 #7 0x80fa12e in zend_assign_to_variable (result=0x827defc, op1=0x827df0c, op2=0x827df1c, value=0x8284780, type=4, Ts=0xbfffe394) at ./zend_execute.c:346 ---Type <return> to continue, or q <return> to quit--- #8 0x80f4388 in execute (op_array=0x8271098) at ./zend_execute.c:1273 #9 0x807f2af in php_execute_script (primary_file=0xbffff4b8) at main.c:1244 #10 0x8098893 in apache_php_module_main (r=0x826e0e4, fd=21, display_source_mode=0) at sapi_apache.c:86 #11 0x807d674 in send_php () #12 0x807d6be in send_parsed_php () #13 0x80ffba9 in ap_invoke_handler () #14 0x8113c4f in process_request_internal () #15 0x8113cb6 in ap_process_request () #16 0x810afa6 in child_main () #17 0x810b161 in make_child () #18 0x810b2dc in startup_children () #19 0x810b93d in standalone_main () #20 0x810c16c in main () #21 0x401067e2 in __libc_start_main () from /lib/libc.so.6 Attachment: [application/x-httpd-php] mcal_test.php
« previous php.version4 (#9481) next »