php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64385 SimpleXML PHPTs crash with 5.5
Submitted: 2013-03-08 09:27 UTC Modified: 2013-03-15 23:57 UTC
From: mattficken@php.net Assigned: mattficken (profile)
Status: Closed Package: SimpleXML related
PHP Version: 5.5.0alpha5 OS: Windows
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: mattficken@php.net
New email:
PHP Version: OS:

 

 [2013-03-08 09:27 UTC] mattficken@php.net
Description:
------------
These PHPTs crash on 5.5 when its built with V11.
ext/simplexml/tests/007.phpt
ext/simplexml/tests/014.phpt
ext/simplexml/tests/014a.phpt
ext/simplexml/tests/014b.phpt
ext/simplexml/tests/016.phpt
ext/simplexml/tests/016a.phpt
ext/simplexml/tests/027.phpt
ext/simplexml/tests/028.phpt
ext/simplexml/tests/030.phpt
ext/simplexml/tests/bug35785.phpt
ext/simplexml/tests/bug37076.phpt
ext/simplexml/tests/bug37076_1.phpt
ext/simplexml/tests/bug37386.phpt
ext/simplexml/tests/bug41582.phpt
ext/simplexml/tests/bug35785.phpt

These didn't crash with VC9. These crash with or without O+. This is an issue with using the VC11 compiler.



Expected result:
----------------
Test pass

Actual result:
--------------
033ff878 739fce18 php5ts!zend_object_store_get_object+0x15 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_objects_api.c @ 273]
033ff8a4 7377e1aa php5ts!sxe_property_get_adr+0x18 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\ext\simplexml\simplexml.c @ 707]
033ff8d0 737cc913 php5ts!zend_fetch_property_address+0x3a [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_execute.c @ 1387]
033ff8f4 7373c849 php5ts!ZEND_FETCH_OBJ_W_SPEC_CV_CONST_HANDLER+0x33 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @ 32506]
033ff938 73736547 php5ts!execute_ex+0x89 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @ 356]
033ff960 7373630a php5ts!zend_execute+0x1c7 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend_vm_execute.h @ 381]
033ff994 73737050 php5ts!zend_execute_scripts+0x14a [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\zend\zend.c @ 1317]
033ffba0 74f21503 php5ts!php_execute_script+0x190 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\main\main.c @ 2479]
033ffcd8 74f741d5 php5apache2_4!php_handler+0x423 [c:\php-sdk\snap_5_5\vc11\x86\ts-windows-vc11-x86\sapi\apache2handler\sapi_apache2.c @ 667]
033ffcf0 74f7356d libhttpd!ap_run_handler+0x25 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @ 169]
033ffd08 74f82424 libhttpd!ap_invoke_handler+0xdd [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\config.c @ 432]
033ffd28 74f824b1 libhttpd!ap_process_async_request+0x184 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c @ 317]
033ffd3c 74f7d8a1 libhttpd!ap_process_request+0x11 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_request.c @ 363]
033ffd58 74f76545 libhttpd!ap_process_http_sync_connection+0x61 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\modules\http\http_core.c @ 190]
033ffd70 74f9ae62 libhttpd!ap_run_process_connection+0x25 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\connection.c @ 41]
033ffd98 76af3677 libhttpd!worker_main+0x112 [g:\php-sdk\lib_builds\vc11\x86\httpd-2.4.3-makefile\server\mpm\winnt\child.c @ 840]
033ffda4 77689d72 kernel32!BaseThreadInitThunk+0x12
033ffde4 77689d45 ntdll!RtlInitializeExceptionChain+0x63
033ffdfc 00000000 ntdll!RtlInitializeExceptionChain+0x36

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-08 22:46 UTC] mattficken@php.net
-Summary: SimpleXML PHPTs crash with 5.5 built with VC11 compiler +Summary: SimpleXML PHPTs crash with 5.5
 [2013-03-08 22:46 UTC] mattficken@php.net
These also crash with 5.5.0a6 built with VC9 compiler.

Since crashes occur with VC9 and with VC11 its not a VC11 issue, its just a SimpleXML+Apache issue.
 [2013-03-15 23:57 UTC] mattficken@php.net
Pierre fixed this (API change)
 [2013-03-15 23:57 UTC] mattficken@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mattficken
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 09:01:28 2025 UTC