From: "Maverick" Newsgroups: comp.os.msdos.djgpp Subject: Annoying error Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sat, 26 May 2001 10:16:07 GMT NNTP-Posting-Host: 212.17.127.89 X-Complaints-To: abuse AT news DOT chello DOT at X-Trace: news.chello.at 990872167 212.17.127.89 (Sat, 26 May 2001 12:16:07 MET DST) NNTP-Posting-Date: Sat, 26 May 2001 12:16:07 MET DST Organization: Customers chello Austria To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I just finished my first program with DJGPP, it does not much more than calculate a few entries in an array off two other arrays. It compiles and links without errors, however when I run the EXE-file, I get the following : ------------------------------------------------------------- Exiting due to signal SIGSEGV Page fault at eip = 000019d3, error = 0006 eax = 00048018 ebx = 000084c3 ecx = 00000084 edx = 00010f60 esi = 00000054 edi = 00043560 ebp = 071efe30 esp = 071efdf8 program=C:\U1\DEVELOP\COLORMAP\A.EXE cs: sel = 01ef base = 84c33000 limit = fffe2fff ds: sel = 0217 base = 84c33000 limit = fffe2fff es: sel = 0217 base = 84c33000 limit = fffe2fff fs: sel = 0127 base = 00014d10 limit = 0000ffff gs: sel = 0227 base = 00000000 limit = 0010ffff ss: sel = 0217 base = 84c33000 limit = fffe2fff App stack : [071f0000..07170000] Exceptn stack : [000434bc..0004157c] Call frame traceback EIPs: 0x000019d3 0x00001da7 0x00001f42 0x00003342 ------------------------------------------------------------- And now for the funny thing. This error happens always when the EXE is executed from the DOS-Prompt of Win98SE-Dos Box. When I launch it from RHIDE (started in Win98SE-Dos Box) it sometimes works just fine, and sometimes gives me out the same error as above. In DOS-Mode of Win98SE however the program works out just fine without any errors. Now I'm curious if somebody can tell me what this error means and if somebody can find an explanation why it does work sometimes and sometimes not. Maverick