bzr crashed with KeyError in get_raw(): '66531594d8745e0ae7bdeeffea2a6c51c0506cf3'

Bug #1336682 reported by Alberto Mardegan on 2014-07-02
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-git (Ubuntu)

Bug Description

Importing a git repository into bzr is not working anymore.
I have a git branch setup locally, and a bzr branch importing from it. I was keeping the bzr branch up to date by issuing "bzr pull" commands, and this has always been working, until today.

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: bzr 2.6.0+bzr6595-1ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
Uname: Linux 3.15.0-6-generic x86_64
ApportVersion: 2.14.3-0ubuntu2
Architecture: amd64
BzrDebugFlags: set([])
BzrVersion: 2.7.0dev1
CommandLine: ['/usr/bin/bzr', 'pull']
CrashDb: bzr
CurrentDesktop: Unity
Date: Wed Jul 2 12:35:23 2014
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationDate: Installed on 2012-12-06 (572 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-3.15.0-6-generic-x86_64-with-Ubuntu-14.10-utopic
ProcCmdline: /usr/bin/python /usr/bin/bzr pull
PythonVersion: 2.7.7
SourcePackage: bzr
Title: bzr crashed with KeyError in get_raw(): '66531594d8745e0ae7bdeeffea2a6c51c0506cf3'
UpgradeStatus: No upgrade log present (probably fresh install)
UserEncoding: utf-8
UserGroups: adm autopilot cdrom dip lpadmin plugdev sambashare sudo

Alberto Mardegan (mardy) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in bzr (Ubuntu):
importance: Undecided → Medium
Jelmer Vernooij (jelmer) on 2014-07-03
affects: bzr (Ubuntu) → bzr-git (Ubuntu)
Alberto Mardegan (mardy) wrote :

Is there anything I can do to help with this bug? It's preventing me from releasing some packages into Ubuntu Touch.

I can add more information on how to reproduce it reliably:

    git clone
    bzr branch accounts-sso.libaccounts-glib libaccounts-bzr

The last command will fail.

Alberto Mardegan (mardy) wrote :

The bug seems to be in dulwich.

If I install dulwich 0.9.5-2 then things work, but any version after that carries this bug.

affects: bzr-git (Ubuntu) → dulwich (Ubuntu)
Jelmer Vernooij (jelmer) wrote :

This works fine with native dulwich, it's almost certainly a bug in bzrs code to regenerate git objects from bzr objects.

Try e.g.: dulwich clone accounts-sso.libaccounts-glib libaccounts-git

affects: dulwich (Ubuntu) → bzr-git (Ubuntu)
Alberto Mardegan (mardy) wrote :

Yes, the command "dulwich clone..." works, but then if I try to do a "bzr log" from withing the newly created libaccounts-git directory, I get the same crash.
I suspected it's dulwich, because the last three frames in the stacktrace point to it, but I should probably leave the investigation to you :-)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bzr-git (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers