Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5841 - Portage 2.0.22 crashes on world update
Summary: Portage 2.0.22 crashes on world update
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-01 03:38 UTC by Kalle Rannikko
Modified: 2011-10-30 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Rannikko 2002-08-01 03:38:00 UTC
All compiled in my machine are Pentium optimized.
Before this I did 'emerge rsync'. Emerge ran some time (/-\| marks roll). Then
rolling hangs up. After a while traceback message appears.

I added both 'emerge rsync' and 'emerge -u -p world' outputs to here just in case.

-Outcast

# start of debug info
root@outcast outcast # emerge rsync
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...

---------------------------------------------------------------------------
                        F T P . O R S T . E D U
                        Oregon State University

       Unauthorized use is prohibited - violators will be prosecuted
---------------------------------------------------------------------------

          For more information on accessing these archives visit:
                  http://www.net.oregonstate.edu/ftp/

---------------------------------------------------------------------------

receiving file list ... done
deleting sys-apps/portage/portage-2.0.22.ebuild
deleting sys-apps/portage/files/portage-2.0.22.tar.bz2
deleting sys-apps/portage/files/digest-portage-2.0.22
app-admin/
app-admin/gentoolkit/files/
app-arch/
app-cdr/
app-crypt/
app-doc/
app-doc/gentoo-web/files/
app-editors/
app-emulation/
app-games/
app-games/freecraft/files/
app-i18n/
app-i18n/canna/files/
app-misc/
app-office/
app-office/openoffice/files/
app-text/
app-text/dictd/files/
app-text/gtranslator/
dev-db/
dev-java/
dev-lang/
dev-libs/
dev-lisp/
dev-perl/
dev-python/
dev-ruby/
dev-tcltk/
dev-util/
eclass/
gnome-base/
gnome-base/gdm/files/
gnome-extra/
kde-base/
media-gfx/
media-libs/
media-sound/
media-video/
metadata/cache/app-text/
metadata/cache/sys-apps/
metadata/cache/x11-terms/
net-analyzer/
net-dialup/
net-fs/
net-ftp/
net-im/
net-irc/
net-libs/
net-mail/
net-mail/qmail/files/
net-mail/sendmail/files/
net-misc/
net-p2p/
net-print/
net-www/
profiles/
sys-apps/
sys-apps/baselayout/files/
sys-apps/grub/files/
sys-apps/portage/
sys-apps/portage/files/
sys-apps/shadow/files/
sys-devel/
sys-devel/gcc/files/
sys-kernel/
sys-kernel/linux-headers/files/
sys-kernel/linux-sources/files/
sys-libs/
sys-libs/pam/files/
x11-base/
x11-base/xfree/files/
x11-libs/
x11-misc/
x11-terms/
x11-terms/multi-gnome-terminal/
x11-wm/
app-text/gtranslator/ChangeLog
app-text/gtranslator/gtranslator-0.43.ebuild
metadata/cache/app-text/gtranslator-0.43
metadata/cache/sys-apps/portage-2.0.23
metadata/cache/x11-terms/multi-gnome-terminal-1.5.2-r1
sys-apps/portage/files/digest-portage-2.0.23
sys-apps/portage/files/portage-2.0.23.tar.bz2
sys-apps/portage/portage-2.0.23.ebuild
x11-terms/multi-gnome-terminal/multi-gnome-terminal-1.5.2-r1.ebuild
rsync[19759] (receiver) heap statistics:
  arena:        3070904   (bytes from sbrk)
  ordblks:          645   (chunks not in use)
  smblks:             0
  hblks:              0   (chunks from mmap)
  hblkhd:             0   (bytes from mmap)
  usmblks:            0
  fsmblks:            0
  uordblks:     2788928   (bytes used)
  fordblks:      281976   (bytes free)
  keepcost:       67552   (bytes in releasable chunk)

Number of files: 19918
Number of files transferred: 9
Total file size: 18849893 bytes
Total transferred file size: 154638 bytes
Literal data: 154638 bytes
Matched data: 0 bytes
File list size: 479560
Total bytes written: 274
Total bytes read: 628937

wrote 274 bytes  read 628937 bytes  14139.57 bytes/sec
total size is 18849893  speedup is 29.96

>>> Updating Portage cache...  

root@outcast outcast # emerge -u -p world

These are the packages that I would merge, in order.

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 1390, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 837, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 734, in create
    myeb=portage.db[portage.root]["porttree"].dep_bestmatch(mydep2)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2160, in dep_bestmatch
    mymatch=self.dbapi.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2875, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2886, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2872, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2950, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 2764, in aux_get
    self.auxcache[mycpv][auxdbkeys[x]]=mylines[x][:-1]
IndexError: list index out of range
# end of debug info
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-08-05 00:29:43 UTC
Can you still duplicate this bug?  Can you only duplicate it with this rsync
server or can you duplicate it with *other* rsync servers as well?   That's a
critical question.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 12:41:54 UTC
This should be fixed, extensive fixes to aux_get as of 2.0.34