eeschema segfault on cut-and-pasting a hierarchical child sheet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
Jeff Young |
Bug Description
eeschema segfaults on cut-and-paste of a child hierarchical sheet.
An "error" dialog pops up saying:
Error occurred loading schematic file "/home/
Unable to open filename "/home/
After clicking "ok" I get a segmetation fault and kicad exits.
Note that the file it is looking for is still on the disk, but the path is truncated to my user's home and it is not the full path to the file (that is /home/dinoghi/
If at least one copy of that block is present in the schematic there is no error. It seems that on the "cut" operation on the last block the path to the file is not correct anymore.
To re-create the behaviour:
1) Create a new project
2) in eeschema add a hierarchical sheet
3) ctrl-x to cut
4) ctrl-v to paste and here you get the error and the segfault exiting the error dialog.
-------
In master branch I get the error.
In Stable 5.1.4 and 5.1.2 I don't get it.
-------
Application: Eeschema
Version: (5.99.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.52.1 OpenSSL/1.0.2s 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
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Jeff Young (jeyjey) |
importance: | Undecided → Critical |
status: | New → In Progress |
milestone: | none → 6.0.0-rc1 |
Fixed in revision 02a7a79e0d033cf 8b4f2ccd822d6e8 f2920463e2 /git.launchpad. net/kicad/ patch/? id=02a7a79e0d03 3cf8b4f2ccd822d 6e8f2920463e2
https:/