Bug 2210418

Summary: xpra crash when client connects
Product: [Fedora] Fedora Reporter: Nuno Dias <nuno.dias>
Component: xpraAssignee: Antonio T. sagitter <trpost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: sergio, tchollingsworth, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xpra-4.4.5-1.el9 xpra-4.4.5-1.fc37 xpra-4.4.5-1.el8 xpra-4.4.5-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-05 00:27:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nuno Dias 2023-05-27 11:05:11 UTC
Description of problem:
I run gpodder with xpra with this command
xpra start :100 --exit-with-children --start-child=gpodder --webcam=no

When I connect with a client I can see the window of gpodder and everything seems ok, but after a while the application crash

Version-Release number of selected component (if applicable):
xpra-4.4.4-1.fc38.x86_64

How reproducible:
Every time the application crashs

Steps to Reproduce:
1. Run xpra in the server
2. Use a client to connect to the server
3.

Actual results:
Xpra crash

Expected results:
No crash of xpra

Additional info:
In the server I have this

(gpodder:99257): Gdk-WARNING **: 11:58:16.184: GdkWindow 0xe00003 unexpectedly destroyed
/usr/lib/python3.11/site-packages/gi/overrides/Gio.py:42: Warning: invalid (NULL) pointer instance
  return Gio.Application.run(self, *args, **kwargs)
/usr/lib/python3.11/site-packages/gi/overrides/Gio.py:42: Warning: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
  return Gio.Application.run(self, *args, **kwargs)

(gpodder:99257): Gdk-CRITICAL **: 11:58:16.213: gdk_frame_clock_end_updating: assertion 'GDK_IS_FRAME_CLOCK (frame_clock)' failed

(gpodder:99257): Gdk-WARNING **: 11:58:16.219: The program 'gpodder' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 100637 error_code 3 request_code 18 (core protocol) 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 GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Comment 1 Fedora Update System 2023-05-27 19:45:49 UTC
FEDORA-EPEL-2023-ed33f374b9 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-ed33f374b9

Comment 2 Fedora Update System 2023-05-27 19:45:53 UTC
FEDORA-2023-b164ec7264 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b164ec7264

Comment 3 Fedora Update System 2023-05-27 19:45:56 UTC
FEDORA-2023-8f970253f4 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8f970253f4

Comment 4 Fedora Update System 2023-05-27 19:46:00 UTC
FEDORA-EPEL-2023-186f3bdb38 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-186f3bdb38

Comment 5 Sergio Basto 2023-05-27 20:19:37 UTC
xpra start :100
DISPLAY=:100 firefox &

works for you ? the question is gpodder or any application ?

Comment 6 Fedora Update System 2023-05-28 02:45:55 UTC
FEDORA-2023-b164ec7264 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-b164ec7264`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b164ec7264

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

Comment 7 Fedora Update System 2023-05-28 02:55:04 UTC
FEDORA-EPEL-2023-186f3bdb38 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-186f3bdb38

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

Comment 8 Fedora Update System 2023-05-28 03:04:05 UTC
FEDORA-EPEL-2023-ed33f374b9 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-ed33f374b9

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

Comment 9 Fedora Update System 2023-05-28 03:09:20 UTC
FEDORA-2023-8f970253f4 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-8f970253f4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8f970253f4

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

Comment 10 Nuno Dias 2023-05-28 09:05:38 UTC
(In reply to Sergio Basto from comment #5)
> xpra start :100
> DISPLAY=:100 firefox &
> 
> works for you ? the question is gpodder or any application ?

The problem is xpra, gpodder or other application work with X forward and crash with xpra

Comment 11 Nuno Dias 2023-05-28 09:54:27 UTC
Thanks the update solve the problem.

Comment 12 Fedora Update System 2023-06-05 00:27:54 UTC
FEDORA-EPEL-2023-186f3bdb38 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2023-06-05 00:37:17 UTC
FEDORA-2023-b164ec7264 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-06-05 00:42:51 UTC
FEDORA-EPEL-2023-ed33f374b9 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-06-05 01:20:01 UTC
FEDORA-2023-8f970253f4 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.