pcbnew crashes upon import of CadStar *.cpa

Description

When importing a CadStar PCB archive (*.cpa) KiCad crashes almost instanly after 'OK' on mapping layers.

Windows log shows exception was 0xc0000005

[edit for completeness] Archive file loads without problem in CadStar Design viewer [/edit]

Steps to reproduce

  1. Open new PCB file

  2. File->Import->Non-KiCad Board File

  3. Select *.cpa

  4. 'Auto-Match Layers'

  5. 'OK'

    FLT-4680 revision C.cpa

KiCad Version

Application: KiCad x64 on x64

Version: 8.0.1, 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:
Edited by ITO-Rob