VSCode crashes | Package 'code' isn't signed with proper key

Hello, I tried starting vscode today which would not start. Upon looking at the logs, i noticed the following:

systemd-coredump[16850]: Process 16703 (code) of user 1000 dumped 
 Module vscode-sqlite3.node without build-id.
...
...
Package 'code' isn't signed with proper key

Any one else experience this? I have not touched anything key related since I installed vscode.

Is it something to be concerned about?
Also how should I proceed with fixing?

Thanks!

1 Like

Added f40, workstation

Added desktop, gpg, vscode

Removed desktop, f40, gpg, vscode, workstation

Follow the official instruction to import the key:
Running Visual Studio Code on Linux

Yes, I tried reinstalling following those instructions and the result was still the same unfortunately.

Check if the problem persists when testing a new user with default profile settings.

I’m not using VSCode but VSCodium flatpak, also crash notification spam, though I’m not sure if it’s related.

EDIT: Nope nvm, it’s SELinux execheap denial.

I think I found the issue, but not sure why it has happened out of no where.

I had an alias for code set to code --enable-features=UseOzonePlatform --ozone-platform=wayland.

I have just verified, that Im able to run VSCode under XWayland, but running it in Wayland with the above args results in Package 'code' isn't signed with proper key.

Any ideas?

This is the coredump I see using journalctl --since=now -f when I run code --enable-features=UseOzonePlatform --ozone-platform=wayland:

fedora systemd-coredump[8742]: [🡕] Process 8611 (code) of user 1000 dumped core.
                                               
Module libxkbfile.so.1 from rpm libxkbfile-1.1.3-1.fc40.x86_64
Module keymapping.node without build-id.
Module vscode-sqlite3.node without build-id.
Module spdlog.node without build-id.
Module libpk-gtk-module.so from rpm PackageKit-1.2.8-5.fc40.x86_64
Module libogg.so.0 from rpm libogg-1.3.5-8.fc40.x86_64
Module libvorbis.so.0 from rpm libvorbis-1.3.7-10.fc40.x86_64
Module libltdl.so.7 from rpm libtool-2.4.7-10.fc40.x86_64
Module libtdb.so.1 from rpm libtdb-1.4.10-1.fc40.x86_64
Module libvorbisfile.so.3 from rpm libvorbis-1.3.7-10.fc40.x86_64
Module libgthread-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
Module libudev.so.1 from rpm systemd-255.10-1.fc40.x86_64
Module librsvg-2.so.2 from rpm librsvg2-2.57.1-6.fc40.x86_64
Module libpixbufloader-svg.so from rpm librsvg2-2.57.1-6.fc40.x86_64
Module libgvfscommon.so from rpm gvfs-1.54.2-1.fc40.x86_64
Module libgvfsdbus.so from rpm gvfs-1.54.2-1.fc40.x86_64
Module libdconfsettings.so from rpm dconf-0.40.0-12.fc40.x86_64
Module libtinfo.so.6 from rpm ncurses-6.4-12.20240127.fc40.x86_64
Module libedit.so.0 from rpm libedit-3.1-51.20240517cvs.fc40.x86_64
Module libglapi.so.0 from rpm mesa-24.1.5-2.fc40.x86_64
Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64
Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64
Module libjson-glib-1.0.so.0 from rpm json-glib-1.8.0-3.fc40.x86_64
Module libjpeg.so.62 from rpm libjpeg-turbo-3.0.2-1.fc40.x86_64
Module libxml2.so.2 from rpm libxml2-2.12.8-1.fc40.x86_64
Module libgraphite2.so.3 from rpm graphite2-1.3.14-15.fc40.x86_64
Module libXinerama.so.1 from rpm libXinerama-1.1.5-6.fc40.x86_64
Module libXcursor.so.1 from rpm libXcursor-1.2.1-7.fc40.x86_64
Module libwayland-egl.so.1 from rpm wayland-1.22.0-3.fc40.x86_64
Module libwayland-cursor.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64
Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64
Module libblkid.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64
Module libxcb-randr.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libwayland-server.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libpixman-1.so.0 from rpm pixman-0.43.4-1.fc40.x86_64
Module libxcb-shm.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-render.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libXrender.so.1 from rpm libXrender-0.9.11-6.fc40.x86_64
Module libfreetype.so.6 from rpm freetype-2.13.2-5.fc40.x86_64
Module libpng16.so.16 from rpm libpng-1.6.40-3.fc40.x86_64
Module libthai.so.0 from rpm libthai-0.1.29-8.fc40.x86_64
Module libwayland-client.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libtracker-sparql-3.0.so.0 from rpm tracker-3.7.3-1.fc40.x86_64
Module libcloudproviders.so.0 from rpm libcloudproviders-0.3.5-3.fc40.x86_64
Module libXi.so.6 from rpm libXi-1.8.1-5.fc40.x86_64
Module libepoxy.so.0 from rpm libepoxy-1.5.10-6.fc40.x86_64
Module libgdk_pixbuf-2.0.so.0 from rpm gdk-pixbuf2-2.42.10-8.fc40.x86_64
Module libcairo-gobject.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
Module libfribidi.so.0 from rpm fribidi-1.0.14-2.fc40.x86_64
Module libfontconfig.so.1 from rpm fontconfig-2.15.0-6.fc40.x86_64
Module libpangoft2-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
Module libharfbuzz.so.0 from rpm harfbuzz-8.5.0-1.fc40.x86_64
Module libpangocairo-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
Module libgdk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64
Module libsystemd.so.0 from rpm systemd-255.10-1.fc40.x86_64
Module libplds4.so from rpm nss-3.101.0-1.fc40.x86_64
Module libplc4.so from rpm nss-3.101.0-1.fc40.x86_64
Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.x86_64
Module libmount.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
Module libz.so.1 from rpm zlib-ng-2.1.7-1.fc40.x86_64
Module libgmodule-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc40.x86_64
Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64
Module libatspi.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libasound.so.2 from rpm alsa-lib-1.2.12-1.fc40.x86_64
Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_64
Module libxcb.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libexpat.so.1 from rpm expat-2.6.2-1.fc40.x86_64
Module libgbm.so.1 from rpm mesa-24.1.5-2.fc40.x86_64
Module libXrandr.so.2 from rpm libXrandr-1.5.4-3.fc40.x86_64
Module libXfixes.so.3 from rpm libXfixes-6.0.1-3.fc40.x86_64
Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64
Module libXdamage.so.1 from rpm libXdamage-1.1.6-3.fc40.x86_64
Module libXcomposite.so.1 from rpm libXcomposite-0.4.6-3.fc40.x86_64
Module libX11.so.6 from rpm libX11-1.8.10-1.fc40.x86_64
Module libcairo.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
Module libpango-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
Module libgtk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64
Module libdrm.so.2 from rpm libdrm-2.4.122-1.fc40.x86_64
Module libatk-bridge-2.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libatk-1.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64
Module libnspr4.so from rpm nss-3.101.0-1.fc40.x86_64
Module libgio-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
Module libglib-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
Module libgobject-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
Stack trace of thread
...
....




fedora abrt-server[8779]: Package 'code' isn't signed with proper key

Could this issue be nvidia related?

I can open VSCode if i pass the --disable-gpu flag.

code --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu

Hopefully someone can chime in.

Does the log show a signal or error that triggered the core dump? “Package ‘code’ isn’t signed with proper key” is from abrt and it’s not related to the crash itself[1].
For example, the execheap crash gives:

audit[4543]: AVC avc:  denied  { execheap } for  pid=4543 comm="codium" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=0
audit[4543]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=4543 comm="codium" exe="/app/share/codium/codium" sig=6 res=1

  1. ↩︎

When I follow the log using journalctl --since=now -f, I do see

ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=5252 comm="code" exe="/usr/share/code/code" sig=5 res=1

Is there a workaround?

Hmm… not sure besides the one you posted, since the error is not known. That log message says something (probably went wrong and) sent a SIGTRAP.

Since it suddenly stopped working, the usual suggestions are new user / fresh system / Live USB. Plus also the unofficial VSCode flatpak (doesn’t use system dependencies).
TBH I’m using AMD/Mesa so I don’t know the best way to rule out nVidia driver problem.

Definitely seems to be nvidia related. I connected to the iGPU and vscode was able to open.
Not sure where to go from here :upside_down_face:

1 Like