Skip to content

Pcbnew: Segfault when tuning single net length

Description

If I try to tune the net coming from pin 5 of the connector to the via in the picture, I will get a segfault. I have attached an archive of the project in the pictures below.

test.zip

Steps to reproduce

  1. Open the project and open Pcbnew

image

  1. Tune single track (Route -> Tune length of a single track)

image

  1. This will result in a segfault some random time later; I've seen from almost instantly, to about 15 or 20 seconds later.

KiCad Version

Application: Pcbnew

Version: 5.99.0-unknown-5982626~102~ubuntu18.04.1, release build

Libraries:
	wxWidgets 3.0.4
	libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3

Platform: Linux 4.15.0-112-generic x86_64, 64 bit, Little endian, wxGTK

Build Info:
	Date: Aug  4 2020 10:17:07
	wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
	Boost: 1.65.1
	OCE: 6.9.1
	Curl: 7.58.0
	ngspice: 32+
	Compiler: GCC 7.5.0 with C++ ABI 1011

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	BUILD_GITHUB_PLUGIN=ON
	KICAD_USE_OCE=ON
	KICAD_SPICE=ON