-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
VTI crashes with exit code 1 without any logs #1699
Comments
Hi @ktsn - I'm having the same exact experience. I added logging & breakpoints to both Will create a repro case repo |
@ktsn, @octref - this repo is a reliable reproduction on my machine. I'm under no illusions that you'll have the exact same experience on your machines, but if you have a few minutes to try, that'd be excellent. https://github.com/jackkoppa/vti-failures-1699 Quick repro steps from the README, that are reliable on my machine: git clone https://github.com/jackkoppa/vti-failures-1699.git
cd vti-failures-1699
npm ci
npm run vti
# fails
# Now, change one of the ComplexComponent files from .vue -> .txt
# thus removing it from vti observation, and run vti again
mv src/components/ComplexComponent4.vue src/components/ComplexComponent4.txt
npm run vti
# succeeds
# Finally, if you *still* see a failure message, we can try one more thing:
git checkout -- .
git clean -df
# Branch w/ even fewer vti-checked files
git checkout minimal-file-count-for-additional-testing
npm run vti |
Hi, @jackkoppa! I reproduced error on my machine with 2 more ComplexComponents (6 in total). |
Running vti with System:
|
@dkonchekov - whoa! You're absolutely right! I can run Also tried
And had no issues, where the command had previously errored out quite quickly. Awesome! I'm far from a process/memory allocation expert - I wonder what the best way to find the relevant upper bound is that |
It happens to me as well. Working fine with sudo |
Here output of linux
|
There is similar project https://github.com/Yuyz0112/vue-type-check that doesn't suffer this problem. |
Thanks @jackkoppa and @dkonchekov for providing simple reproduction and work around regarding |
Hi! The issue was not the large projects, VTI was killed after 3s timeout on projects of any size because VS Code language server self-terminated. |
Info
Problem
vti diagnostics
crashes without any error logs on a larger project..vue
-> 134.ts
-> 120I couldn't catch any errors even though I set
uncaughtexception
andunhandledrejection
even in vti source.Reproducible Case
It's pretty hard to reproduce as it looks depends on the size of a project (maybe memory allocation related?) and the reproducible project is confidential.
I've got some memory report in the attached zip file.
https://drive.google.com/file/d/1zUKepNdxCH7Imk2zR7bHvArcGQ8MDmwn/view?usp=sharing
Timeline.heaptimeline
Memory allocation timeline throughvti diagnostics
Snapshot1.heapsnapshot
Snapshot just after startingvti diagnostics
Snapshot2.heapsnapshot
Snapshot after 2-3 seconds of startingvti diagnostics
Snapshot3.heapsnapshot
Snapshot just beforevti diagnostics
crashesThe text was updated successfully, but these errors were encountered: