bzr crashed with NameError in on_server_stop()

Bug #435167 reported by Sune Keller on 2009-09-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-dbus (Ubuntu)
Jelmer Vernooij

Bug Description

Binary package hint: bzr

Running bzr serve hangs upon SIGINT with the following output:
"$ bzr serve
listening on port: 4155
^CTraceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus/", line 74, in idle
    retval.append(func(*args, **kwargs))
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus/", line 128, in call_hooks
    hook(backing_urls, public_url)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus/", line 76, in on_server_stop
    get_announcer().on_server_stopped(backing_urls, public_url)
NameError: global name 'backing_urls' is not defined

1) sune@skx:~$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

2) sune@skx:~$ apt-cache policy bzr
  Installed: 2.0.0-0ubuntu1
  Candidate: 2.0.0-0ubuntu1
  Version table:
 *** 2.0.0-0ubuntu1 0
        500 karmic/main Packages
        100 /var/lib/dpkg/status
     1.18-1~bazaar1~karmic1 0
        500 karmic/main Packages

3) I expected bzr to exit gracefully
4) bzr kept running and could only be stopped by SIGKILL.

ProblemType: Crash
Architecture: i386
CheckboxSubmission: 9b9d1bd90caa731deff6a99ce23d2941
CheckboxSystem: b0afab85e297689be485258118f6661a
Date: Wed Sep 23 12:25:23 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/bzr
InterpreterPath: /usr/bin/python2.6
Package: bzr 2.0.0-0ubuntu1
ProcCmdline: /usr/bin/python /usr/bin/bzr serve
 PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
PythonArgs: ['/usr/bin/bzr', 'serve']
SourcePackage: bzr
Title: bzr crashed with NameError in on_server_stop()
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse libvirtd lpadmin netdev plugdev powerdev pulse sambashare scanner users video

Sune Keller (sune-keller) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Jelmer Vernooij (jelmer) on 2011-01-20
affects: bzr (Ubuntu) → bzr-dbus (Ubuntu)
Jelmer Vernooij (jelmer) on 2011-03-12
Changed in bzr-dbus (Ubuntu):
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers