php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28579 Segmentation fault after function importStylesheet()
Submitted: 2004-05-30 16:31 UTC Modified: 2004-05-31 12:12 UTC
From: hanika at servicetools dot de Assigned:
Status: Not a bug Package: XSLT related
PHP Version: 5.0.0RC2 OS: Suse Linux 8.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hanika at servicetools dot de
New email:
PHP Version: OS:

 

 [2004-05-30 16:31 UTC] hanika at servicetools dot de
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-30 19:20 UTC] hanika at servicetools dot de
sorry - no php bug - compilation error from libxml2
 [2004-05-31 12:12 UTC] derick@php.net
Bogus then.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC