microsoft / microsoft/vscode-cpptools

Program received signal SIGSEGV, Segmentation fault. 0x0000aaaa9aa598a9 in ?? ()

Open
#11,185 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger more info needed transferred-from-docs
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

HI!
I configured VS Code on Ubuntu on Virtual Box (Host - MacOs, MacBook Pro) as it is written here: https://code.visualstudio.com/docs/cpp/config-linux
But when I tried to debug the breakpoint was not highlighted at all and the following errors appeared:
In Debug Console:
"Warning: Debuggee TargetArchitecture not detected, assuming x86_64. =cmd-param-changed,param="pagination",value="off" Stopped due to shared library event (no libraries added or removed)
Loaded '/lib64/ld-linux-x86-64.so.2'. Symbols loaded. Program received signal SIGSEGV, Segmentation fault.
0x0000aaaa9aa598a9 in ?? ()"
And when push "Step Into" or "Step Over", etc. it shows another error: "Unable to step in. Operation failed with error code 0x80004004."
Could you please help me to fix this issue?! Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked VS Code C++ debugging configuration guide and reproduce the failure in the reported Ubuntu-on-VirtualBox environment. Review the Debug Console messages about target architecture, SIGSEGV, and stepping; done means the breakpoint is recognized and stepping operations complete without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, ubuntu, vscode
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.