Skip to content

vscode snap version fails to encrypt using the encryptionService #116690

Closed

Description

@controldev
  • VS Code Version: 1.53.2
  • OS Version: Ubuntu 20.04 LTS

Steps to Reproduce:

  1. Run the program in any way
  2. Sit back and watch

Does this issue occur when all extensions are disabled?: Yes

VS code automatically crashes and closes a few seconds after start up, with no popup or other information provided.
I tried purging (including all settings), reinstalling (both through snap and apt), but no luck.

Below are the only logs visible after running Code with
code --disable-extensions

[2021-02-15 12:17:23.351] [exthost] [info] extension host started
[2021-02-15 12:17:23.368] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-02-15 12:17:23.368] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-02-15 12:17:23.379] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-02-15 12:17:23.379] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-02-15 12:17:23.380] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-02-15 12:17:23.380] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/git/dist/main
[2021-02-15 12:17:23.438] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-02-15 12:17:23.438] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github/dist/extension.js
[2021-02-15 12:17:23.442] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-02-15 12:17:23.442] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-02-15 12:17:23.540] [exthost] [info] eager extensions activated
[2021-02-15 12:17:23.547] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-02-15 12:17:23.547] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-02-15 12:17:23.556] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-02-15 12:17:23.556] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-02-15 12:17:23.558] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-02-15 12:17:23.558] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/testing-editor-contributions/dist/extension.js
[2021-02-15 12:17:23.570] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-02-15 12:17:23.570] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github-authentication/dist/extension.js
[2021-02-15 12:17:24.339] [exthost] [info] extension host terminating: parent process 16843 does not exist anymore: kill ESRCH (code: ESRCH) (errno: ESRCH)
[2021-02-15 12:17:25.346] [exthost] [info] exiting with code 0

I wanted to try changing git.enabled to false in settings.json, but the path indicated in the official docs (https://code.visualstudio.com/docs/getstarted/settings) does not contain settings.json.

Activity

  1. bpasero commented on Feb 15, 2021

    @bpasero
    Contributor

    Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

  2. controldev commented on Feb 15, 2021

    @controldev
    Author

    Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

    Any idea how I can send you the .dmp file Benjamin Pasero (@bpasero)? GitHub won't accept it, I can send it via email as the link you provided suggests.

  3. bpasero commented on Feb 15, 2021

    @bpasero
    Contributor

    controldev GH will accept it if you first create a zip archive, but mail is also fine.

  4. harriskrem commented on Feb 19, 2021

    @harriskrem

    Hi i have exactly the same issue, i'm attaching you the crash dmp file, can you please help me? I'm using Pop!_OS 20.10
    crash.zip

  5. bpasero commented on Feb 19, 2021

    @bpasero
    Contributor

    Robo (@deepak1556) can you work your magic to symbolify?

  6. inc0der commented on Feb 21, 2021

    @inc0der

    Hey guys I'm having the same issue with VSCode(non snap version) crashing upon start in a new install of Ubuntu 20.04. Snap version works fine but also takes about 1 minute to open on the very first time after a system restart.

    Here are my logs for the crash vscode_crash_logs_Ubuntu_20.04.zip

  7. deepak1556 commented on Feb 22, 2021

    @deepak1556
    Collaborator

    Both the reports point to SIGABRT from the vscode-encrypt module, we currently don't generate debug symbols for the module. Will upload the symbolized dump tomorrow.

  8. added
    linuxIssues with VS Code on Linux
    and removed
    info-neededIssue requires more information from poster
    on Feb 22, 2021
  9. 38 remaining items

  10. removed this from the July 2021 milestone on Jul 26, 2021
  11. removed their assignment
    on Oct 22, 2021
  12. deepak1556 commented on Apr 20, 2022

    @deepak1556
    Collaborator

    /closedWith bebab7e

  13. locked and limited conversation to collaborators on Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxmitigatedIssue has workaround in placesnapIssues related to the snap packageverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址