comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: General Protection Fault using Stream_IO
Date: 1997/10/24
Date: 1997-10-24T00:00:00+00:00	[thread overview]
Message-ID: <877664729.64snx@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 62n5h4$c2h$1@goanna.cs.rmit.edu.au


In article <62n5h4$c2h$1@goanna.cs.rmit.edu.au> ludowyk@yallara.cs.rmit.edu.au writes:

>I am using Stream_IO to manipulate some graphics files, and use the read
>function to read in a block of data.  To do this I define my
>Stream_Element_Array (about 400kb) then use:
>
>Read (File, My_Array, No_Of_Bytes, Start_Data);
>
>and it raises a General Protection Fault.  It works alright for smaller files.

There are several well known DJGPP effects that can cause this, if you can
sent me an example program (not the data, please! :-) I will take a look at
it, although I cannot promise when.

In the meantime, if you get this exception when the data file is larger then
256K, try using the 'stubedit' program on your executable to increase its
stack space (to, say, 512 Kb).

-- Jerry van Dijk | Leiden, Holland
-- Consultant     | Team Ada
-- Ordina Finance | jdijk@acm.org




      parent reply	other threads:[~1997-10-24  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-23  0:00 General Protection Fault using Stream_IO Tristan Ludowyk
1997-10-23  0:00 ` Tristan Ludowyk
1997-10-24  0:00 ` Jerry van Dijk [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox