Bug 1086037

Summary: the problems filter cannot handle unicode input
Product: [Fedora] Fedora Reporter: manfred.1980
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jberan, jfilak, kvolny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f49c2ae4c682e05e9f926243cb895fd0f2918fe6
Fixed In Version: gnome-abrt-0.3.7-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-15 01:52:14 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
File: environ none

Description manfred.1980 2014-04-10 00:58:52 UTC
Version-Release number of selected component:
gnome-abrt-0.3.6-1.fc20

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /usr/bin/gnome-abrt -p /var/tmp/abrt/ccpp-2014-04-10-08:01:14-4806
executable:     /usr/bin/gnome-abrt
kernel:         3.13.8-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
views.py:50:item_match:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 67, in problems_filter
    return match_pattern(pattern, model[itrtr][2])
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 53, in match_pattern
    if item_match(pattern, problem) or pattern in problem.problem_id:
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 50, in item_match
    if val and pattern in val:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Local variables in innermost frame:
i: 'reason'
pattern: '\xc3\xbc'
problem: <gnome_abrt.problems.Problem object at 0x265c650>
val: dbus.String(u'xkbcomp killed by SIGSEGV')

Comment 1 manfred.1980 2014-04-10 00:58:55 UTC
Created attachment 884699 [details]
File: backtrace

Comment 2 manfred.1980 2014-04-10 00:58:58 UTC
Created attachment 884700 [details]
File: environ

Comment 3 Jakub Filak 2014-04-10 08:27:04 UTC
I have opened a pull request for this bug report:

https://github.com/abrt/gnome-abrt/pull/52

Comment 4 Jakub Filak 2014-06-12 14:25:07 UTC
*** Bug 1101005 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2014-06-12 15:57:11 UTC
gnome-abrt-0.3.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.7-1.fc20

Comment 6 Fedora Update System 2014-06-13 05:27:29 UTC
Package gnome-abrt-0.3.7-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.3.7-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7316/gnome-abrt-0.3.7-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-06-15 01:52:14 UTC
gnome-abrt-0.3.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.