Source(s) of St9bad_alloc exception

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am developing a program that must use a lot of new/delete operators and it has bugs.

My compiler is gcc version 3.3.

I'm catching a St9bad_alloc message via the exception::what() method.

Is there a more informative method to use, perhaps in a class deriving from exception?

What are the possible sources of this error. I assume new, but can it be produced by giving delete a bogus pointer?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux