Bug 103058 - rpm dumps core attempting to install package
Summary: rpm dumps core attempting to install package
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: rpm
Version: beta1
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-08-26 04:42 UTC by Chris Ricker
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-26 19:51:52 UTC
Embargoed:


Attachments (Terms of Use)
spec file for core-dumping rpm (1.68 KB, text/plain)
2003-08-26 04:44 UTC, Chris Ricker
no flags Details
strace (151.87 KB, application/octet-stream)
2003-08-26 04:58 UTC, Chris Ricker
no flags Details

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.


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