Xref: news2.mv.net comp.os.msdos.djgpp:7989 From: larsen AT lal DOT cs DOT utah DOT edu (Steve Larsen) Newsgroups: comp.os.msdos.djgpp Subject: Program crash Date: 22 Aug 1996 20:52:32 GMT Organization: University of Utah Computer Science Department Lines: 21 Message-ID: <4vihag$4ol@magus.cs.utah.edu> Reply-To: larsen AT sunset DOT cs DOT utah DOT edu NNTP-Posting-Host: lal.cs.utah.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi all, Please excuse my ignorance, but I am having a problem that I could use some help with. I have a program which gives me a GPF sometimes when I exit. It only does it sometimes, and the dump is kind of strange (no stack trace). Here it is: General Protection Fault in RMCB at eip=fef; flags=3002 eax=012b0001 ebx=00002398 ecx=00000000 edx=00030aad esi=00004c84 edi=00003464 ebp=00000000 esp=00003450 cs=2b ds=3b es=33 fs=33 gs=0 ss=33 error=00a4 I would appreciate any help/insight people could offer. thanks, Steve P.S. This program does hook the keyboard and PC timer. This would be my first suspect except that: a) I used the code examples suggested here, b) that code has been in place since before this problem came about. However, I could post this code if it would help. Thanks again.