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

rt_trap_exceptions_drt_gdb test fails with gdb 12 #17450

Open
dlangBugzillaToGithub opened this issue Jun 20, 2022 · 0 comments
Open

rt_trap_exceptions_drt_gdb test fails with gdb 12 #17450

dlangBugzillaToGithub opened this issue Jun 20, 2022 · 0 comments
Labels
Arch:x86_64 Issues specific to x86_64 Druntime Specific to druntime OS:Linux P3 Severity:minor

Comments

@dlangBugzillaToGithub
Copy link

opna2608 reported this on 2022-06-20T16:59:20Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=23198

Description

Created attachment 1855
Log of failing rt_trap_exceptions_drt_gdb run

After we updated our gdb package from 11.2 to 12.1, the rt_trap_exceptions_drt_gdb test started to fail [1]. I've attached the full log for this test, but the gist is that the gdb backtrace

> #5  0x0000000000437709 in _Dmain (args=...) at src/rt_trap_exceptions_drt.d:9
doesn't match the grep

> grep "in D main (args=...) at .*rt_trap_exceptions_drt.d:9" > /dev/null < ./generated/linux/release/64/rt_trap_exceptions_drt_gdb.output
anymore, so the test fails.


Our workaround is to patch the grep expression in test/exceptions/Makefile to look for _Dmain instead [2], but I don't think that would work with older gdb versions.


[1] Original issue on Nixpkgs, with bisection down to the gdb bump: https://github.com/NixOS/nixpkgs/issues/177320
[2] https://github.com/NixOS/nixpkgs/pull/178128

!!!There are attachements in the bugzilla issue that have not been copied over!!!

@thewilsonator thewilsonator added the Druntime Specific to druntime label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:x86_64 Issues specific to x86_64 Druntime Specific to druntime OS:Linux P3 Severity:minor
Projects
None yet
Development

No branches or pull requests

2 participants