Bug 103058

Summary: rpm dumps core attempting to install package
Product: [Retired] Red Hat Linux Beta Reporter: Chris Ricker <chris.ricker>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: beta1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-26 19:51:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100643    
Attachments:
Description Flags
spec file for core-dumping rpm
none
strace none

Description Chris Ricker 2003-08-26 04:42:53 UTC
On my severn system, yum'ed to rawhide, rpm dumps core when attempting to
install the following RPM:

http://www.oobleck.net/kaboom/fedora/XFree86-source-4.3.0-0.fdr.1.noarch.rpm

The source rpm is

http://www.oobleck.net/kaboom/fedora/XFree86-source-4.3.0-0.fdr.1.src.rpm

(warning: big files, slow link ;-)

Spec attached momentarily -- only unusual thing in it is that I use

AutoReq: no

to disable dependency generation

If you can point me to debuginfo files for rpm-4.2.1-0.30, I'll bt it

The actual error is:


[kaboom@skuld noarch]$ sudo rpm -ivh XFree86-source-4.3.0-0.fdr.1.noarch.rpm 
rpm: rpmte.c:530: rpmteColorDS: Assertion `ix < Count' failed.
Aborted (core dumped)
[kaboom@skuld noarch]$

Comment 1 Chris Ricker 2003-08-26 04:44:49 UTC
Created attachment 93926 [details]
spec file for core-dumping rpm

Attached is the spec, if you'd rather download the XFree86 src from
ftp.xfree86.org and rebuild it yourself

The RPM is quite simple -- just unpacks the XFree86 src to
/usr/src/XFree86-4.3.0 for use when compiling XFree86 extensions which require
the XFree86 source tree....

Comment 2 Chris Ricker 2003-08-26 04:58:28 UTC
Created attachment 93927 [details]
strace

attached gzip strace, in case it's useful

Comment 3 Chris Ricker 2003-08-26 05:02:40 UTC
Current backtrace (w/o debuginfo)

(gdb) bt
#0  0x0048044e in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x004aac4f in raise () from /lib/tls/libc.so.6
#2  0x004ac5e3 in abort () from /lib/tls/libc.so.6
#3  0x004a449f in __assert_fail () from /lib/tls/libc.so.6
#4  0x00679d26 in rpmteColorDS () from /usr/lib/librpm-4.2.so
#5  0x0067927d in rpmteCleanDS () from /usr/lib/librpm-4.2.so
#6  0x00679581 in rpmteNew () from /usr/lib/librpm-4.2.so
#7  0x0064ec4d in rpmtsAddInstallElement () from /usr/lib/librpm-4.2.so
#8  0x006724a1 in rpmInstall () from /usr/lib/librpm-4.2.so
#9  0x0804b499 in ?? ()
#10 0x099b2bd8 in ?? ()
#11 0x0805a098 in ?? ()
#12 0x099a89e8 in ?? ()
#13 0x08059020 in ?? ()
(gdb) 

Comment 4 Jeff Johnson 2003-08-26 19:51:52 UTC
Add
    AutoReqProv: no
or build with non-internal deps.