I was able to reproduce this crash in unity and I tracked it down to the
usage of a lambda function:

http://bazaar.launchpad.net/~unity-
team/unity/trunk/view/head:/launcher/LauncherIcon.cpp#L862

  timeout->Run([&, quirk] {
    UpdateQuirkTime(quirk);
    return false;
  });

The way I get it crash is just trying to set a breakpoint anywhere in
that file (Or any other file with the same kind of usage). If I comment
out that line of code gdb lets me set break points again. Gdb also likes
it if I make a callback function rather then a lambda. So the only way I
get gdb to crash while setting breakpoints is while using a lambda func.


In the meantime Ill try to produce a small sample that produces the same 
results. Thank you!

-- 
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/ubuntu/+source/gdb/+bug/1006860/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to