bzr crashed with RuntimeError in normpath(): maximum recursion depth exceeded while calling a Python object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Shannon Weyrick | ||
bzr search plugin |
Confirmed
|
High
|
Unassigned | ||
bzr (Ubuntu) |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Binary package hint: bzr
bzr index always fails on lp:ubiquity.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.0-2
ProcVersionSign
Uname: Linux 2.6.38-3-generic x86_64
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.3.0
CommandLine: ['/usr/bin/bzr', 'index']
CrashDb: bzr
Date: Thu Feb 17 11:12:31 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100109)
InterpreterPath: /usr/bin/python2.7
Locale: en_GB.UTF-8
PackageArchitec
Platform: Linux-2.
ProcCmdline: /usr/bin/python /usr/bin/bzr index
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with RuntimeError in normpath(): maximum recursion depth exceeded while calling a Python object
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
_mod_
File "/usr/lib/
index.
File "/usr/lib/
outer_bar)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
term_
File "/usr/lib/
self.
File "/usr/lib/
backing_pos) = self._spill_
File "/usr/lib/
allow_
File "/usr/lib/
self.
File "/usr/lib/
self.
.....
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
row.
File "/usr/lib/
_BuilderRow
File "/usr/lib/
spool = tempfile.
File "/usr/lib/
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/
return (fd, _os.path.
File "/usr/lib/
return normpath(path)
File "/usr/lib/
slash, dot = (u'/', u'.') if isinstance(path, unicode) else ('/', '.')
RuntimeError: maximum recursion depth exceeded while calling a Python object
Related branches
- John A Meinel: Approve
-
Diff: 58 lines (+18/-0)3 files modifiedbzrlib/btree_index.py (+7/-0)
bzrlib/tests/test_btree_index.py (+8/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
- Jelmer Vernooij (community): Approve
-
Diff: 28 lines (+4/-1)1 file modifiedindex.py (+4/-1)
tags: | removed: need-duplicate-check |
description: | updated |
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in bzr-search: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in bzr: | |
assignee: | nobody → Shannon Weyrick (weyrick) |
Changed in bzr: | |
status: | Confirmed → Fix Released |
Changed in bzr: | |
status: | Fix Released → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr: | |
milestone: | none → 2.5b4 |
Changed in bzr (Ubuntu): | |
status: | Confirmed → Fix Released |
milestone: | none → precise-alpha-2 |
assignee: | nobody → Jelmer Vernooij (jelmer) |
The 'index' command used here is from the bzr-search plugin. However, the cause of the exception is the recursive method bzrlib. btree_index. BTreeBuilder. _add_key so this may still be a core bzrlib problem really. A possible approach to fxing this bug would be rewriting that function to be iterative instead. Need some input from someone who knows the btree_index code.