https://bugzilla.redhat.com/show_bug.cgi?id=2094689
Bug ID: 2094689 Summary: [abrt] ibus-setup: dictkeys_decref(): python3.10 killed by SIGSEGV Product: Fedora Version: 36 Hardware: x86_64 Status: NEW Whiteboard: abrt_hash:5384a2084d3e5a0a50d73ac1d0f6702b6679e8e1;VAR IANT_ID=workstation; Component: ibus Assignee: tfujiwar@redhat.com Reporter: mfabian@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
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@1000.service/app.slice/dbus-:1.2-com.redhat.imsettings@0.service 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
https://bugzilla.redhat.com/show_bug.cgi?id=2094689
--- Comment #12 from fujiwara tfujiwar@redhat.com --- (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.
https://bugzilla.redhat.com/show_bug.cgi?id=2094689
--- Comment #13 from Ben Cotton bcotton@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2094689
--- Comment #14 from fujiwara tfujiwar@redhat.com --- 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=
https://bugzilla.redhat.com/show_bug.cgi?id=2094689
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mfabian@redhat.com
--- Comment #15 from Mike FABIAN mfabian@redhat.com --- I cannot reproduce this issue either at the moment.
https://bugzilla.redhat.com/show_bug.cgi?id=2094689
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |CLOSED Last Closed| |2023-05-11 07:14:41
i18n-bugs@lists.fedoraproject.org