Crash when manipulating Zone corner
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> <!-- Add the issue details below this line and before the "Steps to reproduce" heading. --> Trying to verify the fix to #14254 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: 00007ffb`a9359102 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 <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> <!-- Add the steps to reproduce using the numbers below --> <!-- Add new step numbers before the "KiCad Version" heading. --> 1. Drag upper-right Zone conrner 2. See PCB editor crashes # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` 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 ```
issue