Bug 1873489 - Xorg/Wayland crash on os.kill(0, 15) executed from eclipse python debugger
Summary: Xorg/Wayland crash on os.kill(0, 15) executed from eclipse python debugger
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-28 13:51 UTC by Lukáš Doktor
Modified: 2023-09-15 00:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-08 09:37:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukáš Doktor 2020-08-28 13:51:29 UTC
Description of problem:
When debugging certain app I got Wayland crashes, then reproduced it on Xorg as well. Simplest reproduction I got to is to create a file that executes "os.kill(0, 15)" and run/debug it from eclipse.

Version-Release number of selected component (if applicable):
eclipse-equinox-osgi-4.14-5.fc32.x86_64
eclipse-jgit-5.6.0-2.fc32.noarch
eclipse-jdt-4.14-5.fc32.noarch
eclipse-pydev-7.7.0-1.fc32.x86_64
eclipse-egit-5.6.0-2.fc32.noarch
eclipse-swt-4.14-5.fc32.x86_64
eclipse-ecf-core-3.14.6-4.fc32.noarch
eclipse-platform-4.14-5.fc32.x86_64
eclipse-emf-core-2.20.0-5.fc32.noarch
libwayland-egl-1.18.0-1.fc32.i686
libwayland-server-1.18.0-1.fc32.x86_64
xorg-x11-server-Xwayland-1.20.8-1.fc32.x86_64
qt5-qtwayland-5.14.2-4.fc32.x86_64
gnome-session-wayland-session-3.36.0-2.fc32.x86_64
xorg-x11-server-Xorg-1.20.8-1.fc32.x86_64

How reproducible:
Always

Steps to Reproduce:
1. create a python file with "import os; os.kill(0, 15)"
2. select "Run As"->"Python Run"

Actual results:
Eclipse crashes and Wayland/Xorg as well (Xorg restarts, Wayland stays dead)

Expected results:
Ideally Eclipse should stay unaffected but at least it'd be nice if Wayland/Xorg survived.

Additional info:
It also works when I start debugging any script and manually execute the "os.kill(0, 15)" from the pydev console. On the other hand everything works well when the process is started elsewhere and pydev is only accessed via "import pydevd; pydevd.settrace("127.0.0.1", True, True)" directly from the script (execution only kills the python process, Eclipse as well as Wayland/Xorg survives)

Comment 1 Fedora Admin user for bugzilla script actions 2021-01-29 12:10:46 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Lukáš Doktor 2021-04-08 12:49:46 UTC
This issue is still on, by installing pydev on Fedora it's simple to crash Wayland/Xorg session. Can someone from Wayland/Xorg take a look? The reproducer is very simple and eclipse-pydev can still be downloaded from the eclipse store.

Comment 3 Red Hat Bugzilla 2023-09-15 00:47:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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