This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/17667] New: GDB crashes while Reading symbols, with references in lambda function
- From: "tower120 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 01 Dec 2014 18:40:33 +0000
- Subject: [Bug c++/17667] New: GDB crashes while Reading symbols, with references in lambda function
- Auto-submitted: auto-generated
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.