v5.1.2 Opening an existing project after fresh install crashes KiCAD

Bug #1828071 reported by der.ule
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

KiCAD v5.1.2 crashes when after installing the very first action is to try to open an existing project and there is no support for OpenGL.

When EEschema opens, it shows a dialog saying the OpenGL could not be used and tries to go to software rendering, however the application crashes and has to be terminated.

If however PCBNew is open first, a dialog comes that tries to turn the OpenGL mode on, if this is not accepted, the application crashes, if OpenGL mode is accepted, on opening PCBNew detects that there is no support for OpenGL and uses fallback mode and continues to work. If EEScheme is then opened, it fails to render the schematic window (Toolbars seem fine), trying to select fallback mode, crashes KiCAD.

The workaround I found to make it work is to create first a new Project, it will go to fallback mode in both PCBNew and EEschema close KiCAD and then open the existing Project, then everything works as expected (so far, not tested a lot yet).

A more detailed explanation was posted on the KiCAD forums:

My System information is:
Application: kicad
Version: (5.1.2)-1, release build
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:


Tags: eeschema
Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Critical
milestone: none → 5.1.3
tags: added: eeschema
Jon Evans (craftyjon)
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
Jon Evans (craftyjon) wrote :

I tried to reproduce this by installing a clean copy of 5.1.2 on a VM running Windows 7 x64 with OpenGl support turned off. I can't reproduce any of the hang/crash scenarios reported here. I get the "falling back to software rendering" dialog, and then everything seems to work fine.

@der.ule -- does this happen no matter what project you open at first?

Jon Evans (craftyjon)
Changed in kicad:
assignee: Jon Evans (craftyjon) → nobody
Changed in kicad:
status: New → Incomplete
Seth Hillbrand (sethh)
Changed in kicad:
milestone: 5.1.3 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.