Search found 62 matches

by nedman47
Dec 05, 2006 20:16
Forum: DOS
Topic: general protection fault
Replies: 12
Views: 5020

general protection fault

I compiled my program with -g switch and ran in GDB. It failed immediately with this message ...

SIGSEGV segmentation fault
0x00009dac in free()
by nedman47
Dec 05, 2006 15:44
Forum: DOS
Topic: general protection fault
Replies: 12
Views: 5020

general protection fault

I am trying to write a program that uses a linked list as a data structure. I am using callocate and pointers. The program runs sometimes and gives a GPF sometimes. A dump of the data structure shows it is linked properly. It is not easy to diagnose a GPF since it cannot be trapped.

Go to advanced search