From: "Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: Odp: Annoying error Date: Sat, 26 May 2001 13:06:10 +0200 Organization: Academic Computer Center CYFRONET AGH Lines: 54 Message-ID: <9eo2k4$36v$1@info.cyf-kr.edu.pl> References: NNTP-Posting-Host: d-94-53-29.cyfronet.krakow.pl X-Trace: info.cyf-kr.edu.pl 990875077 3295 149.156.1.189 (26 May 2001 11:04:37 GMT) X-Complaints-To: news AT cyf-kr DOT edu DOT pl NNTP-Posting-Date: Sat, 26 May 2001 11:04:37 +0000 (UTC) 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 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com IMHO this is hard to tell what is the problem without seeing source code... if Your's program is simple maybe You can post it source code ? I have now meany free time, so You can email source to me if You wish. I think that this is some tipical memory error (like reading illegal index from array, or deleteting/freeing invalid pointers) - and often frequency of hangups with this bugs depends on platform (DOSBox or Dos etc....) Raf256 Użytkownik Maverick w wiadomości do grup dyskusyjnych napisał:HnLP6.16992$iS2 DOT 597769 AT news DOT chello DOT at... > 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 > >