pcbnew assertion failed @ rtree.h:1643
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Tomasz Wlostowski |
Bug Description
Sometimes, after netlist load in pcbnew, program will crash. Workaround for bug (in rtree implementation) have load netlist sucessfully is by step-by-step method:
Crash happens? -> Yes -> Remove some new added components in eeschema and generate new netlist -> Crashed again? Delete some components again...after sucessfull load in sequence (adding small amount of components in repeat).
Now - this mysterious state has been stored in my kicad_pcb file. So problem is now easy to reproduce. Oh ya, at last! I have tried to fix that problem by myself in code, but rtree structure is not easy to understand by me.
To reproduce:
pcbnew causes_
10:46:35: Debug: Adding locale lookup path: /usr/share/
10:46:36: Debug: Adding duplicate image handler for 'PNG file'
10:46:36: Debug: Adding duplicate image handler for 'JPEG file'
10:46:36: Debug: Adding duplicate image handler for 'TIFF file'
10:46:36: Debug: Adding duplicate image handler for 'GIF file'
10:46:36: Debug: Adding duplicate image handler for 'PNM file'
10:46:36: Debug: Adding duplicate image handler for 'PCX file'
10:46:36: Debug: Adding duplicate image handler for 'IFF file'
10:46:36: Debug: Adding duplicate image handler for 'Windows icon file'
10:46:36: Debug: Adding duplicate image handler for 'Windows cursor file'
10:46:36: Debug: Adding duplicate image handler for 'Windows animated cursor file'
10:46:36: Debug: Adding duplicate image handler for 'TGA file'
10:46:36: Debug: Adding duplicate image handler for 'XPM file'
10:46:37: Debug: Loading project '/tmp/causes_
10:46:37: Debug: Skipping general section token 'links'
10:46:37: Debug: Skipping general section token 'area'
10:46:37: Debug: Skipping general section token 'drawings'
10:46:37: Debug: Skipping general section token 'tracks'
10:46:37: Debug: Skipping general section token 'zones'
10:46:37: Debug: Skipping general section token 'symbol'
pcbnew: /build/
Application: pcbnew
Version: 4.0.7+dfsg1-1 release build
wxWidgets: Version 3.0.3 (debug,
Platform: Linux 4.2.3 i686, 32 bit, Little endian, wxGTK
Boost version: 1.62.0
Curl version: libcurl/7.50.1 OpenSSL/1.0.2h zlib/1.2.8 libidn/1.33 libssh2/1.7.0 nghttp2/1.30.0 librtmp/2.3
Changed in kicad: | |
importance: | Undecided → Critical |
milestone: | none → 5.0.0-rc2 |
tags: | removed: assert rtree |
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
@Jeff-
I'm not observing this issue with nightly on debian. Did you recreate it?