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

Intellisense suggestions don't appear and formatting documents has no effect #1396

Closed
omern1 opened this issue Jan 2, 2018 · 20 comments
Closed
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@omern1
Copy link

omern1 commented Jan 2, 2018

VSCode Insiders v1.20
MacOS v10.13.2
C/C++ tools v0.14.5

VSCode cpptools doesn't show Intellisense suggestions and trying to format documents doesn't work either.
The following text appears in the output window:

Failed to read response from server: 4
Shutdown request failed.
Failed to read response from server: 4
Failed to send request to server: 17
IntelliSense client has disconnected from the server - /Users/nabeelomer/Projects/Guacamole/src/Lexer.cpp
Shutdown request failed.
Failed to read response from server: 4
Shutdown request failed.
Failed to read response from server: 4
Shutdown request failed.

screen shot 2018-01-01 at 8 11 16 pm

**Activity Monitor showing the Intellisense process**
@sean-mcmanus
Copy link
Collaborator

Does Go to Definition work? I would assume the formatting is failing because the main input thread is stuck on the IntelliSense operation. @bobbrow Any more ideas?

@sean-mcmanus sean-mcmanus added the more info needed The issue report is not actionable in its current state label Jan 2, 2018
@omern1
Copy link
Author

omern1 commented Jan 2, 2018

Goto definition/declaration and peek definition/declaration both work.

@sean-mcmanus sean-mcmanus removed the more info needed The issue report is not actionable in its current state label Jan 2, 2018
@sean-mcmanus
Copy link
Collaborator

Could you temporarily change your C_Cpp.loggingLevel to 6 and then do a Format Document and look at the C/C++ output window? It should give logging about formatting. Do you see where the results are getting returned incorrectly from the output?

I assume these error don't happen on a simple C++ file with just int main() { return 0; } right?

@sean-mcmanus sean-mcmanus added the more info needed The issue report is not actionable in its current state label Jan 2, 2018
@omern1
Copy link
Author

omern1 commented Jan 3, 2018

I changed the C_cpp.loggingLevel to Information (I tried changing it to 6 but got an error) and the following output appeared in the output window:

IntelliSense Engine = Default.
The extension will use the Tag Parser for IntelliSense when #includes don't resolve.
Autocomplete is enabled.
Error squiggles are enabled.
File exclude: **/.git
File exclude: **/.svn
File exclude: **/.hg
File exclude: **/CVS
File exclude: **/.DS_Store
File exclude: **/.vscode
Search exclude: **/node_modules
Search exclude: **/bower_components
Search exclude: **/.vscode
Code browsing service initialized
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
  Unable to retrieve file system information for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. error = -1
  Folder: /usr/local/include/ will be indexed
  Folder: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/ will be indexed
  Folder: /usr/include/ will be indexed
  Folder: /usr/local/Cellar/boost/1.66.0/include/ will be indexed
  Folder: /usr/local/Cellar/llvm/5.0.1/include/ will be indexed
  Folder: /Users/nabeelomer/Projects/Guacamole/src/ will be indexed
  Folder: /System/Library/Frameworks/ will be indexed
  Folder: /Library/Frameworks/ will be indexed
Discovering files...
Checking for syntax errors: file:///Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
  Processing folder (recursive): /usr/local/include/
  Processing folder (recursive): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/
  Processing folder (recursive): /usr/include/
  Processing folder (recursive): /usr/local/Cellar/boost/1.66.0/include/
  Processing folder (recursive): /usr/local/Cellar/llvm/5.0.1/include/
  Processing folder (recursive): /Users/nabeelomer/Projects/Guacamole/src/
  Processing folder (recursive): /System/Library/Frameworks/
Shutting down IntelliSense server: /Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
Checking for syntax errors: file:///Users/nabeelomer/Projects/Guacamole/src/Lexer.hpp
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
Checking for syntax errors: file:///Users/nabeelomer/Projects/Guacamole/src/Lexer.cpp
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
Shutting down IntelliSense server: /Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
  Processing folder (recursive): /Library/Frameworks/
  Indexing: 272507 file(s) processed
  Indexing: 0 file(s) removed from database
Done discovering files.
Parsing open files...
Checking for edits and parsing remaining files...
  Processing folder (recursive): /Users/nabeelomer/Projects/Guacamole/src/
Done parsing open files.
  Parsing: 11 files(s) processed
Done parsing remaining files.

No output appears when I try to do a Format Document.
I tried formatting with a simple int main() { return 0; } in a file and everything worked.

@sean-mcmanus
Copy link
Collaborator

The Information setting won't be good enough, because we don't log the formatting diagnostics in that case, because it outputs a lot of text. It needs to be at least "6" -- can you ignore the error? I assume you mean the green squiggle in the settings.json -- that can be ignored. The 6 setting is a hidden value.

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

initialized
workspace/didChangeConfiguration
IntelliSense Engine = Default.
The extension will use the Tag Parser for IntelliSense when #includes don't resolve.
Autocomplete is enabled.
Error squiggles are enabled.
File exclude: **/.git
File exclude: **/.svn
File exclude: **/.hg
File exclude: **/CVS
File exclude: **/.DS_Store
File exclude: **/.vscode
Search exclude: **/node_modules
Search exclude: **/bower_components
Search exclude: **/.vscode
textDocument/didOpen
cpptools/queryDefaultPaths
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/didChangeFolderSettings
Code browsing service initialized
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
  Unable to retrieve file system information for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. error = -1
  Folder: /usr/local/include/ will be indexed
  Folder: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/ will be indexed
  Folder: /usr/include/ will be indexed
  Folder: /usr/local/Cellar/boost/1.66.0/include/ will be indexed
  Folder: /usr/local/Cellar/llvm/5.0.1/include/ will be indexed
  Folder: /Users/nabeelomer/Projects/Guacamole/src/ will be indexed
textDocument/didOpen
Discovering files...
Checking for syntax errors: file:///Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
Unable to determine real path of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0/include. Error = 2
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
About to fork
fork complete (parent process, child pid = 20922)
  Same time stamp: 1514898073
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/Ast.hpp
  Same time stamp: 1514897418
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/json.hpp
  Same time stamp: 1514902938
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/Parser.hpp
  Same time stamp: 1514897345
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/ParserError.hpp
  Same time stamp: 1514897345
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string
  Same time stamp: 1501282080
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/Lexer.hpp
  Same time stamp: 1514897345
update_file_if_needed: /Users/nabeelomer/Projects/Guacamole/src/Environment.hpp
  Same time stamp: 1514902945
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstring
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdio
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iterator
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/utility
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdexcept
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/initializer_list
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__functional_base
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdint
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__undef_min_max
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__debug
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/fstream.hpp
  Same time stamp: 1513211770
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__bit_reference
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/climits
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__split_buffer
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstddef
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdlib
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/i386/endian.h
  Same time stamp: 1510279625
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/wchar.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/llvm/5.0.1/include/c++/v1/support/ibm/support.h
  Same time stamp: 1512593118
update_file_if_needed: /usr/include/Availability.h
  Same time stamp: 1508823423
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__tuple
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/typeinfo
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/tuple
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__functional_base_03
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdint.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/streambuf
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/istream
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__tree
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/detail/path.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/operations.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/convenience.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/string_file.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/path.hpp
  Same time stamp: 1513211770
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/fstream
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/abi_prefix.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/abi_suffix.hpp
  Same time stamp: 1513211770
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/limits.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stddef.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__nullptr
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/sys/cdefs.h
  Same time stamp: 1510279691
update_file_if_needed: /usr/include/sys/_endian.h
  Same time stamp: 1510279703
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cctype
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/wctype.h
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/AvailabilityInternal.h
  Same time stamp: 1508823420
update_file_if_needed: /usr/include/c++/4.2.1/backward/new.h
  Same time stamp: 1500152638
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/system_error
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/locale
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__functional_03
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/detail/getenv.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/operations_lockfree.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/ops_emulated.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/operations.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/system/error_code.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/system/api_config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/config/workaround.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/config/auto_link.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/filesystem/path_traits.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/dll/detail/system_error.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/include/iterator_facade.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/shared_ptr.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/io/detail/quoted_manip.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/static_assert.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/functional/hash_fwd.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/type_traits/is_integral.hpp
  Same time stamp: 1513211770
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cassert
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/llvm/5.0.1/include/c++/v1/support/win32/locale_win32.h
  Same time stamp: 1512593118
update_file_if_needed: /usr/include/sys/_symbol_aliasing.h
  Same time stamp: 1510279704
update_file_if_needed: /usr/include/sys/_posix_availability.h
  Same time stamp: 1510279704
update_file_if_needed: /usr/include/libkern/_OSByteOrder.h
  Same time stamp: 1510279641
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ctype.h
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/c++/4.2.1/backward/backward_warning.h
  Same time stamp: 1500152638
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/mutex
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/locale.h
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/xlocale.h
  Same time stamp: 1507368240
update_file_if_needed: /usr/local/Cellar/llvm/5.0.1/include/c++/v1/support/android/locale_bionic.h
  Same time stamp: 1512593118
update_file_if_needed: /usr/include/xlocale/_stdlib.h
  Same time stamp: 1507368239
update_file_if_needed: /usr/include/secure/_stdio.h
  Same time stamp: 1507368239
update_file_if_needed: /usr/include/xlocale/_ctype.h
  Same time stamp: 1507368240
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cerrno
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdarg
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ctime
  Same time stamp: 1501282080
update_file_if_needed: /usr/include/nl_types.h
  Same time stamp: 1507368239
  Processing folder (recursive): /usr/local/include/
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__bsd_locale_defaults.h
  Same time stamp: 1501282080
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__bsd_locale_fallbacks.h
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/memory_order.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/storage_type.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/operations_fwd.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/detail/lockpool.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/atomic/capabilities.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/detail/scoped_enum_emulation.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/detail/bitmask.hpp
...
update_file_if_needed: /usr/include/os/base.h
  Same time stamp: 1506204822
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/impl/socket_select_interrupter.ipp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/impl/pipe_select_interrupter.ipp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/null_signal_blocker.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/posix_signal_blocker.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/impl/socket_ops.ipp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/datatype_fwd.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/detail/mpi_datatype_cache.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/basic_archive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/item_version_type.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/multi_index/detail/hash_index_node.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/multi_index/detail/hash_index_args.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/proxy_type.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/adt/detail/extension.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/adt/detail/adapt_base.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/array/value_of_impl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/array/deref_impl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/deref_data_impl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/key_of_impl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/reduce.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/detail/serial_accumulate.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/gil/utilities.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/include/php/main/php_config.h
  Same time stamp: 1500167394
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/function/function_base.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mem_fn.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/asio/detail/socket_holder.hpp
  Same time stamp: 1513211770
update_file_if_needed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/codecvt
  Same time stamp: 1501282080
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/detail/mpi_datatype_oarchive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/auto_link_archive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/functional/hash.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/namespace.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/support/as_const.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/adapt_auto.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpl/aux_/preprocessor/token_equal.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/copy_n.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/detail/inplace_reduce.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/detail/reduce_on_gpu.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/detail/reduce_on_cpu.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/metaparse/range_c.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/function_equal.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/function/function_fwd.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/oserializer.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/detail/ignore_skeleton_oarchive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/detail/mpi_datatype_primitive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/register_archive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/support/config.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpl/aux_/preprocessor/is_seq.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/source.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/compute/algorithm/detail/serial_reduce.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/fusion/include/greater_equal.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/extended_type_info_typeid.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/smart_cast.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/assume_abstract.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/void_cast.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/array_wrapper.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/container/detail/singleton.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/basic_oarchive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/basic_oserializer.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/basic_pointer_oserializer.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/archive_serializer_map.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/common_oarchive.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/mpi/detail/antiques.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/singleton.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/extended_type_info.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/factory.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/throw_exception.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/serialization/array_optimization.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/helper_collection.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/basic_serializer.hpp
  Same time stamp: 1513211770
update_file_if_needed: /usr/local/Cellar/boost/1.66.0/include/boost/archive/detail/interface_oarchive.hpp
  Same time stamp: 1513211770
  Parsing: 11 files(s) processed
Done parsing remaining files.
cpptools/textEditorSelectionChange
textDocument/formatting
Formatting input: #include "Ast.hpp"
#include "json.hpp"
#include "Parser.hpp"
#include "ParserError.hpp"
#include <string>

Parser::Parser(const Lexer &lex) : lexer(lex) {}

void Parser::parse()
{
  chunk = this->block(Lexer::eOf);
}

// This really needs a review from someone who is not me.
AST::Block *Parser::block(Lexer::Lexeme endinglexeme)
{
  auto prevenv = currentEnv;
  auto e = Environment();
  currentEnv = &e;
  std::vector<AST::Statement *> stmts;

  while (peek(0).lexeme != endinglexeme)
  {
    if (isAtEnd())
      throw ParserError(lexer.filepath.c_str(), peek(0).line, peek(0).column, "Unexpected EOF, expected: " + lexemeToString(endinglexeme) + ", statement");
    stmts.push_back(statement());
  }

  currentEnv = prevenv;
  return new AST::Block(e, stmts);
}

AST::Statement *Parser::statement()
{
  if (match<Lexer::LOCAL>(0))
  {
    if (match<Lexer::IDENTIFIER>(1))
    {
      if (match<Lexer::ASSIGN>(2))
        return assignmentStatement();
    }
    else if (match<Lexer::FUNCTION>(1))
 ...
Formatting document: file:///Users/nabeelomer/Projects/Guacamole/src/Parser.cpp
About to fork
fork complete (parent process, child pid = 20926)
result=#include "Ast.hpp"
#include "json.hpp"
#include "Parser.hpp"
#include "ParserError.hpp"
#include <string>

Parser::Parser(const Lexer &lex) : lexer(lex) {}

void Parser::parse()
{
  chunk = this->block(Lexer::eOf);
}

// This really needs a review from someone who is not me.
AST::Block *Parser::block(Lexer::Lexeme endinglexeme)
{
  auto prevenv = currentEnv;
  auto e = Environment();
  currentEnv = &e;
  std::vector<AST::Statement *> stmts;

  while (peek(0).lexeme != endinglexeme)
  {
    if (isAtEnd())
      throw ParserError(lexer.filepath.c_str(), peek(0).line, peek(0).column, "Unexpected EOF, expected: " + lexemeToString(endinglexeme) + ", statement");
    stmts.push_back(statement());
  }

  currentEnv = prevenv;
  return new AST::Block(e, stmts);
}

AST::Statement *Parser::statement()
{
  if (match<Lexer::LOCAL>(0))
  {
    if (match<Lexer::IDENTIFIER>(1))
    {
      if (match<Lexer::ASSIGN>(2))
        return assignmentStatement();
    }
    else if (match<Lexer::FUNCTION>(1))
      return...
Waiting for child process to complete
Formatting raw output: #include "Ast.hpp"
#include "json.hpp"
#include "Parser.hpp"
#include "ParserError.hpp"
#include <string>

Parser::Parser(const Lexer &lex) : lexer(lex) {}

void Parser::parse()
{
  chunk = this->block(Lexer::eOf);
}

// This really needs a review from someone who is not me.
AST::Block *Parser::block(Lexer::Lexeme endinglexeme)
{
  auto prevenv = currentEnv;
  auto e = Environment();
  currentEnv = &e;
  std::vector<AST::Statement *> stmts;

  while (peek(0).lexeme != endinglexeme)
  {
    if (isAtEnd())
      throw ParserError(lexer.filepath.c_str(), peek(0).line, peek(0).column, "Unexpected EOF, expected: " + lexemeToString(endinglexeme) + ", statement");
    stmts.push_back(statement());
  }

  currentEnv = prevenv;
  return new AST::Block(e, stmts);
}

AST::Statement *Parser::statement()
{
  if (match<Lexer::LOCAL>(0))
  {
    if (match<Lexer::IDENTIFIER>(1))
    {
      if (match<Lexer::ASSIGN>(2))
        return assignmentStatement();
    }
    else if (match<Lexer::FUNCTION>(...
terminating child process: 20926
textDocument/codeAction

I've skipped a lot of text that was repetitive, but I can add it if you want.

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

Also, I noticed that restarting VSCode makes intellisense available for a brief amount of time.

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Jan 3, 2018

The formatting input and output appear correct, but the output is not changed. Do you expect the raw output to be different? You may need to change your .clang-format settings if you want different results. However, the output "Formatting diffed output" is missing. Did you omit that? What I'm looking for is the point at which the formatting is going incorrect.

For the IntelliSense issue, it looks like our parser is crashing with the parser.cpp file.

Can you add the crash log at ~/Library/Logs/DiagnosticReports for the Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin process or just paste the call stack of the crashing thread?

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

~/Library/Logs/DiagnosticReports/Microsoft.VSCode.CPP.Extension.darwin_2018-01-03-053800-4_Nabeels-MacBook-Pro.crash

Process:               Microsoft.VSCode.CPP.Extension.darwin [20019]
Path:                  /Users/USER/*/Microsoft.VSCode.CPP.Extension.darwin
Identifier:            Microsoft.VSCode.CPP.Extension.darwin
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        Code - Insiders Helper [19990]
Responsible:           Electron [13833]
User ID:               501

Date/Time:             2018-01-03 05:38:00.540 +0530
OS Version:            Mac OS X 10.13.2 (17C88)
Report Version:        12
Anonymous UUID:        2C186F6A-0B74-FE81-57EA-5D20A47DA514

Sleep/Wake UUID:       4A401FB0-B3E0-488D-8D37-3934E458C5EA

Time Awake Since Boot: 35000 seconds
Time Since Wake:       1700 seconds

System Integrity Protection: enabled

Crashed Thread:        5

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 0000000105e16000-00000001064a1000 [ 6700K] r-x/rwx SM=COW  /Users/USER/*/*.darwin

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff73e7aec2 __read_nocancel + 10
1   libsystem_c.dylib                   0x00007fff73dbd8ad _sread + 16
2   libsystem_c.dylib                   0x00007fff73dbceda __srefill1 + 24
3   libsystem_c.dylib                   0x00007fff73dbcff5 __srget + 14
4   libsystem_c.dylib                   0x00007fff73db9141 getc + 52
5   libc++.1.dylib                      0x00007fff71d6e40d std::__1::__stdinbuf<char>::__getchar(bool) + 119
6   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105ea0179 std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) + 153
7   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e591ee vscode::handler_base<message_handler>::main_loop() + 1022
8   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e58d97 main + 199
9   libdyld.dylib                       0x00007fff73d2b115 start + 1

Thread 1:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638aec0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long,int&) + 1104
3   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638a225 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387c0b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387b50 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 2:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638aec0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long,int&) + 1104
3   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638a225 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387c0b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387b50 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 3:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638aec0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long,int&) + 1104
3   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638a225 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387c0b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387b50 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 4:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638aec0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long,int&) + 1104
3   Microsoft.VSCode.CPP.Extension.darwin       0x000000010638a225 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387c0b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000106387b50 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 5 Crashed:
0   libsystem_c.dylib                   0x00007fff73d7b432 strlen + 18
1   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105ea24a6 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > get_value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) + 54
2   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105ea5dd6 std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > get_setting<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 230
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105ea67e0 settings::set_logging_level(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) + 80
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105ea5ca0 settings::initialize_settings(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) + 608
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e652f8 message_handler::initialize(vscode::InitializeParams) + 88
6   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e62370 vscode::handler_base<message_handler>::dispatch(vscode::vscode_client_message&&, vscode::vscode_server_message&) + 2032
7   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e613a7 vscode::handler_base<message_handler>::handle_message(vscode::vscode_client_message&&) + 55
8   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e60ff9 vscode::handler_base<message_handler>::main_loop()::'lambda'()::operator()() const + 233
9   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e60ed0 void* std::__1::__thread_proxy<std::__1::tuple<vscode::handler_base<message_handler>::main_loop()::'lambda'()> >(void*) + 96
10  libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
11  libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
12  libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 6:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e94706 vscode::message_deque<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::pop_impl(bool) + 102
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e94625 vscode::handler_base<message_handler>::main_loop()::'lambda0'()::operator()() const + 69
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e945a0 void* std::__1::__thread_proxy<std::__1::tuple<vscode::handler_base<message_handler>::main_loop()::'lambda0'()> >(void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 7:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e96f66 vscode::message_deque<vscode::browse_engine_update_action>::pop_impl(bool) + 102
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e94b33 vscode::handler_base<message_handler>::main_loop()::'lambda1'()::operator()() const + 115
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e99868 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::function<void ()> > >(void*) + 104
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 8:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e61776 vscode::message_deque<vscode::vscode_client_message>::pop_impl(bool) + 102
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e999e5 vscode::handler_base<message_handler>::main_loop()::'lambda2'()::operator()() const + 69
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e99868 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::function<void ()> > >(void*) + 104
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 9:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e9f366 vscode::message_deque<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::function<void ()> > >::pop_impl(bool) + 102
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e9ede6 vscode::handler_base<message_handler>::main_loop()::'lambda3'()::operator()() const + 150
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e99868 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::function<void ()> > >(void*) + 104
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 10:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e9fed6 vscode::message_deque<int>::pop_impl(bool) + 102
4   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e9f69d std::__1::__function::__func<vscode::handler_base<message_handler>::main_loop()::'lambda4'(),std::__1::allocator<vscode::handler_base<message_handler>::main_loop()::'lambda4'()>, void ()>::operator()() + 45
5   Microsoft.VSCode.CPP.Extension.darwin       0x0000000105e99868 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::function<void ()> > >(void*) + 104
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 5 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007000070fd590  rcx: 0x0000000000000006  rdx: 0x0000000000000006
  rdi: 0x0000000000000000  rsi: 0x00007f99e70150f0  rbp: 0x00007000070fd4e0  rsp: 0x00007000070fd4e0
   r8: 0x000000000000006c   r9: 0x0000000000000000  r10: 0x000007f99e57005a  r11: 0x00006fff00cf9c0b
  r12: 0x0000000106403959  r13: 0x0000000000400000  r14: 0x0000000000000006  r15: 0x0000000000000030
  rip: 0x00007fff73d7b432  rfl: 0x0000000000010246  cr2: 0x0000000000000000

Logical CPU:     0
Error Code:      0x00000004
Trap Number:     14


Binary Images:
       0x105e16000 -        0x1064a0ff7 +Microsoft.VSCode.CPP.Extension.darwin (0) <7CA939A0-13AF-3547-9D91-A4F8259345F1> /Users/USER/*/Microsoft.VSCode.CPP.Extension.darwin
       0x1099d4000 -        0x109a1e98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff71614000 -     0x7fff71647fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff71b26000 -     0x7fff71b27ff3  libSystem.B.dylib (1252) <5EDEEA85-0387-31EE-9D9B-DA1B75E7AEF3> /usr/lib/libSystem.B.dylib
    0x7fff71d5a000 -     0x7fff71db0fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff71db1000 -     0x7fff71dd5ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff73127000 -     0x7fff735157e7  libobjc.A.dylib (723) <93A92316-DE1E-378C-8891-99720B50D075> /usr/lib/libobjc.A.dylib
    0x7fff73bc2000 -     0x7fff73bc6ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff73bc7000 -     0x7fff73bd1ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff73bd2000 -     0x7fff73bd9fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff73bda000 -     0x7fff73be2ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff73be3000 -     0x7fff73c68fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff73cf0000 -     0x7fff73d29ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff73d2a000 -     0x7fff73d47ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff73d48000 -     0x7fff73d48ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff73d56000 -     0x7fff73d56ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff73d57000 -     0x7fff73d5bffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff73d5c000 -     0x7fff73d5eff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff73d5f000 -     0x7fff73d60ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff73d61000 -     0x7fff73d78fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff73d79000 -     0x7fff73d79fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff73d7a000 -     0x7fff73e03ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff73e04000 -     0x7fff73e07ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff73e08000 -     0x7fff73e0bffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff73e0c000 -     0x7fff73e0dfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff73e0e000 -     0x7fff73e14ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff73e15000 -     0x7fff73e5eff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff73e5f000 -     0x7fff73e84ff7  libsystem_kernel.dylib (4570.31.3) <D2E842AA-3B8D-31BF-8234-8C1BE11CFE32> /usr/lib/system/libsystem_kernel.dylib
    0x7fff73e85000 -     0x7fff73ed0fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff73ed1000 -     0x7fff73ef0fff  libsystem_malloc.dylib (140.1.1) <9F0745FF-B92F-330D-8812-BB74001D1D33> /usr/lib/system/libsystem_malloc.dylib
    0x7fff73ef1000 -     0x7fff73f95ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff73f96000 -     0x7fff73fa0ffb  libsystem_networkextension.dylib (767.30.7) <C5ED4BAB-2480-369D-8AB6-DFB37C15A1EE> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff73fa1000 -     0x7fff73faaff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff73fab000 -     0x7fff73fb2ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff73fb3000 -     0x7fff73fbefff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff73fbf000 -     0x7fff73fc2ff3  libsystem_sandbox.dylib (765.30.4) <A51828BA-26D8-3205-AF3A-DF5C37269468> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff73fc3000 -     0x7fff73fc4ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff73fc5000 -     0x7fff73fccff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff73fcd000 -     0x7fff73fe0ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff73fe2000 -     0x7fff73fe7ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff73fe8000 -     0x7fff74014ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 23748
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=207.0M resident=0K(0%) swapped_out_or_unallocated=207.0M(100%)
Writable regions: Total=50.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=50.3M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                    8K        2
MALLOC                            36.0M        9
MALLOC guard page                   16K        5
STACK GUARD                       56.0M       12
Stack                             13.1M       20
__DATA                            3864K       42
__LINKEDIT                       191.8M        4
__TEXT                            15.2M       42
shared memory                        8K        3
===========                     =======  =======
TOTAL                            316.0M      130

About the formatting, the input and output may be correct but the output doesn't make it to the actual file. I haven't changed any settings related to formatting.

@bobbrow
Copy link
Member

bobbrow commented Jan 3, 2018

This is a crash report for Microsoft.VSCode.CPP.Extension.darwin. Do you have any crash reports for Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin (slightly different name)?

@bobbrow
Copy link
Member

bobbrow commented Jan 3, 2018

And, it looks like the crash above is probably from setting the logging level to the number 6 instead of the string "6". I will make a fix for that.

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

$ cat ./Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin_2018-01-02-181306_Nabeels-MacBook-Pro.
crash
crash
Process:               Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin [6384]
Path:                  /Users/USER/*/Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin
Identifier:            Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        Microsoft.VSCode.CPP.Extension.darwin [3426]
Responsible:           Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin [6384]
User ID:               501

Date/Time:             2018-01-02 18:13:06.629 +0530
OS Version:            Mac OS X 10.13.2 (17C88)
Report Version:        12
Anonymous UUID:        2C186F6A-0B74-FE81-57EA-5D20A47DA514

Sleep/Wake UUID:       A32018FE-4636-4A24-B31B-534DA7B24CBB

Time Awake Since Boot: 8900 seconds
Time Since Wake:       1600 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000092
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x92:
-->
    __TEXT                 000000010de93000-000000010e311000 [ 4600K] r-x/rwx SM=COW  /Users/USER/*/*.darwin

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e2517b0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long, int&) + 1104
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e250b15 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010deb0b03 comm_server::wait_for_requests() + 99
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010deb075c main + 332
6   libdyld.dylib                       0x00007fff73d2b115 start + 1

Thread 1:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e2517b0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long, int&) + 1104
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e250b15 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e24b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e190 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 2 Crashed:
0   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1c561f add_expression_to_index(an_expr_node*) + 463
1   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e02f02c walk_entry_and_subtree + 30188
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e02b3f7 walk_entry_and_subtree + 14775
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e0302f4 walk_entry_and_subtree + 34996
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e03094c walk_il_subtree + 204
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1c2d76 details::get_decl_search_index(int) + 182
6   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1c3187 trees_overlapping_span(unsigned long, unsigned long, a_treenav_result*, unsigned long) + 39
7   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e17d1e6 edge::scoped_query_manager::get_trees_overlapping_span(edge::file_position const&, edge::file_position const&, bool, a_treenav_result*, unsigned long) + 134
8   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e17cfe2 edge::scoped_query_manager::get_trees_overlapping_span(edge::file_position const&, edge::file_position const&, bool, edge::list<edge::il_entry*>*, edge::list<edge::file_position>*, edge::list<edge::file_position>*) + 162
9   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1a6728 edge::intellisense_operation::symbol_at_cursor(edge::list<edge::symbol*>*, bool) + 168
10  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010de9c4d1 void std::__1::__invoke_void_return_wrapper<void>::__call<edge_intellisense_server_impl::handle_quick_info(microsoft::cpp::intellisense::QuickInfoRequest const&)::'lambda'(edge::intellisense_operation&, microsoft::cpp::intellisense::QuickInfoResponse&)&, edge::intellisense_operation&, microsoft::cpp::intellisense::QuickInfoResponse&>(edge_intellisense_server_impl::handle_quick_info(microsoft::cpp::intellisense::QuickInfoRequest const&)::'lambda'(edge::intellisense_operation&, microsoft::cpp::intellisense::QuickInfoResponse&)&&&, edge::intellisense_operation&&&, microsoft::cpp::intellisense::QuickInfoResponse&&&) + 81
11  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010de9b683 void edge_intellisense_server_impl::perform_isense_operation<microsoft::cpp::intellisense::QuickInfoResponse>(wchar_t const*, microsoft::cpp::intellisense::DocumentPosition const&, std::__1::function<void (edge::intellisense_operation&, microsoft::cpp::intellisense::QuickInfoResponse&)>) + 451
12  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010de95bbc edge_intellisense_server_impl::handle_quick_info(microsoft::cpp::intellisense::QuickInfoRequest const&) + 108
13  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010deb62e4 work_queue::worker_proc() + 196
14  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010deb2978 std::__1::__function::__func<microsoft::vc::thread_pool::enqueue(std::__1::function<void ()>, std::__1::future<void>*)::'lambda'(), std::__1::allocator<microsoft::vc::thread_pool::enqueue(std::__1::function<void ()>, std::__1::future<void>*)::'lambda'()>, void ()>::operator()() + 24
15  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e3a7 microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 471
16  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e190 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
17  libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
18  libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
19  libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 3:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e2517b0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long, int&) + 1104
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e250b15 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e24b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e190 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 4:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e2517b0 neosmart::WaitForMultipleEvents(neosmart::neosmart_event_t_**, int, bool, unsigned long long, int&) + 1104
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e250b15 microsoft::vc::alertable_event::wait_for_multiple(microsoft::vc::alertable_event**, unsigned long, bool, unsigned int) + 309
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e24b microsoft::vc::thread_pool::thread_pool(int)::'lambda'()::operator()() const + 123
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e24e190 std::__1::__thread_proxy<std::__1::tuple<microsoft::vc::thread_pool::thread_pool(int)::'lambda'()> >(void*, void*) + 96
6   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
7   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
8   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 5:
0   libsystem_kernel.dylib              0x00007fff73e7c41a read + 10
1   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010dec0846 async_pipe_nix::read_sync_impl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 118
2   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010dec0957 async_pipe_nix::read_thread_proc() + 167
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010dec1400 void* std::__1::__thread_proxy<std::__1::tuple<async_pipe_nix::ensure_read_thread()::$_0> >(void*) + 96
4   libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
5   libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
6   libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 6:
0   libsystem_kernel.dylib              0x00007fff73e7acee __psynch_cvwait + 10
1   libsystem_pthread.dylib             0x00007fff73fb7662 _pthread_cond_wait + 732
2   libc++.1.dylib                      0x00007fff71d60cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e18210b a_compiler_thread::decl_parse_call_back_handler(void*) + 123
4   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1adf26 end_of_parse_notification + 2598
5   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1559af process_translation_unit + 831
6   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010decb102 edg_main + 162
7   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e16ecc7 edge_compiler_main(int, char const**) + 6503
8   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1ae5ed pre_parse(int, char const**, a_scout_parser_interface&, edge::translation_unit*) + 237
9   Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e181d60 a_compiler_thread::compiler_thread_routine(a_compiler_thread*) + 224
10  Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin       0x000000010e1a54c1 void* std::__1::__thread_proxy<std::__1::tuple<void (*)(a_compiler_thread*), a_compiler_thread*> >(void*) + 97
11  libsystem_pthread.dylib             0x00007fff73fb66c1 _pthread_body + 340
12  libsystem_pthread.dylib             0x00007fff73fb656d _pthread_start + 377
13  libsystem_pthread.dylib             0x00007fff73fb5c5d thread_start + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fbc831e8bb0  rcx: 0x00007fbc831e8d90  rdx: 0x000000010e1c5be4
  rdi: 0x00007fbc831e8d90  rsi: 0x0000000000000000  rbp: 0x00007000031a3700  rsp: 0x00007000031a3670
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000006  r11: 0xffffffffffffffff
  r12: 0x00007fbc831e8d90  r13: 0xffff0000ffffffff  r14: 0x0000000100000000  r15: 0x0000000000000000
  rip: 0x000000010e1c561f  rfl: 0x0000000000010246  cr2: 0x0000000000000092

Logical CPU:     3
Error Code:      0x00000004
Trap Number:     14


Binary Images:
       0x10de93000 -        0x10e310fff +Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin (0) <3E93AE62-36F0-3A0F-8876-1482A1A7B946> /Users/USER/*/Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin
       0x114ec5000 -        0x114f0f98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff71614000 -     0x7fff71647fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff71b26000 -     0x7fff71b27ff3  libSystem.B.dylib (1252) <5EDEEA85-0387-31EE-9D9B-DA1B75E7AEF3> /usr/lib/libSystem.B.dylib
    0x7fff71d5a000 -     0x7fff71db0fff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff71db1000 -     0x7fff71dd5ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff73127000 -     0x7fff735157e7  libobjc.A.dylib (723) <93A92316-DE1E-378C-8891-99720B50D075> /usr/lib/libobjc.A.dylib
    0x7fff73bc2000 -     0x7fff73bc6ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff73bc7000 -     0x7fff73bd1ff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff73bd2000 -     0x7fff73bd9fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff73bda000 -     0x7fff73be2ffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff73be3000 -     0x7fff73c68fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff73cf0000 -     0x7fff73d29ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff73d2a000 -     0x7fff73d47ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff73d48000 -     0x7fff73d48ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff73d56000 -     0x7fff73d56ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff73d57000 -     0x7fff73d5bffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff73d5c000 -     0x7fff73d5eff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff73d5f000 -     0x7fff73d60ff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff73d61000 -     0x7fff73d78fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff73d79000 -     0x7fff73d79fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff73d7a000 -     0x7fff73e03ff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff73e04000 -     0x7fff73e07ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff73e08000 -     0x7fff73e0bffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff73e0c000 -     0x7fff73e0dfff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff73e0e000 -     0x7fff73e14ff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff73e15000 -     0x7fff73e5eff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff73e5f000 -     0x7fff73e84ff7  libsystem_kernel.dylib (4570.31.3) <D2E842AA-3B8D-31BF-8234-8C1BE11CFE32> /usr/lib/system/libsystem_kernel.dylib
    0x7fff73e85000 -     0x7fff73ed0fcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff73ed1000 -     0x7fff73ef0fff  libsystem_malloc.dylib (140.1.1) <9F0745FF-B92F-330D-8812-BB74001D1D33> /usr/lib/system/libsystem_malloc.dylib
    0x7fff73ef1000 -     0x7fff73f95ff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff73f96000 -     0x7fff73fa0ffb  libsystem_networkextension.dylib (767.30.7) <C5ED4BAB-2480-369D-8AB6-DFB37C15A1EE> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff73fa1000 -     0x7fff73faaff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff73fab000 -     0x7fff73fb2ff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff73fb3000 -     0x7fff73fbefff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff73fbf000 -     0x7fff73fc2ff3  libsystem_sandbox.dylib (765.30.4) <A51828BA-26D8-3205-AF3A-DF5C37269468> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff73fc3000 -     0x7fff73fc4ff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff73fc5000 -     0x7fff73fccff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff73fcd000 -     0x7fff73fe0ff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff73fe2000 -     0x7fff73fe7ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff73fe8000 -     0x7fff74014ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 4743
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=203.9M resident=0K(0%) swapped_out_or_unallocated=203.9M(100%)
Writable regions: Total=272.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=272.1M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                    8K        2
MALLOC                           259.7M       24
MALLOC guard page                   16K        5
STACK GUARD                       56.0M        8
Stack                             11.0M        8
__DATA                            3804K       43
__LINKEDIT                       190.7M        4
__TEXT                            13.2M       42
shared memory                       12K        4
===========                     =======  =======
TOTAL                            534.4M      131

There are 20 more crash reports.

@bobbrow
Copy link
Member

bobbrow commented Jan 3, 2018

Thanks. This crash is a little less straightforward. Are you able to share any source code so we can reproduce this crash in-house?

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

Yeah sure, https://github.com/nabeelomer/Guacamole

@omern1
Copy link
Author

omern1 commented Jan 3, 2018

Also, as of my most recent commit, everything works perfectly, I can format documents and Intellisense is available.

@bobbrow
Copy link
Member

bobbrow commented Jan 3, 2018

Ok, I was about to say that I just cloned your repo and didn't see any issues.

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Jan 3, 2018

Yikes, that crash is with set_logging_level of the main process -- I think we have a fix for that (thanks for reporting that). It looks like you're passing in the number 6 instead of the string "6"? Are there any crashes with the IntelliSense.Msvc.darwin process?

Do you mean the input and raw output appear to be correctly formatted but they don't match what is shown in the file? It sounds like the "Formatting diffed output" step might be failing. Do you have log output that shows that? We do a diff of the output with our internal document representation.

Oh, this message was delayed for many hours...didn't see Bob's response.

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Jan 3, 2018

The "add_expression_to_index" crash is a known issue -- it actually our most common IntelliSense crash on Mac. However, we don't have a repro yet, so any help getting an isolated repro would help in fixing it. I assume it resulted in some temporary/invalid code while typing...we handle those scenarios via auto-restarting the crashed IntelliSense process after additional edits, so users may not even notice the crash.

@omern1
Copy link
Author

omern1 commented Jan 4, 2018

I'll try going back commit by commit and reproducing the issue.

@sean-mcmanus sean-mcmanus added fixed Check the Milestone for the release in which the fix is or will be available. and removed more info needed The issue report is not actionable in its current state labels Mar 22, 2018
@sean-mcmanus sean-mcmanus added this to the March 2018 milestone Mar 22, 2018
@sean-mcmanus
Copy link
Collaborator

The add_expression_to_index crash has been fixed with 0.16.0 -- well, there are still some very rare scenarios where the function can crash, but the high hitting scenario was fixed.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

3 participants