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,d07a83bd5f2b8443,start X-Google-Attributes: gid103376,public From: Billy Osborne Subject: Segmentation Fault using Ada IO under Linux Date: 1999/06/15 Message-ID: <37664F17.17FFAEB7@merc.mercer.edu>#1/1 X-Deja-AN: 489837371 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 16 Jun 1999 13:02:49 GMT, 216.46.38.162 Organization: Homenet Communications, Inc. MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-06-15T00:00:00+00:00 List-Id: Having trouble with Ada programs using calls to textio and other standard io functions. Program compiles and links with no errors, but running the program causes a segmentation fault and a core dump. A simple program without any io calls works just fine. GDB returns the following error message "Program received signal SIGSEGV, Segmentation fault. 0x4006bf7d in _IO_setvbuf (fp=0x8070710, buf=0x0, mode=2, size=0) at iosetvbuf.c:92. iosetvbuf.c:92: No such file or directory. System details: RedHat 6.0 Linux running on Intel PCs (Everything from Pentium Pro 200 to Pentium III 500) Gnat 3.11p i686 for Linux PC running on gcc 2.8.1 included with gnat package. gdb 4.17.gnat.3.11p compiled using gnatmake -f -v filename.adb -cargs -g (also tried with -a argument added). Any ideas what we are missing here? Thanks. Billy Osborne Mercer Engineering Research Center