hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.23k stars 429 forks source link

Version 9.0.0 Crash on launch on MacOS #2754

Closed gasparschott closed 6 days ago

gasparschott commented 1 week ago

MacOS Sonoma 14.5, M1 Pro

Crash occurs even after applying xattr -d com.apple.quarantine "/Applications/CopyQ.app"


Translated Report (Full Report Below)

Process: CopyQ [1162] Path: /Applications/CopyQ.app/Contents/MacOS/CopyQ Identifier: io.github.hluk.CopyQ Version: 9.0 (9.0.0-gdc155ef9-master) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-06-23 12:00:12.4402 -0700 OS Version: macOS 14.5 (23F79) Report Version: 12 Anonymous UUID: 601EEA74-DEDA-8697-3990-7E6A63B7223D

Time Awake Since Boot: 100 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Exception Codes: UNKNOWN_0x32 at 0x00000001032b4000 Exception Codes: 0x0000000000000032, 0x00000001032b4000

Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x1032b4000 is in 0x1032b4000-0x103314000; bytes after start: 0 bytes before end: 393215 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL dyld private memory 1032b0000-1032b4000 [ 16K] ---/--- SM=NUL
---> mapped file 1032b4000-103314000 [ 384K] r--/rwx SM=COW Object_id=f133ae44 GAP OF 0x66480000 BYTES Stack Guard 169794000-16cf98000 [ 56.0M] ---/rwx SM=NUL

Thread 0 Crashed: 0 dyld 0x19fa37728 dyld3::MachOFile::compatibleSlice(Diagnostics&, void const, unsigned long, char const, dyld3::Platform, bool, dyld3::GradedArchs const&, bool) + 84 1 dyld 0x19fa085c0 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const) + 96 2 dyld 0x19fa0cbf8 dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const, bool, void (void const, unsigned long, bool, dyld4::FileID const&, char const) block_pointer) const + 132 3 dyld 0x19fa0852c dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const) + 208 4 dyld 0x19f9fd3d4 dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const) + 172 5 dyld 0x19f9feb20 invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&) + 2332 6 dyld 0x19f9fda80 dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 776 7 dyld 0x19f9ecbc8 dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const, dyld3::Platform, bool, bool, bool&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 556 8 dyld 0x19f9fd5b8 dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 248 9 dyld 0x19f9fdcac dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&) + 492 10 dyld 0x19fa065e4 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 388 11 dyld 0x19fa2623c invocation function for block in mach_o::Header::forEachDependentDylib(void (char const, mach_o::DependentDylibAttributes, mach_o::Version32, mach_o::Version32, bool&) block_pointer) const + 136 12 dyld 0x19fa25a68 mach_o::Header::forEachLoadCommand(void (load_command const, bool&) block_pointer) const + 284 13 dyld 0x19fa25f30 mach_o::Header::forEachDependentDylib(void (char const, mach_o::DependentDylibAttributes, mach_o::Version32, mach_o::Version32, bool&) block_pointer) const + 160 14 dyld 0x19fa06340 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 164 15 dyld 0x19f9ea7f8 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 1232 16 dyld 0x19f9e9edc start + 1844

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x000000016d792018 x1: 0x00000001032b4000 x2: 0x000000000005cf80 x3: 0x000000016d792140 x4: 0x0000000000000001 x5: 0x0000000000000000 x6: 0x000000019fa5d970 x7: 0x0000000000000000 x8: 0x601be83bfa1c0030 x9: 0x000000019fa08560 x10: 0x0000000001000011 x11: 0x0000000000000001 x12: 0x000000016d792142 x13: 0x0000000000000000 x14: 0x0000000280413e12 x15: 0x0000000000008000 x16: 0x0000000000000006 x17: 0x000000019f9e7f90 x18: 0x0000000000000000 x19: 0x000000016d792018 x20: 0x00000001032b4000 x21: 0x000000016d792140 x22: 0x0000000000000001 x23: 0x000000019fa5d970 x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x000000000005cf80 x27: 0x0000000103272de8 x28: 0x0000000000000000 fp: 0x000000016d791930 lr: 0x855e00019fa085c0 sp: 0x000000016d791680 pc: 0x000000019fa37728 cpsr: 0x80001000 far: 0x00000001032b4000 esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images: 0x10266c000 - 0x102bdffff io.github.hluk.CopyQ (9.0) /Applications/CopyQ.app/Contents/MacOS/CopyQ 0x19f9e4000 - 0x19fa6ca17 dyld () <37bbc384-0755-31c7-a808-0ed49e44dd8e> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???

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=541.2M resident=0K(0%) swapped_out_or_unallocated=541.2M(100%) Writable regions: Total=12.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.2M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= STACK GUARD 56.0M 1 Stack 8176K 1 DATA 43K 3 DATA_CONST 199K 2 __DATA_DIRTY 7K 1 LINKEDIT 535.2M 2 TEXT 6132K 2 dyld private memory 4384K 4 mapped file 384K 1 =========== ======= ======= TOTAL 610.1M 17


Full Report

{"app_name":"CopyQ","timestamp":"2024-06-23 12:00:12.00 -0700","app_version":"9.0","slice_uuid":"d2a43548-8ff0-335b-a521-aff4c8faf6cd","build_version":"9.0.0-gdc155ef9-master","platform":1,"bundleID":"io.github.hluk.CopyQ","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.5 (23F79)","roots_installed":0,"name":"CopyQ","incident_id":"CF5240CA-46BD-44EE-B739-667EF3EFF397"} { "uptime" : 100, "procRole" : "Default", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,1", "coalitionID" : 910, "osVersion" : { "train" : "macOS 14.5", "build" : "23F79", "releaseType" : "User" }, "captureTime" : "2024-06-23 12:00:12.4402 -0700", "codeSigningMonitor" : 1, "incident" : "CF5240CA-46BD-44EE-B739-667EF3EFF397", "pid" : 1162, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-06-23 12:00:12.3769 -0700", "procStartAbsTime" : 2423474083, "procExitAbsTime" : 2423925942, "procName" : "CopyQ", "procPath" : "\/Applications\/CopyQ.app\/Contents\/MacOS\/CopyQ", "bundleInfo" : {"CFBundleShortVersionString":"9.0","CFBundleVersion":"9.0.0-gdc155ef9-master","CFBundleIdentifier":"io.github.hluk.CopyQ"}, "storeInfo" : {"deviceIdentifierForVendor":"56ADB8A7-FDA7-500D-8A07-F0B1947EDE85","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "io.github.hluk.CopyQ", "crashReporterKey" : "601EEA74-DEDA-8697-3990-7E6A63B7223D", "codeSigningID" : "io.github.hluk.CopyQ", "codeSigningTeamID" : "", "codeSigningFlags" : 587203072, "codeSigningValidationCategory" : 0, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"+AMFqvYDBKr1AwOq+gMCqvQDAarzAwCqqAs0sAgBL5EIAUD5qIMa+A==","atPC":"KABAuQkBCDJK2Z9SSve3cj8BCmvhAQBU\/\/8EqeVDAZHmIwGR5x8BkQ=="}, "sip" : "enabled", "vmRegionInfo" : "0x1032b4000 is in 0x1032b4000-0x103314000; bytes after start: 0 bytes before end: 393215\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n dyld private memory 1032b0000-1032b4000 [ 16K] ---\/--- SM=NUL \n---> mapped file 1032b4000-103314000 [ 384K] r--\/rwx SM=COW Object_id=f133ae44\n GAP OF 0x66480000 BYTES\n Stack Guard 169794000-16cf98000 [ 56.0M] ---\/rwx SM=NUL ", "exception" : {"codes":"0x0000000000000032, 0x00000001032b4000","rawCodes":[50,4348133376],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x00000001032b4000"}, "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"}, "vmregioninfo" : "0x1032b4000 is in 0x1032b4000-0x103314000; bytes after start: 0 bytes before end: 393215\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n dyld private memory 1032b0000-1032b4000 [ 16K] ---\/--- SM=NUL \n---> mapped file 1032b4000-103314000 [ 384K] r--\/rwx SM=COW Object_id=f133ae44\n GAP OF 0x66480000 BYTES\n Stack Guard 169794000-16cf98000 [ 56.0M] ---\/rwx SM=NUL ", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":14449,"threadState":{"x":[{"value":6131621912},{"value":4348133376},{"value":380800},{"value":6131622208},{"value":1},{"value":0},{"value":6973413744,"symbolLocation":0,"symbol":"dyld3::GradedArchs::arm64e_keysoff"},{"value":0},{"value":6925384196309123120},{"value":6973064544,"symbolLocation":0,"symbol":"invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const)"},{"value":16777233},{"value":1},{"value":6131622210},{"value":0},{"value":10741693970},{"value":32768},{"value":6},{"value":6972931984,"symbolLocation":56,"symbol":"fcntl"},{"value":0},{"value":6131621912},{"value":4348133376},{"value":6131622208},{"value":1},{"value":6973413744,"symbolLocation":0,"symbol":"dyld3::GradedArchs::arm64e_keysoff"},{"value":0},{"value":0},{"value":380800},{"value":4347866600},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9610118661828281792},"cpsr":{"value":2147487744},"fp":{"value":6131620144},"sp":{"value":6131619456},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6973257512,"matchesCrashFrame":1},"far":{"value":4348133376}},"frames":[{"imageOffset":341800,"symbol":"dyld3::MachOFile::compatibleSlice(Diagnostics&, void const, unsigned long, char const, dyld3::Platform, bool, dyld3::GradedArchs const&, bool)","symbolLocation":84,"imageIndex":1},{"imageOffset":148928,"symbol":"invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const)","symbolLocation":96,"imageIndex":1},{"imageOffset":166904,"symbol":"dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const, bool, void (void const, unsigned long, bool, dyld4::FileID const&, char const) block_pointer) const","symbolLocation":132,"imageIndex":1},{"imageOffset":148780,"symbol":"dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const)","symbolLocation":208,"imageIndex":1},{"imageOffset":103380,"symbol":"dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const)","symbolLocation":172,"imageIndex":1},{"imageOffset":109344,"symbol":"invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&)","symbolLocation":2332,"imageIndex":1},{"imageOffset":105088,"symbol":"dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":776,"imageIndex":1},{"imageOffset":35784,"symbol":"dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const, dyld3::Platform, bool, bool, bool&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const","symbolLocation":556,"imageIndex":1},{"imageOffset":103864,"symbol":"dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&, void (char const, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":248,"imageIndex":1},{"imageOffset":105644,"symbol":"dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const, dyld4::Loader::LoadOptions const&)","symbolLocation":492,"imageIndex":1},{"imageOffset":140772,"symbol":"invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":388,"imageIndex":1},{"imageOffset":270908,"symbol":"invocation function for block in mach_o::Header::forEachDependentDylib(void (char const, mach_o::DependentDylibAttributes, mach_o::Version32, mach_o::Version32, bool&) block_pointer) const","symbolLocation":136,"imageIndex":1},{"imageOffset":268904,"symbol":"mach_o::Header::forEachLoadCommand(void (load_command const, bool&) block_pointer) const","symbolLocation":284,"imageIndex":1},{"imageOffset":270128,"symbol":"mach_o::Header::forEachDependentDylib(void (char const, mach_o::DependentDylibAttributes, mach_o::Version32, mach_o::Version32, bool&) block_pointer) const","symbolLocation":160,"imageIndex":1},{"imageOffset":140096,"symbol":"dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":164,"imageIndex":1},{"imageOffset":26616,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":1232,"imageIndex":1},{"imageOffset":24284,"symbol":"start","symbolLocation":1844,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64", "base" : 4335255552, "CFBundleShortVersionString" : "9.0", "CFBundleIdentifier" : "io.github.hluk.CopyQ", "size" : 5718016, "uuid" : "d2a43548-8ff0-335b-a521-aff4c8faf6cd", "path" : "\/Applications\/CopyQ.app\/Contents\/MacOS\/CopyQ", "name" : "CopyQ", "CFBundleVersion" : "9.0.0-gdc155ef9-master" }, { "source" : "P", "arch" : "arm64e", "base" : 6972915712, "size" : 559640, "uuid" : "37bbc384-0755-31c7-a808-0ed49e44dd8e", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 6972162048, "size" : 4220698624, "uuid" : "3406ad1b-2469-30eb-9863-5dce861e6dea" }, "vmSummary" : "ReadOnly portion of Libraries: Total=541.2M resident=0K(0%) swapped_out_or_unallocated=541.2M(100%)\nWritable regions: Total=12.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.2M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nDATA 43K 3 \nDATA_CONST 199K 2 \n__DATA_DIRTY 7K 1 \nLINKEDIT 535.2M 2 \nTEXT 6132K 2 \ndyld private memory 4384K 4 \nmapped file 384K 1 \n=========== ======= ======= \nTOTAL 610.1M 17 \n", "legacyInfo" : { "threadTriggered" : {

} }, "logWritingSignature" : "6b544ebb087c36cd42d2bcc23d34cc4ba5ddcc7d", "trialInfo" : { "rollouts" : [ { "rolloutId" : "645c2d2f9e69a025b0a37e29", "factorPackIds" : {

  },
  "deploymentId" : 240000003
},
{
  "rolloutId" : "654439cdafbf5b61207873a9",
  "factorPackIds" : {

  },
  "deploymentId" : 240000004
}

], "experiments" : [ { "treatmentId" : "2dffbe18-a39a-4f33-ada9-2cce30af39ca", "experimentId" : "6384d56b96e8d228551ec182", "deploymentId" : 400000023 }, { "treatmentId" : "3dff9c91-a8fb-424e-a656-c8d6e6037574", "experimentId" : "662152ede2d11d1408c4db33", "deploymentId" : 400000014 } ] } }

Model: MacBookPro18,1, BootROM 10151.121.1, proc 10:8:2 processors, 32 GB, SMC Graphics: Apple M1 Pro, Apple M1 Pro, Built-In Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr 4 2024 20:37:43 version 20.103.14.0.8.7.174 FWID 01-95f1e684 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

ubudragon commented 1 week ago
Screenshot 2024-06-24 at 14 10 05

same here.

macOs 13.6.7 used release CopyQ-macos-12-m1.dmg.zip

jutkko commented 1 week ago

Please refer to this solution, this is a known problem https://github.com/hluk/CopyQ/issues/2716#issuecomment-2108607821

gasparschott commented 1 week ago

Thanks. It might be useful to add this note to the ReadMe file in the MacOS section.

hluk commented 6 days ago

Closing as duplicate of #2652.

hluk commented 6 days ago

Thanks. It might be useful to add this note to the ReadMe file in the MacOS section.

Good idea. I'm updating installation steps in #2757.