Bug 409300 - Eclipse terminate itself
Summary: Eclipse terminate itself
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 413248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-28 10:55 EDT by Karel Haruda CLA
Modified: 2018-06-15 15:17 EDT (History)
10 users (show)

See Also:


Attachments
log from eclipse (363.60 KB, text/x-log)
2013-05-29 03:18 EDT, Karel Haruda CLA
no flags Details
LOG (75.72 KB, text/x-log)
2013-05-30 07:16 EDT, Karel Haruda CLA
no flags Details
log of eclipse EE crash (72.86 KB, text/x-log)
2013-06-03 04:00 EDT, Karel Haruda CLA
no flags Details
Error log (153.65 KB, text/x-log)
2014-02-18 06:15 EST, Erik Berglund CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karel Haruda CLA 2013-05-28 10:55:40 EDT
After some random time, tens of minutes or a few hours at a time without warning, Eclipse terminates without any error displayed.

Version: Kepler Release
Build id: 20130523-2011

OS: Linux KUBUNTU 13.04 32bit
Comment 1 Dani Megert CLA 2013-05-28 11:26:35 EDT
Is there anything in the .log or a crash dump?
Comment 2 Karel Haruda CLA 2013-05-29 00:40:56 EDT
I looked, but unfortunately I did not find any log. Eclipse did not say any error just suddenly disappeared. It happened 2x in 2 hours after installation, and since nothing. So it might not be so hot.
Comment 3 Karel Haruda CLA 2013-05-29 03:11:43 EDT
Now it happen again. Eclipse die without any errror. But still no log .. Can I enable logging to get log ?
Comment 4 Dani Megert CLA 2013-05-29 03:17:04 EDT
(In reply to comment #3)
> Now it happen again. Eclipse die without any errror. But still no log .. Can
> I enable logging to get log ?

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#DebuggingOptions


Try to remember what you did last when it crashes. Often it happens when the internal Browser widget is involved, e.g. when hovering over a class to see its Javadoc, or when doing content assist and then the help opens to its right.
Comment 5 Karel Haruda CLA 2013-05-29 03:18:24 EDT
Created attachment 231679 [details]
log from eclipse

I have only log from eclipse where on last row you can see only information about unclear terminate
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
Comment 6 Karel Haruda CLA 2013-05-30 07:16:13 EDT
Created attachment 231743 [details]
LOG

I hope that this is the correct log that is needed.
Comment 7 Arun Thondapu CLA 2013-05-30 10:31:09 EDT
I think you need to install a newer version (1.2.x or newer) of Webkit to prevent this crash, check the supported versions here - http://www.eclipse.org/swt/faq.php#browserlinux
Comment 8 Grant Gayed CLA 2013-05-30 14:47:36 EDT
(In reply to comment #7)
> I think you need to install a newer version (1.2.x or newer) of Webkit

I don't think so, Ubuntu 13.04 should have a supported WebKit release.
Comment 9 Karel Haruda CLA 2013-05-30 14:59:30 EDT
I try it but i have instaled latest version of webkit which is in ubuntu repository ..
Comment 10 Karel Haruda CLA 2013-06-03 04:00:17 EDT
Created attachment 231860 [details]
log of eclipse EE crash

I have next log of crash, but probably is same as previous.
Comment 11 Grant Gayed CLA 2013-08-07 14:37:28 EDT
*** Bug 413248 has been marked as a duplicate of this bug. ***
Comment 12 Heiko Selber CLA 2014-02-13 05:55:07 EST
I observe the same (or similar) bug with a newer version of Eclipse on a different Ubuntu:

Version: Kepler Release
Build id: 20130919-0819

OS: Linux UBUNTU 13.10 64bit

Java runtime: 
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu2.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


I haven't been able to collect any information; there is nothing in the log.

The crash apparently happens without any action on my part. Sometimes even while Eclipse is in the background.
Comment 13 Dani Megert CLA 2014-02-13 06:20:07 EST
(In reply to Heiko Selber from comment #12)
> I observe the same (or similar) bug with a newer version of Eclipse on a
> different Ubuntu:
> 
> Version: Kepler Release
> Build id: 20130919-0819
> 
> OS: Linux UBUNTU 13.10 64bit
> 
> Java runtime: 
> java version "1.6.0_27"
> OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu2.1)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Can you try with the latest Oracle JRE 7?
Comment 14 Heiko Selber CLA 2014-02-13 06:56:18 EST
(In reply to Dani Megert from comment #13)
> 
> Can you try with the latest Oracle JRE 7?

I don't know how...

The problem is I need to debug a web application locally which doesn't run with JRE 7.

So the regular java must be Java 6.

I tried to persuade eclipse with adding

-vm /usr/lib/jvm/java-7-oracle/bin/java

in eclipse.ini as suggested by various people, but that fails (exit code 1).
Comment 15 Erik Berglund CLA 2014-02-18 06:15:03 EST
Created attachment 240056 [details]
Error log
Comment 16 Erik Berglund CLA 2014-02-18 06:16:54 EST
This is also present on Linux Kubuntu 13.10 64bit.

The bug is present with both OpenJDK and the Oracle JDK.

See attachment for error log.
Comment 17 Dani Megert CLA 2014-02-20 04:59:19 EST
Crash is in gtk_tree_view_get_background_area

Looks like a duplicated of bug 421073.
Comment 18 Heiko Selber CLA 2014-02-20 05:17:31 EST
(In reply to Dani Megert from comment #17)
> Crash is in gtk_tree_view_get_background_area
> 
> Looks like a duplicated of bug 421073.

I don't think that this bug is a duplicate of that one, at least as far as I am concerned. (I am not the original reporter, but what I observe seems to match the original bug.)

I don't get any error messages, log entries or crash dumps whatsoever.

On the most recent occasions a few days ago, Eclipse crashed when I focussed its window, once by clicking the eclipse icon in the unity launcher, the other time by alt-tabbing to it. IIRC, the eclipse window did appear for a split-second, then simply vanished. All the while, tomcat 6 was running inside eclipse and continued to do so after eclipse crashed, it that is important.

Eclipse doesn't usually crash for me; I can cycle windows a hundred times without any problem.
Comment 19 Bruno Medeiros CLA 2014-05-27 08:56:01 EDT
> On the most recent occasions a few days ago, Eclipse crashed when I focussed its window, once by clicking the eclipse icon in the unity launcher, the other time by alt-tabbing to it. IIRC, the eclipse window did appear for a split-second, then simply vanished. All the while, tomcat 6 was running inside eclipse and continued to do so after eclipse crashed, it that is important.

I'm experiencing something very similar to this. Eclipse Kepler SR2 crashes in a few minutes or hours, without any crash log, most often after regain focus.

I'm using Ubuntu 14.04 64 bits, and it was not happening on Ubuntu 12.02 with this same Eclipse setup.
Comment 20 Eric Williams CLA 2018-06-15 15:17:43 EDT
I can't reproduce this issue. Please reopen if there are crashes on 4.8 with GTK3.22.