[Pkg-bazaar-maint] Bug#438745: bzr-gtk: "Log" action takes forever in olive-gtk
Roland Mas
lolando at debian.org
Sun Aug 19 14:59:39 UTC 2007
Package: bzr-gtk
Version: 0.18.0-1
Severity: normal
Running olive-gtk in a freshly checked-out branch of bzr.dev and
clicking on the "Log" button takes ages before displaying anything.
The process has used more than 45 minutes of CPU time (not wallclock
time) so far on this Athlon XP @1.8 GHz, and I still haven't seen the
first line of log. iostat(1) tells me the system is not swapping,
there's no data being read from the disk, the LEDs on the switch tell
me there's no network activity... Yet olive-gtk still happily keeps
eating my CPU time and showing nothing. I eventually interrupted it,
so I can't tell exactly how long it takes before the log appears, but
it's not something I would call fast enough (as in "fast enough for
most projects").
(What makes this bug even more frustrating is that in the meantime, I
found out about "bzr viz", which starts showing the log after about 30
seconds of CPU time.)
If that helps, the backtrace I got when I interrupted the process was:
,----
| $ olive-gtk
| Traceback (most recent call last):
| File "/usr/lib/python2.4/site-packages/olive/__init__.py", line 686, in on_menuitem_stats_log_activate
| window.set_branch(self.wt.branch, self.wt.branch.last_revision(), None)
| File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/branchwin.py", line 185, in set_branch
| message = revision.message.split("\n")[0]
| File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/graph.py", line 51, in get_attribute
| self._load()
| File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/viz/graph.py", line 62, in _load
| self._revision = self._repository.get_revision(self.revision_id)
| File "<string>", line 4, in get_revision_read_locked
| File "/usr/lib/python2.4/site-packages/bzrlib/repofmt/knitrepo.py", line 133, in get_revision
| return self.get_revision_reconcile(revision_id)
| File "<string>", line 4, in get_revision_reconcile_read_locked
| File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 446, in get_revision_reconcile
| return self.get_revisions([revision_id])[0]
| File "<string>", line 4, in get_revisions_read_locked
| File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 452, in get_revisions
| self.get_transaction())
| File "/usr/lib/python2.4/site-packages/bzrlib/store/revision/knit.py", line 84, in get_revisions
| texts = self._get_serialized_revisions(revision_ids, transaction)
| File "/usr/lib/python2.4/site-packages/bzrlib/store/revision/knit.py", line 98, in _get_serialized_revisions
| vf = self.get_revision_file(transaction)
| File "/usr/lib/python2.4/site-packages/bzrlib/store/revision/knit.py", line 112, in get_revision_file
| return self.versioned_file_store.get_weave_or_empty('revisions', transaction)
| File "/usr/lib/python2.4/site-packages/bzrlib/store/versioned/__init__.py", line 208, in get_weave_or_empty
| return self.get_weave(file_id, transaction, _filename=_filename)
| File "/usr/lib/python2.4/site-packages/bzrlib/store/versioned/__init__.py", line 154, in get_weave
| access_mode='r',
| File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 365, in __init__
| dir_mode=dir_mode)
| File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1153, in __init__
| self._load_data(fp)
| File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1190, in _load_data
| for value in rec[4:-1]:
| KeyboardInterrupt
`----
Roland.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr-gtk depends on:
ii bzr 0.18-1 Bazaar, the next-generation distri
ii python 2.4.4-6 An interactive high-level object-o
ii python-central 0.5.14 register and build utility for Pyt
ii python-glade2 2.10.6-1 GTK+ bindings: Glade support
ii python-gtk2 2.10.6-1 Python bindings for the GTK+ widge
Versions of packages bzr-gtk recommends:
ii python-cairo 1.4.0-2+b1 Python bindings for the Cairo vect
-- no debconf information
More information about the Pkg-bazaar-maint
mailing list