Issue 91115
Summary Terminate called without an active exception
Labels new issue
Assignees
Reporter Rasmus105
    **Issue**
Encountering error "terminate called without an active exception" when starting debugger (nvim DAP using lldb).

**Error Backtrace**
```
terminate called without an active exception
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
 #0 0x0000796bbef757a3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/libLLVM-17.so+0x7757a3)
 #1 0x0000796bbef72a3f llvm::sys::RunSignalHandlers() (/usr/lib/libLLVM-17.so+0x772a3f)
 #2 0x0000796bbef72b8d (/usr/lib/libLLVM-17.so+0x772b8d)
 #3 0x0000796bbe258e20 (/usr/lib/libc.so.6+0x3ce20)
 #4 0x0000796bbe2ac194 (/usr/lib/libc.so.6+0x90194)
 #5 0x0000796bbe258d70 raise (/usr/lib/libc.so.6+0x3cd70)
 #6 0x0000796bbe2404c0 abort (/usr/lib/libc.so.6+0x244c0)
 #7 0x0000796bbe497a9b __gnu_cxx::__verbose_terminate_handler() (.cold) /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:75:10
 #8 0x0000796bbe4ab10c __cxxabiv1::__terminate(void (*)()) /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48:15
 #9 0x0000796bbe4ab179 (/usr/lib/libstdc++.so.6+0xab179)
#10 0x00005813c56d6162 (/usr/bin/lldb-vscode+0x36162)
#11 0x0000796bbe25b2e6 (/usr/lib/libc.so.6+0x3f2e6)
#12 0x0000796bbe25b42e (/usr/lib/libc.so.6+0x3f42e)
#13 0x0000796bbe241d51 (/usr/lib/libc.so.6+0x25d51)
#14 0x0000796bbe241e0c __libc_start_main (/usr/lib/libc.so.6+0x25e0c)
#15 0x00005813c56aea55 (/usr/bin/lldb-vscode+0xea55)
```


**Information**
- OS: Arch Linux
- lldb package version: 17.0.6-2

Neovim DAP config:
```
local dap = require("dap")
dap.adapters.lldb = {
	type = "executable",
	command = "/usr/bin/lldb-vscode",
	name = "lldb",
}
dap.configurations.cpp = {
	{
		name = "Launch",
		type = "lldb",
		request = "launch",
		program = function()
			return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
		end,
		cwd = "${workspaceFolder}",
		stopOnEntry = false,
		args = {},
	},
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to