-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use of /
as an include path causes crash/freeze on macOS
#11993
Comments
Hi @sangraamp . Since we're not tracking an issue blocking all Mac users, there may be something about your system or configuration that we may need to uncover to understand what's happening. Does this happen for you with a simple project, such as a folder containing just a single, simple source file? I noticed that you've specified "/" as an include path. Since it's unlikely that you have header files located directly at the root of your file system, I don't think this is needed. I suspect this is resulting in the C/C++ extension trying to ingest your entire file system into its browse database, possibly crashing due to running out of memory. Does the issue still occur if you remove that? |
Well, thanks for that, @Colengms! Looks like that was the issue, it is working now. |
/
as an include path causes crash/freeze on macOS
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Pre-release version:
![Screenshot 2024-02-21 at 3 44 59 PM](https://private-user-images.githubusercontent.com/62427058/306585296-daf92fa8-3f6c-4fda-95ad-7b923951901f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDI1MjEsIm5iZiI6MTcyMjE0MjIyMSwicGF0aCI6Ii82MjQyNzA1OC8zMDY1ODUyOTYtZGFmOTJmYTgtM2Y2Yy00ZmRhLTk1YWQtN2I5MjM5NTE5MDFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA0NTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlZGZhYmQyYTljYzM3ZTk1NDliZDM1NTJlYzExYzQzNzQxZmY4ZTc4MGFiN2NlY2I1NWMxNmUzMDIxYWI1MDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ywIxS5Z-kPYT6LxnQGgpNXtokJXABYnaSAEEL4FXzHE)
Release version:
![Screenshot 2024-02-21 at 3 52 27 PM](https://private-user-images.githubusercontent.com/62427058/306586918-0c3d5afe-6245-446f-a958-b1ebeeef1094.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDI1MjEsIm5iZiI6MTcyMjE0MjIyMSwicGF0aCI6Ii82MjQyNzA1OC8zMDY1ODY5MTgtMGMzZDVhZmUtNjI0NS00NDZmLWE5NTgtYjFlYmVlZWYxMDk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA0NTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2YWFmNmZjMjhkZTYwNzhjMzhlNzk0OTEzNjRhODJjMDM1YTQyMzExYmE5Yjk4ZDJkOWE2YzFjZTVhM2U2ZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RsBXvTup5c89YCSyGaO22TmQZ4EsI2H2ANhS1-d5yLU)
Steps to reproduce:
Not aware of this as of now.
Expected behavior:
N/A
Configuration and Logs
Other Extensions
No response
Additional context
Here are the folder permissions:
drwxr-xr-x@ 15 apple staff 480 Feb 21 12:11 2D Physics Engine
The text was updated successfully, but these errors were encountered: