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.

** Also affects: bzr
   Importance: Undecided
       Status: New

** Description changed:

  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
- ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
- Uname: Linux 2.6.32-19-generic x86_64
- NonfreeKernelModules: nvidia
- Architecture: amd64
- Date: Thu Apr  8 11:58:09 2010
- ExecutablePath: /usr/bin/bzr
+ [...]
  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 protected]/~ubuntuone-pqm-team/ubuntuone-servers/amqplib
- ProcEnviron:
-  SHELL=/bin/bash
-  PATH=(custom, user)
-  LANG=en_US.utf8
- PythonArgs: ['/usr/bin/bzr', 'pull', '-r', '2', '--overwrite', '-d', 
'amqplib', 
'bzr+ssh://[email protected]/~ubuntuone-pqm-team/ubuntuone-servers/amqplib']
- SourcePackage: bzr
- Title: bzr crashed with IOError in report_exception()
- UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ 
+ 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

** Summary changed:

- 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

** Changed in: bzr
       Status: New => Confirmed

-- 
bzr crashed with IOError: Broken pipe in report_exception(), trying to write 
'bzr: interrupted'
https://bugs.launchpad.net/bugs/561804
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to