You are not logged in.

#1 2024-04-08 15:24:31

gonemooncool
Member
Registered: 2024-04-08
Posts: 4

PyCharm CE and PyCharm PRO crashes in archlinux

Pycharm crashes in archlinux, kde, wayland.

Installed JetBrains toolbox from AUR, installed latest version of PyCharm CE and Pycharm Pro. Just launch PyCharm CE and got Xwayland error. Tryed to launch PyCharm CE under the x11 session, and got the same issue, but with x11 session was closed.

Result of command journalctl -b | grep -i 'wayland.*]: '

kwin_wayland_wrapper[1038]: (EE)
kwin_wayland_wrapper[1038]: (EE) Backtrace:
kwin_wayland_wrapper[1038]: (EE) 0: /usr/bin/Xwayland (0x56d2b398a000+0x14fd23) [0x56d2b3ad9d23]
kwin_wayland_wrapper[1038]: (EE) 1: /usr/bin/Xwayland (0x56d2b398a000+0x153b04) [0x56d2b3addb04]
kwin_wayland_wrapper[1038]: (EE) 2: /usr/lib/libc.so.6 (0x7b0d12078000+0x3c770) [0x7b0d120b4770]
kwin_wayland_wrapper[1038]: (EE) 3: /usr/lib/libc.so.6 (0x7b0d12078000+0x8d32c) [0x7b0d1210532c]
kwin_wayland_wrapper[1038]: (EE) 4: /usr/lib/libc.so.6 (gsignal+0x18) [0x7b0d120b46c8]
kwin_wayland_wrapper[1038]: (EE) 5: /usr/lib/libc.so.6 (abort+0xd7) [0x7b0d1209c4b8]
kwin_wayland_wrapper[1038]: (EE) 6: /usr/lib/libc.so.6 (0x7b0d12078000+0x25395) [0x7b0d1209d395]
kwin_wayland_wrapper[1038]: (EE) 7: /usr/lib/libc.so.6 (0x7b0d12078000+0x972a7) [0x7b0d1210f2a7]
kwin_wayland_wrapper[1038]: (EE) 8: /usr/lib/libc.so.6 (malloc+0x2fc) [0x7b0d12113a4c]
kwin_wayland_wrapper[1038]: (EE) 9: /usr/lib/libpixman-1.so.0 (0x7b0d12606000+0x4f60c) [0x7b0d1265560c]
kwin_wayland_wrapper[1038]: (EE) 10: /usr/lib/libpixman-1.so.0 (pixman_region_init_rects+0x4a) [0x7b0d1265dc8a]
kwin_wayland_wrapper[1038]: (EE) 11: /usr/bin/Xwayland (0x56d2b398a000+0x4b7cc) [0x56d2b39d57cc]
kwin_wayland_wrapper[1038]: (EE) 12: /usr/bin/Xwayland (0x56d2b398a000+0x4b8f2) [0x56d2b39d58f2]
kwin_wayland_wrapper[1038]: (EE) 13: /usr/bin/Xwayland (0x56d2b398a000+0xe0de4) [0x56d2b3a6ade4]
kwin_wayland_wrapper[1038]: (EE) 14: /usr/bin/Xwayland (0x56d2b398a000+0x8fdd7) [0x56d2b3a19dd7]
kwin_wayland_wrapper[1038]: (EE) 15: /usr/bin/Xwayland (0x56d2b398a000+0x183a8) [0x56d2b39a23a8]
kwin_wayland_wrapper[1038]: (EE) 16: /usr/lib/libc.so.6 (0x7b0d12078000+0x25cd0) [0x7b0d1209dcd0]
kwin_wayland_wrapper[1038]: (EE) 17: /usr/lib/libc.so.6 (__libc_start_main+0x8a) [0x7b0d1209dd8a]
kwin_wayland_wrapper[1038]: (EE) 18: /usr/bin/Xwayland (0x56d2b398a000+0x19d85) [0x56d2b39a3d85]
kwin_wayland_wrapper[1038]: (EE)
kwin_wayland_wrapper[1038]: (EE)
kwin_wayland_wrapper[1038]: Fatal server error:
kwin_wayland_wrapper[1038]: (EE) Caught signal 6 (Aborted). Server aborting
kwin_wayland_wrapper[1038]: (EE)
kwin_wayland[942]: kwin_xwl: Xwayland process crashed

Offline

#2 2024-04-08 15:44:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,791

Re: PyCharm CE and PyCharm PRO crashes in archlinux

Xwayland is crashing. Do you have a increased scaling factor, and if so which scaling solution did you select for xwayland clients to scale?

Maybe also a regression in recently released xorg-xwayland versions. If you produce debug symbolled backtraces where does it die? https://wiki.archlinux.org/title/Debugg … ing_traces

You can probably skip that... follow: https://gitlab.freedesktop.org/xorg/xse … ssues/1659

Quick fix if you don't want to patch this yourself, downgrade xorg-xwayland to 23.2.4 or/and xorg-server to 21.1.11

Last edited by V1del (2024-04-08 15:55:49)

Offline

#3 2024-04-08 17:25:54

gonemooncool
Member
Registered: 2024-04-08
Posts: 4

Re: PyCharm CE and PyCharm PRO crashes in archlinux

Thank you very much V1del. Downgraded xorg-xwayland, and seems all works pretty well. Thanks for additional info about debugging, think its be usefull for me later

Offline

#4 2024-04-09 14:41:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,791

Re: PyCharm CE and PyCharm PRO crashes in archlinux

Should be fixed by the just released 23.2.6 -- might want to test updating again.

Offline

#5 2024-04-09 18:03:23

gonemooncool
Member
Registered: 2024-04-08
Posts: 4

Re: PyCharm CE and PyCharm PRO crashes in archlinux

Maybe tomorrow I'll test this out.
I have encountered another bug, I usually use several programs from jetbains. After a while, one application window becomes as if transparent on wayland.  I can move it, but it doesn't respond to any clicks. The windows below it accept clicks, which were intended for this application.
I downgraded version of xorg-server and the bug seems to be gone

Last edited by gonemooncool (2024-04-09 18:05:03)

Offline

#6 2024-04-09 21:37:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,791

Re: PyCharm CE and PyCharm PRO crashes in archlinux

afaik the relevant fix for xorg-server itself has not yet been released, but the same underlying issue affects both xorg and xwayland.

Last edited by V1del (2024-04-09 21:37:25)

Offline

#7 2024-04-15 12:06:14

gonemooncool
Member
Registered: 2024-04-08
Posts: 4

Re: PyCharm CE and PyCharm PRO crashes in archlinux

Updated both (everything, Pacman -Syu), xorg-server and xorg-xwayland. All jetbrains apps working, except bug with not responing window.
When I downgraded version of both - this bug seems to be gone. But soon, I faced it again.
Idk how google it properly, and idk, maybe only me seen this thing. This not big problem for me, but it's annoing.
As I can remember my experience of using x11, there was no such bug. But wayland has some advantages for me, the whole interface seems to work smoother and there is scaling, which I have to resort to.

Offline

Board footer

Powered by FluxBB