-
Notifications
You must be signed in to change notification settings - Fork 105
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
Segfault when debugging minimal project #165
Comments
Looks like some libdbgshim.so issue, netcoredbg/src/debugger/manageddebugger.cpp Line 453 in 27606c3
Note, Also, you could test |
Thanks for the input! I will check the error code (though probably tomorrow or next week, already put a lot more time on this today than I should have!). It is useful info that libdbgshim is downloaded as a binary. I ran Anyhow, since guix (which is like nix) uses crazy paths for everything I might have a higher chance to succeed by going and building libdbgshim from source like you suggest. If it ends up working then it should be able to provide some hints for how I can package netcoredbg from the binary releases with patchelf. |
Since this is some non-standard environment, you can also try to run all netcoredbg tests, see https://github.com/Samsung/netcoredbg/blob/master/test-suite/README.md. |
I installed .NET runtime from binaries by modifying the package in the nonguix project (to update it to a newer version). It is probably worth running the runtime tests (if it's possible from binary build?), so far however, I have been using it for work without any issues, not only for extremely simple test programs. |
Hello!
I can't get netcoredbg to work on even a simple project. Since I am using GUIX as my distro I decided to build netcoredbg from source so that we can rule out mis-matched libc version from the binary release and so on.
I have a very simple console test project that contains this source file
I built it with EmbedAllSources set to
true
.It crashes on the line
src/debugger/manageddebugger.cpp:559
in the latest released version of netcoredbg. This appears to be because the pCordb argument to StartupCallback is null. I don't know how to figure out why that is the case so I didn't go further than this.In case it helps I have also attached a gdb debugging session of what I tried:
The text was updated successfully, but these errors were encountered: