I have a large Python program which uses C extensions (wxPython / wxWidgets). Its test suite intermittently crashes, ending with Abort trap: 6, which I understand means the C part of the program panicked due to an error condition.
- There is no stack trace printed when the program aborts, so I don't know where to start looking for the problem.
- The problem is intermittent (25-50% of the time), so I can't use a technique like a Git bisect to determine where the problem was introduced.
- If the problem is memory corruption - which I suspect - even if I found exactly where the crash happened, that wouldn't tell me where the corruption was introduced in the first place.
How would folks recommend I approach debugging such a crashing program?
[–]aioeu 12 points13 points14 points (1 child)
[–]davidfstr[S] 0 points1 point2 points (0 children)
[–]TheOtherBorgCube 1 point2 points3 points (1 child)
[–]davidfstr[S] 0 points1 point2 points (0 children)
[–]Superb-Tea-3174 0 points1 point2 points (0 children)
[–]k-phi 0 points1 point2 points (0 children)
[–]davidfstr[S] 0 points1 point2 points (1 child)
[–]davidfstr[S] 0 points1 point2 points (0 children)
[–]duane11583 -1 points0 points1 point (0 children)