abrt 1.0.6 detected a crash. architecture: x86_64 cmdline: /usr/bin/python /usr/bin/ketchup -k http://kernel.igor.onlinedirect.bg/pub/linux/kernel/ -d /home/Kaloyan/rpmbuild/SOURCES/kernel/linux-latest -r 2.6.33-rc8 component: ketchup executable: /usr/bin/ketchup kernel: 2.6.32.8-1 package: ketchup-0.9.8-4.fc12 release: Fedora release 12 (Constantine) backtrace ----- Summary: TB437585c1 ketchup:412:cmd:IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "/usr/bin/ketchup", line 737, in <module> transform(a, b) File "/usr/bin/ketchup", line 526, in transform apply_patch(prebase(b)) File "/usr/bin/ketchup", line 421, in apply_patch err = cmd(p, r, 0) File "/usr/bin/ketchup", line 412, in cmd sys.stderr.write(open(".patchdiag").read()) IOError: [Errno 32] Broken pipe Local variables in innermost frame: dry: 0 reverse: '' err: 33280 patch: '/home/Kaloyan/.ketchup/patch-2.6.33-rc8.bz2' pipe: 'bzcat /home/Kaloyan/.ketchup/patch-2.6.33-rc8.bz2 | patch -l -p1' p: '/home/Kaloyan/.ketchup/patch-2.6.33-rc8.bz2' base: 'patch -l -p1' comment ----- I was updating kernel-2.6.32.8 to kernel-2.6.33-rc8 with a script, then pressed Ctrl-C to cancel. This is my ketchup command $ ketchup -k http://kernel.igor.onlinedirect.bg/pub/linux/kernel/ -d $KRN_SRC -r $KRN_VER
Created attachment 394410 [details] File: backtrace
Is this behavior always reproducible and is it also reproducible without a script around (directly called from the console)?
(In reply to comment #2) I wasn't able to reproduce it with or without the script. Now it says: ^Cketchup: patch /home/Kaloyan/.ketchup/patch-2.6.33-rc8.bz2 failed: 2
So my assumption is, that in the first case the backtrace occurs because the stderr pipe was already closed. So it isn't really a bug, of course a try/except block would hit such errors, but I don't thing it is needed.