traceback when fastimport file is incomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar Fast Import |
Low
|
Jelmer Vernooij | ||
| bzr-fastimport (Ubuntu) |
Low
|
Unassigned |
Bug Description
If you attempt to fast-import with a truncated fi file it crashes
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.0~beta5-
ProcVersionSign
Uname: Linux 3.2.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.5b5
CommandLine: ['/usr/bin/bzr', 'fast-import', '--trees', '--autopack=10000', 'src.fi', 'src']
CrashDb: bzr
Date: Mon Feb 20 17:34:25 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitec
Platform: Linux-3.
ProcCmdline: /usr/bin/python /usr/bin/bzr fast-import --trees --autopack=10000 src.fi src
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with MissingBytes in abort(): line 9335443: Unexpected EOF - expected 22726 bytes, found 22294
UpgradeStatus: Upgraded to precise on 2012-02-09 (12 days ago)
UserEncoding: utf-8
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
tags: | removed: need-duplicate-check |
Jelmer Vernooij (jelmer) wrote : | #2 |
affects: | bzr (Ubuntu) → bzr-fastimport (Ubuntu) |
Changed in bzr-fastimport (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
summary: |
- bzr crashed with MissingBytes in abort(): line 9335443: Unexpected EOF - - expected 22726 bytes, found 22294 + traceback when fastimport file is incomplete |
Changed in bzr-fastimport: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in bzr-fastimport: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Jelmer Vernooij (jelmer) |
milestone: | none → 0.14.0 |
Changed in bzr-fastimport: | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package bzr-fastimport - 0.13.0-3
---------------
bzr-fastimport (0.13.0-3) unstable; urgency=low
* QA upload.
[ Jelmer Vernooij ]
* Add XS-Testsuite: autopkgtest header. Closes: #692658
[ Zygmunt Krynicki ]
* debian/
and removed get_ancestry() method (LP: #1084749).
[ Andrew Starr-Bochicchio ]
* debian/
commit to print sane error when a fastimport file is incomplete
(LP: #937972).
* debian/control: Bump Standards-Version to 3.9.4, no changes needed.
* debian/
- Add python-subunit test dependency.
- Drop undefined "no-build-needed" feature.
-- Andrew Starr-Bochicchio <email address hidden> Sun, 24 Nov 2013 18:01:20 -0500
Changed in bzr-fastimport (Ubuntu): | |
status: | Triaged → Fix Released |
Your fastimport file is incomplete.
bzr-fastimport is printing a traceback while it should just be printing an error message.