Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit code 133 and File exists (17) #181527

Closed
arturbosch opened this issue May 4, 2023 · 11 comments
Closed

Exit code 133 and File exists (17) #181527

arturbosch opened this issue May 4, 2023 · 11 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member electron Issues and items related to Electron electron-22-update extension-host Extension host issues freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@arturbosch
Copy link

Starting with 1.78.0 our integration tests fail with following messages:

Found existing install in <project>/.vscode-test/vscode-linux-x64-1.78.0. Skipping download
[0504/162038.874145:ERROR:file_io_posix.cc(152)] open /tmp/vscodeplugin-it/.test_stable/Crashpad/pending/3a965713-ce55-46f8-8b1c-ab823ed5f730.lock: File exists (17)
[0504/162038.874612:ERROR:file_io_posix.cc(152)] open /tmp/vscodeplugin-it/.test_stable/Crashpad/pending/c7f11ebd-c874-46e1-b5c1-e504bc95d88d.lock: File exists (17)
[0504/162038.874699:ERROR:file_io_posix.cc(152)] open /tmp/vscodeplugin-it/.test_stable/Crashpad/pending/5cd98eca-597e-49ba-8727-682a5a5e6efd.lock: File exists (17)
[0504/162038.874911:ERROR:file_io_posix.cc(152)] open /tmp/vscodeplugin-it/.test_stable/Crashpad/pending/2d349342-59dd-4ff6-a5a6-662e11eb7f5a.lock: File exists (17)
[0504/162038.875185:ERROR:file_io_posix.cc(152)] open /tmp/vscodeplugin-it/.test_stable/Crashpad/pending/9bb0bc38-cdb9-4985-97ac-56a6f8129167.lock: File exists (17)
[main 2023-05-04T14:20:39.364Z] update#ctor - updates are disabled by the environment
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
Loading development extension at <project>
[0504/162042.458830:ERROR:directory_reader_posix.cc(42)] opendir /tmp/vscodeplugin-it/.test_stable/Crashpad/attachments/ed9cb6e5-0e48-4622-a80e-44e3b03761b7: No such file or directory (2)
[main 2023-05-04T14:20:42.704Z] Extension host with pid 1562980 exited with code: 133, signal: unknown.
[main 2023-05-04T14:20:42.705Z] [UtilityProcess id: 1, type: extensionHost, pid: 1562980]: crashed with code 133 and reason 'crashed'
Exit code:   133
Failed

OS: Ubuntu 2304 Gnome 44 and debian 11 on CI

VSCode 1.77.3 works fine.
launch arguments are:

launchArgs: [
                '--disable-extensions', // disable all other extensions
                '--disable-gpu',
                '--disable-gpu-sandbox',
                '--disable-workspace-trust',
            ],

Happy to provide additional info.

@connor4312 connor4312 transferred this issue from microsoft/vscode-test May 4, 2023
@deepak1556
Copy link
Contributor

Can you provide crash dumps following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

@deepak1556 deepak1556 added info-needed Issue requires more information from poster freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues labels May 4, 2023
@arturbosch
Copy link
Author

Can you provide crash dumps following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

vscode.dmp.zip

@deepak1556
Copy link
Contributor

Crash happens when resizing array buffer, does your extension perform any such operations ? It would be great if you can provide a minimal repro to help us debug this issue further.

@arturbosch
Copy link
Author

No, we and our dependencies do not use ArrayBuffer.resize.
The integration tests work with 1.77.3 and crash with 1.78.0.

It started crashing with the insiders build on Apr 20, 2023, 9:03 AM. Apr 19, 2023, 9:03 AM was successful.

I can try to strip down the project to reproduce it tomorrow.

Screenshot from 2023-05-04 19-57-27

@deepak1556
Copy link
Contributor

I can try to strip down the project to reproduce it tomorrow.

That would be helpful, thanks!

@arturbosch
Copy link
Author

arturbosch commented May 5, 2023

I can try to strip down the project to reproduce it tomorrow.

That would be helpful, thanks!

Hi, please take a look at https://github.com/axivion/vscode-181527-reproducer

I was able to clone the repo and run the tests with:

git clone https://github.com/axivion/vscode-181527-reproducer
cd vscode-181527-reproducer
pnpm install && pnpm compile && pnpm build && pnpm test:integration

We use pnpm in version 7.18.2 but npm run should also work.

I was able to completely delete all the plugin code besides the extension.ts which just prints something to console.log.
We also did not update the dependencies between the 19 and 20 April (which work with 1.77.3).

@deepak1556 deepak1556 added bug Issue identified by VS Code Team member as probable bug extension-host Extension host issues confirmed Issue has been confirmed by VS Code Team member upstream Issue identified as 'upstream' component related (exists outside of VS Code) electron Issues and items related to Electron and removed info-needed Issue requires more information from poster labels May 15, 2023
@deepak1556
Copy link
Contributor

Thanks for the repro, I am able to confirm the issue on my end.

@aeisenberg
Copy link

Any update on this issue? Our integration tests are still stuck on v1.77.3. I'm getting concerned that we may miss out on some bugs since we are testing against an old vscode version.

@deepak1556
Copy link
Contributor

Issue is addressed in versions >= 1.82, please give it a try.

@deepak1556 deepak1556 added the info-needed Issue requires more information from poster label Dec 19, 2023
@deepak1556 deepak1556 removed this from the On Deck milestone Dec 19, 2023
@VSCodeTriageBot
Copy link
Collaborator

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2023
@arturbosch
Copy link
Author

arturbosch commented Dec 28, 2023

I can confirm this is fixed. Thank you!

@aiday-mar aiday-mar added this to the December / January 2024 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member electron Issues and items related to Electron electron-22-update extension-host Extension host issues freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

6 participants