-
Notifications
You must be signed in to change notification settings - Fork 58
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
gdb.exe crashing on golang 1.7rc3 unit test TestGdbBacktrace #24
Comments
I provide my build scripts for gdb, so you should be able to follow those instructions and avoid stripping debug symbols. Unfortunately, I don't have additional time to contribute to investigating this issue (I build and package gdb only so people won't complain about its absence - I don't use it myself). |
I'm mildly curious as to whether gdb 7.12 in distro 14.1 fixed this. |
No, actually. They have even got a new one, sadly, though it appears same root cause. This was using 14.1 and testing against golang master (
|
@StephanTLavavej, just to finally put this to rest, it appears to be fixed in GDB 8.2. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4735f0edf4265e3e260e10a12921baf17987a020
|
Thanks for the update. |
For the longest time, I've been using the mingw-distro toolchain for building golang on Windows, and for Go to use as it's native gcc. It's been working flawlessly for years. However, recently building the release candidates for go1.7rc3, I'm getting a crash in gdb (fails an assert). Of course, this is a problem with gdb, not the mingw-packaging, but it seems that gdb is packaged without symbols, so I haven't got much further with trying to find the root cause, and I haven't been successful building gdb from sources. Feel free to close or ignore this report as "not a problem with mingw-distro", but would be nice to be able to file a bug report with the gdb and/or gloang teams if possible. Happy to try out a gdb.exe built for DEBUG, if you can provide?
mingw-distro: 14.0
Repro steps:
The unit test TestGdbBacktrace should fail, as below:
The text was updated successfully, but these errors were encountered: