pcbnew crashes when changing footprint of new part

Bug #1379621 reported by Mark Roszko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Maciej Suminski

Bug Description

1. Place a footprint of sorts in schematic, I have a 1x10 connector, no connections to it.
2. Netlist it and generate a part match, I have the 1x10 straight connector from the headers pretty library
3. In PCBNew, right click on part, Footprint > Edit Parameters
4. Click Change Footprint
5. Click OK

This is generated in console:
kicad: /home/mark/kicad/pcbnew/ratsnest_data.cpp:931: void RN_DATA::Remove(const BOARD_ITEM*): Assertion `net < (int) m_nets.size()' failed.

Revision history for this message
Mark Roszko (mark-roszko) wrote :

This generally only happens on newly imported parts*. Parts that have been saved before are fine.

Revision history for this message
Blair Bonnett (bcb) wrote :

Confirmed on revision 5266.

Application: kicad
Version: (2014-11-12 BZR 5266)-product Debug build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.9.2,wx containers,compatible with 2.8)
Platform: Linux 3.17.2-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.57.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Changed in kicad:
importance: Undecided → Medium
status: New → Confirmed
Blair Bonnett (bcb)
summary: - pcbnew crash on footprint edit
+ pcbnew crashes when changing footprint of new part
Changed in kicad:
assignee: nobody → Maciej Sumiński (orsonmmz)
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Hi Mark,

Could you test if the problem is fixed with revision 5268? Thank you in advance.

Regards,
Orson

Changed in kicad:
status: Confirmed → Fix Committed
Revision history for this message
Mark Roszko (mark-roszko) wrote :

Doesn't crash anymore

Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
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.