Crash when opening on Mac

WHAT IS THE BUG

When I launch Anytype from the Dock on my M2 MacBook Air, it crashes before it even has opened.

HOW TO REPRODUCE IT

Open in dock

THE EXPECTED BEHAVIOR

App to launch

SYSTEM INFORMATION

MB Air M2, Sonoma 14.0

Hi @Yoda and welcome to the Community!

Which version are you having this issue on? Is a crash log being generated? You should be able to find it in the Anytype install directory in a folder called “logs”. It should be the very last log file, and might even have the word “crash” in the title.

Hi and thanks for your response. Didn’t find it in the install directory, but in Apple console. See below. As I tried to open the app after a few times, it just bounced and never opened.

I ended up deleting it and download again. Works fine, however, now, I get the “update available” while using it. I click the button. Window closes but never relaunch. Top menu is still there. I Quit and restart. After some time, the “update available” pops up again. I’m using version 0352.

Below is the crash report initially mentioned. Please let me know if it reveals the ID key. I obviously should delete it from the forum if it does.

Translated Report (Full Report Below)

Process: Anytype [62694]
Path: /Applications/Anytype.app/Contents/MacOS/Anytype
Identifier: com.anytype.anytype
Version: 0.33.2 (0.33.2)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2023-11-03 22:29:20.6808 +0100
OS Version: macOS 14.0 (23A344)
Report Version: 12
Anonymous UUID: 44B8A6F3-4C9D-3977-E5A2-7B5FA9BD8627

Sleep/Wake UUID: 151E82CF-6852-444C-9F2D-9955CF826848

Time Awake Since Boot: 580000 seconds
Time Since Wake: 736 seconds

System Integrity Protection: enabled

Crashed Thread: 0

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

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: <4C4C44A7-5555-3144-A157-17163F8C6FA2> /Applications/Anytype.app/Contents/MacOS/Anytype
Reason: tried: ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (code signature invalid in <4C4C44C1-5555-3144-A184-2584BA230AF6> ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x07F7CEF0, codeBlobSize=0x00103A00), ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (code signature invalid in <4C4C44C1-5555-3144-A184-2584BA230AF6> ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x07F7CEF0, codeBlobSize=0x00103A00), ‘/System/Library/Frameworks/Electron Framework.framework/Electron Framework’ (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0 dyld 0x183d1db48 __abort_with_payload + 8
1 dyld 0x183d2a108 abort_with_payload_wrapper_internal + 104
2 dyld 0x183d2a13c abort_with_payload + 16
3 dyld 0x183cb1518 dyld4::halt(char const*, dyld4::StructuredError const*) + 304
4 dyld 0x183cae1e8 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3884
5 dyld 0x183cacf44 start + 1948

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016d932940 x3: 0x000000000000007c
x4: 0x000000016d932540 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x00000000000005b0
x8: 0x0000000000000020 x9: 0x000000016d9324b0 x10: 0x000000000000000a x11: 0x0000000000000000
x12: 0x0000000000000036 x13: 0x1000000000000000 x14: 0x0000000000000004 x15: 0x0000000000008000
x16: 0x0000000000000209 x17: 0x0000000183caa37c x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016d932540 x21: 0x000000000000007c x22: 0x000000016d932940 x23: 0x0000000000000001
x24: 0x0000000000000006 x25: 0x000000016d933378 x26: 0x000000016d9332b8 x27: 0x0000000000000000
x28: 0x000000001f070004 fp: 0x000000016d932510 lr: 0x0000000183d2a108
sp: 0x000000016d9324d0 pc: 0x0000000183d1db48 cpsr: 0x80001000
far: 0x0000000102930000 esr: 0x56000080 Address size fault

Binary Images:
0x1024cc000 - 0x1024cffff com.anytype.anytype (0.33.2) <4c4c44a7-5555-3144-a157-17163f8c6fa2> /Applications/Anytype.app/Contents/MacOS/Anytype
0x183ca7000 - 0x183d3a873 dyld () /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=887.1M resident=0K(0%) swapped_out_or_unallocated=887.1M(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
VM_ALLOCATE 16K 1
__DATA 27K 2
__DATA_CONST 38K 2
__DATA_DIRTY 7K 1
__LINKEDIT 886.5M 2
__TEXT 608K 2
dyld private memory 4384K 4
=========== ======= =======
TOTAL 955.4M 16


Full Report

{“app_name”:“Anytype”,“timestamp”:“2023-11-03 22:29:20.00 +0100”,“app_version”:“0.33.2”,“slice_uuid”:“4c4c44a7-5555-3144-a157-17163f8c6fa2”,“build_version”:“0.33.2”,“platform”:1,“bundleID”:“com.anytype.anytype”,“share_with_app_devs”:1,“is_first_party”:0,“bug_type”:“309”,“os_version”:“macOS 14.0 (23A344)”,“roots_installed”:0,“name”:“Anytype”,“incident_id”:“644D6E2D-9D8E-47E5-A8A6-FA20B8E6D3CF”}
{
“uptime” : 580000,
“procRole” : “Default”,
“version” : 2,
“userID” : 501,
“deployVersion” : 210,
“modelCode” : “Mac14,2”,
“coalitionID” : 71538,
“osVersion” : {
“train” : “macOS 14.0”,
“build” : “23A344”,
“releaseType” : “User”
},
“captureTime” : “2023-11-03 22:29:20.6808 +0100”,
“codeSigningMonitor” : 1,
“incident” : “644D6E2D-9D8E-47E5-A8A6-FA20B8E6D3CF”,
“pid” : 62694,
“translated” : false,
“cpuType” : “ARM-64”,
“roots_installed” : 0,
“bug_type” : “309”,
“procLaunch” : “2023-11-03 22:29:20.5907 +0100”,
“procStartAbsTime” : 14039629880717,
“procExitAbsTime” : 14039631293411,
“procName” : “Anytype”,
“procPath” : “/Applications/Anytype.app/Contents/MacOS/Anytype”,
“bundleInfo” : {“CFBundleShortVersionString”:“0.33.2”,“CFBundleVersion”:“0.33.2”,“CFBundleIdentifier”:“com.anytype.anytype”},
“storeInfo” : {“deviceIdentifierForVendor”:“943F1B90-EDA3-5827-83B3-858EEC15F76C”,“thirdParty”:true},
“parentProc” : “launchd”,
“parentPid” : 1,
“coalitionName” : “com.anytype.anytype”,
“crashReporterKey” : “44B8A6F3-4C9D-3977-E5A2-7B5FA9BD8627”,
“lowPowerMode” : 1,
“codeSigningID” : “com.anytype.anytype”,
“codeSigningTeamID” : “J3NXTX3T5S”,
“codeSigningFlags” : 570491649,
“codeSigningValidationCategory” : 6,
“codeSigningTrustLevel” : 4294967295,
“instructionByteStream” : {“beforePC”:“NAEAANQAAAAQAQAAGAEAACABAAAoAQAAMAEAAEwBAAAwQYDSARAA1A==”,“atPC”:“AwEAVH8jA9X9e7+p/QMAkcww/pe/AwCR/XvBqP8PX9bAA1/WEC2A0g==”},
“wakeTime” : 736,
“sleepWakeUUID” : “151E82CF-6852-444C-9F2D-9955CF826848”,
“sip” : “enabled”,
“exception” : {“codes”:“0x0000000000000000, 0x0000000000000000”,“rawCodes”:[0,0],“type”:“EXC_CRASH”,“signal”:“SIGABRT”},
“termination” : {“code”:1,“flags”:518,“namespace”:“DYLD”,“indicator”:“Library missing”,“details”:[“(terminated at launch; ignore backtrace)”],“reasons”:[“Library not loaded: @rpath/Electron Framework.framework/Electron Framework”,“Referenced from: <4C4C44A7-5555-3144-A157-17163F8C6FA2> /Applications/Anytype.app/Contents/MacOS/Anytype”,“Reason: tried: ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (code signature invalid in <4C4C44C1-5555-3144-A184-2584BA230AF6> ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x07F7CEF0, codeBlobSize=0x00103A00), ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (code signature invalid in <4C4C44C1-5555-3144-A184-2584BA230AF6> ‘/Applications/Anytype.app/Contents/Frameworks/Electron Framework.framework/Electron Framework’ (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x07F7CEF0, codeBlobSize=0x00103A00), ‘/System/Library/Frameworks/Electron Framework.framework/Electron Framework’ (no such file, not in dyld cache)”]},
“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”:6979370,“threadState”:{“x”:[{“value”:6},{“value”:1},{“value”:6133328192},{“value”:124},{“value”:6133327168},{“value”:0},{“value”:0},{“value”:1456},{“value”:32},{“value”:6133327024},{“value”:10},{“value”:0},{“value”:54},{“value”:1152921504606846976},{“value”:4},{“value”:32768},{“value”:521},{“value”:6506062716,“symbolLocation”:416,“symbol”:“__simple_bprintf”},{“value”:0},{“value”:0},{“value”:6133327168},{“value”:124},{“value”:6133328192},{“value”:1},{“value”:6},{“value”:6133330808},{“value”:6133330616},{“value”:0},{“value”:520552452}],“flavor”:“ARM_THREAD_STATE64”,“lr”:{“value”:6506586376},“cpsr”:{“value”:2147487744},“fp”:{“value”:6133327120},“sp”:{“value”:6133327056},“esr”:{“value”:1442840704,“description”:" Address size fault"},“pc”:{“value”:6506535752,“matchesCrashFrame”:1},“far”:{“value”:4338155520}},“frames”:[{“imageOffset”:486216,“symbol”:“__abort_with_payload”,“symbolLocation”:8,“imageIndex”:1},{“imageOffset”:536840,“symbol”:“abort_with_payload_wrapper_internal”,“symbolLocation”:104,“imageIndex”:1},{“imageOffset”:536892,“symbol”:“abort_with_payload”,“symbolLocation”:16,“imageIndex”:1},{“imageOffset”:42264,“symbol”:“dyld4::halt(char const*, dyld4::StructuredError const*)”,“symbolLocation”:304,“imageIndex”:1},{“imageOffset”:29160,“symbol”:“dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)”,“symbolLocation”:3884,“imageIndex”:1},{“imageOffset”:24388,“symbol”:“start”,“symbolLocation”:1948,“imageIndex”:1}]}],
“usedImages” : [
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4333551616,
“CFBundleShortVersionString” : “0.33.2”,
“CFBundleIdentifier” : “com.anytype.anytype”,
“size” : 16384,
“uuid” : “4c4c44a7-5555-3144-a157-17163f8c6fa2”,
“path” : “/Applications/Anytype.app/Contents/MacOS/Anytype”,
“name” : “Anytype”,
“CFBundleVersion” : “0.33.2”
},
{
“source” : “P”,
“arch” : “arm64e”,
“base” : 6506049536,
“size” : 604276,
“uuid” : “ffd8ab66-c9ab-31df-ab80-3a3dff367ddd”,
“path” : “/usr/lib/dyld”,
“name” : “dyld”
},
{
“size” : 0,
“source” : “A”,
“base” : 0,
“uuid” : “00000000-0000-0000-0000-000000000000”
}
],
“sharedCache” : {
“base” : 6505299968,
“size” : 4012523520,
“uuid” : “7906534c-5d2b-3ba8-b9c6-93a5cf1b7b50”
},
“vmSummary” : “ReadOnly portion of Libraries: Total=887.1M resident=0K(0%) swapped_out_or_unallocated=887.1M(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 \nVM_ALLOCATE 16K 1 \n__DATA 27K 2 \n__DATA_CONST 38K 2 \n__DATA_DIRTY 7K 1 \n__LINKEDIT 886.5M 2 \n__TEXT 608K 2 \ndyld private memory 4384K 4 \n=========== ======= ======= \nTOTAL 955.4M 16 \n”,
“legacyInfo” : {
“threadTriggered” : {

}
},
“logWritingSignature” : “cf6884799b1a050ed5178b876c2a81c99115e95a”,
“trialInfo” : {
“rollouts” : [
{
“rolloutId” : “62745b8e85854550ad70b6e4”,
“factorPackIds” : {
“SIRI_TTS_DEVICE_TRAINING” : “64c1c2cf2d5c0333fd39de0e”
},
“deploymentId” : 240000073
},
{
“rolloutId” : “60f8ddccefea4203d95cbeef”,
“factorPackIds” : {

  },
  "deploymentId" : 240000025
}

],
“experiments” : [

]
}
}