Bug 2094689

Summary: [abrt] ibus-setup: dictkeys_decref(): python3.10 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: i18n-bugs, mfabian, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/56b2d6c85678315b0a9b725fe2569742d5ce053a
Whiteboard: abrt_hash:5384a2084d3e5a0a50d73ac1d0f6702b6679e8e1;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-11 07:14:41 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: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Mike FABIAN 2022-06-08 07:59:51 UTC
Description of problem:


Version-Release number of selected component:
ibus-setup-1.5.26-8.fc36

Additional info:
reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-com.redhat.imsettings
cmdline:        python3 /usr/share/ibus/setup/main.py ibus-setup
crash_function: dictkeys_decref
executable:     /usr/bin/python3.10
journald_cursor: s=f4b06a7c90514868a0ecb24aa4a3d53e;i=66eb;b=3fc2379dae1240f58971d2cf0885b326;m=40d6d7d5;t=5e0eabf35c54a;x=e9d6ba44ac336a36
kernel:         5.17.13-300.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 dictkeys_decref at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/dictobject.c:336
 #1 dict_merge at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/dictobject.c:2588
 #2 dict_update_common at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/dictobject.c:2428
 #3 dict_update at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/dictobject.c:2446
 #4 method_vectorcall_VARARGS_KEYWORDS at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/descrobject.c:344
 #5 _PyObject_VectorcallTstate at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Include/cpython/abstract.h:114
 #6 PyObject_Vectorcall at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Include/cpython/abstract.h:123
 #7 call_function at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Python/ceval.c:5867
 #8 _PyEval_EvalFrameDefault at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Python/ceval.c:4198
 #9 _PyEval_EvalFrame at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Include/internal/pycore_ceval.h:46

Comment 1 Mike FABIAN 2022-06-08 07:59:57 UTC
Created attachment 1887889 [details]
File: backtrace

Comment 2 Mike FABIAN 2022-06-08 07:59:58 UTC
Created attachment 1887890 [details]
File: core_backtrace

Comment 3 Mike FABIAN 2022-06-08 07:59:59 UTC
Created attachment 1887891 [details]
File: cpuinfo

Comment 4 Mike FABIAN 2022-06-08 08:00:00 UTC
Created attachment 1887892 [details]
File: dso_list

Comment 5 Mike FABIAN 2022-06-08 08:00:02 UTC
Created attachment 1887893 [details]
File: environ

Comment 6 Mike FABIAN 2022-06-08 08:00:03 UTC
Created attachment 1887894 [details]
File: exploitable

Comment 7 Mike FABIAN 2022-06-08 08:00:04 UTC
Created attachment 1887895 [details]
File: limits

Comment 8 Mike FABIAN 2022-06-08 08:00:05 UTC
Created attachment 1887896 [details]
File: maps

Comment 9 Mike FABIAN 2022-06-08 08:00:06 UTC
Created attachment 1887897 [details]
File: mountinfo

Comment 10 Mike FABIAN 2022-06-08 08:00:08 UTC
Created attachment 1887898 [details]
File: open_fds

Comment 11 Mike FABIAN 2022-06-08 08:00:10 UTC
Created attachment 1887899 [details]
File: proc_pid_status

Comment 12 fujiwara 2023-01-23 14:11:13 UTC
(In reply to Mike FABIAN from comment #1)
> Created attachment 1887889 [details]
> File: backtrace

>   File "/usr/share/ibus/setup/enginedialog.py", line 181, in __padded_label_new
> Python Exception <class 'UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xe2 in position 8098: ordinal not in range(128)
Error occurred in Python: 'ascii' codec can't decode byte 0xe2 in position 8098: ordinal not in range(128)
>  279                              ', '.join(arg_names[:len(args)]),

I cannot reproduce your issue.
Which locale did you run ibus-setup on?

Seems you open Input Method tab in ibus-setup and I guess you access U+00E2(รข) in a language name.

Comment 13 Ben Cotton 2023-04-25 17:22:33 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 14 fujiwara 2023-04-28 07:18:00 UTC
Seems you run ibus-setup with a wrong locale.

        label = Gtk.Label(label = text)

The label "Cameroon Multilingual (QWERTY, intl.)" does not include U+00E2 but your error indicates that code point at 8098 position.

(In reply to Mike FABIAN from comment #1)
> Created attachment 1887889 [details]
> File: backtrace

Python Exception <class 'UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xe2 in position 8098: ordinal not in range(128)
Error occurred in Python: 'ascii' codec can't decode byte 0xe2 in position 8098: ordinal not in range(128)

#1  0x00007f710df1a89f in dict_merge (a=<error reading variable: Cannot access memory at address 0x20>, b={'label': 'Cameroon Multilingual (QWERTY, intl.)'}, override=1) at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/dictobject.c:2588

#12 0x00007f710df31671 in _PyObject_Call_Prepend (kwargs={'label': 'Cameroon Multilingual (QWERTY, intl.)'}, args=(), obj=<optimized out>, callable=<function at remote 0x7f70ff0f6b00>, tstate=0x559098a8fae0) at /usr/src/debug/python3.10-3.10.4-1.fc36.x86_64/Objects/call.c:431

#21 0x00007f710df1d873 in _PyEval_EvalFrame (throwflag=0, f=Frame 0x7f7100435240, for file /usr/share/ibus/setup/enginedialog.py, line 181, in __padded_label_new (self=

Comment 15 Mike FABIAN 2023-05-11 07:08:46 UTC
I cannot reproduce this issue either at the moment.