[Bug 832052] Re: bzr crashed with ShortReadvError in _seek_and_read(): readv() read 0 bytes rather than 174 bytes at 0 for "469df00e67f848246f876663fb299e10.rix"

Martin Pool mbp at canonical.com
Wed Aug 24 11:30:38 UTC 2011


*** This bug is a duplicate of bug 413430 ***
    https://bugs.launchpad.net/bugs/413430

Hi,

This is a dupe of bug 413430 which basically says a file has been
truncated - typically this happens because of an OS error or disk error
or a machine crash.

In 2.4.0 we started flushing files to disk by default after they're
written, which was intended to reduce the frequency of this.  So, it's
possible this problem was introduced by an earlier client and just
discovered by bzr 2.4.0, or perhaps our check is not enough, or perhaps
something else.

Do you recall if your machine recently crashed or abruptly stopped or
had any similar problem?

(fdatasync is not going to be enough on its own; continued incidents of
this mean perhaps we need built in recovery.)

** This bug has been marked a duplicate of bug 413430
   ShortReadvError on index file

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/832052

Title:
  bzr crashed with ShortReadvError in _seek_and_read(): readv() read 0
  bytes rather than 174 bytes at 0 for
  "469df00e67f848246f876663fb299e10.rix"

Status in “bzr” package in Ubuntu:
  New

Bug description:
  crashed during commit operation

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: bzr 2.4.0-0ubuntu2
  ProcVersionSignature: User Name 3.0.0-9.12-generic 3.0.3
  Uname: Linux 3.0.0-9-generic i686
  Architecture: i386
  BzrDebugFlags: set()
  BzrVersion: 2.4.0
  CommandLine: ['/usr/bin/bzr', 'commit', '-m', 'Started baobab tests']
  CrashDb: bzr
  Date: Mon Aug 22 11:55:02 2011
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110418)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_US.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.0.0-9-generic-i686-with-Ubuntu-11.10-oneiric
  ProcCmdline: /usr/bin/python /usr/bin/bzr commit -m Started\ baobab\ tests
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  PythonVersion: 2.7.2
  SourcePackage: bzr
  Title: bzr crashed with ShortReadvError in _seek_and_read(): readv() read 0 bytes rather than 174 bytes at 0 for "469df00e67f848246f876663fb299e10.rix"
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserEncoding: UTF-8
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/832052/+subscriptions




More information about the foundations-bugs mailing list