c – Need more information about Aborted (core dumped)

c – Need more information about Aborted (core dumped)

Core dump file generally gets created when a program terminates abnormally.
Calling free() twice on a pointer causes segmentation fault. Thats why you are getting coredumped.
You can find some information here about calling free on same pointer twice.

c – Need more information about Aborted (core dumped)

Leave a Reply

Your email address will not be published.