Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 307153 - Deadlock on autocomplete on Ubuntu 10.04
Summary: Deadlock on autocomplete on Ubuntu 10.04
Status: CLOSED DUPLICATE of bug 304718
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 22:31 EDT by Adam Olsen CLA
Modified: 2010-03-26 09:27 EDT (History)
2 users (show)

See Also:


Attachments
full thread dump (14.93 KB, text/plain)
2010-03-25 22:31 EDT, Adam Olsen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Olsen CLA 2010-03-25 22:31:04 EDT
Build Identifier: M20100211-1343

Using Eclipse on Ubuntu 10.04, Eclipse deadlocks when trying to use autocompletion.  

Reproducible: Always

Steps to Reproduce:
1. Install Eclipse on Ubuntu 10.04
2. Start a new Java project
3. Create a new Class
4. Type import java.util. and wait for autocomplete to pop up.
Comment 1 Adam Olsen CLA 2010-03-25 22:31:39 EDT
Created attachment 163053 [details]
full thread dump
Comment 2 Adam Olsen CLA 2010-03-25 22:34:54 EDT
Sometimes, instead of a deadlock, Eclipse completely crashes with the following error:

The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 54675 error_code 172 request_code 152 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


These errors occur regardless of compiz being enabled or not.
Comment 3 Francis Upton IV CLA 2010-03-25 22:42:26 EDT
I don't know much about this stuff, but it looks like it's getting stuck in trying to resolve your browser.  You could try googling how to hook up the browser correctly and that might get you going. Of course this should not deadlock, but that's another matter.
Comment 4 Adam Olsen CLA 2010-03-25 22:49:56 EDT
Looks like this might be a duplicate of this bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=303372

and this one:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=304718

Using the xulrunner workaround in #304718 fixes the problem. Should I mark this as a duplicate?
Comment 5 Francis Upton IV CLA 2010-03-25 22:55:20 EDT
Yes, Adam, looks like bug 304718 is the same. Thanks for tracking this down.

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