Date: Fri, 26 Sep 1997 13:53:36 +0000 ( ) From: "Gurunandan R. Bhat" To: Thomas Demmer Cc: djgpp AT delorie DOT com Subject: Re: Segments vs Selectors In-Reply-To: <342BD736.E0E1A61E@LSTM.Ruhr-UNI-Bochum.De> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 26 Sep 1997, Thomas Demmer wrote: > Gurunandan R. Bhat wrote: > [...] lots deleted because otherwise refused to post ... > Try > char x; > int main() > ... > > You have x on the stack, not in the data segment, so that might be the > problem. Hi, Tom, Thank you for your suggestion. But I wonder if that would be the cause. DJGPP programs get a 256K stack. The mismatch in my segment limit is exactly 64K. Also I am not sure to what extent this would solve the scond problem which is that __dpmi_get_segment_limit() and the call frame traceback do not agree on the segment limit. In any case I will try that as soon as I get home. Thanks, Gurunandan