'CopyQ quit unexpectedly' when launching on Mac M1 after upgrading via brew
- Dominant language
- C++
- Stars
- 12.3k
- Forks
- 593
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
**Describe the bug**
CopyQ doesn't start after upgrading via brew
**To Reproduce**
1. Run copyQ
**Expected behavior**
Running flawlessly
**Version, OS and Environment**
- Application Version 8.0 (8.0.0-g73afa309-v8.0.0)
- OS macOS Sonoma 14.4.1 (ARM-64 (Native))
- Desktop environment
**Additional context**
```
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: CopyQ [785]
Path: /Applications/CopyQ.app/Contents/MacOS/CopyQ
Identifier: io.github.hluk.CopyQ
Version: 8.0 (8.0.0-g73afa309-v8.0.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-05-08 00:04:13.9434 +0300
OS Version: macOS 14.4.1 (23E224)
Report Version: 12
Anonymous UUID: AF3CC147-B678-8A55-A9B6-5A05552F9C2B
Time Awake Since Boot: 33 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes: UNKNOWN_0x32 at 0x0000000102e88000
Exception Codes: 0x0000000000000032, 0x0000000102e88000
Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page
VM Region Info: 0x102e88000 is in 0x102e88000-0x102ec4000; bytes after start: 0 bytes before end: 245759
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
mapped file 102e2c000-102e88000 [ 368K] r--/rwx SM=COW Object_id=7a58ab2b
---> mapped file 102e88000-102ec4000 [ 240K] r-x/rwx SM=COW Object_id=7a58ab2b
VM_ALLOCATE (reserved) 102ec4000-102ee4000 [ 128K] rw-/rwx SM=NUL reserved VM address space (unallocated)
Thread 0 Crashed:
0 dyld 0x18beac4b0 dyld3::MachOFile::isMachO(Diagnostics&, unsigned long long) const + 40
1 dyld 0x18be77830 dyld4::Loader::mapSegments(Diagnostics&, dyld4::RuntimeState&, char const*, unsigned long long, dyld4::Loader::CodeSignatureInFile const&, bool, dyld3::Array const&, bool, bool, dyld4::Loader::FileValidationInfo const&) + 1080
2 dyld 0x18be807e8 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 88
3 dyld 0x18be8017c dyld4::JustInTimeLoader::withRegions(dyld3::MachOFile const*, void (dyld3::Array const&) block_pointer) + 296
4 dyld 0x18be8072c invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 460
5 dyld 0x18be84bf8 dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const + 132
6 dyld 0x18be8052c dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 208
7 dyld 0x18be753d4 dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 172
8 dyld 0x18be76b20 invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 2332
9 dyld 0x18be75a80 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
10 dyld 0x18be64bc8 dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 556
11 dyld 0x18be755b8 dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 248
12 dyld 0x18be75cac dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 492
13 dyld 0x18be7e5e4 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 388
14 dyld 0x18be9e23c 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
15 dyld 0x18be9da68 mach_o::Header::forEachLoadCommand(void (load_command const*, bool&) block_pointer) const + 284
16 dyld 0x18be9df30 mach_o::Header::forEachDependentDylib(void (char const*, mach_o::DependentDylibAttributes, mach_o::Version32, mach_o::Version32, bool&) block_pointer) const + 160
17 dyld 0x18be7e340 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 164
18 dyld 0x18be627f8 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 1232
19 dyld 0x18be61edc start + 1844
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000102e88000 x1: 0x000000016dbee098 x2: 0x000000000003c000 x3: 0x0000000000040012
x4: 0x0000000000000003 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x00000001f3ef7b6c x9: 0x00000001f3ef93d0 x10: 0x0000000000000012 x11: 0x0000000000000001
x12: 0x0000000000000001 x13: 0x0800000000044000 x14: 0x0000000000014930 x15: 0x000000016dbeee30
x16: 0x00000000000000c5 x17: 0x000000018be5ff90 x18: 0x0000000000000000 x19: 0x000000016dbee098
x20: 0x0000000000000003 x21: 0x000000016dbee098 x22: 0x000000016dbedb08 x23: 0x000000000005c000
x24: 0x0000000000000000 x25: 0x000000016dbed88c x26: 0x0000000000000000 x27: 0x0000000102e88000
x28: 0x0000000000000040 fp: 0x000000016dbed280 lr: 0x365380018be77830
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.