Open
Description
I'm trying to run netcoredbg from Neovim. I build the project successfully but when running the debugger, at some point, the program crash. In journalctl
I can see :
Process 235511 (netcoredbg) of user 1000 dumped core.
Stack trace of thread 235677:
#0 0x000078bc1e8335e7 n/a (n/a + 0x0)
#1 0x000078bc1e8334eb n/a (n/a + 0x0)
#2 0x00005958e6cc920b n/a (n/a + 0x0)
#3 0x00005958e6cc65e9 n/a (n/a + 0x0)
#4 0x00005958e6cbe4d4 n/a (n/a + 0x0)
#5 0x00005958e6c630b2 n/a (n/a + 0x0)
#6 0x000078bc1d623a73 n/a (n/a + 0x0)
#7 0x000078bc1d60bc2a n/a (n/a + 0x0)
#8 0x000078bc1d616518 n/a (n/a + 0x0)
#9 0x000078bc1d616e07 n/a (n/a + 0x0)
#10 0x000078bc1d616ea9 n/a (n/a + 0x0)
#11 0x000078bc1d4261be n/a (n/a + 0x0)
#12 0x000078bc1e8a370a n/a (n/a + 0x0)
#13 0x000078bc1e927aac n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
So, I tried to run the project from CLI dotnet bin/Debug/net8.0/MyProject.dll
which seems to work properly. But using the same command with netcoredbg
I got netcoredbg --interpreter=cli -- dotnet bin/Debug/net8.0/MyProject.dll
that return :
library loaded: /home/user/Dev/Project/src/MyProject/bin/Debug/net8.0/Model.dll
no symbols loaded, base address: 0x784dd2ef0000, size: 122368(0x1de00)
[there is a lot of those]
netcoredbg: /usr/src/debug/netcoredbg/netcoredbg-3.1.2-1054/src/metadata/modules_sources.h:68: bool netcoredbg::method_data_t::NestedInto(const method_data_t &) const: Assertion `startLine != other.startLine || startColumn != other.startColumn' failed.
[1] 244005 IOT instruction (core dumped) netcoredbg --interpreter=cli -- dotnet
And from GDB I can see :
(gdb) bt full
#0 __GI_abort () at abort.c:91
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {18446744073709551615, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x0}
#1 0x00007aac684334eb in __assert_fail_base (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=68, function=<optimized out>) at assert.c:118
str = 0x7aac50080270 "\240\244\324\372\253z"
total = <optimized out>
#2 0x000063ee45a1020b in netcoredbg::method_data_t::NestedInto (this=<optimized out>, other=...) at /usr/src/debug/netcoredbg/netcoredbg-3.1.2-1054/src/metadata/modules_sources.h:68
No locals.
I'm running out of idea to debug with this problem. Do you have any idea on what's wrong?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels
Activity