FS#65999 - [leafpad] received an X Window System error

Attached to Project: Arch Linux
Opened by defconisov3r (defconisov3r) - Friday, 27 March 2020, 17:40 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 September 2023, 06:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 15113 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Additional info:
* package version(s): Leafpad 0.8.18.1
* System Information (Tested in):
- Operating System: Arch Linux
- Kernel: Linux 5.5.8-arch1-1
- Architecture: x86-64

Steps to reproduce:
1.- Open a linux terminal and run:

curl -L https://raw.githubusercontent.com/defconisov3r/defconisov3r.github.io/master/31337/coronavirus/covid19/twitter/2020-03-26/table.js > /tmp/crash.txt&&leafpad /tmp/crash.txt

2.- Use the key combination ctrl + a ...

3.- Crash
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 27 September 2023, 06:50 GMT
Reason for closing:  Upstream
Additional comments about closing:  This looks pretty old and stale (gtk2 app!). If still happening, it needs to be reported upstream, because there is no Arch packaging issue here.
Comment by Christian Hesse (eworm) - Friday, 27 March 2020, 21:49 GMT
Can not reproduce... Works for me.
Comment by defconisov3r (defconisov3r) - Saturday, 28 March 2020, 05:08 GMT
Maybe with ctrl+a repeatedly?
Comment by defconisov3r (defconisov3r) - Saturday, 28 March 2020, 05:19 GMT
Ok...

Checked, this error is not fired on a "5.4.0-kali4-amd64" system, I will try to see if it has anything to do with the used desktop environment.
Comment by defconisov3r (defconisov3r) - Saturday, 28 March 2020, 22:38 GMT
I have looked at the result after the crash of journalctl -xe and this is what I have got:

mar 28 16:34:28 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 58584, resource id: 4198229, major code: 15 (QueryTree), minor code: 0
mar 28 16:34:28 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 58589, resource id: 4198229, major code: 18 (ChangeProperty), minor code: 0
mar 28 16:34:31 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59199, resource id: 37769614, major code: 3 (GetWindowAttributes), minor code: 0
mar 28 16:34:31 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 59200, resource id: 37769614, major code: 14 (GetGeometry), minor code: 0
mar 28 16:34:35 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59440, resource id: 69206019, major code: 15 (QueryTree), minor code: 0
mar 28 16:34:35 8ef0d58a1195205917c98dfc4920898d6e510cd2 kwin_x11[991]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59444, resource id: 69206019, major code: 18 (ChangeProperty), minor code: 0
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...