Bug 562567

Summary: [abrt] crash in bzr-gtk-0.97.0-2.fc12
Product: [Fedora] Fedora Reporter: jmccann
Component: bzr-gtkAssignee: Toshio Ernie Kuratomi <a.badger>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: a.badger, cschalle, fischer.d.r, shahms
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:4b0c976f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-08 16:55:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description jmccann 2010-02-07 13:17:10 UTC
abrt 1.0.4 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/bzr-handle-patch /home/jmccann/Desktop/show-desktop.patch
comment: Clicked on an apparently malformed patch file.
component: bzr-gtk
executable: /usr/bin/bzr-handle-patch
kernel: 2.6.31.12-174.2.3.fc12.x86_64
package: bzr-gtk-0.97.0-2.fc12
release: Fedora release 12 (Constantine)

backtrace
-----
Summary: TB4b0c976f patches.py:76:get_patch_names:MalformedPatchHeader: Malformed patch header.  No orig name
'From 088e864323cf4bd0b0da02ba4271887f9005e2af Mon Sep 17 00:00:00 2001\n'

Traceback (most recent call last):
  File "/usr/bin/bzr-handle-patch", line 28, in <module>
    controller = DiffController(path, lines)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/gtk/diff.py", line 530, in __init__
    self.initialize_window(window)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/gtk/diff.py", line 534, in initialize_window
    window.diff.set_diff_text_sections(self.get_diff_sections())
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/gtk/diff.py", line 317, in set_diff_text_sections
    for oldname, newname, patch in sections:
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/gtk/diff.py", line 539, in get_diff_sections
    for patch in parse_patches(self.patch):
  File "/usr/lib64/python2.6/site-packages/bzrlib/patches.py", line 401, in parse_patches
    return [parse_patch(f.__iter__()) for f in iter_file_patch(iter_lines)]
  File "/usr/lib64/python2.6/site-packages/bzrlib/patches.py", line 345, in parse_patch
    (orig_name, mod_name) = get_patch_names(iter_lines)
  File "/usr/lib64/python2.6/site-packages/bzrlib/patches.py", line 76, in get_patch_names
    raise MalformedPatchHeader("No orig name", line)
MalformedPatchHeader: Malformed patch header.  No orig name
'From 088e864323cf4bd0b0da02ba4271887f9005e2af Mon Sep 17 00:00:00 2001\n'

Local variables in innermost frame:
iter_lines: <generator object iter_lines_handle_nl at 0x27ba9b0>
line: 'From 088e864323cf4bd0b0da02ba4271887f9005e2af Mon Sep 17 00:00:00 2001\n'
match: None

Comment 1 jmccann 2010-02-07 13:17:13 UTC
Created attachment 389378 [details]
File: backtrace

Comment 2 Toshio Ernie Kuratomi 2010-02-08 16:55:34 UTC

*** This bug has been marked as a duplicate of bug 557573 ***