-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent segmentation fault #489
Comments
Ibom is purely python code and can't segfault itself. You are either crashing in kicad's pcbnew module, which is cpp, or wxwidgets. The core dump shows both threads, if you launch under gdb it will tell you which thread specifically caused the crash. If you also install kicad's debug symbols gdb may give better info on what the pcbnew module was doing when crash happened. There are few things you should try:
Also not related to the crash but don't use .net file for your extra data if you have kicad 7 or later, use pcb file itself, less chances to have out of sync data. |
Oh and also try to cut down the board file to a minimum that reproduces the issue and share that if you can't share the full design. |
Project opens with no warnings or errors in kicad. I tried running with After some testing it looks like it's working fine on my CI runner too. Same notice about the drawing sheet but that's not breaking anything so I'm comfortable with leaving it there. This issue can be closed imo |
I have the script running in a CI pipeline with the following args:
Where BOARDNAME is the name of the kicad project/board. This has worked fine on one design, but attempting to generate an ibom for a different board altogether causes a segmentation fault to occur. I've been able to reproduce the fault in a VM to get a core dump:
What's interesting is that the ibom does generate, and is exactly in the directory where it's supposed to go, and looks complete. It's just that at the end of running, something causes python to segfault. This wouldn't be a problem if the segfault didn't cause my CI runner to look at the job as failed.
Due to reasons I can't share the board files publicly, but I can try my best to provide any other available logs.
The text was updated successfully, but these errors were encountered: