php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58589 Segmentation fault after DO_DAS_XML::create
Submitted: 2009-03-21 07:09 UTC Modified: 2017-01-10 08:12 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: lombardo dot dan at gmail dot com Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: 5.2.5 OS: Gentoo linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lombardo dot dan at gmail dot com
New email:
PHP Version: OS:

 

 [2009-03-21 07:09 UTC] lombardo dot dan at gmail dot com
Description:
------------
I used the SDO_DAS_XML::create with a file xcb.xsd (http://cgit.freedesktop.org/xcb/proto/plain/src/xcb.xsd?h=HEAD) but when i visided the page, it was blank. 
My log in /var/log/apache2/error_log is
[Sat Mar 21 01:06:25 2009] [notice] child pid 9064 exit signal Segmentation fault (11)

I have this system configuration:

Installed packages, channel pear.php.net:
=========================================
Package             Version  State
Archive_Tar         1.3.2    stable
Console_Getopt      1.2.3    stable
Crypt_DiffieHellman 0.2.1    beta
Crypt_RSA           1.2.0b   beta
Math_BigInteger     1.0.0RC3 beta
PEAR                1.7.2    stable
PHP_Compat          1.5.0    stable
SCA_SDO             1.2.4    stable
Structures_Graph    1.0.2    stable
big_int             1.0.7    stable

PHP Version 5.2.8-pl2-gentoo with extension sdo.so
 
My Apache version is 2.2.10




Reproduce code:
---------------
// xcb.xsd from http://cgit.freedesktop.org/xcb/proto/plain/src/xcb.xsd?h=HEAD
try {
  $xmldas = SDO_DAS_XML::create('./xcb.xsd');
}catch (SDO_Exception $e) 
{
   echo "Problema in creazione del documento XML: " . $e->getMessage();
}

Expected result:
----------------
Retrive the object or error after SDO_DAS_XML::create

Actual result:
--------------
The module crash and the result (after php page was visited ) is blank page
My log in /var/log/apache2/error_log is
[Sat Mar 21 01:06:25 2009] [notice] child pid 9064 exit signal Segmentation fault (11)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-04 03:26 UTC] sumariva at gmail dot com
I also having this problem on both Gentoo and Ubuntu trusty using xsd from http://www.isotc211.org/2005/gmd/gmd.xsd.
Sometimes PHP interpreter dieing with too many open files.

A gdb backtrace showing some kind of loop during parse phase.
Code on commonj::sdo::SAX2Parser::parse_twice.
Looks like reincluding parsed files.

Using php cli 5.5.x.
 [2017-01-10 08:12 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:12 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC