Lang Zhi wrote:
>
> Hi,
>
> The program compiled fine, but with few warnings.
> When try to run the binary, it give core dump.
> So, any idea why this "core dump" happen ?
> I mean generally, what is the main cause ?
a bogus program ...
I suppose your program get a segfault as it's the main reason.
a prog receive a segfault when it attempt to access a memory area it
hasn't any right. It often mean that you bug when using pointers
(freeing several times the same area, overpassing structures and tables
bounds, ...)
--
MandrakeSoft http://www.mandrakesoft.com/
--Thierry