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
Copy file name to clipboardExpand all lines: SEGFAULT_FIX.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,16 @@
1
1
# CI/CD Segmentation Fault Fix (Workaround)
2
2
3
-
## ⚠️ Status: WORKAROUND IMPLEMENTED
4
-
This is a **temporary workaround** that disables parallel test execution to prevent segfaults. A permanent fix requires deeper investigation of the multiprocessing conflicts.
3
+
## ⚠️ Status: ROOT CAUSE IDENTIFIED + WORKAROUND APPLIED
4
+
5
+
**Root Cause:**`SharedMemoryCache` class uses `multiprocessing.Lock` and `shared_memory.SharedMemory` which cause segfaults in test environment.
The CI/CD pipeline was experiencing segmentation faults when running tests with pytest-xdist parallel execution. The issue occurred at ~1h 58m into the test run, causing the pipeline to hang indefinitely.
0 commit comments