Importing an Eagle project: "Directory could not be created"
Description
I attempted to import the attached Eagle brd and sch files. When I do this, KiCad 6 crashes. I've attached Screenshot_20201224_100829.png showing the crash while running under gdb. The various window frames have been drawn, but most of the contents have not. Therefore, the other things on my desktop show through. I've attached the gdb backtrace in file "crash.log".
This crash is 100% reproducible in my environment, so I can gather more data if needed. I built this version of KiCad from source myself. In all other respects that I have tested, my build works perfectly.
One other interesting fact - if I try the import a second time, in the same directory, without removing any files or subdirectories, then I am able to complete the import. On the second attempt, KiCad asks me if I want to create a new empty directory. I say yes, and I get a "File exists" error message as shown in Screenshot_20201224_102516.png. Clicking OK then allows me to proceed to mapping the layers. In Screenshot_20201224_102558.png the design has been successfully imported.
Adafruit_PN532_Breakout_v1.6.brd
Adafruit_PN532_Breakout_v1.6.sch
Steps to reproduce
- Attempt to import the attached Eagle brd and sch files.
- KiCad crashes before asking how to map the layers.
KiCad Version
Application: KiCad
Version: (5.99.0-7783-g2f087dfa1b), debug build
Libraries:
wxWidgets 3.0.5
Platform: Linux 5.9.15-200.fc33.x86_64 x86_64, 64 bit, Little endian, wxGTK, KDE, x11
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.73.0
OCC: 7.5.0
Curl: 7.71.1
ngspice: 33
Compiler: GCC 10.2.1 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF