public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tower120 at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug c++/17667] New: GDB crashes while Reading symbols, with references in lambda function Date: Mon, 01 Dec 2014 18:40:00 -0000 [thread overview] Message-ID: <bug-17667-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=17667 Bug ID: 17667 Summary: GDB crashes while Reading symbols, with references in lambda function Product: gdb Version: 7.8 Status: NEW Severity: normal Priority: P2 Component: c++ Assignee: unassigned at sourceware dot org Reporter: tower120 at gmail dot com Created attachment 7981 --> https://sourceware.org/bugzilla/attachment.cgi?id=7981&action=edit executable file When I try to debug my application with GDB 7.8 and 7.8.1, GDB crashes on "Reading symbols from..." Part of my code: OK: auto list = make_tuple(1,2,3,4); auto iter_simple = [](auto val){ cout << val << endl; }; iterate_tuple(list, iter_simple); NOT OK (GDB crashes): auto list = make_tuple(1,2,3,4); auto iter_simple = [](auto &val){ // Neither && cout << val << endl; }; iterate_tuple(list, iter_simple); Application compiles and work fine, by itself. P.S. I use Windows GDB build (from QT 5.4.0rc). -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2014-12-01 18:40 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-01 18:40 tower120 at gmail dot com [this message] 2014-12-01 18:40 ` [Bug c++/17667] " tower120 at gmail dot com 2014-12-01 20:07 ` tower120 at gmail dot com 2020-03-31 14:27 ` ssbssa at yahoo dot de 2020-04-01 18:09 ` tromey at sourceware dot org
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-17667-4717@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).