From: Erik Berglund Newsgroups: comp.os.msdos.djgpp Subject: Re: GPF with system() and clock int. Lines: 34 Message-ID: Date: Fri, 21 Jul 2000 19:06:22 GMT NNTP-Posting-Host: 194.237.158.56 X-Complaints-To: abuse AT telia DOT com X-Trace: newsc.telia.net 964206382 194.237.158.56 (Fri, 21 Jul 2000 21:06:22 MET DST) NNTP-Posting-Date: Fri, 21 Jul 2000 21:06:22 MET DST Organization: Telia Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks for your reply. I ran my program a few times again, this time with some other compiler versions, and here is the output (note that in 2, there was no Page Fault, only GPF): 1) gcc 2.7.2.1, DJGPP 2.01, CWSDPMI r4, binutils 2.7: Page Fault cr2=195d05ea in RMCB at eip=5719b; flags=3002 eax=195d05df ebx=000010b6 ecx=00000000 edx=00000006 esi=00001a45 edi=000020bc ebp=0005e960 esp=000020a0 cs=a7 ds=3b es=33 fs=33 gs=ff ss=33 error=0006 General Protection Fault in RMCB at eip=405a; flags=3046 eax=01a94c00 ebx=000100a7 ecx=00000015 edx=00016500 esi=000010b6 edi=10000000 ebp=00000000 esp=00001120 cs=2b ds=33 es=8f fs=0 gs=0 ss=33 error=0000 2) gcc 2.7.2.1, DJGPP 2.03, CWSDPMI r4, binutils 2.7: General Protection Fault in RMCB at eip=af3c; flags=3002 eax=0000007a ebx=00007ab6 ecx=00000000 edx=0000000e esi=00001a45 edi=000020bc ebp=0005e7ec esp=00001fec cs=e7 ds=0 es=33 fs=33 gs=ff ss=33 error=0000 General Protection Fault in RMCB at eip=405a; flags=3046 eax=01a94c00 ebx=000100a7 ecx=00000015 edx=0001ad00 esi=000010b6 edi=10000000 ebp=00000000 esp=00001120 cs=2b ds=33 es=8f fs=0 gs=0 ss=33 error=0000 3) gcc 2.95.2, DJGPP 2.03, CWSDPMI r4, binutils 2.81: Page Fault cr2=31373532 in RMCB at eip=9b1cb; flags=3002 eax=31373532 ebx=000010b6 ecx=00000000 edx=000383cc esi=00001a45 edi=000020bc ebp=000a9910 esp=000020a0 cs=a7 ds=3b es=33 fs=33 gs=ff ss=33 error=0006 General Protection Fault in RMCB at eip=405a; flags=3046 eax=01a54c00 ebx=000100a7 ecx=00000015 edx=0001ad00 esi=000010b6 edi=10000000 ebp=00000000 esp=00001120 cs=2b ds=33 es=8f fs=0 gs=0 ss=33 error=0000 -- Erik Berglund erik2 DOT berglund AT telia DOT com