Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333012

Summary: Eclipse crashes when a file with an unknown extension is present in any directory.
Product: [Eclipse Project] Platform Reporter: Michael <michael.g.raupp>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: ericwill, gheorghe, ob1.eclipse, pwebster, remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael CLA 2010-12-21 08:34:40 EST
Build Identifier: 20100917-0705

I am running on Centos.

My uname -r is:
2.6.18-128.7.1.el5.centos.plus

Eclipse dumps its core in a JNI function called java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1icon_1lookup

the last java call made is:
org.eclipse.swt.internal.gnome.GNOME._gnome_icon_lookup

Reproducible: Always

Steps to Reproduce:
1.  Open Eclipse 
2.  Open any workspace and create a file called 'blah.xbm'
3.  Eclipse will crash.
4.  Anytime you try to browse to the folder you created 'blah.xbm' in, eclipse will crash.
Comment 1 Remy Suen CLA 2010-12-21 09:22:40 EST
See also bug 217803 and bug 328607.
Comment 2 Bogdan Gheorghe CLA 2011-01-07 13:55:54 EST
What version of Eclipse and GTK are you running? I tried reproducing this today on our RHEL4 x64 machine and I couldn't get it to crash.
Comment 3 Michael CLA 2011-10-20 11:57:10 EDT
(In reply to comment #2)
> What version of Eclipse and GTK are you running? I tried reproducing this today
> on our RHEL4 x64 machine and I couldn't get it to crash.

I thought this bug was related to 320487, but none of the workarounds listed on the thread helped my problem.  I have just been biting the pillowcase on this problem for months and months, but would love a solid solution.  If you could offer a workaround that would be fantastic.

Eclipse Version is : Helios Service Release 1 build id: 20100917-0705

I have reproduced this in ganymede and gallileo as well.

GTK is: gtk2-devel-2.10.4-21.el5_5.6
Comment 4 Eric Williams CLA 2016-10-04 11:05:05 EDT
I can't reproduce this issue. Also since bug 501816 I believe the GNOME interaction is non-existent since GIO is a hard dependency in GTK2.24.