Bug 245815 - Eclipse always crashes when expanding item in project explorer (only under KDE)
Summary: Eclipse always crashes when expanding item in project explorer (only under KDE)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 20:40 UTC by Alex Richardson
Modified: 2010-08-27 19:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Richardson 2010-07-26 20:40:25 UTC
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.
Comment 1 Alex Richardson 2010-07-26 20:42:03 UTC
I first thought it may have something to do with kwin, however using openbox as window manager didn't help.
Comment 2 Christoph Feck 2010-07-26 21:40:11 UTC
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.
Comment 3 Alex Richardson 2010-07-26 23:52:29 UTC
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.
Comment 4 Christoph Feck 2010-07-27 00:07:16 UTC
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?
Comment 5 Alex Richardson 2010-07-27 00:19:26 UTC
No, I'm afraid that didn't change anything. To be honest I would have been surprised since Eclipse ships its own icons.
Comment 6 Benoit Grégoire 2010-07-27 23:25:01 UTC
I have the exact same issue.
Comment 7 Benoit Grégoire 2010-08-27 19:00:10 UTC
Humm, for me, running eclipse -clean fixed the issue completely.
Comment 8 Christoph Feck 2010-08-27 19:21:27 UTC
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.