From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 691 invoked from network); 27 Aug 1998 14:53:07 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 27 Aug 1998 14:53:07 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA22416 for ; Thu, 27 Aug 1998 10:53:14 -0400 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id KAA11850; Thu, 27 Aug 1998 10:53:03 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id KAA05782; Thu, 27 Aug 1998 10:53:02 -0400 (EDT) Date: Thu, 27 Aug 1998 10:53:02 -0400 (EDT) Message-Id: <199808271453.KAA05782@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: beww@intac.com Subject: Re: kdat and Alpha machines Cc: axp-list@redhat.com > So, I tried to compile and run it on my alpha at home. It compiles OK but > segfaults when run. I re-compiled with debugging enabled and ran it with gdb > with the following result: > > -------------- > > (gdb) run > Starting program: /usr/src/kdat-1.99b/kdat/./kdat > > Program received signal SIGSEGV, Segmentation fault. > 0x0 in ?? () > Current language: auto; currently c > (gdb) where > #0 0x0 in ?? () > #1 0x15556668220 in _IO_fclose (fp=0x1201bca70) at iofclose.c:44 > #2 0x15556668220 in _IO_fclose (fp=Cannot access memory at address 0x8. > ) at iofclose.c:44 > Cannot access memory at address 0x40. You didn't bother to say that you were using RH 5.0 and C++. There is a known botch in the libio library for RH 5.0 and C++ that any C++ program dumps core. It was never fixed, but you can either install egcs or upgrade to RH 5.1 -- g