Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: kdat and Alpha machines
@ 1998-08-27 16:39 Greg Lindahl
  1998-08-27 17:20 ` Wes Bauske
  1998-08-27 17:26 ` Brian E.W. Wood
  0 siblings, 2 replies; 8+ messages in thread
From: Greg Lindahl @ 1998-08-27 16:39 UTC (permalink / raw)
  To: beww; +Cc: axp-list

> Sorry, I should have specified that I was running RH 5.0 with egcs 1.0.3a. This
> compiler has compiled all of qt and kde for me with no problems. Running
> qt-1.33 and KDE version 1.0.

Hm, how... interesting. This is exactly how the g++ distributed with
RH 5.0 behaves (core dump at file close), but egcs installs its own
copy of libio which is not broken.

-- g



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: kdat and Alpha machines
@ 1998-08-27 14:53 Greg Lindahl
  1998-08-27 16:03 ` Brian E.W. Wood
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Lindahl @ 1998-08-27 14:53 UTC (permalink / raw)
  To: beww; +Cc: axp-list

> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* kdat and Alpha machines
@ 1998-08-27  4:42 Brian E.W. Wood
  1998-08-27 16:36 ` Steve Frampton
  0 siblings, 1 reply; 8+ messages in thread
From: Brian E.W. Wood @ 1998-08-27  4:42 UTC (permalink / raw)
  To: axp-list


I have found a program, kdat, which is a great backup tool. I use it on an
Intel machine at work and like it a lot.

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. 

--------------

I sent this output to the author (who is very cooperative) but it didn't mean
anything to him. There is no iofclose.c anywhere on my system so I am at a loss
as to where to look for the problem (library routine?). Obviously it is probably
a 32/64 bit thing but I do not know where to go from here.

Any advice would be appreciated.

The kdat code can be had from:

http://sunsite.auc.dk/qweb/kdat/

Like I said it seems a great backup tool, and would likely be useful to
anbybody running KDE on an Alpha if it could be made to work.

Thanks as always.

---
Brian E.W. Wood  beww@intac.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-08-27 19:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-27 16:39 kdat and Alpha machines Greg Lindahl
1998-08-27 17:20 ` Wes Bauske
1998-08-27 19:58   ` Brian E.W. Wood
1998-08-27 17:26 ` Brian E.W. Wood
  -- strict thread matches above, loose matches on Subject: below --
1998-08-27 14:53 Greg Lindahl
1998-08-27 16:03 ` Brian E.W. Wood
1998-08-27  4:42 Brian E.W. Wood
1998-08-27 16:36 ` Steve Frampton

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