Skip to content

Cannot find component in netlist error, followed by crash if project is saved and re-opened.

Description

I have a project that resulted from a CADSTAR import. However, when I try to update the PCB from the schematic, it gives an error. If I save the project and then try to open it, KiCad crashes.

This is the message I get when trying to update the PCB from the schematic: cannot-find-component Then if I try to open the schematic after the project has been saved: crash-screenshot

Steps to reproduce

  1. (1a) Either use the project here: kicad2_1.zip or (1b): kicad2_2.zip or (1c) to recreate it from scratch, follow the steps in #17143 (closed) to import the CADSTAR file from scratch, then if doing (1c), repair the project using PCB Editor->Export->Footprints to new Library then PCB Editor->Tools->Update Schematic from PCB and select Re-link footprints to schematic symbols based on their reference designators.
  2. When the project 1a is opened, try to update the PCB from the schematic, and the error message as shown in the earlier screenshot becomes visible. When the project is saved and then opened (or if project 1b is opened), then the crash occurs.

KiCad Version

Application: KiCad x64 on x64

Version: 8.0.0, release build

Libraries: wxWidgets 3.2.4 FreeType 2.12.1 HarfBuzz 8.3.0 FontConfig 2.14.2 libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info: Date: Feb 23 2024 02:24:15 wxWidgets: 3.2.4 (wchar_t,wx containers) Boost: 1.83.0 OCC: 7.7.1 Curl: 8.5.0-DEV ngspice: 42 Compiler: Visual C++ 1936 without C++ ABI

Build settings:

Application: KiCad PCB Editor x64 on x64

Version: 8.0.0, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: