Microchip-MPLAB-Harmony / gfx

Harmony 3 Graphics library
https://microchip-mplab-harmony.github.io/gfx/
Other
17 stars 14 forks source link

Composer fails to start on macOS 14.2.1 upwards from gfx version 3.10 #38

Open janbernrader opened 4 months ago

janbernrader commented 4 months ago

I was trying to get the graphics suite running on my machine (MacOS 14.2.1) and Mplab X 6.20. The latest version that I was able to get to run was 3.10 all newer versions of the composer seem to be plagued by the same bug, that prevents it from starting:

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 0x000000010f3f21f0 Exception Codes: 0x0000000000000001, 0x000000010f3f21f0

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [1320]

VM Region Info: 0x10f3f21f0 is not in any region. Bytes after previous region: 8090097 Bytes before following region: 2350608 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL LINKEDIT 10ec03000-10ec3b000 [ 224K] r--/rwx SM=COW ...s/5/QtNetwork ---> GAP OF 0x9f5000 BYTES TEXT 10f630000-10fe14000 [ 8080K] r-x/rwx SM=COW ..._plugin.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10f3f21f0 ??? 1 composer 0x101d97a5b MGC::PluginManager::loadPlugin(MGC::PluginDescriptor const&) + 411 2 composer 0x101d7ff84 MGC::Core::initialize(std::1::map<QString, QString, std::1::less, std::1::allocator<std::1::pair<QString const, QString>>>) + 820 3 composer 0x101d9682b main + 171 4 dyld 0x7ff80767e386 start + 1942

Thread 1: 0 libsystem_pthread.dylib 0x7ff807a04b88 start_wqthread + 0

Thread 2: 0 libsystem_pthread.dylib 0x7ff807a04b88 start_wqthread + 0

Thread 3: 0 libsystem_pthread.dylib 0x7ff807a04b88 start_wqthread + 0

Thread 4: 0 libsystem_pthread.dylib 0x7ff807a04b88 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00007ff7be1b0148 rbx: 0x000000010f3f21f0 rcx: 0x0000000000000082 rdx: 0x0000000000000187 rdi: 0x00007f883a839f28 rsi: 0x0000000000000082 rbp: 0x00007ff7be1b0200 rsp: 0x00007ff7be1b0108 r8: 0x00007f883ac1e218 r9: 0x00000000fffffff8 r10: 0x00000000000003ff r11: 0x0000000000000000 r12: 0x00007ff7be1b0170 r13: 0x00006000018cd380 r14: 0x00007ff7be1b0150 r15: 0x00007ff7be1b0178 rip: 0x000000010f3f21f0 rfl: 0x0000000000010206 cr2: 0x000000010f3f21f0

Logical CPU: 2 Error Code: 0x00000014 (no mapping for user instruction read) Trap Number: 14

Binary Images: 0x10f630000 - 0x10fe13fff legato_plugin.dylib () /Users/USER//composer.app/Contents/MacOS/plugins/legato/legato_plugin.dylib 0x1040e3000 - 0x104117fff org.qt-project.QtXml (5.15) <4264985f-0dcb-3e0c-9a9a-6af5de67e86c> /Users/USER//composer.app/Contents/Frameworks/QtXml.framework/Versions/5/QtXml 0x10eae0000 - 0x10ebf0fff org.qt-project.QtNetwork (5.15) /Users/USER//composer.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork 0x1023e6000 - 0x1023f5fff libobjc-trampolines.dylib () /usr/lib/libobjc-trampolines.dylib 0x10e6a3000 - 0x10e739fff libqwebp.dylib () /Users/USER//composer.app/Contents/PlugIns/imageformats/libqwebp.dylib 0x1023de000 - 0x1023e2fff libqwbmp.dylib () <75d3fbd1-5eea-3c2e-b14e-822a265afa67> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqwbmp.dylib 0x104151000 - 0x1041b7fff libqtiff.dylib () <4a7c57bc-ce03-315d-a828-80b3502f75cc> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqtiff.dylib 0x1023d6000 - 0x1023dafff libqtga.dylib () /Users/USER//composer.app/Contents/PlugIns/imageformats/libqtga.dylib 0x1023cc000 - 0x1023d1fff libqsvg.dylib () <9d916600-e6be-32be-97c7-6659a6b8af46> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqsvg.dylib 0x102951000 - 0x102985fff org.qt-project.QtSvg (5.15) <11f2f083-b281-39fc-9b0a-081f047a6c85> /Users/USER//composer.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg 0x1023c2000 - 0x1023c7fff libqmacjp2.dylib () <6ebf7c32-c2dc-32ab-bd6f-e79f35b8095f> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqmacjp2.dylib 0x1023b7000 - 0x1023bdfff libqmacheif.dylib () /Users/USER//composer.app/Contents/PlugIns/imageformats/libqmacheif.dylib 0x1028e7000 - 0x10294bfff libqjpeg.dylib () <18b65be7-2104-3d96-9a0c-95dc8839ae72> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqjpeg.dylib 0x102362000 - 0x102367fff libqico.dylib () <6a858a22-8e2e-3f6d-b9ac-438c4749c8b7> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqico.dylib 0x10236e000 - 0x102375fff libqicns.dylib () <87d3521f-7d97-3b63-b928-0c60e87dca21> /Users/USER//composer.app/Contents/PlugIns/imageformats/libqicns.dylib 0x102357000 - 0x10235efff libqgif.dylib () /Users/USER//composer.app/Contents/PlugIns/imageformats/libqgif.dylib 0x102381000 - 0x1023a6fff libqmacstyle.dylib () <5b9adb30-04ac-325f-bb42-6e40df6d7e6a> /Users/USER//composer.app/Contents/PlugIns/styles/libqmacstyle.dylib 0x102131000 - 0x10229ffff libqcocoa.dylib () /Users/USER//composer.app/Contents/PlugIns/platforms/libqcocoa.dylib 0x101fee000 - 0x10204dfff org.qt-project.QtDBus (5.15) /Users/USER//composer.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus 0x102066000 - 0x102091fff org.qt-project.QtPrintSupport (5.15) /Users/USER//composer.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport 0x1029ee000 - 0x102e34fff org.qt-project.QtWidgets (5.15) /Users/USER//composer.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets 0x103596000 - 0x103a7ffff org.qt-project.QtGui (5.15) /Users/USER//composer.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui 0x1041ce000 - 0x10473efff org.qt-project.QtCore (5.15) /Users/USER//composer.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore 0x101d4f000 - 0x101e06fff com.microchip.composer () <5fab76c5-9796-3167-97a9-3d2ce5014027> /Users/USER//composer.app/Contents/MacOS/composer 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? 0x7ff807678000 - 0x7ff8077143bf dyld () /usr/lib/dyld 0x7ff807a03000 - 0x7ff807a0efff libsystem_pthread.dylib () /usr/lib/system/libsystem_pthread.dylib

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=529.9M resident=0K(0%) swapped_out_or_unallocated=529.9M(100%) Writable regions: Total=608.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=608.4M(100%)

Thanks for your help in advance, cheers!

MHGC commented 3 weeks ago

Hi, Thank you for letting us know.

We will look into this.