EXC_BAD_ACCESS crash importing Eagle PCB
<!-- --------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. --> When trying to import an Eagle PCB (.BRD) file KiCAD crashes!! Tried with last published (7.01) and nightly versions with same result. MacOS provides the following report: ``` sh ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: kicad [15987] Path: /Applications/KiCad/KiCad.app/Contents/MacOS/kicad Identifier: org.kicad.kicad Version: 7.99.0-4149-g9db1dd5ec5 (7.99.0-4149-g9db1dd5ec5) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-01-02 18:42:04.6089 -0300 OS Version: macOS 13.3.1 (22E261) Report Version: 12 Anonymous UUID: 067648A0-7F6A-9AFA-3F0D-62692958CC2C Sleep/Wake UUID: 7C1F8C28-1231-42D2-95F9-A29E801F4423 Time Awake Since Boot: 1500000 seconds Time Since Wake: 6314 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000070 Exception Codes: 0x0000000000000001, 0x0000000000000070 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [15987] VM Region Info: 0x70 is not in any region. Bytes before following region: 105553518919568 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated) Kernel Triage: VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage ``` [Complete crash report](https://drive.google.com/file/d/1FFy8xvPfeXnLonfoRCPm4dOrKiJy4t5s/view?usp=sharing) # 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. Unzip this [EAGLE PCB file](https://drive.google.com/file/d/1Ds37Hay3ePwTX54q0ZnwGYyo8Oy0CY-5/view?usp=sharing) generated by TI Webench 2. Try to import it # 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 arm64 on arm64 Version: 7.99.0-4149-g9db1dd5ec5, release build Libraries: wxWidgets 3.2.4 FreeType 2.13.2 HarfBuzz 8.2.0 FontConfig 2.14.2 libcurl/7.87.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0 Platform: macOS Ventura Version 13.3.1 (Build 22E261), 64 bit, Little endian, wxMac Build Info: Date: Jan 2 2024 08:06:54 wxWidgets: 3.2.4 (wchar_t,wx containers) Boost: 1.82.0 OCC: 7.7.2 Curl: 7.87.0 ngspice: 42 Compiler: Clang 14.0.3 with C++ ABI 1002 Build settings: ```
issue