From: hanika at servicetools dot de Operating system: Suse Linux 8.1 PHP version: 5.0.0RC2 PHP Bug Type: XSLT related Bug description: Segmentation fault after function importStylesheet()
Description: ------------ Working with the examles from http://www.zend.com/php5/articles/php5-xmlphp.php section "XSLT" cause a segmentation fault in apache 2.0.49. But the same examples works fine with php 5.0.0RC1. Reproduce code: --------------- http://www.zend.com/php5/articles/php5-xmlphp.php section "XSLT" Expected result: ---------------- Apache error 404 Actual result: -------------- #0 0x404687d3 in zif_xsl_xsltprocessor_import_stylesheet (ht=1, return_value=0x406f9bb4, this_ptr=0x406f9ae8, return_value_used=1) at /usr/local/src/php-5.0.0RC2/ext/xsl/xsltprocessor.c:368 #1 0x404d9ba1 in zend_do_fcall_common_helper (execute_data=0xbfffd0f0, opline=0x406fa770, op_array=0x406f9950) at /usr/local/src/php-5.0.0RC2/Zend/zend_execute.c:2699 #2 0x404da1de in zend_do_fcall_by_name_handler (execute_data=0xbfffd0f0, opline=0x406fa770, op_array=0x406f9950) at /usr/local/src/php-5.0.0RC2/Zend/zend_execute.c:2810 #3 0x404d61bf in execute (op_array=0x406f9950) at /usr/local/src/php-5.0.0RC2/Zend/zend_execute.c:1391 #4 0x404b2c9f in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-5.0.0RC2/Zend/zend.c:1058 #5 0x4046dad0 in php_execute_script (primary_file=0xbffff3a0) at /usr/local/src/php-5.0.0RC2/main/main.c:1630 #6 0x404e308e in php_handler (r=0x81ae240) at /usr/local/src/php-5.0.0RC2/sapi/apache2handler/sapi_apache2.c:556 #7 0x080679d6 in ap_run_handler (r=0x81ae240) at config.c:152 #8 0x08067fa8 in ap_invoke_handler (r=0x81ae240) at config.c:358 #9 0x08064f3b in ap_process_request (r=0x81ae240) at http_request.c:246 #10 0x08060ab9 in ap_process_http_connection (c=0x81a8210) at http_core.c:250 #11 0x08070b76 in ap_run_process_connection (c=0x81a8210) at connection.c:42 #12 0x08066344 in child_main (child_num_arg=714067076) at prefork.c:609 ---Type <return> to continue, or q <return> to quit--- #13 0x08066470 in make_child (s=0x809f570, slot=1) at prefork.c:703 #14 0x0806657f in startup_children (number_to_start=4) at prefork.c:721 #15 0x08066d19 in ap_mpm_run (_pconf=0x0, plog=0x80c7878, s=0x809f570) at prefork.c:940 #16 0x0806c4b8 in main (argc=3, argv=0xbffff734) at main.c:617 #17 0x401684c2 in __libc_start_main () from /lib/i686/libc.so.6 -- Edit bug report at http://bugs.php.net/?id=28579&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28579&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28579&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28579&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28579&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28579&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28579&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28579&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28579&r=support Expected behavior: http://bugs.php.net/fix.php?id=28579&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28579&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28579&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28579&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28579&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28579&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28579&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28579&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28579&r=float