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

VSCode extensions: tsserver crashes with SIGABRT in React Native project #428

Open
4 tasks done
andreialecu opened this issue Apr 3, 2024 · 3 comments
Open
4 tasks done
Labels
🙉 open/needs-info This needs some more info 🤞 phase/open Post is being triaged manually

Comments

@andreialecu
Copy link

Initial checklist

Affected packages and versions

v1.8.3

Link to runnable example

No response

Steps to reproduce

Just opening a React Native project seems to crash TSServer.

Expected behavior

No crash.

Actual behavior

Recently started getting TSServer crashes the moment a react native project was loaded in VSCode.

I ran an Extension Bisect and the problem is the MDX Language Support extension.

Some additional information:

2024-04-03 12:43:43.521 [error] TSServer exited. Code: null. Signal: SIGABRT
2024-04-03 12:43:43.521 [info] TSServer log file: /Users/.../Library/Application Support/Code - Insiders/logs/20240326T151710/window3/exthost/vscode.typescript-language-features/tsserver-log-kR3wf9/tsserver.log

Unfortunately the TSServer log doesn't contain anything relevant, it just abruptly cuts off:

Info 15569[12:43:42.919] event:
{"seq":0,"type":"event","event":"largeFileReferenced","body":{"file":"/Users/.../ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-hermes.build/Objects-normal/arm64/MessageTypes.o","fileSize":5108688,"maxFileSize":4194304}}
Info 15570[12:43:42.941] Skipped loading contents of large file /Users/.../ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-hermes.build/Objects-normal/x86_64/Connection.o for info /Users/.../ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-hermes.build/Objects-normal/x86_64/Connection.o: fileSize: 8022680
Info 15571[12:43:42.942] event:
{"seq":0,"type":"event","event":"largeFileReferenced","body":{"file":"/Users/.../ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-hermes.build/Objects-normal/x86_64/Connection.o","fileSize":8022680,"maxFileSize":4194304}}

Runtime

No response

Package manager

No response

OS

macOS

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Apr 3, 2024
@andreialecu
Copy link
Author

andreialecu commented Apr 3, 2024

Interestingly, if I disable the extension and reload the project (and avoid the crash), I don't see any logged messages like Skipped loading contents of large file ... (aka: the last few messages in the log when it crashes, see initial post)

@remcohaszing
Copy link
Member

Could you provide a git repo to reproduce the problem? It doesn’t even have to run or build. It just needs to show this problem when opened in VSCode.

@ChristianMurphy ChristianMurphy added the 🙉 open/needs-info This needs some more info label Apr 27, 2024
Copy link
Contributor

Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing more info. It’s not clear yet whether this is an issue. Here are a couple tips:

  • Spend time framing the issue! The more time you put into it, the more we will
  • Often, maintainers respond with why for several back and forths; rubber duck debugging might help avoid that
  • Folks posting issues sometimes fall for xy problems: asking for a certain solution instead of raising the root problem

Thanks,
— bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙉 open/needs-info This needs some more info 🤞 phase/open Post is being triaged manually
Development

No branches or pull requests

3 participants