Bug 1225688

Summary: [tw] [hexchat] gnome-shell The program 'hexchat' received an X Window System error when connecting to netwok
Product: [openSUSE] openSUSE Tumbleweed Reporter: Richard Fan <richard.fan>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: openSUSE Tumbleweed   
URL: https://openqa.opensuse.org/tests/4236088/modules/hexchat/steps/28
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---
Attachments: journal.log

Description Richard Fan 2024-05-31 01:28:03 UTC
## Description

The issue is a sporadic one, but I can see the issue several times in openQA automation tests. it can be seen on both x86_64 and aarch64 platforms.

Steps to reproduce the issue:

1. Upgrade the system from leap15.x to tw
2. start hexchat
3. config a nickname and connect to "Libera.Chat"

Error logs like below:

>May 30 09:49:37.300575 susetest gnome-shell[30709]: The program 'hexchat' received an X Window System error.
>May 30 09:49:37.300575 susetest gnome-shell[30709]: This probably reflects a bug in the program.
>May 30 09:49:37.307179 susetest gnome-shell[30709]: The error was 'BadWindow (invalid Window parameter)'.
>May 30 09:49:37.307179 susetest gnome-shell[30709]:   (Details: serial 6056 error_code 3 request_code 38 minor_code 0)
>May 30 09:49:37.307179 susetest gnome-shell[30709]:   (Note to programmers: normally, X errors are reported asynchronously;
>May 30 09:49:37.307179 susetest gnome-shell[30709]:    that is, you will receive the error a while after causing it.
>May 30 09:49:37.307179 susetest gnome-shell[30709]:    To debug your program, run it with the --sync command line
>May 30 09:49:37.307179 susetest gnome-shell[30709]:    option to change this behavior. You can then get a meaningful
>May 30 09:49:37.307179 susetest gnome-shell[30709]:    backtrace from your debugger if you break on the gdk_x_error() function.)

Please refer to the attached log for more information.

## openQA Observation as below:

openQA test in scenario opensuse-Tumbleweed-NET-aarch64-zdup-Leap-15.5-gnome@aarch64 fails in
[hexchat](https://openqa.opensuse.org/tests/4236088/modules/hexchat/steps/28)

## Test suite description
Maintained by qe-core


## Reproducible

Fails since (at least) Build [20240529](https://openqa.opensuse.org/tests/4235968)


## Expected result

Last good: (unknown) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=NET&machine=aarch64&test=zdup-Leap-15.5-gnome&version=Tumbleweed)
Comment 1 Richard Fan 2024-05-31 01:28:55 UTC
Created attachment 875228 [details]
journal.log