Skip to content

Crash reporter should not attach to terminalProcess #118767

@michelleangela

Description

@michelleangela
  • VS Code Version:
    Version: 1.54.1
    Commit: f30a9b7
    Date: 2021-03-04T22:45:03.974Z
    Electron: 11.3.0
    Chrome: 87.0.4280.141
    Node.js: 12.18.3
    V8: 8.7.220.31-electron.0
    OS: Darwin arm64 20.2.0

  • OS Version: macOS 11.1 Big Sur

Pre-requisite:

  • clang++ is installed on macOS ARM64 (or install xcode)

Steps to Reproduce:

  1. Create a simple cpp source file that crashes.
    Example code that crashes:
#include <iostream>

int main()
{
#if __arm64
std::cout << "arm64" << std::endl;
#endif

    std::cout << "test crash" << std::endl;
    long *p = 0; 
    *p = 0xFFFFFFFF;
    return 0;
}
  1. compile cpp source file with clang++
  2. run compiled executable from VS Code terminal shell zsh.
  3. executable should crash and crash dump should be reported under ~/Library/Logs/DiagnosticReports

Actual result:
no crash dump reported under ~/Library/Logs/DiagnosticReports

Expected result:
crash dump reported under ~/Library/Logs/DiagnosticReports

Note:
When running the sample executable from regular macOS terminal, crash dumps are reported.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

electronIssues and items related to Electronfeature-requestRequest for new features or functionalityupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions