Open GlennWSo opened 1 year ago
my console log segfault.txt
segfault tag i saved the state my current changes i had when i got the error.
Did you tried to run it in gdb to get how it crashed on the C side ?
$ sudo apt install python3-dbg
$ gdb python
gdb) run -m pytest tests/test_draft.py::test_extrude
No, I have not. I'll give it a try!
Hello @GlennWSo, any news on this ? did you experienced similar crashes since ?
When running madcad.show() i sometimes get segmentation errors. It usally happens when i run many show() after each other to inspect the results of multiple test.
Current thread 0x00007f7ed0e4e740 (most recent call first): File "/home/gws/projects/pymadcad/.venv/lib/python3.10/site-packages/moderngl/vertex_array.py", line 223 in render File "/home/gws/projects/pymadcad/madcad/displays.py", line 428 in render File "/home/gws/projects/pymadcad/madcad/rendering.py", line 562 in render File "/home/gws/projects/pymadcad/madcad/rendering.py", line 772 in render File "/home/gws/projects/pymadcad/madcad/rendering.py", line 1056 in render File "/home/gws/projects/pymadcad/madcad/rendering.py", line 1162 in paintGL File "/home/gws/projects/pymadcad/madcad/rendering.py", line 1165 in resizeEvent File "/home/gws/projects/pymadcad/madcad/rendering.py", line 109 in show ....