public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "simark at simark dot ca" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/28063] ASan crash in value_primitive_field / value_contents_copy_raw when printing std::tuple Date: Thu, 08 Jul 2021 00:26:43 +0000 [thread overview] Message-ID: <bug-28063-4717-ZA46g4vbGb@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-28063-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=28063 --- Comment #4 from Simon Marchi <simark at simark dot ca> --- Here's a simpler reproducer: --- #include <memory> int main() { std::unique_ptr<int> p(new int); return 0; } --- $ g++ --version g++ (GCC) 11.1.0 $ g++ -g3 -O0 test.cpp $ readelf --debug-dump a.out ... <3><968>: Abbrev Number: 79 (DW_TAG_member) <969> DW_AT_name : (strp) (offset: 0xc42a): _M_head_impl <96d> DW_AT_decl_file : (data1) 4 <96e> DW_AT_decl_line : (data1) 125 <96f> DW_AT_decl_column : (data1) 39 <970> DW_AT_type : (ref4) <0x67e>, default_delete<int> <974> DW_AT_data_member_location: (sdata) -1 ... $ ./gdb -q -nx --data-directory=data-directory ./a.out -ex "b 5" -ex r -ex "p p" <ASan crash like above> -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2021-07-08 0:26 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-07 16:27 [Bug gdb/28063] New: " simark at simark dot ca 2021-07-07 16:30 ` [Bug gdb/28063] " simark at simark dot ca 2021-07-07 16:33 ` simark at simark dot ca 2021-07-07 17:18 ` simark at simark dot ca 2021-07-08 0:26 ` simark at simark dot ca [this message] 2021-07-08 15:05 ` simark at simark dot ca 2021-07-25 16:41 ` ssbssa at sourceware dot org 2023-11-14 15:31 ` tromey at sourceware dot org 2024-01-05 14:53 ` ssbssa at sourceware dot org 2024-01-05 15:31 ` simon.marchi at polymtl dot ca
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-28063-4717-ZA46g4vbGb@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).