Interrupting bzr log causes "bzr crashed with IOError in <module>()"

Bug #130574 reported by Scott Kitterman
30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Unassigned
bzr (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: bzr

I was looking at a long bzr log:

bzr log|less

I looked at the first bit of the log that I wanted to see and q in less and then bzr log crashed on the broken pipe:

Traceback (most recent call last):
  File "/usr/bin/bzr", line 116, in <module>
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe
close failed: [Errno 32] Broken pipe

The error should be trapped and dealt with rathter than causing a program crash.

ProblemType: Crash
Architecture: i386
Date: Sun Aug 5 23:37:04 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/bzr
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: ath_hal ltmodem
Package: bzr 0.18-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/bzr log
ProcCwd: /home/kitterma/krm/k-r-m
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/bzr', 'log']
SourcePackage: bzr
Title: bzr crashed with IOError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/bzr", line 116, in <module>
     sys.stdout.flush()
 IOError: [Errno 32] Broken pipe
Uname: Linux kitterman.com 2.6.22-9-386 #1 Fri Aug 3 00:21:52 GMT 2007 i686 GNU/Linux

Tags: apport-crash
Revision history for this message
Scott Kitterman (kitterman) wrote :
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

same thing happened here.

bzr log --short exaile | less
Traceback (most recent call last):
  File "/usr/bin/bzr", line 116, in <module>
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe

Daniel Hahler (blueyed)
Changed in bzr:
status: New → Confirmed
Changed in bzr:
importance: Undecided → Low
Revision history for this message
Martin Pool (mbp) wrote :

This was fixed in 0.91 as bug 130574

Changed in bzr:
importance: Undecided → Low
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Fix Released
Changed in bzr:
status: Confirmed → Fix Committed
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Fixed: 1.0-1 is in hardy

Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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