Launchpad has imported 1 comments from the remote bug at http://sourceware.org/bugzilla/show_bug.cgi?id=14365.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-07-14T13:29:50+00:00 Marco Trevisan (Treviño) wrote: Created attachment 6531 gdb-fix-crash-when-checking-for-ctor-of-lambda by Thomas Voß Using GDB to debug this test case: http://pastebin.ubuntu.com/1062024/ causes it to crash in is_ctor_or_dtor. Attached here patch by Thomas Voß that fixes it. This is description: «It turns out that gdb crashes as it tries to determine whether a field of a lambda is a or ctor/dtor, given the fields name. Apparently, the field's name is NULL and I added a check for that, bailing out and returning 0 ("no, this is neither a dtor nor a ctor"). GDB behaves normally when being run on the test program mentioned before. Patch is attached, generated with quilt.» See launchpad bug http://pad.lv/1006860 for reference. Reply at: https://bugs.launchpad.net/gdb/+bug/1006860/comments/11 ** Changed in: gdb Status: Unknown => Confirmed ** Changed in: gdb Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1006860 Title: gdb crashes when loading core files (in is_ctor_or_dtor) To manage notifications about this bug go to: https://bugs.launchpad.net/gdb/+bug/1006860/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
