php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19042 httpd fault with signal 11
Submitted: 2002-08-22 08:59 UTC Modified: 2002-08-23 21:15 UTC
From: pvy at novosoft dot ru Assigned:
Status: Not a bug Package: XSLT related
PHP Version: 4.2.2 OS: RedHat 7.3
Private report: No CVE-ID: None
 [2002-08-22 08:59 UTC] pvy at novosoft dot ru
Hello!
I got crash when I call from my php script function
xslt_process

gdb backtrace:
(gdb) bt                                                                                                            
#0  0x40426082 in Situation::generateMessage (this=0x75722e74, type=808466746, code=1835085616, arg1=@0x73782f73,   
    arg2=@0x736a2f6c, theMessage=@0x35646d2f) at situa.cpp:263                                                      
#1  0x666f736f in ?? ()                                                                                             
Cannot access memory at address 0x766f6e2e                                                                          
(gdb)                                                       
configuration options:
./configure \                                
--prefix=/opt/php422 \                       
--with-apxs=/opt/apache/bin/apxs \           
--with-mod_charset \                         
--with-mysql \                               
--with-zlib-dir \                            
--enable-trans-sid \                         
--with-openssl \                             
--enable-versioning \                        
--with-wddx \                                
--enable-inline-optimization \               
--with-config-file-path=/opt/apache/conf \   
--enable-ftp \                               
--enable-inline-optimization \               
--enable-memory-limit \                      
--with-zend \                                
--disable-short-tags \                       
--enable-shared \                            
--with-xslt-sablot=/usr/local/ \             
--with-dom \                                 
--with-dom-xslt \                            
--enable-xslt \                              
--with-sybase=/opt/sybase-11.9.2 \           
--with-pnglib-dir=/opt/src/libpng-1.0.11 \   
--with-jpeg-dir=/usr/local/ \                
--with-freetype-dir=/usr \                   
--with-gd=/opt/src/gd1.3 \                   
--with-pdflib=/usr/local                     
                                             




                                      

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-22 09:03 UTC] sander@php.net
Please try a snapshot from http://snaps.php.net, compile php with --enable-debug and generate a new backtrace and post a simple sample script here.
 [2002-08-23 12:47 UTC] msopacua at idg dot nl
Upgrade the Sablotron library and apply the patches available at http://www.gingerall.com/ , if applicable.

Then start using xslt_process, as documented.

xslt_process($xh, $xml_FILENAME, $xsl_FILENAME)

or the arg:/ syntax.
Do not put xml content or xsl content there.

The fix for the crash has been committed in the Sablotron source tree (not a php bug) - I don't recall whether it's been incorporated in a release version yet.
 [2002-08-23 21:15 UTC] sniper@php.net
Not a PHP bug -> bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 14:01:29 2024 UTC