You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ext\spl\tests\bug77263.phpt test is causing sigfault on Windows 32-bit OS #8450
sapi/phpdbg/tests/watch_001.phpt - sapi/phpdbg/tests/watch_004.phpt tests have never failed for me
but sapi/phpdbg/tests/watch_005.phpt - sapi/phpdbg/tests/watch_006.phpt is failing consistently with the same Termsig=-1073741819 error code, not sure if this is related, but can you reproduce the segfault for these tests on Windows 32-bit?
Yeah, I know, but I ran several times (x86 ZTS, with and without JIT), and it never failed. :(
Neither sapi/phpdbg/tests/watch_005.phpt nor sapi/phpdbg/tests/watch_006.phpt is failing for me. However, -1073741819 is basically 0xc0000005 which is the code for an access violation (aka. segfault), and these tests mention "intentionally causes segfaults"; these should be caught, though, but for some reason they're not (or an uncaught segfault happens). Anyway, hard to debug if not reproducible.
the sapi/phpdbg/tests/watch_005.phpt and sapi/phpdbg/tests/watch_006.phpt tests always fail [1], the env is Microsoft Windows Server 2019 Datacenter 64 bit OS & php-src compiled for x86 platform
is it possible to update the repro code to dump the C stack trace to understand the issue just from the CI output?
is it possible to update the repro code to dump the C stack trace to understand the issue just from the CI output?
Hmm, that would require to install and register a post mortem debugger, which than would create a (huge) dump file. That dump file would need to be uploaded as artifact, and could then be downloaded for inspection. Not sure if that's worth the trouble for phpdbg issues.
Activity
cmb69 commentedon Apr 28, 2022
I haven't been able to reproduce this locally, and I have no idea what exactly is going there.
mvorisek commentedon Apr 28, 2022
it is failing randomly
sapi/phpdbg/tests/watch_001.phpt-sapi/phpdbg/tests/watch_004.phpttests have never failed for mebut
sapi/phpdbg/tests/watch_005.phpt-sapi/phpdbg/tests/watch_006.phptis failing consistently with the sameTermsig=-1073741819error code, not sure if this is related, but can you reproduce the segfault for these tests on Windows 32-bit?cmb69 commentedon Apr 28, 2022
Yeah, I know, but I ran several times (x86 ZTS, with and without JIT), and it never failed. :(
Neither sapi/phpdbg/tests/watch_005.phpt nor sapi/phpdbg/tests/watch_006.phpt is failing for me. However,
-1073741819is basically0xc0000005which is the code for an access violation (aka. segfault), and these tests mention "intentionally causes segfaults"; these should be caught, though, but for some reason they're not (or an uncaught segfault happens). Anyway, hard to debug if not reproducible.mvorisek commentedon Apr 28, 2022
I do not know how to debug this, but here is repro code: https://github.com/mvorisek/php-src/tree/repro_win32bit_segfault
the
sapi/phpdbg/tests/watch_005.phptandsapi/phpdbg/tests/watch_006.phpttests always fail [1], the env is Microsoft Windows Server 2019 Datacenter 64 bit OS & php-src compiled for x86 platformis it possible to update the repro code to dump the C stack trace to understand the issue just from the CI output?
[1] https://github.com/mvorisek/php-src/runs/6213041816?check_suite_focus=true#step:5:84
cmb69 commentedon May 3, 2022
Hmm, that would require to install and register a post mortem debugger, which than would create a (huge) dump file. That dump file would need to be uploaded as artifact, and could then be downloaded for inspection. Not sure if that's worth the trouble for phpdbg issues.
mvorisek commentedon Oct 1, 2022
duplicate of #9650