Bug 2215466 - [abrt] ibus-table: get_active_window_xprop(): it_active_window.py:293:get_active_window_xprop:IndexError: list index out of range
Summary: [abrt] ibus-table: get_active_window_xprop(): it_active_window.py:293:get_act...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-table
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:56cd4fbb6afdbf8f7cb50dc584c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-16 06:10 UTC by han yang , cheng
Modified: 2023-07-19 04:20 UTC (History)
6 users (show)

Fixed In Version: ibus-table-1.17.1-1.fc39 ibus-table-1.17.1-1.fc38 ibus-table-1.17.1-1.fc37
Clone Of:
Environment:
Last Closed: 2023-07-10 11:54:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: environ (1.97 KB, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: mountinfo (3.10 KB, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: open_fds (2.39 KB, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: backtrace (1.07 KB, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details
File: cpuinfo (2.85 KB, text/plain)
2023-06-16 06:11 UTC, han yang , cheng
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.