Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,26 @@
shell: msys2 {0}
run: .github/workflows/test_simple.sh

- name: "[CI diagnostic, not for merge] Standalone single-process import test"
# Checks whether the "Windows fatal exception: code 0xc0000139"
# crash (STATUS_ENTRYPOINT_NOT_FOUND) seen loading grass_gis.8.6.dll
# under pytest-xdist also reproduces in a single, fresh Python
# process with almost nothing else loaded yet. Every dumpbin
# export/import diff of grass_gis.8.6.dll's own dependency chain
# (proj_9.dll, curl, sqlite3, tiff/jpeg) came back clean, so this
# tests whether the crash is instead tied to the number of
# dynamically loaded DLLs accumulated across a worker process
# (e.g. a Windows/MinGW TLS-slot exhaustion, since libgomp and
# other mingw-w64 runtime DLLs use TLS) rather than any single
# missing symbol.
run: |
call %OSGEO4W_ROOT%\opt\grass\etc\env.bat
set PYTHONPATH=%GISBASE%\etc\python;%PYTHONPATH%
path %GISBASE%\lib;%GISBASE%\bin;%PATH%
python -c "from grass.pygrass import utils; print('OK: pygrass.utils imported successfully in a fresh standalone process')"

Check failure on line 143 in .github/workflows/osgeo4w.yml

View workflow job for this annotation

GitHub Actions / Additional checks

143:121 [line-length] line too long (133 > 120 characters)
# Obfuscated usage of GitHub Actions features, Windows CMD shell limits analysis
shell: cmd /D /E:ON /V:OFF /S /C "CALL C:/OSGeo4W/OSGeo4W.bat "{0}"" # zizmor: ignore[misfeature]

- name: Install additional python packages
run: |
python -m pip install ^
Expand Down
Loading