Calculating dielectric thickness in stackup editor crashes

Bug #1843131 reported by eelik on 2019-09-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jean-pierre charras

Bug Description

I have a (old) 2 layer board. Board thickness is 1mm and current thickness from stackup 1.6mm when I open the stackup editor. Core is 1.51mm by default.

If I lock the Core and try to Set Dielectric Thickness, KiCad gives a message that it can't be calculated (target thickness < stackup thickness). When I dismiss the dialog KiCad crashes.

(Linux, GTK3.)

Application: Pcbnew
Version: (5.99.0-92-g14c417504), release build
    wxWidgets 3.0.4
Platform: Linux 4.15.0-60-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Compiler: GCC 7.4.0 with C++ ABI 1011

Build settings:

If you lock the dielectric thickness of a 2 layers board, the stack manager has not dielectric layer to adjust.
So it cannot adjust the stackup thickness.
However the crash should not happens.
Can you share your board?

Changed in kicad:
milestone: none → 6.0.0-rc1
importance: Undecided → Critical
eelik (eelik) wrote :

It's not project dependent. I created a new one from scratch. Went to stackup editor. Changed Board thickness to smaller than the current from stackup. Locked the Core layer. Clicked Set Dielectric Thickness. Clicked OK in the information dialog.

KiCad crashes every time with floating point exception.

KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 37fac7a8f2edf13f0433625bb4fb3e67656610a3

Changed in kicad:
status: New → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers