Crash when manipulating Zone corner
Description
Trying to verify the fix to #14254 (closed) in the recent testing, I've ecountered another (?) Crash scenario. Same operation, dragging a corner of the zone.
(3b0.3418): C++ EH exception - code e06d7363 (first chance)
(3b0.3418): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
_pcbnew!GetKicadPluginClass+0x9aac2:
00007ffba9359102 0f104010 movups xmm0,xmmword ptr [rax+10h] ds:baadf00d
baadf01d=???????????????????????????????
[0x0] _pcbnew!GetKicadPluginClass + 0x9aac2
[0x1] _pcbnew!GetKicadPluginClass + 0x65d22
[0x2] _pcbnew!GetKicadPluginClass + 0xa452f
[0x3] _pcbnew!GetKicadPluginClass + 0x94b01
[0x4] _pcbnew!Poly_Triangulation::HasCachedMinMax + 0x1d5c10
[0x5] _pcbnew!PNS::TOOL_BASE::updateStartItem + 0xbec81
[0x6] _pcbnew!make_fcontext + 0x5a
Here's the board file that exhibits the crash.
Steps to reproduce
- Drag upper-right Zone conrner
- See PCB editor crashes
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.1-5-g4e775a4090, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 12 2023 06:16:29
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON