Bug 565671 - [abrt] crash in ketchup-0.9.8-4.fc12
Summary: [abrt] crash in ketchup-0.9.8-4.fc12
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ketchup
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Benjamin Krill
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:437585c1
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-15 21:40 UTC by Kaloyan Petrov
Modified: 2010-02-16 09:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-16 09:44:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (713 bytes, text/plain)
2010-02-15 21:40 UTC, Kaloyan Petrov
no flags Details

Description Kaloyan Petrov 2010-02-15 21:40:18 UTC
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

Comment 1 Kaloyan Petrov 2010-02-15 21:40:20 UTC
Created attachment 394410 [details]
File: backtrace

Comment 2 Benjamin Krill 2010-02-16 08:00:19 UTC
Is this behavior always reproducible and is it also reproducible without a script around (directly called from the console)?

Comment 3 Kaloyan Petrov 2010-02-16 09:28:52 UTC
(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

Comment 4 Benjamin Krill 2010-02-16 09:44:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.