Skip to content

[DIAGNOSTIC - do not merge] Locate the Windows worker-thread teardown AV#380

Closed
realFlowControl wants to merge 1 commit into
developfrom
florian/diag-windows-teardown-av
Closed

[DIAGNOSTIC - do not merge] Locate the Windows worker-thread teardown AV#380
realFlowControl wants to merge 1 commit into
developfrom
florian/diag-windows-teardown-av

Conversation

@realFlowControl

Copy link
Copy Markdown
Collaborator

Throwaway branch to find the root cause of the latent worker-thread access violation that the catch-all VEH (from #355) masks, surfaced by #379.

Instruments the existing catch-all VEH: on a non-undefined-function access violation on a worker thread, capture a symbolized native backtrace (dbghelp, pulled in via #pragma comment(lib, ...) so no build-config change) plus the PHP file/line, print to stdout, then keep the existing zend_bailout(). Printing to stdout breaks the affected tests' --EXPECT--, so the backtrace shows up in their failure diff in the Windows CI log.

Not for merge — purely to read the backtrace from Windows CI.

Throwaway instrumentation to locate the latent teardown access violation
in functional/007 (and any other test) that the catch-all VEH masks. On a
non-undefined-function AV on a worker thread, capture a symbolized native
backtrace (dbghelp) plus the PHP file/line and print to stdout, then keep
the existing zend_bailout() behaviour. Not for merge.
@realFlowControl
realFlowControl deleted the florian/diag-windows-teardown-av branch June 16, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant