Bug 54219 - segmentation fault with gnorpm
segmentation fault with gnorpm
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: gnorpm (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
David Lawrence
:
: 54776 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-01 17:44 EDT by David Lawrence
Modified: 2007-04-18 12:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-22 16:28:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Lawrence 2001-10-01 17:44:46 EDT
Description of Problem:
Segmentation fault doing the following:

1. Click Operations->Find
2. Choose provide in the drop down for find packages that.
3. Enter sendmail or other package name in the text box and click find.
4. Highlight the result and click Query.
5. You get a blank window called Package Information.
6. If you try to verify the package instead of querying it generates
a segmentation fault dialog box.

This occurs on the i386 platform for Enigma also.

Strace output:

open("/var/lib/rpm/Packages", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
SYS_1212(0x6, 0x80000fffffff8f00, 0x80000fffffff8e78, 0x2000000001801f68,
0x2000000000eae8d0, 0xc00000000000030b, 0x80000fffffff8e20,
0x2000000000f03458) = 0
lseek(6, 0, SEEK_SET)                   = 0
read(6, "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0@\0\0\0\10\0"..., 256) = 256
close(6)                                = 0
open("/var/lib/rpm/Packages", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
SYS_1212(0x6, 0x80000fffffff8fc0, 0xc00000000000038c, 0x6, 0x2, 0x1,
0x2000000000eae720, 0xc00000000000038c) = 0
pread(6, "\0\0\0\0\1\0\0\0\317\1\0\0\0\0\0\0\0\0\0\0\"\0\0060\0\2"...,
16384, 7585792) = 16384
--- SIGSEGV (Segmentation fault) ---
write(3, "\2\2\4\0006\3\340\1\2\0\0\0\272\326\0\0\f\0\4\0006\3\340"...,
1292) = 1292
read(3, "\26\0008%\32\3\340\1\32\3\340\1\265\2\340\1\0\0\0\0h\1"..., 32) = 32
read(3, 0x80000fffffff8fa0, 32)         = -1 EAGAIN (Resource temporarily
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\23\3;%6\3\340\0016\3\340\1\0\217\v\10\320\233\326\010"..., 32) = 32

Version-Release number of selected component (if applicable):
gnorpm-0.96-11
Comment 1 Alexander Larsson 2001-10-02 10:43:37 EDT
Hmmm. It seems to happen with other (all?) packages too.
Comment 2 Alexander Larsson 2001-10-02 11:07:18 EDT
This has been fixed in the latest CVS. I will talk to the maintainers and see
when a new version is gonna be released.
Comment 3 Mike A. Harris 2001-10-23 06:25:15 EDT
This occurs on s390 as well.  Changing arch to All.

[root@rawhide zod_was_here]# rpm -q gnorpm
gnorpm-0.96-11
Comment 4 Mike A. Harris 2001-10-23 06:32:05 EDT
*** Bug 54776 has been marked as a duplicate of this bug. ***
Comment 5 R.K.Aa. 2002-01-19 01:10:22 EST
Same problem on RH7.1/gnorpm 0.96-1. Is there any movement here?
Comment 6 Alexander Larsson 2002-01-22 16:28:27 EST
I sent a mail to the maintainer asking for a new release.
Comment 7 Alexander Larsson 2002-07-23 12:07:54 EDT
Gnorpm has been deprecated for the next version of RedHat. It will be replaced
with a package called redhat-config-packages.
Comment 8 Rick Richardson 2002-10-16 05:06:12 EDT
When a user selects "upgrade software" in my application, it would fetch the new
RPM for him from my web site and then fire off a "gnorpm-auth -qp
/tmp/newversion.rpm" to perform the actual update.

Now, in RH 8.0, I find that the gnorpm command is gone.  But it does not appear
to me that the replacement package, redhat-config-packages, has the same ability
to graphically install/upgrade a package from a file.

There is no manual page for redhat-config-packages (shouldn't *everything* in
/usr/bin have a man page?), so maybe the functionality is there, just not
documented.

Could you please comment on how to achieve the same gnorpm functionality in RH
8.0?

Thank you.
Comment 9 Alexander Larsson 2002-10-16 08:12:28 EDT
rickr: use redhat-install-packages

Note You need to log in before you can comment on or make changes to this bug.