Skip to content

SOAP segfault /w x86/32b build #8643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mvorisek opened this issue May 27, 2022 · 3 comments
Closed

SOAP segfault /w x86/32b build #8643

mvorisek opened this issue May 27, 2022 · 3 comments

Comments

@mvorisek
Copy link
Contributor

mvorisek commented May 27, 2022

Description

Reproducible /w https://github.com/php/php-src/blob/PHP-8.0/ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_rpcenc_002w.phpt test

see https://github.com/php/php-src/runs/6289390413?check_suite_focus=true#step:8:3238

========DIFF========
001+ Can't initialize heap: [0x000001e7] Attempt to access invalid address

002+ 

003+ Termsig=-1073741819

001- <?xml version="1.0" encoding="UTF-8"?>

002- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:echoStringFault><param xsi:type="xsd:string">Hello World</param></ns1:echoStringFault></SOAP-ENV:Body></SOAP-ENV:Envelope>

003- <?xml version="1.0" encoding="UTF-8"?>

004- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://soapinterop.org/wsdl" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Fault in response to 'echoStringFault'.</faultstring><detail><ns1:part2 xsi:type="xsd:string">Hello World</ns1:part2></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

005- ok
========DONE========

PHP Version

latest 8.0

Operating System

Windows, probably also linux, x86/32b target arch

@cmb69
Copy link
Member

cmb69 commented May 30, 2022

I cannot reproduce that test failure locally (neither with a debug build, nor an AVX2 optimized build, nor when running all SOAP tests in parallel, nor with the debug heap enabled).

Does that test always fail for that action, or was it just an intermittent failure?

@mvorisek
Copy link
Contributor Author

Does that test always fail for that action, or was it just an intermittent failure?

54de5d9 failed, but the parent commit does not failed and the changes in the referenced commit seems to be unrelated... so probably some random failure

but how likely is random segfault or a non-buggy app?

there is probably some hidden random issue in php-src /w 86/32b build

but If I won't see simillar issue in the next days, I will close this issue

@mvorisek
Copy link
Contributor Author

mvorisek commented Oct 1, 2022

I cannot reproduce that test failure locally (neither with a debug build, nor an AVX2 optimized build, nor when running all SOAP tests in parallel, nor with the debug heap enabled).

@cmb69 please see #9650, there is some major problem failing the CI like every 2nd or 3rd run, with enought iterations locally, you should be able to reproduce it.

Env Windows x64, x86 build, reproduced in CI with these changes: https://github.com/php/php-src/compare/PHP-8.0..37498f95b5b26d47a03b74b0dcc062d545195a0c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants