Bug 526002 - Eclipse crashes in Wayland. Often if PyDev in Debug mode.
Summary: Eclipse crashes in Wayland. Often if PyDev in Debug mode.
Status: CLOSED DUPLICATE of bug 527693
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.7   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-10-13 08:43 EDT by Andrey Gavrilin CLA
Modified: 2017-11-23 15:09 EST (History)
4 users (show)

See Also:


Attachments
crash log (225.68 KB, text/x-log)
2017-10-13 08:43 EDT, Andrey Gavrilin CLA
no flags Details
crash log (157.80 KB, text/x-log)
2017-10-13 08:44 EDT, Andrey Gavrilin CLA
no flags Details
crash log (159.43 KB, text/x-log)
2017-10-13 08:44 EDT, Andrey Gavrilin CLA
no flags Details
crash log (156.54 KB, text/x-log)
2017-10-13 08:44 EDT, Andrey Gavrilin CLA
no flags Details
crash log (204.05 KB, text/x-log)
2017-10-13 08:45 EDT, Andrey Gavrilin CLA
no flags Details
crash log (232.90 KB, text/x-log)
2017-10-13 08:45 EDT, Andrey Gavrilin CLA
no flags Details
crash log (231.88 KB, text/x-log)
2017-10-13 08:45 EDT, Andrey Gavrilin CLA
no flags Details
crash_log (178.64 KB, text/plain)
2017-11-18 20:04 EST, Andreas Beeker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Gavrilin CLA 2017-10-13 08:43:46 EDT
Created attachment 270980 [details]
crash log

Hi.

I installed Eclipse Platform from Fedora repository and it works. It looks like it was patched for Wayland. When I downloaded Eclipse from the official site one day it becomes to crash suddenly. Especially if I debug a script. I'm not sure what the reason is. Fedora version works. Several log files are collected. For OpenJDK it has the same behavior.

# JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode linux-amd64 compressed oops)

Several logs are united by me.

# Problematic frame:
# C  [libX11.so.6+0x2cdee]
# C  [libjavascriptcoregtk-4.0.so.18+0xd76ecc]  WTFCrash+0x1c
# C  [libX11.so.6+0x2d16b]  XInternAtom+0x3b
# C  [libwayland-client.so.0+0x20da80]  wl_display_interface+0x0
Comment 1 Andrey Gavrilin CLA 2017-10-13 08:44:10 EDT
Created attachment 270981 [details]
crash log
Comment 2 Andrey Gavrilin CLA 2017-10-13 08:44:29 EDT
Created attachment 270982 [details]
crash log
Comment 3 Andrey Gavrilin CLA 2017-10-13 08:44:50 EDT
Created attachment 270983 [details]
crash log
Comment 4 Andrey Gavrilin CLA 2017-10-13 08:45:10 EDT
Created attachment 270984 [details]
crash log
Comment 5 Andrey Gavrilin CLA 2017-10-13 08:45:26 EDT
Created attachment 270985 [details]
crash log
Comment 6 Andrey Gavrilin CLA 2017-10-13 08:45:45 EDT
Created attachment 270986 [details]
crash log
Comment 7 Alexander Kurtakov CLA 2017-11-13 07:04:10 EST
Which Eclipse version creashes for you? Which version of Fedora do you with?
Does it happen if you start eclipse with SWT_WEBKIT2=1 env variable? Any chance this happens during drag-and-drop operation?
I know these are a lot of questions but we need more details to understand what's going on.
Comment 8 Leo Ufimtsev CLA 2017-11-13 12:18:57 EST
Looks like:
- Eclipse on Wayland with X11 backend ?
- Crash seems to occur with copy (/paste?) clipboard operations, while transferring data.

Clipboard has more security on Wayland, it's possible that there is some strange behavior there. Haven't tested/investigated thou.
Comment 9 Andreas Beeker CLA 2017-11-18 20:04:37 EST
Created attachment 271544 [details]
crash_log

Another crash log ... it happened while selecting text.

launched with: env UBUNTU_MENUPROXY=0 SWT_WEBKIT2=1 /opt/eclipse/eclipse

Eclipse Version: Photon (4.8)
Build id: I20171030-0400

running on gnome/wayland on Ubuntu 17.10

I haven't tried yet most of [1], but so far I can only say, it runs stable on X11.
Please advise further checks/commands to support you on the bug hunt.

[1] https://fedoraproject.org/wiki/How_to_debug_Wayland_problems
Comment 10 Leo Ufimtsev CLA 2017-11-23 15:09:22 EST
Let's continue to track in :
Bug 527693 – [Wayland] TextTransfer crash (libX11.so) due to an x11 call gdk_x11_display_utf8_to_compound_text 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=527693

*** This bug has been marked as a duplicate of bug 527693 ***