Date: Thu, 17 Jun 1999 10:24:35 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Drazen Juran cc: djgpp AT delorie DOT com Subject: Re: exe crashes In-Reply-To: <37678669.3B0BCECF@croatialine.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 16 Jun 1999, Drazen Juran wrote: > The first one menu.exe call other four exe with spawnl function. > First exe work fine when I call them first, > but if I call first exe after I call and exit second exe, itcrashes. > > I got error: > > Exiting due to signal SIGSEGV > Page fault at eip=00010b98, error=0004 Please read section 12.2 of the DJGPP FAQ list, it explains how to begin debugging your program using the crash message as a starting point. If the advice in the FAQ is not enough for you to solve this problem, please ask specific question, but you need to realize that nobody here can solve this problem for you, because in general `spawnl' works, so the reason for the crashes is somewhere in your code. > I try to change stack size, but it doesn't help. I don't see anything in the crash message that suggests a stack-related problem. So it's no surprise that enlarging the stack didn't help.