Skip to content

SOAP segfault /w x86/32b build #8643

Closed
Closed

Description

@mvorisek

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

Activity

  1. cmb69 commented on May 30, 2022

    @cmb69
    Member

    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?

  2. mvorisek commented on May 30, 2022

    @mvorisek
    ContributorAuthor

    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

  3. mvorisek commented on Oct 1, 2022

    @mvorisek
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions