Activity log for bug #246891

Date Who What changed Old value New value Message
2008-07-09 11:12:49 Per Johansson bug added bug
2008-08-10 17:42:16 Per Johansson bug added attachment 'callgrind.out.logv' (callgrind.out.logv)
2008-08-10 21:58:24 Robert Collins description I've used tailor to convert the netbsd src module to a bazaar branch, but only the last 1000 revisions. When I run bzr log -v on this branch, it hangs perceivably forever. If I wait long enough though, the first few entries are displayed (and then the command continues to hang). bzr log without -v works fine. I could upload the .bzr dir if requested, but it's 481 MB as a tgz, so it's quite big. I could also help if given some directions (I know next to nothing about python, much less bazaar internals). $ bzr --version Bazaar (bzr) 1.5 Python interpreter: /opt/local/bin/python2.5 2.5.2 Python standard library: /opt/local/lib/python2.5 bzrlib: /opt/local/lib/python2.5/site-packages/bzrlib Installed via macports on my MacBook Pro running Leopard. Backtrace from sending SIGQUIT (ie not a very scientific way of finding the spot): (Pdb) bt /opt/local/bin/bzr(102)<module>() -> exit_val = bzrlib.commands.main(sys.argv) /opt/local/lib/python2.5/site-packages/bzrlib/commands.py(837)main() -> ret = run_bzr_catch_errors(argv) /opt/local/lib/python2.5/site-packages/bzrlib/commands.py(846)run_bzr_catch_errors() -> return run_bzr(argv) /opt/local/lib/python2.5/site-packages/bzrlib/commands.py(797)run_bzr() -> ret = run(*run_argv) /opt/local/lib/python2.5/site-packages/bzrlib/commands.py(499)run_argv_aliases() -> return self.run(**all_cmd_args) /opt/local/lib/python2.5/site-packages/bzrlib/commands.py(807)ignore_pipe() -> result = func(*args, **kwargs) /opt/local/lib/python2.5/site-packages/bzrlib/builtins.py(1774)run() -> limit=limit) /opt/local/lib/python2.5/site-packages/bzrlib/log.py(185)show_log() -> start_revision, end_revision, search, limit) /opt/local/lib/python2.5/site-packages/bzrlib/log.py(232)_show_log() -> branch.repository, view_revisions, generate_delta): /opt/local/lib/python2.5/site-packages/bzrlib/log.py(315)_iter_revisions() -> deltas)) /opt/local/lib/python2.5/site-packages/bzrlib/repository.py(1133)get_deltas_for_revisions() -> yield trees[revision.revision_id].changes_from(old_tree) /opt/local/lib/python2.5/site-packages/bzrlib/tree.py(93)changes_from() -> want_unversioned=want_unversioned, /opt/local/lib/python2.5/site-packages/bzrlib/decorators.py(127)read_locked() -> return unbound(self, *args, **kwargs) /opt/local/lib/python2.5/site-packages/bzrlib/tree.py(734)compare() -> want_unversioned=want_unversioned) /opt/local/lib/python2.5/site-packages/bzrlib/delta.py(217)_compare_trees() -> want_unversioned=want_unversioned): /opt/local/lib/python2.5/site-packages/bzrlib/tree.py(788)iter_changes() -> specific_file_ids=specific_file_ids)) /opt/local/lib/python2.5/site-packages/bzrlib/inventory.py(976)iter_entries_by_dir() -> yield child_relpath, child_ie > /opt/local/lib/python2.5/site-packages/bzrlib/breakin.py(33)_debug() -> signal.signal(signal.SIGQUIT, _debug) I've used tailor to convert the netbsd src module to a bazaar branch, but only the last 1000 revisions. When I run bzr log -v on this branch, it hangs perceivably forever. If I wait long enough though, the first few entries are displayed (and then the command continues to hang). bzr log without -v works fine.
2008-08-10 21:58:24 Robert Collins title bzr log -v takes forever bzr log -v is slow
2008-08-10 22:02:33 Robert Collins bzr: status New Confirmed
2008-08-10 22:02:33 Robert Collins bzr: importance Undecided High
2008-08-10 22:02:33 Robert Collins bzr: statusexplanation Known issue - our log -v requires work proportional to the number of files in the tree, per revision, to display. Its being worked on but its a structural problem not a command layer problem.
2009-05-09 20:16:45 Johan Walles attachment added Profile of log -v after upgrading to development6-rich-root and calling pack http://launchpadlibrarian.net/26512707/callgrind.out
2009-11-12 19:39:39 Ian Clatworthy bzr: status Confirmed Fix Released