Comment 2 for bug 70637

Revision history for this message
Steve Alexander (stevea) wrote :

I'm not really aware of how bug-buddy works. I don't know what signal was sent to the application process, all I know is that the application crashed while the system was swapping a lot. What signal does a program receive when it can't allocate memory? Or does that depend what language it is written in, and whether the author has been careful to check the results of malloc?

In my imagination, bug-buddy would ask the OS whether the system is swapping. Then, if the system is swapping, it would not attach gdb to the application process, and instead let the process swiftly die.