Bug 2215466

Summary: [abrt] ibus-table: get_active_window_xprop(): it_active_window.py:293:get_active_window_xprop:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: han yang , cheng <cinxiafortis>
Component: ibus-tableAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: cinxiafortis, dchen, i18n-bugs, mfabian, pwu, shawn.p.huang
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6eda9948e234c35137a026a47d9e60adcfc0ea5
Whiteboard: abrt_hash:56cd4fbb6afdbf8f7cb50dc584c59e94365973b4;VARIANT_ID=workstation;
Fixed In Version: ibus-table-1.17.1-1.fc39 ibus-table-1.17.1-1.fc38 ibus-table-1.17.1-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-10 11:54:55 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description han yang , cheng 2023-06-16 06:10:56 UTC
Description of problem:
After using dnf to upgrade ibus, it suddenly crashed then restart.

Version-Release number of selected component:
ibus-table-1.17.0-1.fc37

Additional info:
reporter:       libreport-2.17.10
kernel:         6.2.10-200.fc37.x86_64
cmdline:        /usr/bin/python3 /usr/share/ibus-table/engine/main.py --ibus
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.freedesktop.IBus.session.GNOME.service
uid:            1000
reason:         it_active_window.py:293:get_active_window_xprop:IndexError: list index out of range
executable:     /usr/share/ibus-table/engine/main.py
type:           Python3
package:        ibus-table-1.17.0-1.fc37
runlevel:       N 5
exception_type: IndexError
crash_function: get_active_window_xprop
interpreter:    python3-3.11.3-1.fc37.x86_64
comment:        After using dnf to upgrade ibus, it suddenly crashed then restart.

Truncated backtrace:
it_active_window.py:293:get_active_window_xprop:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/table.py", line 4282, in do_focus_in_id
    _window_title) = it_active_window.get_active_window()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-table/engine/it_active_window.py", line 315, in get_active_window
    (program_name, window_title) = get_active_window_xprop()
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-table/engine/it_active_window.py", line 293, in get_active_window_xprop
    window_title = result.stdout.split('=', maxsplit=1)[1].strip()[1:-1]
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Local variables in innermost frame:
program_name: 'povray'
window_title: ''
xprop_binary: '/usr/bin/xprop'
result: CompletedProcess(args=['/usr/bin/xprop', '-id', '0x60000a', '-f', '_NET_WM_NAME', '0t', '_NET_WM_NAME'], returncode=0, stdout='_NET_WM_NAME:  not found.\n', stderr='')
window_id: '0x60000a'

Comment 1 han yang , cheng 2023-06-16 06:11:01 UTC
Created attachment 1971085 [details]
File: os_info

Comment 2 han yang , cheng 2023-06-16 06:11:03 UTC
Created attachment 1971086 [details]
File: environ

Comment 3 han yang , cheng 2023-06-16 06:11:05 UTC
Created attachment 1971087 [details]
File: mountinfo

Comment 4 han yang , cheng 2023-06-16 06:11:08 UTC
Created attachment 1971088 [details]
File: open_fds

Comment 5 han yang , cheng 2023-06-16 06:11:10 UTC
Created attachment 1971089 [details]
File: namespaces

Comment 6 han yang , cheng 2023-06-16 06:11:12 UTC
Created attachment 1971090 [details]
File: backtrace

Comment 7 han yang , cheng 2023-06-16 06:11:14 UTC
Created attachment 1971091 [details]
File: cpuinfo

Comment 8 Mike FABIAN 2023-07-10 11:51:34 UTC
Similar ibus-typing-booster bug: https://bugzilla.redhat.com/show_bug.cgi?id=2175009

Comment 9 Fedora Update System 2023-07-10 11:54:21 UTC
FEDORA-2023-fa8f24c6e1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fa8f24c6e1

Comment 10 Fedora Update System 2023-07-10 11:54:27 UTC
FEDORA-2023-0d65d93404 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0d65d93404

Comment 11 Fedora Update System 2023-07-10 11:54:55 UTC
FEDORA-2023-fa8f24c6e1 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-07-10 11:54:57 UTC
FEDORA-2023-c11c37629b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c11c37629b

Comment 14 Fedora Update System 2023-07-11 00:30:44 UTC
FEDORA-2023-0d65d93404 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0d65d93404`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0d65d93404

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2023-07-11 01:52:27 UTC
FEDORA-2023-c11c37629b has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c11c37629b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c11c37629b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2023-07-19 03:13:38 UTC
FEDORA-2023-c11c37629b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2023-07-19 04:20:28 UTC
FEDORA-2023-0d65d93404 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.