bzr crashed with IOError: Broken pipe in report_exception(), trying to write 'bzr: interrupted'

Bug #561804 reported by John O'Brien
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
bzr (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: bzr

I rebooted after a dist-upgrade and got this error. Very strange.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: bzr 2.1.1-1
[...]
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100209.1)
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python /usr/bin/bzr pull -r 2 --overwrite -d amqplib bzr+ssh://<email address hidden>/~ubuntuone-pqm-team/ubuntuone-servers/amqplib

Traceback (most recent call last):
  File "/usr/bin/bzr", line 142, in <module>
    exit_val = bzrlib.commands.main()
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1133, in main
    ret = run_bzr_catch_errors(argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1148, in run_bzr_catch_errors
    return exception_to_return_code(run_bzr, argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 858, in exception_to_return_code
    exitcode = trace.report_exception(exc_info, sys.stderr)
  File "/usr/lib/python2.6/dist-packages/bzrlib/trace.py", line 454, in report_exception
    err_file.write("bzr: interrupted\n")
IOError: [Errno 32] Broken pipe

Revision history for this message
John O'Brien (jdobrien) wrote :
tags: removed: need-duplicate-check
Daniel Hahler (blueyed)
visibility: private → public
Revision history for this message
Andrew Bennetts (spiv) wrote :

I guess if stderr has already been closed then report_exception should just catch and ignore broken pipe errors when trying to write to it. There's not much else we can usefully do.

description: updated
summary: - bzr crashed with IOError in report_exception()
+ bzr crashed with IOError: Broken pipe in report_exception(), trying to
+ write 'bzr: interrupted'
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu):
status: New → Confirmed
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu):
importance: Undecided → Medium
status: Confirmed → In Progress
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.