microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.99k stars 29.19k forks source link

Cannot start VScode dur to issue with Electron framework #116680

Closed galamit86 closed 3 years ago

galamit86 commented 3 years ago

Every once in a while, I cannot start VScode, and see the following output in the terminal:

dyld: Library not loaded: @rpath/libffmpeg.dylib
  Referenced from: /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
  Reason: image not found
/usr/local/bin/code: line 10: 30845 Abort trap: 6           ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

The full log details are below. To overcome it, I uninstall and reinstall VS Code. I have found similar issues. here and here for example, but none provide relevant input.

I have had the same issue for several months, since starting to work with VS code, with previous OS versions and VS Code builds (did not keep those logs though).

Any assistance is welcome - as while not too bad, it is becoming a nuisance. Full log:

Process:               Electron [30770]
Path:                  /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier:            com.microsoft.VSCode
Version:               1.53.2 (1.53.2)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Electron [30770]
User ID:               1112656991

Date/Time:             2021-02-15 10:37:53.446 +0100
OS Version:            Mac OS X 10.15.7 (19H524)
Report Version:        12
Anonymous UUID:        2B3DFE9A-9EBE-B811-E119-E3BD27C68D1E

Sleep/Wake UUID:       05BDCA5A-7C9F-485C-9453-6F89F6AF3594

Time Awake Since Boot: 210000 seconds
Time Since Wake:       3300 seconds

System Integrity Protection: enabled

Crashed Thread:        0

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

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/libffmpeg.dylib
  Referenced from: /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
  Reason: image not found

Binary Images:
       0x107085000 -        0x1070acff3 +com.microsoft.VSCode (1.53.2 - 1.53.2) <78B92786-16F2-3C2B-86DC-F633B22A7F09> /Applications/Visual Studio Code.app/Contents/MacOS/Electron
       0x1070bd000 -        0x10e278f3f +com.github.Electron.framework (11.2.1) <56D43000-6AA7-3B33-B82C-7B2B8C76876F> /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x10ebbd000 -        0x10ebf8ff3 +com.github.Squirrel (1.0 - 1) <4BF717E4-CEAF-3090-B40A-1F2DDCA4AD3A> /Applications/Visual Studio Code.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
       0x10ec14000 -        0x10ec7fff3 +com.electron.reactive (3.1.0 - 0.0.0) <0F39DDE2-FBD0-37EF-8BAF-DDDF3D4343F1> /Applications/Visual Studio Code.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
       0x10ecab000 -        0x10ece2ff3 +org.mantle.Mantle (1.0 - 0.0.0) <185C83D7-0748-3DCD-B17C-3BC625751AAC> /Applications/Visual Studio Code.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
       0x114236000 -        0x1142c7f47  dyld (750.6) <326C6480-04F4-3164-A363-53079A148E2F> /usr/lib/dyld
    0x7fff316b1000 -     0x7fff318acff8  com.apple.avfoundation (2.0 - 1855.3) <0837D912-3783-35D6-A94A-E474E18600CF> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
    0x7fff31a99000 -     0x7fff31a99fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <C1FB2338-2D52-3884-BED3-071A82B1FD77> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff3312a000 -     0x7fff33eeaff2  com.apple.AppKit (6.9 - 1894.60.100) <035927A5-657C-3D54-B9AA-0BBE7307514E> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff33f3a000 -     0x7fff33f3afff  com.apple.ApplicationServices (48 - 50) <FD1EA6A9-8E7A-33AF-86AF-92BAC75403D7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff3426c000 -     0x7fff3434dffa  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <5B249BE8-90C2-303D-9D08-7E829341DB23> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff3434f000 -     0x7fff3434ffff  com.apple.audio.units.AudioUnit (1.14 - 1.14) <19BFF349-A9A2-355A-96F9-3ACD50231B0D> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff346e6000 -     0x7fff34a75ffa  com.apple.CFNetwork (1128.0.2 - 1128.0.2) <967D1958-9BAD-3582-B63D-C4088D43D69B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff34af1000 -     0x7fff34af1fff  com.apple.Carbon (160 - 162) <93F221F5-B31E-31F4-ACC7-7840171C61E3> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff34fd5000 -     0x7fff34fd5fff  com.apple.Cocoa (6.11 - 23) <94D1D6CE-8EFB-3EBF-A662-29F5AA6F963D> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff353c4000 -     0x7fff358cdffb  com.apple.audio.CoreAudio (5.0 - 5.0) <47923B12-3D14-328A-9C86-27A3A2A73068> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff35e88000 -     0x7fff36308ffb  com.apple.CoreFoundation (6.9 - 1677.201) <B58E1454-15EC-3F2E-B8B6-B4F8E4DDF4A4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff3630a000 -     0x7fff369a1ff0  com.apple.CoreGraphics (2.0 - 1355.22) <5A0B1E65-DC75-3ADD-9953-56C4781D7800> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff36d0b000 -     0x7fff36d74ff0  com.apple.corelocation (2394.0.22 - 2394.0.22) <75966124-2FB7-33C3-BE49-3DD5F327F911> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
    0x7fff36d75000 -     0x7fff36dc5ff6  com.apple.audio.midi.CoreMIDI (1.10 - 88) <017B0334-8AC4-304B-A5E2-C82C51BE1917> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
    0x7fff370cb000 -     0x7fff371a6ffc  com.apple.CoreMedia (1.0 - 2625.9) <A3FF3AFC-8C1C-36E5-9179-66D8F075EE35> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x7fff37293000 -     0x7fff37293fff  com.apple.CoreServices (1069.24 - 1069.24) <4DCFF933-1368-322A-97AB-C3BBEF8E5BBE> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff37d06000 -     0x7fff37ebdffc  com.apple.CoreText (643.1.5.4 - 643.1.5.4) <9962BA1D-8858-36FC-9C1E-856F59CB73C8> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff37ebe000 -     0x7fff37f02ffb  com.apple.CoreVideo (1.8 - 344.3) <5314E70D-325F-3E98-99FC-00FDF520747E> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff37f03000 -     0x7fff37f90ffc  com.apple.framework.CoreWLAN (13.0 - 1601.2) <6223BFD5-D451-3DE9-90F6-F609AC0B0027> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff38227000 -     0x7fff3822dfff  com.apple.DiskArbitration (2.7 - 2.7) <0BBBB6A6-604D-368B-9943-50B8CE75D51D> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff38565000 -     0x7fff38567ff3  com.apple.ForceFeedback (1.0.6 - 1.0.6) <9B324178-4FAA-3686-9E01-634607F38493> /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback
    0x7fff38568000 -     0x7fff3892dfff  com.apple.Foundation (6.9 - 1677.201) <E020DC09-4221-3961-A450-638525789B38> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff389eb000 -     0x7fff38a13ff4  com.apple.GameController (1.0 - 1) <2B7F0994-4B32-3B08-B58A-3FA5A5E65AF4> /System/Library/Frameworks/GameController.framework/Versions/A/GameController
    0x7fff38b27000 -     0x7fff38c3bff3  com.apple.Bluetooth (7.0.6 - 7.0.6f8) <C7AF719C-51B4-3727-A947-EB01204272D9> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fff38ca1000 -     0x7fff38d45ff3  com.apple.framework.IOKit (2.0.2 - 1726.148.1) <0A9D244C-AECC-3D29-86DE-4F3B04F8DD25> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff38d47000 -     0x7fff38d58ffb  com.apple.IOSurface (269.11 - 269.11) <BCD744D4-E17E-3C2E-B69C-F69C789892E9> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff38d76000 -     0x7fff38dd6ff5  com.apple.ImageCaptureCore (1.0 - 1600.65) <281CE141-B350-30E2-B345-FC7E7DF1AA3A> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore
    0x7fff3a9dd000 -     0x7fff3a9f3ff2  com.apple.LocalAuthentication (1.0 - 693.140.3) <5D391FD1-391B-390A-BBC1-62A537C8DAFE> /System/Library/Frameworks/LocalAuthentication.framework/Versions/A/LocalAuthentication
    0x7fff3ac01000 -     0x7fff3ac0bffb  com.apple.MediaAccessibility (1.0 - 125.1) <98065EA1-3484-3A5A-B05C-D2FABED8CEA4> /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility
    0x7fff3ac1f000 -     0x7fff3acd6ff7  com.apple.MediaPlayer (1.0 - 1.0) <FE739C02-1000-36C8-9FAD-26FF3D8240CB> /System/Library/Frameworks/MediaPlayer.framework/Versions/A/MediaPlayer
    0x7fff3b426000 -     0x7fff3b4f0fff  com.apple.Metal (212.8 - 212.8) <98C944D6-62C8-355E-90F8-C1CA2429EF24> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fff3b4f2000 -     0x7fff3b50cff5  com.apple.MetalKit (141.2 - 141.2) <FAACD940-5CF2-300A-83F3-86ABA7FDC531> /System/Library/Frameworks/MetalKit.framework/Versions/A/MetalKit
    0x7fff3f46e000 -     0x7fff3f479ffd  com.apple.OpenDirectory (10.15 - 220.40.1) <4A92D8D8-A9E5-3A9C-942F-28576F6BCDF5> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff40a43000 -     0x7fff40a52ff7  com.apple.opengl (17.10.22 - 17.10.22) <4D43EB22-BD57-3493-B574-332E13657FE9> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff41a0f000 -     0x7fff41a0ffff  com.apple.quartzframework (1.5 - 23) <112CB670-9241-3CE1-B857-B81DF2623BBC> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x7fff41a10000 -     0x7fff41c93ffb  com.apple.QuartzCore (1.11 - 841.4) <0028ADD7-42AD-310E-B725-2DF94C07FD6D> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff42816000 -     0x7fff42b5fff1  com.apple.security (7.0 - 59306.140.5) <B6F8368F-2395-379B-B768-71C53BB1B903> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff42be9000 -     0x7fff42c16ff7  com.apple.securityinterface (10.0 - 55139.120.1) <3F834E36-6B8B-33F0-B36B-809DBCD1FE69> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
    0x7fff42c17000 -     0x7fff42c1bff8  com.apple.xpc.ServiceManagement (1.0 - 1) <9B36FD0E-D280-35EB-ABAB-6AC5D7B2118F> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff42f4f000 -     0x7fff42f6cff9  com.apple.StoreKit (1.0 - 1) <D39EA2FD-A7E7-341F-80BD-18912272CAFE> /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit
    0x7fff438c7000 -     0x7fff43941ff7  com.apple.SystemConfiguration (1.19 - 1.19) <84F9B3BB-F7AF-3B7C-8CD0-D3C22D19619F> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff43bc1000 -     0x7fff43f44ff4  com.apple.VideoToolbox (1.0 - 2625.9) <6CF18E28-A7A8-3952-8171-7E4FF4FB37FA> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
    0x7fff43f45000 -     0x7fff441c8fff  com.apple.VN (3.0.97 - 3.0.97) <078CA4E3-B131-306F-A760-D45CB3F1AD0D> /System/Library/Frameworks/Vision.framework/Versions/A/Vision
    0x7fff6cfb7000 -     0x7fff6cfb8fff  libSystem.B.dylib (1281.100.1) <C49167AD-722B-3DF3-9031-7D6B59FC2A06> /usr/lib/libSystem.B.dylib

Model: MacBookAir5,2, BootROM 421.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 2 GHz, 8 GB, SMC 2.5f9
Graphics: kHW_IntelHD4000Item, Intel HD Graphics 4000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736443120
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736443120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (7.21.190.33 AirPortDriverBrcm4360-1601.1)
Bluetooth: Version 7.0.6f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB Receiver
Thunderbolt Bus: MacBook Air, Apple Inc., 23.4
deepak1556 commented 3 years ago

Where did you install vscode from ? Can you paste the steps you did to install the app. This is a corrupted installation of the app.

galamit86 commented 3 years ago

I downloaded the Mac version from here, (zip file named VSCode-darwin.zip), unarchived it, and 'dragged' it to Applications. Since my user is not the admin on this machine (school's laptop), I enter a local admin user and password. I am not very familiar with the macOS environment, so not sure what else might be relevant.

Thanks for the quick reply - let me know if you need any extra info.

deepak1556 commented 3 years ago

Can you paste the output of

ls -l /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/
galamit86 commented 3 years ago
tud0029822:~ tslilstrauss$ ls -l /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/
total 36960
-rwxr-xr-x@ 1 tslilstrauss  1653728465   243648 Feb 11 13:07 libEGL.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  8597888 Feb 11 13:07 libGLESv2.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  2921120 Feb 11 13:07 libffmpeg.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465   275312 Feb 11 13:07 libswiftshader_libEGL.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  2683392 Feb 11 13:07 libswiftshader_libGLESv2.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  4181536 Feb 11 13:07 libvk_swiftshader.dylib
-rw-r--r--@ 1 tslilstrauss  1653728465      110 Feb  6 05:59 vk_swiftshader_icd.json
deepak1556 commented 3 years ago

Can you print the value of the following

$ otool -D /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/libffmpeg.dylib

$ codesign -vvv /Applications/Visual\ Studio\ Code.app/

$ open -a /Applications/Visual\ Studio\ Code.app/
galamit86 commented 3 years ago
tud0029822:~ tslilstrauss$ ls -l /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/
total 36960
-rwxr-xr-x@ 1 tslilstrauss  1653728465   243648 Feb 11 13:07 libEGL.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  8597888 Feb 11 13:07 libGLESv2.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  2921120 Feb 11 13:07 libffmpeg.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465   275312 Feb 11 13:07 libswiftshader_libEGL.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  2683392 Feb 11 13:07 libswiftshader_libGLESv2.dylib
-rwxr-xr-x@ 1 tslilstrauss  1653728465  4181536 Feb 11 13:07 libvk_swiftshader.dylib
-rw-r--r--@ 1 tslilstrauss  1653728465      110 Feb  6 05:59 vk_swiftshader_icd.json
tud0029822:~ tslilstrauss$ otool -D /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/libffmpeg.dylib
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Libraries/libffmpeg.dylib:
@rpath/libffmpeg.dylib
tud0029822:~ tslilstrauss$ codesign -vvv /Applications/Visual\ Studio\ Code.app/
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/ReactiveObjC.framework/Versions/Current/.
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/ReactiveObjC.framework/Versions/Current/.
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (GPU).app
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (GPU).app
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Squirrel.framework/Versions/Current/.
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Squirrel.framework/Versions/Current/.
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Mantle.framework/Versions/Current/.
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Mantle.framework/Versions/Current/.
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/.
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/.
--prepared:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app
--validated:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app
/Applications/Visual Studio Code.app/: valid on disk
/Applications/Visual Studio Code.app/: satisfies its Designated Requirement
tud0029822:~ tslilstrauss$ open -a /Applications/Visual\ Studio\ Code.app/

The last command opens VS Code, as expected.

deepak1556 commented 3 years ago

Everything looks good with the current installation. Next time it stops working, please provide the output of the above. I am closing the issue for now. Thanks!

galamit86 commented 3 years ago

Hey! So, the same issue occurred again. I've had 2 open vscodes in two different venvs, and a third on my local env. I tried adding an add-on on my local one, and was prompted to update vscode. I clicked "update now" (or whatever it says on that prompt), at which point all windows closed, and after a few seconds, while relaunching the same error occured. Here are all the details:

  1. The crash report as can be sent to Apple:
    
    Process:               Electron [99636]
    Path:                  /Applications/Visual Studio Code.app/Contents/MacOS/Electron
    Identifier:            com.microsoft.VSCode
    Version:               1.54.0 (1.54.0)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Electron [99636]
    User ID:               1112656991

Date/Time: 2021-03-15 13:11:30.044 +0100 OS Version: Mac OS X 10.15.7 (19H524) Report Version: 12 Anonymous UUID: 2B3DFE9A-9EBE-B811-E119-E3BD27C68D1E

Sleep/Wake UUID: 461E0B8C-88F0-4207-9014-8369BAC37951

Time Awake Since Boot: 650000 seconds Time Since Wake: 170000 seconds

System Integrity Protection: enabled

Crashed Thread: 0

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

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information: dyld: launch, loading dependent libraries

Dyld Error Message: Library not loaded: @rpath/libffmpeg.dylib Referenced from: /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework Reason: image not found

Binary Images: 0x1069a8000 - 0x1069cfff3 +com.microsoft.VSCode (1.54.0 - 1.54.0) <78B92786-16F2-3C2B-86DC-F633B22A7F09> /Applications/Visual Studio Code.app/Contents/MacOS/Electron 0x1069e2000 - 0x10dba1f7f +com.github.Electron.framework (11.3.0) <512D96B0-3776-3C88-A442-8CCDBB0040E1> /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework 0x10e4ea000 - 0x10e525ff3 +com.github.Squirrel (1.0 - 1) <4BF717E4-CEAF-3090-B40A-1F2DDCA4AD3A> /Applications/Visual Studio Code.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel 0x10e544000 - 0x10e5afff3 +com.electron.reactive (3.1.0 - 0.0.0) <0F39DDE2-FBD0-37EF-8BAF-DDDF3D4343F1> /Applications/Visual Studio Code.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC 0x10e5dc000 - 0x10e613ff3 +org.mantle.Mantle (1.0 - 0.0.0) <185C83D7-0748-3DCD-B17C-3BC625751AAC> /Applications/Visual Studio Code.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle 0x1131c3000 - 0x113254f47 dyld (750.6) <326C6480-04F4-3164-A363-53079A148E2F> /usr/lib/dyld 0x7fff2bd56000 - 0x7fff2bf51ff8 com.apple.avfoundation (2.0 - 1855.3) <0837D912-3783-35D6-A94A-E474E18600CF> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation 0x7fff2c13e000 - 0x7fff2c13efff com.apple.Accelerate (1.11 - Accelerate 1.11) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x7fff2d7cf000 - 0x7fff2e58fff2 com.apple.AppKit (6.9 - 1894.60.100) <035927A5-657C-3D54-B9AA-0BBE7307514E> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff2e5df000 - 0x7fff2e5dffff com.apple.ApplicationServices (48 - 50) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x7fff2e911000 - 0x7fff2e9f2ffa com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <5B249BE8-90C2-303D-9D08-7E829341DB23> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x7fff2e9f4000 - 0x7fff2e9f4fff com.apple.audio.units.AudioUnit (1.14 - 1.14) <19BFF349-A9A2-355A-96F9-3ACD50231B0D> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x7fff2ed8b000 - 0x7fff2f11affa com.apple.CFNetwork (1128.0.2 - 1128.0.2) <967D1958-9BAD-3582-B63D-C4088D43D69B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x7fff2f196000 - 0x7fff2f196fff com.apple.Carbon (160 - 162) <93F221F5-B31E-31F4-ACC7-7840171C61E3> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x7fff2f67a000 - 0x7fff2f67afff com.apple.Cocoa (6.11 - 23) <94D1D6CE-8EFB-3EBF-A662-29F5AA6F963D> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x7fff2fa69000 - 0x7fff2ff72ffb com.apple.audio.CoreAudio (5.0 - 5.0) <47923B12-3D14-328A-9C86-27A3A2A73068> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x7fff3052d000 - 0x7fff309adffb com.apple.CoreFoundation (6.9 - 1677.201) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff309af000 - 0x7fff31046ff0 com.apple.CoreGraphics (2.0 - 1355.22) <5A0B1E65-DC75-3ADD-9953-56C4781D7800> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x7fff313b0000 - 0x7fff31419ff0 com.apple.corelocation (2394.0.22 - 2394.0.22) <75966124-2FB7-33C3-BE49-3DD5F327F911> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation 0x7fff3141a000 - 0x7fff3146aff6 com.apple.audio.midi.CoreMIDI (1.10 - 88) <017B0334-8AC4-304B-A5E2-C82C51BE1917> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI 0x7fff31770000 - 0x7fff3184bffc com.apple.CoreMedia (1.0 - 2625.9) /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia 0x7fff31938000 - 0x7fff31938fff com.apple.CoreServices (1069.24 - 1069.24) <4DCFF933-1368-322A-97AB-C3BBEF8E5BBE> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x7fff323ab000 - 0x7fff32562ffc com.apple.CoreText (643.1.5.4 - 643.1.5.4) <9962BA1D-8858-36FC-9C1E-856F59CB73C8> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText 0x7fff32563000 - 0x7fff325a7ffb com.apple.CoreVideo (1.8 - 344.3) <5314E70D-325F-3E98-99FC-00FDF520747E> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x7fff325a8000 - 0x7fff32635ffc com.apple.framework.CoreWLAN (13.0 - 1601.2) <6223BFD5-D451-3DE9-90F6-F609AC0B0027> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN 0x7fff328cc000 - 0x7fff328d2fff com.apple.DiskArbitration (2.7 - 2.7) <0BBBB6A6-604D-368B-9943-50B8CE75D51D> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x7fff32c0a000 - 0x7fff32c0cff3 com.apple.ForceFeedback (1.0.6 - 1.0.6) <9B324178-4FAA-3686-9E01-634607F38493> /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback 0x7fff32c0d000 - 0x7fff32fd2fff com.apple.Foundation (6.9 - 1677.201) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff33090000 - 0x7fff330b8ff4 com.apple.GameController (1.0 - 1) <2B7F0994-4B32-3B08-B58A-3FA5A5E65AF4> /System/Library/Frameworks/GameController.framework/Versions/A/GameController 0x7fff331cc000 - 0x7fff332e0ff3 com.apple.Bluetooth (7.0.6 - 7.0.6f8) /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth 0x7fff33346000 - 0x7fff333eaff3 com.apple.framework.IOKit (2.0.2 - 1726.148.1) <0A9D244C-AECC-3D29-86DE-4F3B04F8DD25> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x7fff333ec000 - 0x7fff333fdffb com.apple.IOSurface (269.11 - 269.11) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x7fff3341b000 - 0x7fff3347bff5 com.apple.ImageCaptureCore (1.0 - 1600.65) <281CE141-B350-30E2-B345-FC7E7DF1AA3A> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore 0x7fff35082000 - 0x7fff35098ff2 com.apple.LocalAuthentication (1.0 - 693.140.3) <5D391FD1-391B-390A-BBC1-62A537C8DAFE> /System/Library/Frameworks/LocalAuthentication.framework/Versions/A/LocalAuthentication 0x7fff352a6000 - 0x7fff352b0ffb com.apple.MediaAccessibility (1.0 - 125.1) <98065EA1-3484-3A5A-B05C-D2FABED8CEA4> /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility 0x7fff352c4000 - 0x7fff3537bff7 com.apple.MediaPlayer (1.0 - 1.0) /System/Library/Frameworks/MediaPlayer.framework/Versions/A/MediaPlayer 0x7fff35acb000 - 0x7fff35b95fff com.apple.Metal (212.8 - 212.8) <98C944D6-62C8-355E-90F8-C1CA2429EF24> /System/Library/Frameworks/Metal.framework/Versions/A/Metal 0x7fff35b97000 - 0x7fff35bb1ff5 com.apple.MetalKit (141.2 - 141.2) /System/Library/Frameworks/MetalKit.framework/Versions/A/MetalKit 0x7fff39b13000 - 0x7fff39b1effd com.apple.OpenDirectory (10.15 - 220.40.1) <4A92D8D8-A9E5-3A9C-942F-28576F6BCDF5> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x7fff3b0e8000 - 0x7fff3b0f7ff7 com.apple.opengl (17.10.22 - 17.10.22) <4D43EB22-BD57-3493-B574-332E13657FE9> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x7fff3c0b4000 - 0x7fff3c0b4fff com.apple.quartzframework (1.5 - 23) <112CB670-9241-3CE1-B857-B81DF2623BBC> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz 0x7fff3c0b5000 - 0x7fff3c338ffb com.apple.QuartzCore (1.11 - 841.4) <0028ADD7-42AD-310E-B725-2DF94C07FD6D> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x7fff3cebb000 - 0x7fff3d204ff1 com.apple.security (7.0 - 59306.140.5) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x7fff3d28e000 - 0x7fff3d2bbff7 com.apple.securityinterface (10.0 - 55139.120.1) <3F834E36-6B8B-33F0-B36B-809DBCD1FE69> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface 0x7fff3d2bc000 - 0x7fff3d2c0ff8 com.apple.xpc.ServiceManagement (1.0 - 1) <9B36FD0E-D280-35EB-ABAB-6AC5D7B2118F> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement 0x7fff3d5f4000 - 0x7fff3d611ff9 com.apple.StoreKit (1.0 - 1) /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit 0x7fff3df6c000 - 0x7fff3dfe6ff7 com.apple.SystemConfiguration (1.19 - 1.19) <84F9B3BB-F7AF-3B7C-8CD0-D3C22D19619F> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x7fff3e266000 - 0x7fff3e5e9ff4 com.apple.VideoToolbox (1.0 - 2625.9) <6CF18E28-A7A8-3952-8171-7E4FF4FB37FA> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x7fff3e5ea000 - 0x7fff3e86dfff com.apple.VN (3.0.97 - 3.0.97) <078CA4E3-B131-306F-A760-D45CB3F1AD0D> /System/Library/Frameworks/Vision.framework/Versions/A/Vision 0x7fff676a3000 - 0x7fff676a4fff libSystem.B.dylib (1281.100.1) /usr/lib/libSystem.B.dylib

2. Output of `ls -l /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/`:

tud0029822:catalog-nl-open-data tslilstrauss$ ls -l /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/ total 36960 -rwxr-xr-x 1 root wheel 243648 Mar 3 03:42 libEGL.dylib -rwxr-xr-x 1 root wheel 8597888 Mar 3 03:42 libGLESv2.dylib -rwxr-xr-x 1 root wheel 2921120 Mar 3 03:42 libffmpeg.dylib -rwxr-xr-x 1 root wheel 275312 Mar 3 03:42 libswiftshader_libEGL.dylib -rwxr-xr-x 1 root wheel 2683392 Mar 3 03:42 libswiftshader_libGLESv2.dylib -rwxr-xr-x 1 root wheel 4181536 Mar 3 03:42 libvk_swiftshader.dylib -rw-r--r-- 1 root wheel 110 Feb 24 00:39 vk_swiftshader_icd.json

3. The output of the last 3 commands requested above:

tud0029822:catalog-nl-open-data tslilstrauss$ otool -D /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Electron\ Framework.framework/Versions/Current/Libraries/libffmpeg.dylib /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Libraries/libffmpeg.dylib: @rpath/libffmpeg.dylib tud0029822:catalog-nl-open-data tslilstrauss$ codesign -vvv /Applications/Visual\ Studio\ Code.app/ /Applications/Visual Studio Code.app/: Permission denied tud0029822:catalog-nl-open-data tslilstrauss$ open -a /Applications/Visual\ Studio\ Code.app/ LSOpenURLsWithRole() failed for the application /Applications/Visual Studio Code.app with error -10810. tud0029822:catalog-nl-open-data tslilstrauss$



I will be reinstalling again shortly to continue working, so if there is something else I should check - please let me know.

Thanks!