Navigation Menu

Skip to content
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

runtime: TestGdb* triggers a GDB bug on the linux-mips64-rtrk builder #35475

Closed
bcmills opened this issue Nov 9, 2019 · 3 comments
Closed

runtime: TestGdb* triggers a GDB bug on the linux-mips64-rtrk builder #35475

bcmills opened this issue Nov 9, 2019 · 3 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Nov 9, 2019

Several failures like this one seem to indicate that a broken gdb is installed on the linux-mips64-rtrk builder. It should either be upgraded to a fixed version, or removed (or removed from $PATH) so that the tests will skip.

--- FAIL: TestGdbPanic (3.84s)
    runtime-gdb_test.go:65: gdb version 8.2
    runtime-gdb_test.go:599: could not find '(#.* .* in )?main\.crash' in backtrace
    runtime-gdb_test.go:600: gdb output:
        Loading Go Runtime support.
        /build/gdb-XNneqN/gdb-8.2.1/gdb/mips-tdep.c:776: internal-error: bad register size
        A problem internal to GDB has been detected,
        further debugging may prove unreliable.
        Quit this debugging session? (y or n) [answered Y; input not from terminal]
        
        This is a bug, please report it.  For instructions, see:
        <http://www.gnu.org/software/gdb/bugs/>.
        
        /build/gdb-XNneqN/gdb-8.2.1/gdb/mips-tdep.c:776: internal-error: bad register size
        A problem internal to GDB has been detected,
        further debugging may prove unreliable.
        Create a core file of GDB? (y or n) [answered Y; input not from terminal]

Same for TestGdbBacktrace, TestGdbConst, TestGdbAutotmpTypes, TestGdbPython.

2019-11-08T23:22:06-11da2b2/linux-mips64-rtrk
2019-11-08T21:05:17-9ee6ba0/linux-mips64-rtrk

CC @bogojevic @milanknezevic

@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. Builders x/build issues (builders, bots, dashboards) labels Nov 9, 2019
@bcmills bcmills added this to the Go1.14 milestone Nov 9, 2019
@cherrymui
Copy link
Member

The builder has 32-bit user space. I don't think 32-bit gdb can handle 64-bit programs.

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 10, 2019
@milanknezevic
Copy link
Contributor

milanknezevic commented Nov 13, 2019

I've built mips64 big-endian gdb and installed it onto builder and it seems that gdb tests are passing.

@cherrymui
Copy link
Member

Thanks @milanknezevic !

I think we can close this. No more failure on dashboard now.

@golang golang locked and limited conversation to collaborators Nov 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

4 participants