pcbnew segfaults with kicad_mod cmdline argument
Bug #1544817 reported by
Chris Pavlina
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Pass pcbnew a kicad_mod file as a command line argument, it segfaults.
Hopefully this weekend I'll have a chance to look at this myself, just putting up a report to track it and maybe discuss.
What do we think is the correct way to handle this? Part of me would really like if it could automatically launch the footprint editor and load the file, but I'm not 100% sure how the best way to make that work would be, since you're not opening a project or anything. Obviously the easiest answer is to just give a proper error message rather than segfaulting - that's what I'll do if nobody comments on the first idea before the weekend.
Changed in kicad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If it helps to track down, I'm not seeing that segfault. I get an appropriate error message (attached).
I would second the suggestion to open the footprint editor when passed kicad_mod files.
Application: kicad
libcurl/ 7.52.1 GnuTLS/3.5.8 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3 compatible with 2.8) GRAPHICS_ CONTEXT= OFF
USE_ WX_OVERLAY= OFF
KICAD_ SCRIPTING= ON
KICAD_ SCRIPTING_ MODULES= ON
KICAD_ SCRIPTING_ WXPYTHON= ON
KICAD_ SCRIPTING_ ACTION_ MENU=ON
BUILD_ GITHUB_ PLUGIN= ON
KICAD_ USE_OCE= ON
Version: (2017-08-09 revision b45af7f42)-master, debug build
Libraries: wxWidgets 3.0.2
Platform: Linux 4.9.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.60.0
Curl: 7.52.1
KiCad - Compiler: GCC 6.3.0 with C++ ABI 1010
Settings: USE_WX_