From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: gnoRPM Floating point exception
Date: Thu, 24 Feb 2000 09:28:26 -0700 (MST) [thread overview]
Message-ID: <200002241628.JAA07453@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.SUN.4.20.0002240202001.8119-100000@eskimo.com> from "Vince LaMonica" at Feb 24, 2000 02:06:01 AM
Vince LaMonica wrote:
>
> ... is gnorpm for Alpha broken? I get a
> floating point exception just as it starts to install an rpm file.
Yes, indeed, but at the first look this seems to be coming from
a library. Here is a relevant piece of a 'strace' output
('10754' happens to be pid of 'gnorpm' in this run).
..................
10754 lstat(".", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
10754 lstat("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 lstat("..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 stat("..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 open("..", O_RDONLY|O_NONBLOCK) = 16
10754 fcntl(16, F_SETFD, FD_CLOEXEC) = 0
10754 brk(0x1202b4000) = 0x1202b4000
10754 lseek(16, 0, SEEK_CUR) = 0
10754 getdents(16, /* 43 entries */, 7944) = 1264
10754 lstat("../root", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
10754 close(16) = 0
10754 chdir("/") = 0
10754 chroot("") = -1 ENOENT (No such file or directory)
10754 gettimeofday({951407531, 723809}, NULL) = 0
10754 --- SIGFPE (Floating point exception) ---
..................
I do not know that for sure, and I do not know yet if this relevant in
this particular case, but I strongly suspect that various exceptions
you are seeing with Gnome tools are due to a bug in Gtk+ library.
This was identified by Ivan Kokshaysky and, for what it is worth,
here is his fix:
--- gtk+-1.2.6/gtk/gtkpaned.c.orig Mon Aug 23 23:40:33 1999
+++ gtk+-1.2.6/gtk/gtkpaned.c Tue Jan 11 19:41:07 2000
@@ -575,8 +575,9 @@
paned->child1_size = allocation - child2_req;
else if (!paned->child1_resize && paned->child2_resize)
paned->child1_size = child1_req;
- else
+ else if (child1_req)
paned->child1_size = allocation * ((gdouble)child1_req / (child1_req + child2_req));
+ else paned->child1_size = 0;
}
else
{
As you can see it does not have much to do with Alpha with this
difference that x86 processor may paper over such bug.
Once again - this is not tested, not known if solves anything in gnorpm
particular case and use at your discretion. But if anybody has more
information/experience with these problems I am all ears.
>
> Does anyone know of another graphical rpm that is Alpha-compliant? I'm
> normally a 'gzip/tar' kinda person, but I like the fact that w/ rpm, you
> get a nice db to check on to see what packages/versions you have
> installed.
For the later you do not need a pointy-clicky interface. 'rpm' works
just fine from a command line and this is what does the real work.
"Show what is installed" part of gnorpm seems to be ok - package
specific information inclusive.
Michal
next prev parent reply other threads:[~2000-02-24 16:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-24 10:06 gnoRPM Floating point exception Vince LaMonica
2000-02-24 8:03 ` psrin0
2000-02-24 16:28 ` Michal Jaegermann [this message]
2000-02-24 17:12 ` Elliot Lee
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox