Bug 304718 - Eclipse crashes when accessing suggestions (In java using . after a class)...
Summary: Eclipse crashes when accessing suggestions (In java using . after a class)...
Status: CLOSED DUPLICATE of bug 303372
Alias: None
Product: Platform
Classification: Eclipse
Component: Runtime (show other bugs)
Version: 3.5
Hardware: PC Linux
: P3 critical with 2 votes (vote)
Target Milestone: ---
Assignee: platform-runtime-inbox CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
: 307153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-04 13:24 EST by Gonzalo Aguilar Delgado CLA Friend
Modified: 2010-05-03 13:01 EDT (History)
5 users (show)

See Also:


Attachments
Complete log after several crashes... (68.71 KB, text/plain)
2010-03-04 13:49 EST, Gonzalo Aguilar Delgado CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gonzalo Aguilar Delgado CLA Friend 2010-03-04 13:24:48 EST
Build Identifier: I20090515-1143

Eclipse hangs 100% of times when accessing accessors.

!SESSION 2010-03-04 19:16:47.234 -----------------------------------------------
eclipse.buildId=I20090515-1143
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES
Framework arguments:  -product org.eclipse.epp.package.modeling.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product

!ENTRY org.eclipse.core.resources 2 10035 2010-03-04 19:16:53.460
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jface 2 0 2010-03-04 19:17:01.649
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-03-04 19:17:01.649
!MESSAGE A conflict occurred for ALT+SHIFT+D R:
Binding(ALT+SHIFT+D R,
        ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.debug,Debug RAP Application,
                Debug RAP Application,
                Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
                ,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+D R,
        ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.debug,Debug on Server,
                Debug the current selection on a server,
                Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
                ,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2010-03-04 19:17:01.649
!MESSAGE A conflict occurred for ALT+SHIFT+X R:
Binding(ALT+SHIFT+X R,
        ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.run,Run RAP Application,
                Run RAP Application,
                Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
                ,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+X R,
        ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.run,Run on Server,
                Run the current selection on a server,
                Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
                ,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)



Reproducible: Always

Steps to Reproduce:
1.Open java file.
2.Use the point to access a java method
3.Press enter when the option is shown in the popup.
Comment 1 Remy Suen CLA Friend 2010-03-04 13:28:37 EST
(In reply to comment #0)
> Eclipse hangs 100% of times when accessing accessors.

Summary says "Eclipse crashes". Comment says "Eclipse hangs". Which is it?
Comment 2 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 13:40:31 EST
It crashes... Sorry.
Comment 3 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 13:46:54 EST
It's strange as it happens after a system upgrade and a Eclipse upgrade. The problem is that I'm unable to identify why it happens. It can have something to do with the linux ecosystem or maybe with eclipse itself.

But when I try to access class helpers it crashes... Do you know how to find the responsible?

I can do some tests...

I will attach the whole log because maybe it has something to do with other components. It has lots of exceptions there...
Comment 4 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 13:49:22 EST
Created attachment 161001 [details]
Complete log after several crashes...

It can be stats collector.
Mylyn
Maven
Andoid SDK
Or what's reported... Sorry but I'm lost...
Comment 5 Remy Suen CLA Friend 2010-03-04 13:53:51 EST
(In reply to comment #4)
> Created an attachment (id=161001) [details]
> Complete log after several crashes...

None of those look like they should be crashing the entire application. Can you reproduce the problem with the Eclipse SDK?
http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M5-201001291300/index.php

Do you have any hs_err_pid log files lying around?
Comment 6 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 14:37:33 EST
Yes you are true. None of them are causing the crash. 

I removed RAP because wanted to be sure but nothing happens.

I will remount my home with dump options and send you the app dump.

But also will try with a clean install...

Do you recomend me to try update to helios to check if it dissapears? The problem is that I have lots of plugins I don't want to reinstall...
Comment 7 Remy Suen CLA Friend 2010-03-04 15:15:49 EST
(In reply to comment #6)
> Do you recomend me to try update to helios to check if it dissapears? The
> problem is that I have lots of plugins I don't want to reinstall...

Well, I provided you two links, one for 3.5.2, one for the current development release. You can try to use content assist there and see what happens and whether either of them crashes.
Comment 8 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 15:52:41 EST
Hi again, 

With new version it crashed exactly the same. 

You should know that I install packages system wide so user never install packages by it's own. So this new version tested is a vanilla one. 

This means that it exist a problem with a Eclipse update. 

I will try with old version right now.

Will post comments...
Comment 9 Remy Suen CLA Friend 2010-03-04 15:55:56 EST
What distribution are you on? What versions of Firefox/Mozilla/XULRunner do you have installed on your system? What versions of GTK+ do you have installed?
Comment 10 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 16:15:00 EST
Yes I'm sorry. I never post this info until I know is really a bug.

Here it comes:

What distribution are you on? What versions of Firefox/Mozilla/XULRunner do you
have installed on your system? What versions of GTK+ do you have installed?

-=[ Distribution ]=-

Ubuntu Lucid 10.4 Beta
Linux azul1 2.6.32-15-generic #22-Ubuntu SMP Tue Mar 2 02:23:29 UTC 2010 x86_64 GNU/Linux

-=[ Firefox ]=-

Version 3.6 

Xulrunner Versions:
drwxr-xr-x  3 root root 4096 2009-05-27 18:38 /usr/lib/xulrunner
drwxr-xr-x  4 root root 4096 2009-09-11 19:38 /usr/lib/xulrunner-1.9.0.13
drwxr-xr-x  4 root root 4096 2010-01-21 10:53 /usr/lib/xulrunner-1.9.0.14
drwxr-xr-x  3 root root 4096 2009-07-20 21:25 /usr/lib/xulrunner-1.9.1
drwxr-xr-x  3 root root 4096 2009-08-06 15:44 /usr/lib/xulrunner-1.9.1.1
drwxr-xr-x  3 root root 4096 2009-11-11 19:29 /usr/lib/xulrunner-1.9.1.4
drwxr-xr-x 10 root root 4096 2010-02-16 18:07 /usr/lib/xulrunner-1.9.1.8
drwxr-xr-x  4 root root 4096 2009-04-20 16:05 /usr/lib/xulrunner-addons

Don't know which one uses Eclipse right now.



-=[ GTK ]=-

Version 2.19.6-1ubuntu3

lrwxrwxrwx 1 root root 26 2010-03-04 13:26 /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1906.0


-=[ Comments ]=-
I will generate core dumps and send it to the bug.


-=[ CPU ]=-

root@azul1:/opt# cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 810 Processor
stepping	: 2
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips	: 5216.55
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 810 Processor
stepping	: 2
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips	: 5217.62
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 2
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 810 Processor
stepping	: 2
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips	: 5217.62
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 810 Processor
stepping	: 2
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips	: 5217.63
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@azul1:/opt#
Comment 11 Remy Suen CLA Friend 2010-03-04 16:18:09 EST
(In reply to comment #10)
> -=[ Distribution ]=-
> 
> Ubuntu Lucid 10.4 Beta
> Linux azul1 2.6.32-15-generic #22-Ubuntu SMP Tue Mar 2 02:23:29 UTC 2010 x86_64
> GNU/Linux
> 
> -=[ Firefox ]=-
> 
> Version 3.6 
> 
> Xulrunner Versions:
> drwxr-xr-x  3 root root 4096 2009-05-27 18:38 /usr/lib/xulrunner
> drwxr-xr-x  4 root root 4096 2009-09-11 19:38 /usr/lib/xulrunner-1.9.0.13
> drwxr-xr-x  4 root root 4096 2010-01-21 10:53 /usr/lib/xulrunner-1.9.0.14
> drwxr-xr-x  3 root root 4096 2009-07-20 21:25 /usr/lib/xulrunner-1.9.1
> drwxr-xr-x  3 root root 4096 2009-08-06 15:44 /usr/lib/xulrunner-1.9.1.1
> drwxr-xr-x  3 root root 4096 2009-11-11 19:29 /usr/lib/xulrunner-1.9.1.4
> drwxr-xr-x 10 root root 4096 2010-02-16 18:07 /usr/lib/xulrunner-1.9.1.8
> drwxr-xr-x  4 root root 4096 2009-04-20 16:05 /usr/lib/xulrunner-addons

It is possible you are seeing bug 303372 though I am not sure when Ubuntu will consume the fix that Debian rolled out. Please take a look at that bug.
Comment 12 Gonzalo Aguilar Delgado CLA Friend 2010-03-04 16:31:39 EST
Yeah Remy!!!

I did the simple fix for this:

-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-1.9.0.14/

added to the eclipse.ini


I found this bug also in a software called Talend and I solved same way. What I didn't realized is that it was the same bug because it crashed on startup.

I also see that there are not hovers as the bug you posted said...

I also tried with a newer version and seems to work better and faster:

-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-1.9.1.8/


But then, this is caused because I had no XulRunner or because I have a new/old one?

Thank you a lot!

I will code this night if nothing happens you can close this report.
Comment 13 Francis Upton IV CLA Friend 2010-03-25 22:55:20 EDT
*** Bug 307153 has been marked as a duplicate of this bug. ***
Comment 14 radgezito CLA Friend 2010-04-23 15:37:02 EDT
Hello , i have upgrading today ubuntu from 9.10  to ubuntu 10.04 , and when I try to open eclipse's project I have the same error.

Any patch ? Thxs a lot
Comment 15 radgezito CLA Friend 2010-04-23 15:49:35 EDT
I have fix the problem removing xulrunner-1.9.1 and then installing xulrunner-1.9.2 , now I can open Eclipse and suggestion don't crash ! SO GOOD ! thxs all !
Comment 16 mitchs CLA Friend 2010-05-03 10:23:44 EDT
I can confirm the de installation  of xulrunner 1.9.1 has fixed the error.
Comment 17 Elton CLA Friend 2010-05-03 11:38:01 EDT
(In reply to comment #15)
> I have fix the problem removing xulrunner-1.9.1 and then installing
> xulrunner-1.9.2 , now I can open Eclipse and suggestion don't crash ! SO GOOD !
> thxs all !

Exactly... this works very well for me...

On Ubuntu, just type both commands on shell:

sudo apt-get remove --purge xulrunner-1.9.1
sudo apt-get install xulrunner-1.9.2

See yeah!
Comment 18 John Arthorne CLA Friend 2010-05-03 13:01:50 EDT

*** This bug has been marked as a duplicate of bug 303372 ***