I’m using the latest (nightly) Kicad since the end of the 2017. I usually upgrade my system every day and since some (2 or 3) weeks I cannot open the layout of my project anymore.
Launching kicad from command line I have only this message:
My layout (kicad_pcb) has this version on the header
(kicad_pcb (version 20171130) (host pcbnew no-vcs-found-bf44d39~61~ubuntu17.10.1)
How can I debug the problem? How can I verify my kicad_pcb file which was fine some builds ago? Has anything fundamental changed on pcbnew recently which makes something break like that?
Kicad version:
Application: kicad
Version: no-vcs-found-d08f19a~61~ubuntu17.10.1, release build
Libraries:
wxWidgets 3.0.3
libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Platform: Linux 4.13.0-32-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.62.0
Curl: 7.55.1
Compiler: GCC 7.2.0 with C++ ABI 1011
Build settings:
USE_WX_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
KICAD_SPICE=ON
After reading https://wiki.ubuntu.com/Valgrind I suppose Valgrind is the best way to go if you want to find something useful. Even if you can’t interpret the log you can give it to the developers. It’s especially valuable because others can’t reproduce your situation - otherwise it would have been fixed already.
Edit: I mean, others haven’t experienced this same situation and it’s possible that they can’t reproduce it even when you can.
Is it possible that this issue is related with UEFI’s secure boot? I don’t know how this thing works and recently something just upgraded my system and showed me something about this saying that I programs could experience issues accessing hardware resources.
Hi Leandro, thanks for updating the bug report with the backtrace with debugging symbols, this is helpful. For the moment, this backtrace looks to me like there might be a bug in KiCad here, not something having to do with your hardware. I’ll follow up over on the bug tracker. This looks like it might have something to do with zone fills, so consider making a backup copy of your board and then using an older version of KiCad to delete everything except the zones, and see if that still crashes. If so, and you can share this stripped-down version of your board with the developers, it would make it a lot easier to fix.
I can see three graphics items in that:
Kernel driver in use: i915
product: GM107M [GeForce GTX 960M]
product: HD Graphics 530 (Intel on board type Skylake)
So I guess that this is a dual graphics PC?
These are notorious for graphics crashes