Bug 425100 - SIGSEGV in libgdk-x11-2.0 gdk_window_object_get_type on Eclipse startup
Summary: SIGSEGV in libgdk-x11-2.0 gdk_window_object_get_type on Eclipse startup
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3.1   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-01-08 10:25 EST by James Baldassari CLA
Modified: 2018-08-16 15:13 EDT (History)
10 users (show)

See Also:


Attachments
Full crash report (123.31 KB, text/x-log)
2014-01-08 10:25 EST, James Baldassari CLA
no flags Details
Crash report (165.88 KB, text/x-log)
2014-06-27 22:02 EDT, Leonardo Devai CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Baldassari CLA 2014-01-08 10:25:27 EST
Created attachment 238781 [details]
Full crash report

When I select certain workspaces Eclipse crashes consistently upon startup with a SIGSEGV in libgdk-x11-2.0 while calling gdk_window_object_get_type.  The crash happens after selecting a workspace and after the loading splash screen disappears, just as the main Eclipse window is about to be displayed.  The only workaround I've found is to delete the affected workspace and start with a clean workspace, but eventually the new workspace will run into this problem too.

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa870da5f52, pid=22477, tid=140362098013952
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x3bf52]  gdk_window_object_get_type+0x5f2

Full crash report with stack dump, etc. is attached.

The system is running Ubuntu 13.10.
Comment 1 Bart Vanhaute CLA 2014-03-07 11:31:29 EST
I can confirm this on Debian sid/unstable x86_64 : same behaviour and very similar crash report. 

The gtk+2.0 libraries on my system are from debian package version 2.24.22-1.
Comment 2 Marcel RUff CLA 2014-03-23 10:45:36 EDT
I get the same error on openSUSE 13.1 (x86_64)

On startup eclipse shows for about half a second and crashes then with SIGSEGV 

# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x3e792]  gdk_window_object_get_type+0x5f2

usr/lib/libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.2400.22

Version: Kepler Service Release 2
Build id: 20140224-0627

It happens with 64bit java 1.7.0_45, 1.7.0_51 and with java 8

eclipse -clean does not help but
when starting with an empty workspace I'm able to fire it up.
For now I'm stuck as I need my huge workspace.

Thank you
Marcel
Comment 3 Leonardo Devai CLA 2014-06-27 22:02:39 EDT
Created attachment 244625 [details]
Crash report
Comment 4 Leonardo Devai CLA 2014-06-27 22:10:54 EDT
Comment on attachment 244625 [details]
Crash report

I have just faced the same issue on Linux Mint 16 with both:
- eclipse-jee-kepler-SR2-linux-gtk-x86_64
- eclipse-jee-luna-R-linux-gtk-x86_64

running on jdk1.7.0_51 / jdk1.8.0_05

libgdk-x11-2.0.so.0.2400.20
Comment 5 Thierry Margenstern CLA 2014-07-24 13:25:53 EDT
I experienced something like this on Debian Jessie, openjdk7u60,7u65,oracle jdk7u55,7u60,7u65,and 8u11.

After splash screen became grey, workspace selector should arise, but it never comes. I have this in hs_err_pidXXXX.log 

 A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5d84dfe44b, pid=9727, tid=140040883328768
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgtk-x11-2.0.so.0+0x1b644b]
# ......

But I have a TV connected and some virtual screen on nvidia driver whitch size is pc screen size + next right TV screen size.
I once run Luna expecting something new ! and my wife was watching a film on the TV, played by the PC.... and the workspace selector was on the TV !!!!
Once Ok clicked on this window, all in Luna seems to  work correctly and is displayed on the pc screen.

May be this experience can help if some of you have  other screen connected to your pc.

Eclipse Kepler doesn't have this problem.

Luna always open worspace selector on my TV screen. I don't know why.

wine apps was doing this 6 months ago , but no longer now.

If this doesn't help remove my comment.
Comment 6 Alexander Kurtakov CLA 2017-12-06 11:19:18 EST
Do you still face this issue with supported version?
Comment 7 Eric Williams CLA 2018-08-16 15:13:56 EDT
Please note: GTK2 support for SWT is being dropped in Eclipse 4.10 / SimRel 2018-12 release. 

See the following post for more info: http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg15783.html