On Wed, 19 Jan 2005 16:04:08 +0000 in comp.lang.c++, Fozzy
<no********@nowhereland.org> wrote,
Anyone know how to find the cause of an error where a C++ program gives
a SIG fault when creating something. The thing is any old random thing
that is created. I can't find any good reason... :(
That most commonly means that something earlier, perhaps much earlier
in the execution of the program, has gone wrong in such a way as to
damage the free memory pool structures. It could be the result of
anything defined as "undefined behavior". Most common thing in my
opinion is writing through an uninitialized pointer.
What is the code like?