Bug 28463 - FAIL: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print va.t(1) := 15
Summary: FAIL: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print va.t(1) := 15
Status: RESOLVED WORKSFORME
Alias: None
Product: gdb
Classification: Unclassified
Component: ada (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-16 21:06 UTC by Tom de Vries
Modified: 2023-10-25 13:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2021-10-16 21:06:14 UTC
On openSUSE Tumbleweed I run into:
...
(gdb) PASS: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print sa(3) := 9
print va.t(1) := 15^M
value of type `pck__variant__T6s' requires 817929850 bytes, which is more than max-value-size^M
(gdb) FAIL: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print va.t(1) := 15
...
Comment 1 Tom Tromey 2022-08-04 15:04:04 UTC
Offhand I don't know, but it seems to work fine with Fedora 34
gcc (11.2) and with some random git master gcc I have.
Probably the fix is to just kfail the test.
Comment 2 Tom de Vries 2023-10-25 13:48:09 UTC
It's unfortunate I didn't note down the compiler version and precise sources.

I've tried to reproduce this, using:
- gdb 11.2, gdb 12.1, and a gdb snapshot of the reporting date
- gcc 7, 8, 9, 10, 11 and 12

I've also tried the snapshot with address sanitizer.

But the problem doesn't reproduce.

I'm resolving this as worksforme until I run into this again somehow.