Bug 798518 - rpm segfaults on query
rpm segfaults on query
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-02-29 01:34 EST by Rudd-O DragonFear
Modified: 2012-02-29 05:15 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-29 03:04:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rudd-O DragonFear 2012-02-29 01:34:24 EST
Description of problem:

Comment 1 Jindrich Novy 2012-02-29 03:04:35 EST
Does not really look like a bug.
Comment 2 Rudd-O DragonFear 2012-02-29 05:14:08 EST
DAMMIT, I don't know why bugzilla ate my but report!

Here is a traceback:

Comment 3 Rudd-O DragonFear 2012-02-29 05:15:08 EST
AHA!  Konqueror is eating everything after the unicode character:

Comment 4 Rudd-O DragonFear 2012-02-29 05:15:49 EST
Nope.  It is not konqueror.  Fedora Bugzilla eats everything after the unicode character.


OK here it is again:

~/bin@karen.dragonfear @: <- I replaced the Omega sign
gdb rpm
GNU gdb (GDB) Fedora (
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/rpm...Missing separate debuginfo for /usr/bin/rpm
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/f5/433a2fdcaf1a4789611ac018e0153b63ac0296.debug
(no debugging symbols found)...done.
(gdb) set args -qa
(gdb) run
Starting program: /usr/bin/rpm -qa
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install db4-4.8.30-9.fc17.x86_64 libattr-2.4.46-5.fc17.x86_64
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7b8f017 in db_init (dbhome=0x64aaa0 "/var/lib/rpm", rdb=0x6497d0) at backend/db3.c:151
#2  dbiOpen (rdb=rdb@entry=0x6497d0, rpmtag=rpmtag@entry=0, dbip=dbip@entry=0x7fffffffda98, flags=flags@entry=0) at backend/db3.c:550
#3  0x00007ffff7b96de3 in rpmdbOpenIndex (db=db@entry=0x6497d0, rpmtag=rpmtag@entry=0, flags=0) at rpmdb.c:149
#4  0x00007ffff7b9737f in openDatabase (prefix=<optimized out>, dbpath=dbpath@entry=0x0, dbp=dbp@entry=0x64a248, mode=mode@entry=0, perms=perms@entry=420, flags=flags@entry=0) at rpmdb.c:742
#5  0x00007ffff7b974c2 in rpmdbOpen (prefix=<optimized out>, dbp=dbp@entry=0x64a248, mode=mode@entry=0, perms=perms@entry=420) at rpmdb.c:772
#6  0x00007ffff7bbb7a6 in rpmtsOpenDB (ts=ts@entry=0x64a210, dbmode=0) at rpmts.c:88
#7  0x00007ffff7bbba48 in rpmtsInitIterator (ts=ts@entry=0x64a210, rpmtag=rpmtag@entry=1000, keyp=keyp@entry=0x7ffff7bccdfa, keylen=keylen@entry=0) at rpmts.c:172
#8  0x00007ffff7bbbc14 in loadKeyringFromDB (ts=0x64a210) at rpmts.c:312
#9  loadKeyring (ts=0x64a210) at rpmts.c:347
#10 0x00007ffff7bbba66 in rpmtsInitIterator (ts=ts@entry=0x64a210, rpmtag=rpmtag@entry=0, keyp=keyp@entry=0x0, keylen=keylen@entry=0) at rpmts.c:170
#11 0x00007ffff7bacebb in initFilterIterator (argv=0x0, ts=0x64a210) at query.c:478
#12 rpmcliArgIter (ts=ts@entry=0x64a210, qva=qva@entry=0x7ffff7ddcfc0, argv=argv@entry=0x0) at query.c:511
#13 0x00007ffff7bad08c in rpmcliQuery (ts=0x64a210, qva=0x7ffff7ddcfc0, argv=0x0) at query.c:568
#14 0x000000000040171a in ?? ()
#15 0x00007ffff531e735 in __libc_start_main (main=0x401270, argc=2, ubp_av=0x7fffffffddf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdde8) at libc-start.c:226
#16 0x0000000000401bd1 in ?? ()
#17 0x00007fffffffdde8 in ?? ()
#18 0x000000000000001c in ?? ()
#19 0x0000000000000002 in ?? ()
#20 0x00007fffffffe18b in ?? ()
#21 0x00007fffffffe198 in ?? ()
#22 0x0000000000000000 in ?? ()

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