Project-LemonLime / Project_LemonLime

为了 OI 比赛而生的基于 Lemon + LemonPlus 的轻量评测系统 | 三大桌面系统支持
GNU General Public License v3.0
565 stars 60 forks source link

[BUG]spdlog似乎出问题了 #215

Closed tofucurd closed 1 year ago

tofucurd commented 1 year ago

Describe the bug 描述一下这个 Bug 最新的提交中,使用Qt6手动编译后无法打开,使用Qt5则编译失败

To Reproduce 如何复现 这个commit

$ export CMAKE_PREFIX_PATH="/opt/homebrew/Cellar/qt/6.5.1_2"
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DLEMON_QT6=ON -GNinja
$ cmake --build ./build 

出现一下报告:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               lemon [64944]
Path:                  /Users/USER/*/lemon.app/Contents/MacOS/lemon
Identifier:            com.github.lemonlime
Version:               0.3.5 (0.3.5)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-07-31 20:27:27.5538 +0800
OS Version:            macOS 13.4 (22F66)
Report Version:        12
Anonymous UUID:        61BC6D3B-99E1-BA1D-FA36-E0E8710E72F1

Sleep/Wake UUID:       884FAFEC-067F-4E3A-9629-02DAF811A398

Time Awake Since Boot: 720000 seconds
Time Since Wake:       1436 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1a717c724 __pthread_kill + 8
1   libsystem_pthread.dylib                0x1a71b3c28 pthread_kill + 288
2   libsystem_c.dylib                      0x1a70c1ae8 abort + 180
3   libc++abi.dylib                        0x1a716cb84 abort_message + 132
4   libc++abi.dylib                        0x1a715c3b4 demangling_terminate_handler() + 320
5   libobjc.A.dylib                        0x1a6e3303c _objc_terminate() + 160
6   libc++abi.dylib                        0x1a716bf48 std::__terminate(void (*)()) + 16
7   libc++abi.dylib                        0x1a716ed34 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
8   libc++abi.dylib                        0x1a716ece0 __cxa_throw + 140
9   lemon                                  0x104304e1c spdlog::throw_spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) + 72
10  lemon                                  0x104369ae4 spdlog::details::file_helper::open(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool) + 636
11  lemon                                  0x10436a514 spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&) + 116
12  lemon                                  0x10436a5fc spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&) + 64
13  lemon                                  0x10445c760 std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&) + 168
14  lemon                                  0x10445c410 std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&) + 48
15  lemon                                  0x10445c2fc std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::allocate_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool, void>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>> const&, char const (&) [8], bool&&) + 64
16  lemon                                  0x10445bbe0 std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::make_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, char const (&) [8], bool, void>(char const (&) [8], bool&&) + 68
17  lemon                                  0x10445b9e0 initLogger() + 84
18  lemon                                  0x10445bd48 main + 32
19  dyld                                   0x1a6e5bf28 start + 2236

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

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

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00000001a7170618   x5: 0x000000016bb0efa0   x6: 0x000000000000006d   x7: 0x00000000000007e0
    x8: 0x24113b282adcc15a   x9: 0x24113b2a28c7df5a  x10: 0x0000000000000200  x11: 0x000000000000003e
   x12: 0x000000000000003e  x13: 0x00000000ffffff9b  x14: 0x00000000000007fb  x15: 0x000000008ce327fb
   x16: 0x0000000000000148  x17: 0x0000000206cd4f60  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x00000002021b1e00  x21: 0x0000000000000103  x22: 0x00000002021b1ee0  x23: 0x00006000014180a0
   x24: 0x000000016bb0f940  x25: 0x0000000000000001  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016bb0ef10   lr: 0x00000001a71b3c28
    sp: 0x000000016bb0eef0   pc: 0x00000001a717c724 cpsr: 0x40001000
   far: 0x0000000104623d74  esr: 0x56000080  Address size fault

Binary Images:
       0x1042f0000 -        0x10463bfff com.github.lemonlime (0.3.5) <5f2581ae-dcab-30f7-a601-4f59e93af43e> /Users/USER/*/lemon.app/Contents/MacOS/lemon
       0x104fdc000 -        0x1053b3fff org.qt-project.QtWidgets (6.5) <942ca24f-a657-3c39-8aa7-a82b350eeaa6> /opt/homebrew/*/QtWidgets.framework/Versions/A/QtWidgets
       0x105cd0000 -        0x1060cffff org.qt-project.QtGui (6.5) <977c7a1d-a650-35fc-b885-53d8cf8e8609> /opt/homebrew/*/QtGui.framework/Versions/A/QtGui
       0x104b20000 -        0x104c0bfff org.qt-project.QtNetwork (6.5) <8c6f74ec-2e03-3a38-a89c-29b591571f28> /opt/homebrew/*/QtNetwork.framework/Versions/A/QtNetwork
       0x106360000 -        0x106707fff org.qt-project.QtCore (6.5) <f0f3e1d7-cb2a-38cc-b5b0-bc3691c722f3> /opt/homebrew/*/QtCore.framework/Versions/A/QtCore
       0x104cd0000 -        0x104dbffff libglib-2.0.0.dylib (*) <490772f7-2b9c-3b51-83ab-17de728c0f78> /opt/homebrew/*/libglib-2.0.0.dylib
       0x104df8000 -        0x104e67fff org.qt-project.QtDBus (6.5) <9f6a32ef-af7b-310c-85d2-c30460c95524> /opt/homebrew/*/QtDBus.framework/Versions/A/QtDBus
       0x1049a4000 -        0x1049c7fff libpng16.16.dylib (*) <6557e5a9-1005-3d77-b69f-62f552ee7570> /opt/homebrew/*/libpng16.16.dylib
       0x105648000 -        0x105703fff libharfbuzz.0.dylib (*) <0eb7b291-193f-3504-a6c0-ba01ae238a7e> /opt/homebrew/*/libharfbuzz.0.dylib
       0x104988000 -        0x104993fff libmd4c.0.4.8.dylib (*) <734723f3-4242-3c84-977a-0ed5beb4f1c5> /opt/homebrew/*/libmd4c.0.4.8.dylib
       0x104a78000 -        0x104af3fff libfreetype.6.dylib (*) <cf9bba6f-3a0a-3b34-b364-d9379ee419e0> /opt/homebrew/*/libfreetype.6.dylib
       0x1049d8000 -        0x1049dbfff libgthread-2.0.0.dylib (*) <534626aa-4635-331a-a8f8-23b6de6cdb84> /opt/homebrew/*/libgthread-2.0.0.dylib
       0x104a04000 -        0x104a0ffff libintl.8.dylib (*) <2b7b2fac-969c-3b08-82a1-a60bb7156b81> /opt/homebrew/*/libintl.8.dylib
       0x10576c000 -        0x1057dffff libpcre2-8.0.dylib (*) <2a661909-9b11-3fd4-b022-97709debc0e7> /opt/homebrew/*/libpcre2-8.0.dylib
       0x104ee4000 -        0x104f13fff libdbus-1.3.dylib (*) <a8998ff9-f16a-3999-b19b-06a18fbfd552> /opt/homebrew/*/libdbus-1.3.dylib
       0x1068f0000 -        0x106a7bfff libicui18n.73.2.dylib (*) <ac7ad526-d2a3-32ff-86a1-e6d7c801314d> /opt/homebrew/*/libicui18n.73.2.dylib
       0x1059a4000 -        0x105ad3fff libicuuc.73.2.dylib (*) <1b3a8563-e617-37ee-b943-3a1266a41e99> /opt/homebrew/*/libicuuc.73.2.dylib
       0x108a78000 -        0x10a907fff libicudata.73.2.dylib (*) <924ed196-193c-3ed9-b403-40f8690348f1> /opt/homebrew/*/libicudata.73.2.dylib
       0x1049e8000 -        0x1049f3fff libdouble-conversion.3.3.0.dylib (*) <d80a902c-3014-32f2-9a49-b1efcc044bc1> /opt/homebrew/*/libdouble-conversion.3.3.0.dylib
       0x104a20000 -        0x104a27fff libb2.1.dylib (*) <4e1c175b-9164-3156-8288-9521f88d4379> /opt/homebrew/*/libb2.1.dylib
       0x1057f4000 -        0x10585ffff libpcre2-16.0.dylib (*) <59c863d4-6c8f-3859-9da8-399f2513aba9> /opt/homebrew/*/libpcre2-16.0.dylib
       0x104f34000 -        0x104f47fff libgraphite2.3.2.1.dylib (*) <1bbb20c8-b0d3-318a-a229-f81c8a8dd304> /opt/homebrew/*/libgraphite2.3.2.1.dylib
       0x104a34000 -        0x104a3ffff libbrotlidec.1.0.9.dylib (*) <e2ae138a-a255-3a3c-a296-438b613aedd7> /opt/homebrew/*/libbrotlidec.1.0.9.dylib
       0x104f58000 -        0x104f77fff libbrotlicommon.1.0.9.dylib (*) <14a9b6f2-ecdb-3d6f-aad3-0577ffed1a0d> /opt/homebrew/*/libbrotlicommon.1.0.9.dylib
       0x1058f8000 -        0x105917fff com.apple.security.csparser (3.0) <ab8de20f-ecaa-3540-8abe-fcf57e740bec> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser
       0x1a7173000 -        0x1a71acfe7 libsystem_kernel.dylib (*) <42f503e2-9273-360a-a086-c1b19bbd3962> /usr/lib/system/libsystem_kernel.dylib
       0x1a71ad000 -        0x1a71b9fff libsystem_pthread.dylib (*) <46d35233-a051-3f4f-bba4-ba56dddc4d1a> /usr/lib/system/libsystem_pthread.dylib
       0x1a704b000 -        0x1a70c9ff7 libsystem_c.dylib (*) <95a70e20-1df3-3ddf-900c-315ed0b2c067> /usr/lib/system/libsystem_c.dylib
       0x1a7157000 -        0x1a7172fff libc++abi.dylib (*) <52aa13e2-567c-36c2-9494-7b892fdbf245> /usr/lib/libc++abi.dylib
       0x1a6e10000 -        0x1a6e55f3f libobjc.A.dylib (*) <5beafa2b-3af4-3ed2-b054-1f58a7c851ef> /usr/lib/libobjc.A.dylib
       0x1a6e56000 -        0x1a6ee4553 dyld (*) <bd993f39-c902-37d6-8bd8-6d827c7f121e> /usr/lib/dyld

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: 107
    thread_create: 0
    thread_set_state: 2110

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           171.2M       17 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)         240.0M        2         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.0M        3 
Stack                             9296K        4 
__AUTH                             575K      133 
__AUTH_CONST                      11.2M      279 
__DATA                            2975K      282 
__DATA_CONST                      14.8M      304 
__DATA_DIRTY                       678K       97 
__FONT_DATA                        2352        1 
__LINKEDIT                       815.3M       26 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2011K        1 
__TEXT                           265.4M      319 
dyld private memory                272K        2 
mapped file                       29.1M        3 
shared memory                       64K        4 
===========                     =======  ======= 
TOTAL                              2.0G     1486 
TOTAL, minus reserved VM space     1.4G     1486 

-----------
Full Report
-----------

{"app_name":"lemon","timestamp":"2023-07-31 20:27:27.00 +0800","app_version":"0.3.5","slice_uuid":"5f2581ae-dcab-30f7-a601-4f59e93af43e","build_version":"0.3.5","platform":1,"bundleID":"com.github.lemonlime","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.4 (22F66)","roots_installed":0,"name":"lemon","incident_id":"87573D12-BA9B-47CC-8602-9D84CA6A0E1E"}
{
  "uptime" : 720000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 69481,
  "osVersion" : {
    "train" : "macOS 13.4",
    "build" : "22F66",
    "releaseType" : "User"
  },
  "captureTime" : "2023-07-31 20:27:27.5538 +0800",
  "incident" : "87573D12-BA9B-47CC-8602-9D84CA6A0E1E",
  "pid" : 64944,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-07-31 20:27:27.4470 +0800",
  "procStartAbsTime" : 17418978167832,
  "procExitAbsTime" : 17418980654929,
  "procName" : "lemon",
  "procPath" : "\/Users\/USER\/*\/lemon.app\/Contents\/MacOS\/lemon",
  "bundleInfo" : {"CFBundleShortVersionString":"0.3.5","CFBundleVersion":"0.3.5","CFBundleIdentifier":"com.github.lemonlime"},
  "storeInfo" : {"deviceIdentifierForVendor":"F2D952DB-E1FC-554F-A331-9F396EE226FD","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.github.lemonlime",
  "crashReporterKey" : "61BC6D3B-99E1-BA1D-FA36-E0E8710E72F1",
  "codeSigningID" : "lemon",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570556929,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 0,
  "wakeTime" : 1436,
  "sleepWakeUUID" : "884FAFEC-067F-4E3A-9629-02DAF811A398",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2110,"task_for_pid":107},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":9642233,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":7098271256},{"value":6101725088},{"value":109},{"value":2016},{"value":2598923503673327962},{"value":2598923512228339546},{"value":512},{"value":62},{"value":62},{"value":4294967195},{"value":2043},{"value":2363697147},{"value":328},{"value":8704053088},{"value":0},{"value":6},{"value":8625266176,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":8625266400,"symbolLocation":224,"symbol":"_main_thread"},{"value":105553137336480},{"value":6101727552},{"value":1},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7098547240},"cpsr":{"value":1073745920},"fp":{"value":6101724944},"sp":{"value":6101724912},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7098320676,"matchesCrashFrame":1},"far":{"value":4368514420}},"queue":"com.apple.main-thread","frames":[{"imageOffset":38692,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":25},{"imageOffset":27688,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":26},{"imageOffset":486120,"symbol":"abort","symbolLocation":180,"imageIndex":27},{"imageOffset":88964,"symbol":"abort_message","symbolLocation":132,"imageIndex":28},{"imageOffset":21428,"symbol":"demangling_terminate_handler()","symbolLocation":320,"imageIndex":28},{"imageOffset":143420,"symbol":"_objc_terminate()","symbolLocation":160,"imageIndex":29},{"imageOffset":85832,"symbol":"std::__terminate(void (*)())","symbolLocation":16,"imageIndex":28},{"imageOffset":97588,"symbol":"__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*)","symbolLocation":36,"imageIndex":28},{"imageOffset":97504,"symbol":"__cxa_throw","symbolLocation":140,"imageIndex":28},{"imageOffset":85532,"symbol":"spdlog::throw_spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int)","symbolLocation":72,"imageIndex":0},{"imageOffset":498404,"symbol":"spdlog::details::file_helper::open(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool)","symbolLocation":636,"imageIndex":0},{"imageOffset":501012,"symbol":"spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&)","symbolLocation":116,"imageIndex":0},{"imageOffset":501244,"symbol":"spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&)","symbolLocation":64,"imageIndex":0},{"imageOffset":1492832,"symbol":"std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&)","symbolLocation":168,"imageIndex":0},{"imageOffset":1491984,"symbol":"std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&)","symbolLocation":48,"imageIndex":0},{"imageOffset":1491708,"symbol":"std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::allocate_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool, void>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>> const&, char const (&) [8], bool&&)","symbolLocation":64,"imageIndex":0},{"imageOffset":1489888,"symbol":"std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::make_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, char const (&) [8], bool, void>(char const (&) [8], bool&&)","symbolLocation":68,"imageIndex":0},{"imageOffset":1489376,"symbol":"initLogger()","symbolLocation":84,"imageIndex":0},{"imageOffset":1490248,"symbol":"main","symbolLocation":32,"imageIndex":0},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":30}]},{"id":9642253,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":26}]},{"id":9642254,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":26}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4365156352,
    "CFBundleShortVersionString" : "0.3.5",
    "CFBundleIdentifier" : "com.github.lemonlime",
    "size" : 3457024,
    "uuid" : "5f2581ae-dcab-30f7-a601-4f59e93af43e",
    "path" : "\/Users\/USER\/*\/lemon.app\/Contents\/MacOS\/lemon",
    "name" : "lemon",
    "CFBundleVersion" : "0.3.5"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378705920,
    "CFBundleShortVersionString" : "6.5",
    "CFBundleIdentifier" : "org.qt-project.QtWidgets",
    "size" : 4030464,
    "uuid" : "942ca24f-a657-3c39-8aa7-a82b350eeaa6",
    "path" : "\/opt\/homebrew\/*\/QtWidgets.framework\/Versions\/A\/QtWidgets",
    "name" : "QtWidgets",
    "CFBundleVersion" : "6.5.1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4392288256,
    "CFBundleShortVersionString" : "6.5",
    "CFBundleIdentifier" : "org.qt-project.QtGui",
    "size" : 4194304,
    "uuid" : "977c7a1d-a650-35fc-b885-53d8cf8e8609",
    "path" : "\/opt\/homebrew\/*\/QtGui.framework\/Versions\/A\/QtGui",
    "name" : "QtGui",
    "CFBundleVersion" : "6.5.1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4373741568,
    "CFBundleShortVersionString" : "6.5",
    "CFBundleIdentifier" : "org.qt-project.QtNetwork",
    "size" : 966656,
    "uuid" : "8c6f74ec-2e03-3a38-a89c-29b591571f28",
    "path" : "\/opt\/homebrew\/*\/QtNetwork.framework\/Versions\/A\/QtNetwork",
    "name" : "QtNetwork",
    "CFBundleVersion" : "6.5.1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4399169536,
    "CFBundleShortVersionString" : "6.5",
    "CFBundleIdentifier" : "org.qt-project.QtCore",
    "size" : 3833856,
    "uuid" : "f0f3e1d7-cb2a-38cc-b5b0-bc3691c722f3",
    "path" : "\/opt\/homebrew\/*\/QtCore.framework\/Versions\/A\/QtCore",
    "name" : "QtCore",
    "CFBundleVersion" : "6.5.1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4375511040,
    "size" : 983040,
    "uuid" : "490772f7-2b9c-3b51-83ab-17de728c0f78",
    "path" : "\/opt\/homebrew\/*\/libglib-2.0.0.dylib",
    "name" : "libglib-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376723456,
    "CFBundleShortVersionString" : "6.5",
    "CFBundleIdentifier" : "org.qt-project.QtDBus",
    "size" : 458752,
    "uuid" : "9f6a32ef-af7b-310c-85d2-c30460c95524",
    "path" : "\/opt\/homebrew\/*\/QtDBus.framework\/Versions\/A\/QtDBus",
    "name" : "QtDBus",
    "CFBundleVersion" : "6.5.1"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372185088,
    "size" : 147456,
    "uuid" : "6557e5a9-1005-3d77-b69f-62f552ee7570",
    "path" : "\/opt\/homebrew\/*\/libpng16.16.dylib",
    "name" : "libpng16.16.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4385439744,
    "size" : 770048,
    "uuid" : "0eb7b291-193f-3504-a6c0-ba01ae238a7e",
    "path" : "\/opt\/homebrew\/*\/libharfbuzz.0.dylib",
    "name" : "libharfbuzz.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372070400,
    "size" : 49152,
    "uuid" : "734723f3-4242-3c84-977a-0ed5beb4f1c5",
    "path" : "\/opt\/homebrew\/*\/libmd4c.0.4.8.dylib",
    "name" : "libmd4c.0.4.8.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4373053440,
    "size" : 507904,
    "uuid" : "cf9bba6f-3a0a-3b34-b364-d9379ee419e0",
    "path" : "\/opt\/homebrew\/*\/libfreetype.6.dylib",
    "name" : "libfreetype.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372398080,
    "size" : 16384,
    "uuid" : "534626aa-4635-331a-a8f8-23b6de6cdb84",
    "path" : "\/opt\/homebrew\/*\/libgthread-2.0.0.dylib",
    "name" : "libgthread-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372578304,
    "size" : 49152,
    "uuid" : "2b7b2fac-969c-3b08-82a1-a60bb7156b81",
    "path" : "\/opt\/homebrew\/*\/libintl.8.dylib",
    "name" : "libintl.8.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4386635776,
    "size" : 475136,
    "uuid" : "2a661909-9b11-3fd4-b022-97709debc0e7",
    "path" : "\/opt\/homebrew\/*\/libpcre2-8.0.dylib",
    "name" : "libpcre2-8.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377690112,
    "size" : 196608,
    "uuid" : "a8998ff9-f16a-3999-b19b-06a18fbfd552",
    "path" : "\/opt\/homebrew\/*\/libdbus-1.3.dylib",
    "name" : "libdbus-1.3.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4405002240,
    "size" : 1622016,
    "uuid" : "ac7ad526-d2a3-32ff-86a1-e6d7c801314d",
    "path" : "\/opt\/homebrew\/*\/libicui18n.73.2.dylib",
    "name" : "libicui18n.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4388962304,
    "size" : 1245184,
    "uuid" : "1b3a8563-e617-37ee-b943-3a1266a41e99",
    "path" : "\/opt\/homebrew\/*\/libicuuc.73.2.dylib",
    "name" : "libicuuc.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4440162304,
    "size" : 32047104,
    "uuid" : "924ed196-193c-3ed9-b403-40f8690348f1",
    "path" : "\/opt\/homebrew\/*\/libicudata.73.2.dylib",
    "name" : "libicudata.73.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372463616,
    "size" : 49152,
    "uuid" : "d80a902c-3014-32f2-9a49-b1efcc044bc1",
    "path" : "\/opt\/homebrew\/*\/libdouble-conversion.3.3.0.dylib",
    "name" : "libdouble-conversion.3.3.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372692992,
    "size" : 32768,
    "uuid" : "4e1c175b-9164-3156-8288-9521f88d4379",
    "path" : "\/opt\/homebrew\/*\/libb2.1.dylib",
    "name" : "libb2.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4387192832,
    "size" : 442368,
    "uuid" : "59c863d4-6c8f-3859-9da8-399f2513aba9",
    "path" : "\/opt\/homebrew\/*\/libpcre2-16.0.dylib",
    "name" : "libpcre2-16.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378017792,
    "size" : 81920,
    "uuid" : "1bbb20c8-b0d3-318a-a229-f81c8a8dd304",
    "path" : "\/opt\/homebrew\/*\/libgraphite2.3.2.1.dylib",
    "name" : "libgraphite2.3.2.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372774912,
    "size" : 49152,
    "uuid" : "e2ae138a-a255-3a3c-a296-438b613aedd7",
    "path" : "\/opt\/homebrew\/*\/libbrotlidec.1.0.9.dylib",
    "name" : "libbrotlidec.1.0.9.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378165248,
    "size" : 131072,
    "uuid" : "14a9b6f2-ecdb-3d6f-aad3-0577ffed1a0d",
    "path" : "\/opt\/homebrew\/*\/libbrotlicommon.1.0.9.dylib",
    "name" : "libbrotlicommon.1.0.9.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4388257792,
    "CFBundleShortVersionString" : "3.0",
    "CFBundleIdentifier" : "com.apple.security.csparser",
    "size" : 131072,
    "uuid" : "ab8de20f-ecaa-3540-8abe-fcf57e740bec",
    "path" : "\/System\/Library\/Frameworks\/Security.framework\/Versions\/A\/PlugIns\/csparser.bundle\/Contents\/MacOS\/csparser",
    "name" : "csparser",
    "CFBundleVersion" : "60420.121.2"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098281984,
    "size" : 237544,
    "uuid" : "42f503e2-9273-360a-a086-c1b19bbd3962",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098519552,
    "size" : 53248,
    "uuid" : "46d35233-a051-3f4f-bba4-ba56dddc4d1a",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7097069568,
    "size" : 520184,
    "uuid" : "95a70e20-1df3-3ddf-900c-315ed0b2c067",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098167296,
    "size" : 114688,
    "uuid" : "52aa13e2-567c-36c2-9494-7b892fdbf245",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7094730752,
    "size" : 286528,
    "uuid" : "5beafa2b-3af4-3ed2-b054-1f58a7c851ef",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7095017472,
    "size" : 582996,
    "uuid" : "bd993f39-c902-37d6-8bd8-6d827c7f121e",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 7094353920,
  "size" : 3551805440,
  "uuid" : "7d9faa84-5c6b-3ef4-9379-faba64346673"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=804.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=804.8M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           171.2M       17 \nMALLOC guard page                   96K        5 \nMALLOC_MEDIUM (reserved)         240.0M        2         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        3 \nStack                             9296K        4 \n__AUTH                             575K      133 \n__AUTH_CONST                      11.2M      279 \n__DATA                            2975K      282 \n__DATA_CONST                      14.8M      304 \n__DATA_DIRTY                       678K       97 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       815.3M       26 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2011K        1 \n__TEXT                           265.4M      319 \ndyld private memory                272K        2 \nmapped file                       29.1M        3 \nshared memory                       64K        4 \n===========                     =======  ======= \nTOTAL                              2.0G     1486 \nTOTAL, minus reserved VM space     1.4G     1486 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "547e1057e94604ef8a4399a8fea0ee3cae2f1e1c",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62699e1ec1ff2978b47f6c3b",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb"
      },
      "deploymentId" : 240000023
    },
    {
      "rolloutId" : "6391cacc75b0720ff1f8c695",
      "factorPackIds" : {
        "COREOS_ICD" : "63957f508061fa721c8edc4a"
      },
      "deploymentId" : 240000007
    }

PS. CMAKE_BUILD_TYPE不管是什么都不行

Expected behavior 期望获得的结果 成功打开

Environment: 环境: macOS 13.4; Apple M1 Pro 8core 16G

$ clang++ --version                                                    
Homebrew clang version 16.0.6
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin

Additional context 其他信息 有可能是arm+spdlog的问题?

alphagocc commented 1 year ago

可能是默认 log 路径有点问题

alphagocc commented 1 year ago

qt5 编译失败可以贴 log 吗

tofucurd commented 1 year ago

qt5 编译失败可以贴 log 吗

qt5编译没有问题,我自己配置错了。

但是qt5下依旧打不开:

------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               lemon [13804]
Path:                  /Users/USER/*/lemon.app/Contents/MacOS/lemon
Identifier:            com.github.lemonlime
Version:               0.3.5 (0.3.5)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-08-01 11:58:59.2981 +0800
OS Version:            macOS 13.4 (22F66)
Report Version:        12
Anonymous UUID:        61BC6D3B-99E1-BA1D-FA36-E0E8710E72F1

Sleep/Wake UUID:       1DC35FAA-393A-4837-82B2-A8A8D0EF214E

Time Awake Since Boot: 730000 seconds
Time Since Wake:       754 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1a717c724 __pthread_kill + 8
1   libsystem_pthread.dylib                0x1a71b3c28 pthread_kill + 288
2   libsystem_c.dylib                      0x1a70c1ae8 abort + 180
3   libc++abi.dylib                        0x1a716cb84 abort_message + 132
4   libc++abi.dylib                        0x1a715c3b4 demangling_terminate_handler() + 320
5   libobjc.A.dylib                        0x1a6e3303c _objc_terminate() + 160
6   libc++abi.dylib                        0x1a716bf48 std::__terminate(void (*)()) + 16
7   libc++abi.dylib                        0x1a716ed34 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
8   libc++abi.dylib                        0x1a716ece0 __cxa_throw + 140
9   lemon                                  0x10236ba24 spdlog::throw_spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int) + 72 (common-inl.h:74)
10  lemon                                  0x1023d07b8 spdlog::details::file_helper::open(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool) + 636 (file_helper-inl.h:73)
11  lemon                                  0x1023d11e8 spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&) + 116 (basic_file_sink-inl.h:20)
12  lemon                                  0x1023d12d0 spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&) + 64 (basic_file_sink-inl.h:19)
13  lemon                                  0x102489d98 std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&) + 168
14  lemon                                  0x102489a48 std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&) + 48
15  lemon                                  0x102489934 std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::allocate_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool, void>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>> const&, char const (&) [8], bool&&) + 64
16  lemon                                  0x1024891f8 std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::make_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, char const (&) [8], bool, void>(char const (&) [8], bool&&) + 68
17  lemon                                  0x102488ff8 initLogger() + 84
18  lemon                                  0x102489360 main + 32
19  dyld                                   0x1a6e5bf28 start + 2236

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

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

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00000001a7170618   x5: 0x000000016daa2fe0   x6: 0x000000000000006d   x7: 0x00000000000007e0
    x8: 0x0702294785c3ae0d   x9: 0x0702294587d8b00d  x10: 0x0000000000000200  x11: 0x000000000000003e
   x12: 0x000000000000003e  x13: 0x0000000018080008  x14: 0x00000000ffffffff  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x0000000206cd4f60  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x00000002021b1e00  x21: 0x0000000000000103  x22: 0x00000002021b1ee0  x23: 0x0000000142c06920
   x24: 0x000000016daa3920  x25: 0x0000000000000001  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016daa2f50   lr: 0x00000001a71b3c28
    sp: 0x000000016daa2f30   pc: 0x00000001a717c724 cpsr: 0x40001000
   far: 0x0000000102645654  esr: 0x56000080  Address size fault

Binary Images:
       0x10235c000 -        0x10265bfff com.github.lemonlime (0.3.5) <145025c5-8ee0-3ac0-ba5d-4648016b334d> /Users/USER/*/lemon.app/Contents/MacOS/lemon
       0x103000000 -        0x10340ffff org.qt-project.QtWidgets (5.15) <cee77dcb-3204-3b54-8976-10b93511dd41> /opt/homebrew/*/QtWidgets.framework/Versions/5/QtWidgets
       0x103b14000 -        0x103f7ffff org.qt-project.QtGui (5.15) <60a076c5-7a7b-379f-b183-908267e2772c> /opt/homebrew/*/QtGui.framework/Versions/5/QtGui
       0x102bd8000 -        0x102cdbfff org.qt-project.QtNetwork (5.15) <e1c1846e-2eab-3ec7-b39d-3fe4713fa9e7> /opt/homebrew/*/QtNetwork.framework/Versions/5/QtNetwork
       0x1040a8000 -        0x104527fff org.qt-project.QtCore (5.15) <f201db83-9cab-351b-9318-c2ecc962059f> /opt/homebrew/*/QtCore.framework/Versions/5/QtCore
       0x102ab0000 -        0x102ad3fff libpng16.16.dylib (*) <6557e5a9-1005-3d77-b69f-62f552ee7570> /opt/homebrew/*/libpng16.16.dylib
       0x102d34000 -        0x102d9ffff libpcre2-16.0.dylib (*) <59c863d4-6c8f-3859-9da8-399f2513aba9> /opt/homebrew/*/libpcre2-16.0.dylib
       0x102db4000 -        0x102e57fff libzstd.1.5.5.dylib (*) <9cc1e4e5-da83-3b83-a1b9-b4f1ccc5d596> /opt/homebrew/*/libzstd.1.5.5.dylib
       0x102a8c000 -        0x102a8ffff libgthread-2.0.0.dylib (*) <534626aa-4635-331a-a8f8-23b6de6cdb84> /opt/homebrew/*/libgthread-2.0.0.dylib
       0x103588000 -        0x103677fff libglib-2.0.0.dylib (*) <490772f7-2b9c-3b51-83ab-17de728c0f78> /opt/homebrew/*/libglib-2.0.0.dylib
       0x102b00000 -        0x102b0bfff libintl.8.dylib (*) <2b7b2fac-969c-3b08-82a1-a60bb7156b81> /opt/homebrew/*/libintl.8.dylib
       0x102e74000 -        0x102ee7fff libpcre2-8.0.dylib (*) <2a661909-9b11-3fd4-b022-97709debc0e7> /opt/homebrew/*/libpcre2-8.0.dylib
       0x1a7173000 -        0x1a71acfe7 libsystem_kernel.dylib (*) <42f503e2-9273-360a-a086-c1b19bbd3962> /usr/lib/system/libsystem_kernel.dylib
       0x1a71ad000 -        0x1a71b9fff libsystem_pthread.dylib (*) <46d35233-a051-3f4f-bba4-ba56dddc4d1a> /usr/lib/system/libsystem_pthread.dylib
       0x1a704b000 -        0x1a70c9ff7 libsystem_c.dylib (*) <95a70e20-1df3-3ddf-900c-315ed0b2c067> /usr/lib/system/libsystem_c.dylib
       0x1a7157000 -        0x1a7172fff libc++abi.dylib (*) <52aa13e2-567c-36c2-9494-7b892fdbf245> /usr/lib/libc++abi.dylib
       0x1a6e10000 -        0x1a6e55f3f libobjc.A.dylib (*) <5beafa2b-3af4-3ed2-b054-1f58a7c851ef> /usr/lib/libobjc.A.dylib
       0x1a6e56000 -        0x1a6ee4553 dyld (*) <bd993f39-c902-37d6-8bd8-6d827c7f121e> /usr/lib/dyld

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: 107
    thread_create: 0
    thread_set_state: 2110

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=128.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=128.8M(100%)
tofucurd commented 1 year ago
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Dispatch continuations            64.0M        1 
Kernel Alloc Once                   32K        1 
MALLOC                            55.1M       19 
MALLOC guard page                   96K        6 
STACK GUARD                       56.0M        3 
Stack                             9264K        3 
__AUTH                             575K      133 
__AUTH_CONST                      11.2M      279 
__DATA                            3215K      277 
__DATA_CONST                      14.3M      292 
__DATA_DIRTY                       678K       97 
__FONT_DATA                        2352        1 
__LINKEDIT                       809.1M       13 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2011K        1 
__TEXT                           231.7M      306 
dyld private memory                272K        2 
mapped file                       29.1M        3 
shared memory                       64K        4 
===========                     =======  ======= 
TOTAL                              1.3G     1443

-----------
Full Report
-----------

{"app_name":"lemon","timestamp":"2023-08-01 11:58:59.00 +0800","app_version":"0.3.5","slice_uuid":"145025c5-8ee0-3ac0-ba5d-4648016b334d","build_version":"0.3.5","platform":1,"bundleID":"com.github.lemonlime","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.4 (22F66)","roots_installed":0,"name":"lemon","incident_id":"DE881ABF-96FC-40F5-AF9C-936E1EFF66F6"}
{
  "uptime" : 730000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 69481,
  "osVersion" : {
    "train" : "macOS 13.4",
    "build" : "22F66",
    "releaseType" : "User"
  },
  "captureTime" : "2023-08-01 11:58:59.2981 +0800",
  "incident" : "DE881ABF-96FC-40F5-AF9C-936E1EFF66F6",
  "pid" : 13804,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-08-01 11:58:59.2167 +0800",
  "procStartAbsTime" : 17724063839267,
  "procExitAbsTime" : 17724065392954,
  "procName" : "lemon",
  "procPath" : "\/Users\/USER\/*\/lemon.app\/Contents\/MacOS\/lemon",
  "bundleInfo" : {"CFBundleShortVersionString":"0.3.5","CFBundleVersion":"0.3.5","CFBundleIdentifier":"com.github.lemonlime"},
  "storeInfo" : {"deviceIdentifierForVendor":"F2D952DB-E1FC-554F-A331-9F396EE226FD","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.github.lemonlime",
  "crashReporterKey" : "61BC6D3B-99E1-BA1D-FA36-E0E8710E72F1",
  "codeSigningID" : "lemon",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570556929,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 0,
  "wakeTime" : 754,
  "sleepWakeUUID" : "1DC35FAA-393A-4837-82B2-A8A8D0EF214E",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2110,"task_for_pid":107},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":9983905,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":7098271256},{"value":6134837216},{"value":109},{"value":2016},{"value":505011495382527501},{"value":505011486827524109},{"value":512},{"value":62},{"value":62},{"value":403177480},{"value":4294967295},{"value":0},{"value":328},{"value":8704053088},{"value":0},{"value":6},{"value":8625266176,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":8625266400,"symbolLocation":224,"symbol":"_main_thread"},{"value":5414873376},{"value":6134839584},{"value":1},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7098547240},"cpsr":{"value":1073745920},"fp":{"value":6134837072},"sp":{"value":6134837040},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7098320676,"matchesCrashFrame":1},"far":{"value":4335097428}},"queue":"com.apple.main-thread","frames":[{"imageOffset":38692,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":12},{"imageOffset":27688,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":13},{"imageOffset":486120,"symbol":"abort","symbolLocation":180,"imageIndex":14},{"imageOffset":88964,"symbol":"abort_message","symbolLocation":132,"imageIndex":15},{"imageOffset":21428,"symbol":"demangling_terminate_handler()","symbolLocation":320,"imageIndex":15},{"imageOffset":143420,"symbol":"_objc_terminate()","symbolLocation":160,"imageIndex":16},{"imageOffset":85832,"symbol":"std::__terminate(void (*)())","symbolLocation":16,"imageIndex":15},{"imageOffset":97588,"symbol":"__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*)","symbolLocation":36,"imageIndex":15},{"imageOffset":97504,"symbol":"__cxa_throw","symbolLocation":140,"imageIndex":15},{"imageOffset":64036,"sourceLine":74,"sourceFile":"common-inl.h","symbol":"spdlog::throw_spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int)","imageIndex":0,"symbolLocation":72},{"imageOffset":477112,"sourceLine":73,"sourceFile":"file_helper-inl.h","symbol":"spdlog::details::file_helper::open(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool)","imageIndex":0,"symbolLocation":636},{"imageOffset":479720,"sourceLine":20,"sourceFile":"basic_file_sink-inl.h","symbol":"spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&)","imageIndex":0,"symbolLocation":116},{"imageOffset":479952,"sourceLine":19,"sourceFile":"basic_file_sink-inl.h","symbol":"spdlog::sinks::basic_file_sink<std::__1::mutex>::basic_file_sink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, spdlog::file_event_handlers const&)","imageIndex":0,"symbolLocation":64},{"imageOffset":1236376,"symbol":"std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&)","symbolLocation":168,"imageIndex":0},{"imageOffset":1235528,"symbol":"std::__1::__shared_ptr_emplace<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>>::__shared_ptr_emplace[abi:v15006]<char const (&) [8], bool>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool&&)","symbolLocation":48,"imageIndex":0},{"imageOffset":1235252,"symbol":"std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::allocate_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>>, char const (&) [8], bool, void>(std::__1::allocator<spdlog::sinks::basic_file_sink<std::__1::mutex>> const&, char const (&) [8], bool&&)","symbolLocation":64,"imageIndex":0},{"imageOffset":1233400,"symbol":"std::__1::shared_ptr<spdlog::sinks::basic_file_sink<std::__1::mutex>> std::__1::make_shared[abi:v15006]<spdlog::sinks::basic_file_sink<std::__1::mutex>, char const (&) [8], bool, void>(char const (&) [8], bool&&)","symbolLocation":68,"imageIndex":0},{"imageOffset":1232888,"symbol":"initLogger()","symbolLocation":84,"imageIndex":0},{"imageOffset":1233760,"symbol":"main","symbolLocation":32,"imageIndex":0},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":17}]},{"id":9983912,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":9983913,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4332044288,
    "CFBundleShortVersionString" : "0.3.5",
    "CFBundleIdentifier" : "com.github.lemonlime",
    "size" : 3145728,
    "uuid" : "145025c5-8ee0-3ac0-ba5d-4648016b334d",
    "path" : "\/Users\/USER\/*\/lemon.app\/Contents\/MacOS\/lemon",
    "name" : "lemon",
    "CFBundleVersion" : "0.3.5"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4345298944,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtWidgets",
    "size" : 4259840,
    "uuid" : "cee77dcb-3204-3b54-8976-10b93511dd41",
    "path" : "\/opt\/homebrew\/*\/QtWidgets.framework\/Versions\/5\/QtWidgets",
    "name" : "QtWidgets",
    "CFBundleVersion" : "5.15.10"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4356915200,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtGui",
    "size" : 4636672,
    "uuid" : "60a076c5-7a7b-379f-b183-908267e2772c",
    "path" : "\/opt\/homebrew\/*\/QtGui.framework\/Versions\/5\/QtGui",
    "name" : "QtGui",
    "CFBundleVersion" : "5.15.10"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4340940800,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtNetwork",
    "size" : 1064960,
    "uuid" : "e1c1846e-2eab-3ec7-b39d-3fe4713fa9e7",
    "path" : "\/opt\/homebrew\/*\/QtNetwork.framework\/Versions\/5\/QtNetwork",
    "name" : "QtNetwork",
    "CFBundleVersion" : "5.15.10"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4362764288,
    "CFBundleShortVersionString" : "5.15",
    "CFBundleIdentifier" : "org.qt-project.QtCore",
    "size" : 4718592,
    "uuid" : "f201db83-9cab-351b-9318-c2ecc962059f",
    "path" : "\/opt\/homebrew\/*\/QtCore.framework\/Versions\/5\/QtCore",
    "name" : "QtCore",
    "CFBundleVersion" : "5.15.10"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4339728384,
    "size" : 147456,
    "uuid" : "6557e5a9-1005-3d77-b69f-62f552ee7570",
    "path" : "\/opt\/homebrew\/*\/libpng16.16.dylib",
    "name" : "libpng16.16.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4342366208,
    "size" : 442368,
    "uuid" : "59c863d4-6c8f-3859-9da8-399f2513aba9",
    "path" : "\/opt\/homebrew\/*\/libpcre2-16.0.dylib",
    "name" : "libpcre2-16.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4342890496,
    "size" : 671744,
    "uuid" : "9cc1e4e5-da83-3b83-a1b9-b4f1ccc5d596",
    "path" : "\/opt\/homebrew\/*\/libzstd.1.5.5.dylib",
    "name" : "libzstd.1.5.5.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4339580928,
    "size" : 16384,
    "uuid" : "534626aa-4635-331a-a8f8-23b6de6cdb84",
    "path" : "\/opt\/homebrew\/*\/libgthread-2.0.0.dylib",
    "name" : "libgthread-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4351098880,
    "size" : 983040,
    "uuid" : "490772f7-2b9c-3b51-83ab-17de728c0f78",
    "path" : "\/opt\/homebrew\/*\/libglib-2.0.0.dylib",
    "name" : "libglib-2.0.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4340056064,
    "size" : 49152,
    "uuid" : "2b7b2fac-969c-3b08-82a1-a60bb7156b81",
    "path" : "\/opt\/homebrew\/*\/libintl.8.dylib",
    "name" : "libintl.8.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4343676928,
    "size" : 475136,
    "uuid" : "2a661909-9b11-3fd4-b022-97709debc0e7",
    "path" : "\/opt\/homebrew\/*\/libpcre2-8.0.dylib",
    "name" : "libpcre2-8.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098281984,
    "size" : 237544,
    "uuid" : "42f503e2-9273-360a-a086-c1b19bbd3962",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098519552,
    "size" : 53248,
    "uuid" : "46d35233-a051-3f4f-bba4-ba56dddc4d1a",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7097069568,
    "size" : 520184,
    "uuid" : "95a70e20-1df3-3ddf-900c-315ed0b2c067",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7098167296,
    "size" : 114688,
    "uuid" : "52aa13e2-567c-36c2-9494-7b892fdbf245",
    "path" : "\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7094730752,
    "size" : 286528,
    "uuid" : "5beafa2b-3af4-3ed2-b054-1f58a7c851ef",
    "path" : "\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7095017472,
    "size" : 582996,
    "uuid" : "bd993f39-c902-37d6-8bd8-6d827c7f121e",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 7094353920,
  "size" : 3551805440,
  "uuid" : "7d9faa84-5c6b-3ef4-9379-faba64346673"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=128.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=128.8M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nDispatch continuations            64.0M        1 \nKernel Alloc Once                   32K        1 \nMALLOC                            55.1M       19 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        3 \nStack                             9264K        3 \n__AUTH                             575K      133 \n__AUTH_CONST                      11.2M      279 \n__DATA                            3215K      277 \n__DATA_CONST                      14.3M      292 \n__DATA_DIRTY                       678K       97 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       809.1M       13 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2011K        1 \n__TEXT                           231.7M      306 \ndyld private memory                272K        2 \nmapped file                       29.1M        3 \nshared memory                       64K        4 \n===========                     =======  ======= \nTOTAL                              1.3G     1443 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "4c72ec3a1ba9100fd5e2aadbb1485e04ab82b2bd",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62699e1ec1ff2978b47f6c3b",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb"
      },
      "deploymentId" : 240000023
    },
    {
      "rolloutId" : "6391cacc75b0720ff1f8c695",
      "factorPackIds" : {
        "COREOS_ICD" : "63957f508061fa721c8edc4a"
      },
      "deploymentId" : 240000007
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "8ca8349c-e2bc-482c-9ca7-3907b48a5341",
      "experimentId" : "648b5a581b04c12d4127bbb6",
      "deploymentId" : 400000002
    }
  ]
}
}
tofucurd commented 1 year ago

confirm on macos 13.4