From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ba899e9612071bd2,start X-Google-Attributes: gid103376,public From: ludowyk@yallara.cs.rmit.edu.au (Tristan Ludowyk) Subject: General Protection Fault using Stream_IO Date: 1997/10/23 Message-ID: <62n5h4$c2h$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 282608885 Organization: Comp Sci, RMIT University, Melbourne, Australia. NNTP-Posting-User: ludowyk Newsgroups: comp.lang.ada Date: 1997-10-23T00:00:00+00:00 List-Id: 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. I can't work out what is going wrong, since it has been working in the past. Thanks for any advice, Tristan. -- _/_/ Tristan Ludowyk ____TTTc____/| \_\_\_\_ _/_/_/ RMIT Comp.Sys.Eng/Comp.Sci - 1st year (_u|||_o_) \| \_\_\_ _/_/_/_/ Email: ludowyk@yallara.cs.rmit.edu.au ^^^ \_\_ Anyone who is not shocked by quantum theory has not understood it - Niels Bohr