ShortReadvError when trying to commit in 1.9rc1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The commit changed a few files, and added several symbolic links to files within the same tree.
It was within the top thread of a loom with three threads (including the bottom, unmodified base thread).
The loom was created with a (the "standard"?) branch of loom, 1.4.0dev0, in an earlier version of bzr. I now have bzr 1.9rc1 with Aaron Bentley's loom branch.
I was previously successfully able to commit to this branch with all other variables described above except for the presence of the symbolic links.
Traceback follows.
gary@gary-
added:
sphinx/
sphinx/
sphinx/
sphinx/
sphinx/
sphinx/
sphinx/
modified:
launchpadlib/
launchpadlib/
launchpadlib/
launchpadlib/
sphinx/index.txt
Current thread: sphinx
gary@gary-
Committing to: /home/gary/
modified launchpadlib/
modified launchpadlib/
modified launchpadlib/
modified launchpadlib/
added sphinx/caching.txt
added sphinx/
modified sphinx/index.txt
added sphinx/
added sphinx/
added sphinx/
added sphinx/people.txt
added sphinx/toplevel.txt
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.rev_id = self.builder.
File "/usr/lib/
self.
File "/usr/lib/
rev.
File "/usr/lib/
record_map = self._get_
File "/usr/lib/
self.
File "/usr/lib/
izip(
File "/usr/lib/
for names, read_func in reader.
File "/usr/lib/
self.
File "/usr/lib/
format = self._read_line()
File "/usr/lib/
line = self._source.
File "/usr/lib/
self._next()
File "/usr/lib/
length, data = self.readv_
File "/usr/lib/
c_offset.
ShortReadvError: readv() read 0 bytes rather than 42 bytes at 0 for "1g02k4ftdeerb8
bzr 1.9rc1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'add all docs to sphinx index.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
loom /home/gary/
lpreview /home/gary/
pqm /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
> bzr: ERROR: bzrlib. errors. ShortReadvError : readv() read 0 bytes rather than 42 bytes at 0 for "1g02k4ftdeerb8 6s6j8b. pack"
This is the crux of of it: you have a pack file which is 0 bytes long.
This particular pack file is the one being written during the commit.
Clearly the content hasn't been flushed at all, its surprising that it
is trying to read from the being-written content.
Is this repeatable?
-Rob