Community
Participate
Working Groups
Build Identifier: 20100617-1415 $ ./eclipse --sync (running fine before crash - the crash occur just when the code assistant box tip get closed) IMPLEMENT resolveForAllocation for class org.eclipse.wst.jsdt.internal.compiler.ast.ThisReference IMPLEMENT resolveForAllocation for class org.eclipse.wst.jsdt.internal.compiler.ast.ThisReference 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 124033 error_code 158 request_code 148 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.) Reproducible: Always Steps to Reproduce: 1. Typing and coding 2. A code assistant box will appear, perhaps suggesting a object attribute 3. Whenever box get closed (either by ESC, or whatever), the eclipse crash, and errors of "Details", given above, appear on my terminal.
According to the error log, this issue belongs to the JSDT team, thanks for reporting!
Do you have some example code to reproduce this problem?
The issue seems be related with PDT code assistant. Any PHP code generates such problem, as follow: 1. Remember to keep the Code Assistant turned on (automatically) at PHP > Editor (preferences); 2. Code: <?php $dummy = 1; $d (just type "d" and code assistant take action, offering you to complete with "dummy" word. Press <esc> and code assistant should exit, and then eclipse die)
Do you have any JavaScript in your project?
I have it, 3 files .js inside my project, not in php file.
But you were not editing JavaScript when this crash occurred, correct? The JSDT log message don't really indicate anything that would cause a crash to me.
I was not editing the JS files. The issue occurs whenever Code Assistant close, regardless if I have used its indication, or just press Esc to leave. This time, Eclipse suddenly closes.
It might be a problem with your system configuration. Which distribution are you on and what's it's version? Which versions of Mozilla/Firefox/XulRunner are installed? Which JRE are you using, and what's 32-bit and what's 64-bit? Odds are this will have to be bounced to Platform IDE.
Java Version: java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) Distribution: Ubuntu 10.04 Using Chrome: 6.0.472.55 beta Eclipse 32-bit CPU is Core 2 Duo 64-bit
Henrique, is there any file named hs_err_pid<number>.log in your Eclipse directory? Asking because this reminds me of bug 322222
Resolving as a duplicate of bug 322222 unless Henrique can give us more details. Either way, I'm pretty sure its not something JSDT or PDT would be able to fix at our level. *** This bug has been marked as a duplicate of bug 322222 ***