Ever since I upgraded KDE SC to 4.5 RC Eclipse crashes as soon as I expand any item in the project explorer tree view, i.e. it is absolutely unusable. This is a crash in some native GTK code, but the strange thing is that it only happens while I am in a KDE session. Eclipse works fine when I start it in a LXDE session. Downgrading to KDE SC 4.4.4 seems to fix the issue, however this is IMO a very strage but nevertheless extremely important thing to fix. Eclipse always crashes calling following native function Java_org_eclipse_swt_internal_gtk_OS__1g_1data_1input_1stream_1read_1line, however I have not had a chance to see what this does.
I first thought it may have something to do with kwin, however using openbox as window manager didn't help.
I am sure you reported the bug to the Eclipse team, because when Eclipse crashes, it needs to be handled in Eclipse bug tracker. Please add the link to the downstream bug here, so that we can investigate why it only crashes when run from KDE session.
Yes I did report it to the Eclipse bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=320931 also related is https://bugs.eclipse.org/bugs/show_bug.cgi?id=320487 Sorry, I should have thought about adding those links straight away.
It is possible that a new Oxygen icon crashes the Java virtual machine. Could you install oxygen-icons from 4.4 instead of from 4.5 to see if this is the case?
No, I'm afraid that didn't change anything. To be honest I would have been surprised since Eclipse ships its own icons.
I have the exact same issue.
Humm, for me, running eclipse -clean fixed the issue completely.
According to the downstream bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=320487 the crash happened because KDE SC release 4.5.0 enabled stricter memory checks. Disabling those memory checks "hides" the crash, and this has been committed for release 4.5.1. For more information, see bug 247398. Since it is the Java virtual machine that is crashing, there is nothing else that is KDE related, and I am closing this bug.