thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
442 stars 30 forks source link

[Bug]: Crash on open Sanoma 14.5 #96

Closed viralshah closed 1 month ago

viralshah commented 1 month ago

What happened?

Installed the latest version of Vibe. App crashes on open

Steps to reproduce

Install latest version of app.

What OS are you seeing the problem on?

MacOS

Relevant log output

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

Process:               vibe [81960]
Path:                  /Applications/vibe.app/Contents/MacOS/vibe
Identifier:            github.com.thewh1teagle.vibe
Version:               2.0.0 (20240601.012217)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-06-04 15:58:37.3274 +0100
OS Version:            macOS 14.5 (23F79)
Report Version:        12
Bridge OS Version:     8.5 (21P5077)
Anonymous UUID:        9A7D8C04-4383-4CD7-8D57-70DC3BE97CF5

Time Awake Since Boot: 1100000 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/libavcodec.60.dylib
Referenced from: <03A57C5A-8E06-35FC-AE1D-FAB21AF79574> /Applications/vibe.app/Contents/MacOS/vibe
Reason: tried: '/Applications/vibe.app/Contents/Frameworks/libavcodec.60.dylib' (code signature in <B25268D1-9725-3412-B1ED-8860C81B0A41> '/Applications/vibe.app/Contents/Frameworks/libavcodec.60.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/Applications/vibe.app/Contents/Frameworks/libavcodec.60.dylib' (code signature in <B25268D1-9725-3412-B1ED-8860C81B0A41> '/Applications/vibe.app/Contents/Frameworks/libavcodec.60.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                                0x7ff81460ab3e __abort_with_payload + 10
1   dyld                                0x7ff814623bb7 abort_with_payload_wrapper_internal + 82
2   dyld                                0x7ff814623be9 abort_with_payload + 9
3   dyld                                0x7ff8145b02e5 dyld4::halt(char const*, dyld4::StructuredError const*) + 335
4   dyld                                0x7ff8145ad4e2 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4099
5   dyld                                0x7ff8145ac2ff start + 1839

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000001  rcx: 0x00007ff7bda6c508  rdx: 0x00007ff7bda6c970
  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007ff7bda6c550  rsp: 0x00007ff7bda6c508
   r8: 0x00007ff7bda6c570   r9: 0x0000000000000000  r10: 0x000000000000005a  r11: 0x0000000000000246
  r12: 0x0000000000000000  r13: 0x00007ff7bda6c970  r14: 0x0000000000000006  r15: 0x000000000000005a
  rip: 0x00007ff81460ab3e  rfl: 0x0000000000000246  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x02000209 
Trap Number:     133

Binary Images:
       0x102492000 -        0x103379fff github.com.thewh1teagle.vibe (2.0.0) <03a57c5a-8e06-35fc-ae1d-fab21af79574> /Applications/vibe.app/Contents/MacOS/vibe
    0x7ff8145a6000 -     0x7ff814636b9f dyld (*) <baa6f02e-dff3-3562-8c99-ea2820c91ad9> /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=200.9M resident=0K(0%) swapped_out_or_unallocated=200.9M(100%)
Writable regions: Total=13.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=13.1M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE                          4K        1 
__DATA                            1867K        3 
__DATA_CONST                        22K        1 
__DATA_DIRTY                         7K        1 
__LINKEDIT                       185.5M        3 
__TEXT                            15.5M        2 
dyld private memory               4360K        4 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                            271.0M       19 

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

{"app_name":"vibe","timestamp":"2024-06-04 15:58:37.00 +0100","app_version":"2.0.0","slice_uuid":"03a57c5a-8e06-35fc-ae1d-fab21af79574","build_version":"20240601.012217","platform":1,"bundleID":"github.com.thewh1teagle.vibe","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.5 (23F79)","roots_installed":0,"name":"vibe","incident_id":"3F5DA391-03FE-4437-86CB-DC05FF8B1B53"}
{
  "uptime" : 1100000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "coalitionID" : 96724,
  "osVersion" : {
    "train" : "macOS 14.5",
    "build" : "23F79",
    "releaseType" : "User"
  },
  "captureTime" : "2024-06-04 15:58:37.3274 +0100",
  "codeSigningMonitor" : 0,
  "incident" : "3F5DA391-03FE-4437-86CB-DC05FF8B1B53",
  "pid" : 81960,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-06-04 15:58:37.2968 +0100",
  "procStartAbsTime" : 1178174062323636,
  "procExitAbsTime" : 1178174092507112,
  "procName" : "vibe",
  "procPath" : "\/Applications\/vibe.app\/Contents\/MacOS\/vibe",
  "bundleInfo" : {"CFBundleShortVersionString":"2.0.0","CFBundleVersion":"20240601.012217","CFBundleIdentifier":"github.com.thewh1teagle.vibe"},
  "storeInfo" : {"deviceIdentifierForVendor":"56005922-4246-5772-A21D-56E4D85B256C","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "github.com.thewh1teagle.vibe",
  "crashReporterKey" : "9A7D8C04-4383-4CD7-8D57-70DC3BE97CF5",
  "codeSigningID" : "github.com.thewh1teagle.vibe",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "bridgeVersion" : {"build":"21P5077","train":"8.5"},
  "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\/libavcodec.60.dylib","Referenced from: <03A57C5A-8E06-35FC-AE1D-FAB21AF79574> \/Applications\/vibe.app\/Contents\/MacOS\/vibe","Reason: tried: '\/Applications\/vibe.app\/Contents\/Frameworks\/libavcodec.60.dylib' (code signature in <B25268D1-9725-3412-B1ED-8860C81B0A41> '\/Applications\/vibe.app\/Contents\/Frameworks\/libavcodec.60.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '\/Applications\/vibe.app\/Contents\/Frameworks\/libavcodec.60.dylib' (code signature in <B25268D1-9725-3412-B1ED-8860C81B0A41> '\/Applications\/vibe.app\/Contents\/Frameworks\/libavcodec.60.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)"]},
  "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":218748888,"threadState":{"r13":{"value":140702015474032},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":1},"r8":{"value":140702015473008},"cr2":{"value":0},"rdx":{"value":140702015474032},"r10":{"value":90},"r9":{"value":0},"r15":{"value":90},"rbx":{"value":1},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140703470496574,"matchesCrashFrame":1},"rbp":{"value":140702015472976},"rsp":{"value":140702015472904},"r12":{"value":0},"rcx":{"value":140702015472904},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":412478,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":1},{"imageOffset":514999,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":1},{"imageOffset":515049,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":41701,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":335,"imageIndex":1},{"imageOffset":29922,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4099,"imageIndex":1},{"imageOffset":25343,"symbol":"start","symbolLocation":1839,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4333314048,
    "CFBundleShortVersionString" : "2.0.0",
    "CFBundleIdentifier" : "github.com.thewh1teagle.vibe",
    "size" : 15630336,
    "uuid" : "03a57c5a-8e06-35fc-ae1d-fab21af79574",
    "path" : "\/Applications\/vibe.app\/Contents\/MacOS\/vibe",
    "name" : "vibe",
    "CFBundleVersion" : "20240601.012217"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703470084096,
    "size" : 592800,
    "uuid" : "baa6f02e-dff3-3562-8c99-ea2820c91ad9",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703469387776,
  "size" : 25769803776,
  "uuid" : "b48cfc6b-b7ed-3343-97fb-f5187dc04df8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=200.9M resident=0K(0%) swapped_out_or_unallocated=200.9M(100%)\nWritable regions: Total=13.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=13.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                          4K        1 \n__DATA                            1867K        3 \n__DATA_CONST                        22K        1 \n__DATA_DIRTY                         7K        1 \n__LINKEDIT                       185.5M        3 \n__TEXT                            15.5M        2 \ndyld private memory               4360K        4 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                            271.0M       19 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "f29e8ae510a8e1857649e80a22b7393dc2343d1e",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "6410af69ed1e1e7ab93ed169",
      "factorPackIds" : {

      },
      "deploymentId" : 240000011
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "5d85d104-adc7-4ebf-8b7c-96d84fdad9cc",
      "experimentId" : "6384d56b96e8d228551ec182",
      "deploymentId" : 400000023
    },
    {
      "treatmentId" : "26a5fac3-0741-4a12-8ea3-e291e742432a",
      "experimentId" : "65c16ae095b5e23d93cdd97c",
      "deploymentId" : 400000006
    }
  ]
}
}

Model: MacBookPro16,1, BootROM 2022.100.22.0.0 (iBridge: 21.16.5077.0.0,0), 8 processors, 8-Core Intel Core i9, 2.4 GHz, 64 GB, SMC 
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 4 GB
Display: BenQ EW3270U, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, MT40A4G8BAF-062E:B
Memory Module: BANK 2/ChannelB-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, MT40A4G8BAF-062E:B
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 10 2023 12:53:18 version 9.30.503.0.32.5.92 FWID 01-c06f991b
AirPort: 
....
thewh1teagle commented 1 month ago

Thanks for reporting! Looks like it happens on Intel CPU, are you sure you have intel CPU? Also, if you're sure you have Intel CPU, can you double check that you downloaded the right dmg?

It should be from releases/download/v2.0.1/vibe_2.0.1_x64.dmg

If both are true, try to execute the following:

  1. open launchpad, search for Terminal and open
  2. Execute:
/Applications/vibe.app/Contents/MacOS/vibe

If not special output and it doesn't work, try again with:

codesign --force --deep -s "-" /Applications/vibe.app
/Applications/vibe.app/Contents/MacOS/vibe
viralshah commented 1 month ago

Yep Intel CPU. Have the x64.dmg. You suggestion for codesign worked! Thanks!

thewh1teagle commented 1 month ago

Great! Also found another issue that it shows error dialog of "cpu is old" so I fixed it too. Fixed both and updated binaries in latest version :)