|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-11 13:38 UTC] bjori@php.net
[2005-08-12 08:47 UTC] matthew_peters at uk dot ibm dot com
[2005-08-12 11:46 UTC] matthew_peters at uk dot ibm dot com
[2005-08-13 06:38 UTC] matthew_peters at uk dot ibm dot com
[2005-08-16 13:26 UTC] matthew_peters at uk dot ibm dot com
[2005-08-24 08:45 UTC] matthew_peters at uk dot ibm dot com
[2005-08-28 15:38 UTC] bjori@php.net
[2005-08-28 15:58 UTC] bjori@php.net
[2005-09-07 13:26 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 07:00:01 2025 UTC |
Description: ------------ SDO_DAS:XML::create() causes segmentation fault. PHP6-dev was configured with: ./configure --with-zend-vm=GOTO --enable-debug --with-apxs2=/usr/local/sbin/apxs --prefix=/usr/home/dev SDO was configured with: ./configure --prefix=/usr/home/dev/ --with-php-config=/usr/home/dev/bin/php-config php.ini (php.ini-recommended plus these two lines): extension=sdo.so extension=sdo_das_xml.so Reproduce code: --------------- <?php try { $xmldas = SDO_DAS_XML::create("atom.xsd"); } catch (SDO_TypeNotFoundException $e) { print("Type is not defined in the xsd file"); } catch (SDO_DAS_XML_ParserException $e) { print("Problem while parsing"); } ?> Actual result: -------------- (gdb) bt #0 0x772f2f3a in ?? () #1 0x28397a4f in xmlCharEncInFunc () from /usr/local/lib/libxml2.so.5 #2 0x283bde0a in xmlParserInputBufferGrow () from /usr/local/lib/libxml2.so.5 #3 0x28399b81 in xmlParserInputGrow () from /usr/local/lib/libxml2.so.5 #4 0x2839d498 in xmlGROW () from /usr/local/lib/libxml2.so.5 #5 0x283a8de2 in xmlParseStartTag2 () from /usr/local/lib/libxml2.so.5 #6 0x283a9dfc in xmlParseElement () from /usr/local/lib/libxml2.so.5 #7 0x283a9c5a in xmlParseContent () from /usr/local/lib/libxml2.so.5 #8 0x283aa089 in xmlParseElement () from /usr/local/lib/libxml2.so.5 #9 0x283a9c5a in xmlParseContent () from /usr/local/lib/libxml2.so.5 #10 0x283aa089 in xmlParseElement () from /usr/local/lib/libxml2.so.5 #11 0x283a9c5a in xmlParseContent () from /usr/local/lib/libxml2.so.5 #12 0x283aa089 in xmlParseElement () from /usr/local/lib/libxml2.so.5 #13 0x283a9c5a in xmlParseContent () from /usr/local/lib/libxml2.so.5 #14 0x283aa089 in xmlParseElement () from /usr/local/lib/libxml2.so.5 #15 0x283ab4d7 in xmlParseDocument () from /usr/local/lib/libxml2.so.5 #16 0x283af749 in xmlSAXUserParseFile () from /usr/local/lib/libxml2.so.5 #17 0x2871f324 in commonj::sdo::xmldas::SAX2Parser::parse () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo.so #18 0x28741062 in commonj::sdo::xmldas::XSDHelperImpl::defineFile () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo.so #19 0x2873be76 in commonj::sdo::xmldas::XMLDASImpl::loadSchemaFile () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo.so #20 0x2873ba44 in commonj::sdo::xmldas::XMLDASImpl::XMLDASImpl () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo.so #21 0x2873b29e in commonj::sdo::xmldas::XMLDAS::create () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo.so #22 0x28849b33 in zif_SDO_DAS_XML_create () from /usr/home/dev/lib/php/extensions/debug-non-zts-20050809/sdo_das_xml.so #23 0x0826de9f in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbfd4e0) at zend_vm_execute.h:184 #24 0x0826e875 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0xbfbfd4e0) at zend_vm_execute.h:305 #25 0x0826db79 in execute (op_array=0x8470f24) at zend_vm_execute.h:87 #26 0x0824709c in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/home/dev/php-src/Zend/zend.c:1078 #27 0x082052c2 in php_execute_script (primary_file=0xbfbfec30) at /usr/home/dev/php-src/main/main.c:1672 #28 0x082b35d8 in main (argc=2, argv=0xbfbfecc0) at /usr/home/dev/php-src/sapi/cli/php_cli.c:1039