kevinhermawan / Ollamac

Mac app for Ollama
Other
1.19k stars 63 forks source link

Crash #86

Open hhhaiai opened 1 month ago

hhhaiai commented 1 month ago

Translated Report (Full Report Below)

Process: Ollamac [1109] Path: /Applications/Ollamac.app/Contents/MacOS/Ollamac Identifier: com.kevinhermawan.Ollamac Version: 2.1.2 (11) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-08-02 14:35:31.8207 +0800 OS Version: macOS 14.4.1 (23E224) Report Version: 12 Bridge OS Version: 8.4 (21P4222) Anonymous UUID: 01A4A551-249C-E5A0-A1B8-F6FD33A73712

Time Awake Since Boot: 310 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4 Terminating Process: exc handler [1109]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libswiftCore.dylib 0x7ff817136d9f assertionFailure(:_:file:line:flags:) + 351 1 Ollamac 0x10667b4c1 0x106665000 + 91329 2 Ollamac 0x10667ce3b 0x106665000 + 97851 3 Ollamac 0x10667c7d5 0x106665000 + 96213 4 SwiftUI 0x7ff9140caf91 0x7ff913520000 + 12234641 5 Ollamac 0x10667c82e 0x106665000 + 96302 6 dyld 0x7ff8066e9366 start + 1942

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

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

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000200000003 rbx: 0x00000001067b2f50 rcx: 0xfffffffe00000000 rdx: 0x0000000000000003 rdi: 0x000060000082c708 rsi: 0x0000000000000200 rbp: 0x00007ff7b989a510 rsp: 0x00007ff7b989a470 r8: 0x000000000000007f r9: 0x000000009fa2e005 r10: 0x000000000000005c r11: 0x0000000000000004 r12: 0x00000001067b1b80 r13: 0x0000000000000070 r14: 0x000060000082c700 r15: 0x000000000000000b rip: 0x00007ff817136d9f rfl: 0x0000000000010246 cr2: 0x0000000000000000

Logical CPU: 2 Error Code: 0x00000000 Trap Number: 6

Thread 0 instruction stream: 9e 00 00 00 48 b8 00 00-00 00 00 00 00 10 49 85 ....H.........I. c5 0f 84 7f 01 00 00 48-ff c8 4c 89 f7 48 21 c7 .......H..L..H!. 48 83 c7 20 48 b8 ff ff-ff ff ff ff 00 00 49 21 H.. H.........I! c5 48 83 ec 08 44 0f b6-c1 4c 89 ee 4c 89 e2 48 .H...D...L..L..H 8b 4d 10 49 89 d9 8b 45-28 50 ff 75 20 41 57 e8 .M.I...E(P.u AW. bd 0e 00 00 48 83 c4 20-4c 89 f7 e8 a1 ed 32 00 ....H.. L.....2. [0f]0b 48 83 ec 08 48 8d-05 c4 8f 44 00 48 8d 3d ..H...H....D.H.= <== 31 8b 44 00 48 8d 0d 46-8e 44 00 be 0b 00 00 00 1.D.H..F.D...... 41 b8 39 00 00 00 ba 02-00 00 00 41 b9 02 00 00 A.9........A.... 00 6a 01 68 94 00 00 00-6a 02 6a 18 50 e8 3f 02 .j.h....j.j.P.?. 00 00 4c 89 f6 48 c1 ee-38 83 e6 0f 48 b8 ff ff ..L..H..8...H... ff ff ff ff ff 00 4c 21-f0 4c 89 6d c0 48 89 45 ......L!.L.m.H.E

Binary Images: 0x1069cb000 - 0x1069d7fff libobjc-trampolines.dylib () <79fb585f-7491-3991-afe3-baa6d8f159df> /usr/lib/libobjc-trampolines.dylib 0x106860000 - 0x1068a3fff org.sparkle-project.Sparkle (2.6.3) <3c83378b-3c44-3675-9d9c-ded47fe734ea> /Applications/Ollamac.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle 0x106665000 - 0x1067c7fff com.kevinhermawan.Ollamac (2.1.2) /Applications/Ollamac.app/Contents/MacOS/Ollamac 0x7ff817108000 - 0x7ff8175b9fff libswiftCore.dylib () /usr/lib/swift/libswiftCore.dylib 0x7ff913520000 - 0x7ff915058ff0 com.apple.SwiftUI (5.4.38.401) <5761e765-dc22-363d-b90d-1e583bc974e8> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI 0x7ff8066e3000 - 0x7ff806773b5f dyld () <899f1e34-b624-3162-8003-04daa6829461> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? 0x7ff806a6f000 - 0x7ff806a7aff7 libsystem_pthread.dylib (*) <5a006814-83f4-3c80-ab1f-528cdd08c0ff> /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=821.5M resident=0K(0%) swapped_out_or_unallocated=821.5M(100%) Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 1 CoreData Object IDs 4100K 2 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 1.1G 29 MALLOC guard page 24K 6 STACK GUARD 56.0M 3 Stack 9232K 3 VM_ALLOCATE 4K 1 CTF 824 1 DATA 32.2M 512 DATA_CONST 37.4M 331 __DATA_DIRTY 1763K 188 FONT_DATA 2352 1 LINKEDIT 180.2M 5 OBJC_RO 71.7M 1 __OBJC_RW 2196K 2 __TEXT 641.3M 536 dyld private memory 260K 2 mapped file 31.3M 4 shared memory 608K 9 =========== ======= ======= TOTAL 2.1G 1639


Full Report

{"app_name":"Ollamac","timestamp":"2024-08-02 14:35:32.00 +0800","app_version":"2.1.2","slice_uuid":"a03ea3a0-e206-3564-a809-08468b2c6215","build_version":"11","platform":1,"bundleID":"com.kevinhermawan.Ollamac","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.4.1 (23E224)","roots_installed":0,"name":"Ollamac","incident_id":"593B0AF1-6EA6-43CD-818B-903741100C28"} { "uptime" : 310, "procRole" : "Background", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro16,1", "coalitionID" : 1044, "osVersion" : { "train" : "macOS 14.4.1", "build" : "23E224", "releaseType" : "User" }, "captureTime" : "2024-08-02 14:35:31.8207 +0800", "codeSigningMonitor" : 0, "incident" : "593B0AF1-6EA6-43CD-818B-903741100C28", "pid" : 1109, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-08-02 14:35:28.9733 +0800", "procStartAbsTime" : 315801136306, "procExitAbsTime" : 318645103540, "procName" : "Ollamac", "procPath" : "\/Applications\/Ollamac.app\/Contents\/MacOS\/Ollamac", "bundleInfo" : {"CFBundleShortVersionString":"2.1.2","CFBundleVersion":"11","CFBundleIdentifier":"com.kevinhermawan.Ollamac"}, "storeInfo" : {"deviceIdentifierForVendor":"071F1522-5039-589A-AD1E-72AAF056C8D2","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.kevinhermawan.Ollamac", "crashReporterKey" : "01A4A551-249C-E5A0-A1B8-F6FD33A73712", "codeSigningID" : "com.kevinhermawan.Ollamac", "codeSigningTeamID" : "84ZM7K56B5", "codeSigningFlags" : 570503953, "codeSigningValidationCategory" : 6, "codeSigningTrustLevel" : 4294967295, "bridgeVersion" : {"build":"21P4222","train":"8.4"}, "sip" : "enabled", "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"}, "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":1109}, "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":14636,"instructionState":{"instructionStream":{"bytes":[158,0,0,0,72,184,0,0,0,0,0,0,0,16,73,133,197,15,132,127,1,0,0,72,255,200,76,137,247,72,33,199,72,131,199,32,72,184,255,255,255,255,255,255,0,0,73,33,197,72,131,236,8,68,15,182,193,76,137,238,76,137,226,72,139,77,16,73,137,217,139,69,40,80,255,117,32,65,87,232,189,14,0,0,72,131,196,32,76,137,247,232,161,237,50,0,15,11,72,131,236,8,72,141,5,196,143,68,0,72,141,61,49,139,68,0,72,141,13,70,142,68,0,190,11,0,0,0,65,184,57,0,0,0,186,2,0,0,0,65,185,2,0,0,0,106,1,104,148,0,0,0,106,2,106,24,80,232,63,2,0,0,76,137,246,72,193,238,56,131,230,15,72,184,255,255,255,255,255,255,255,0,76,33,240,76,137,109,192,72,137,69],"offset":96}},"threadState":{"r13":{"value":112},"rax":{"value":8589934595},"rflags":{"value":66118},"cpu":{"value":2},"r14":{"value":105553124837120},"rsi":{"value":512},"r8":{"value":127},"cr2":{"value":0},"rdx":{"value":3},"r10":{"value":92},"r9":{"value":2678251525},"r15":{"value":11},"rbx":{"value":4403703632},"trap":{"value":6},"err":{"value":0},"r11":{"value":4},"rip":{"value":140703515766175,"matchesCrashFrame":1},"rbp":{"value":140701946455312},"rsp":{"value":140701946455152},"r12":{"value":4403698560},"rcx":{"value":18446744065119617024},"flavor":"x86_THREAD_STATE","rdi":{"value":105553124837128}},"queue":"com.apple.main-thread","frames":[{"imageOffset":191903,"symbol":"assertionFailure(:_:file:line:flags:)","symbolLocation":351,"imageIndex":3},{"imageOffset":91329,"imageIndex":2},{"imageOffset":97851,"imageIndex":2},{"imageOffset":96213,"imageIndex":2},{"imageOffset":12234641,"imageIndex":4},{"imageOffset":96302,"imageIndex":2},{"imageOffset":25446,"symbol":"start","symbolLocation":1942,"imageIndex":5}]},{"id":14734,"frames":[{"imageOffset":6848,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":3079},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145446350848},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":0},"rbx":{"value":123145446875136},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703240227520},"rbp":{"value":0},"rsp":{"value":123145446875136},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145446875136}}},{"id":14735,"frames":[{"imageOffset":6848,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":10499},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145446887424},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":0},"rbx":{"value":123145447411712},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703240227520},"rbp":{"value":0},"rsp":{"value":123145447411712},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145447411712}}}], "usedImages" : [ { "source" : "P", "arch" : "x86_64h", "base" : 4405899264, "size" : 53248, "uuid" : "79fb585f-7491-3991-afe3-baa6d8f159df", "path" : "\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4404412416, "CFBundleShortVersionString" : "2.6.3", "CFBundleIdentifier" : "org.sparkle-project.Sparkle", "size" : 278528, "uuid" : "3c83378b-3c44-3675-9d9c-ded47fe734ea", "path" : "\/Applications\/Ollamac.app\/Contents\/Frameworks\/Sparkle.framework\/Versions\/B\/Sparkle", "name" : "Sparkle", "CFBundleVersion" : "2039" }, { "source" : "P", "arch" : "x86_64", "base" : 4402335744, "CFBundleShortVersionString" : "2.1.2", "CFBundleIdentifier" : "com.kevinhermawan.Ollamac", "size" : 1454080, "uuid" : "a03ea3a0-e206-3564-a809-08468b2c6215", "path" : "\/Applications\/Ollamac.app\/Contents\/MacOS\/Ollamac", "name" : "Ollamac", "CFBundleVersion" : "11" }, { "source" : "P", "arch" : "x86_64", "base" : 140703515574272, "size" : 4923392, "uuid" : "af902c98-1383-3d8b-a9f0-6bcd546c2ea3", "path" : "\/usr\/lib\/swift\/libswiftCore.dylib", "name" : "libswiftCore.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140707747725312, "CFBundleShortVersionString" : "5.4.38.401", "CFBundleIdentifier" : "com.apple.SwiftUI", "size" : 28545009, "uuid" : "5761e765-dc22-363d-b90d-1e583bc974e8", "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI", "name" : "SwiftUI", "CFBundleVersion" : "5.4.38.401" }, { "source" : "P", "arch" : "x86_64", "base" : 140703236501504, "size" : 592736, "uuid" : "899f1e34-b624-3162-8003-04daa6829461", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "x86_64", "base" : 140703240220672, "size" : 49144, "uuid" : "5a006814-83f4-3c80-ab1f-528cdd08c0ff", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" } ], "sharedCache" : { "base" : 140703235805184, "size" : 25769803776, "uuid" : "59b61d18-2d12-3a06-a536-f0b08e953ca2" }, "vmSummary" : "ReadOnly portion of Libraries: Total=821.5M resident=0K(0%) swapped_out_or_unallocated=821.5M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nCoreData Object IDs 4100K 2 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 1.1G 29 \nMALLOC guard page 24K 6 \nSTACK GUARD 56.0M 3 \nStack 9232K 3 \nVM_ALLOCATE 4K 1 \nCTF 824 1 \nDATA 32.2M 512 \nDATA_CONST 37.4M 331 \n__DATA_DIRTY 1763K 188 \nFONT_DATA 2352 1 \nLINKEDIT 180.2M 5 \nOBJC_RO 71.7M 1 \n__OBJC_RW 2196K 2 \n__TEXT 641.3M 536 \ndyld private memory 260K 2 \nmapped file 31.3M 4 \nshared memory 608K 9 \n=========== ======= ======= \nTOTAL 2.1G 1639 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "4ac3a58a6090e4b3d2bf274c6e29a4396bdbfd49", "trialInfo" : { "rollouts" : [ { "rolloutId" : "64c17a9925d75a7281053d4c", "factorPackIds" : { "SIRI_AUDIO_DISABLE_MEDIA_ENTITY_SYNC" : "64d29746ad29a465b3bbeace" }, "deploymentId" : 240000002 }, { "rolloutId" : "6297d96be2c9387df974efa4", "factorPackIds" : {

  },
  "deploymentId" : 240000025
}

], "experiments" : [

] } }

kevinhermawan commented 1 month ago

These closed issues may help you:

https://github.com/kevinhermawan/Ollamac/issues/65 & https://github.com/kevinhermawan/Ollamac/issues/64