Malformed footprint causes crash on load

Bug #1556424 reported by Chris Pavlina on 2016-03-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Low
Unassigned

Bug Description

I'm not sure where this footprint came from, as the user reporting the issue disappeared before I could ask. The attached footprint lists its layer as F.SilkS, which causes kicad to completely crash out when the module is loaded.

I really don't think "assert( false ); // do you really have modules placed on inner layers?" is a very good way to handle this. ;)

Confirmed as I can see the place in the code causing it, it's obvious...

Related branches

Chris Pavlina (pavlina-chris) wrote :
Daniel Silverstone (dsilvers) wrote :

Also, as someone who has, at times, wanted footprints which give particular copper features which could indeed be wanted on interior layers, yes I do want modules on inner layers :-)

Chris Pavlina (pavlina-chris) wrote :

Well, I can see how it would be useful, but a lot of things in the code would have to be changed to support it. At very least, here, there should be a useful error message emitted.

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers