crash with pns router debug mode (Win?)
Description
Runnning the standard kicad installation produces crash if the logfile writing for pns debug mode is used.
Root cause seems to be that the standard installation directory c:\Program Files\KiCad\8.0\pns.log is not writeable for standard users.
workaround:
- (tested): run kicad as admin
- (untested): run kicad with a different cwd
Steps to reproduce
- add the "kicad_advanced" file into c:\Users\INSERT_USERNAME\AppData\Roaming\kicad\8.0\kicad_advanced, add entry "EnableRouterDump=1" into the file
- run kicad as normal user, installed into c:\Program Files\KiCad\8.0\
- open attached project, open board:PNS_router_drc_violation_01.zip
- activate route command (right toolbar), click onto pad4 of IC501 to start routing
- the first track segment is drawn --> press "0" to activate the pns-logging function
- save-dialog appears (picture), click "OK"
- crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.0-rc2-392-g08b02f2a1a, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: