From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31460 invoked from network); 24 Feb 2000 16:28:30 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Feb 2000 16:28:30 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA29780 for ; Thu, 24 Feb 2000 11:28:30 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA07453 for axp-list@redhat.com; Thu, 24 Feb 2000 09:28:26 -0700 From: Michal Jaegermann Message-Id: <200002241628.JAA07453@ellpspace.math.ualberta.ca> Subject: Re: gnoRPM Floating point exception To: axp-list@redhat.com Date: Thu, 24 Feb 2000 09:28:26 -0700 (MST) In-Reply-To: from "Vince LaMonica" at Feb 24, 2000 02:06:01 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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