Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 479590

Summary: [Cocoa] [10.11] Corrupted Icons & Locked Menu Bar & OpenCL issue
Product: [Eclipse Project] Platform Reporter: packydevel packydevel <packydevel>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: critical    
Priority: P3 CC: andriisavin, eclipse, haiodo, lshanmug, packydevel
Version: 4.5.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 482454    
Attachments:
Description Flags
Corrupted Icons in Eclipse
none
Corrupted Icons in ADS none

Description packydevel packydevel CLA 2015-10-12 15:42:44 EDT
Created attachment 257221 [details]
Corrupted Icons in Eclipse

Hi guys,

i'm experiencing an error using SWT applications. The first one is Eclipse and the second one is Apache Directory Studio (ADS) which is an RCP based on Eclipse Platform.

The issue is not related at the functionality of the two product but both of them use SWT and i suppose the problem is with this component.

Briefly, when i launch Eclipse or ADS from Finder (double click on application bundle) all goes fine and the rendering of the icons is correct.

When i launch Eclipse or ADS from terminal i get corrupted icons and in the Eclipse case i get the menu bar locked. In addition for both applications i get this from terminal:

filter:2:47: error: excess elements in vector initializer
  return img.a * mix(c0, c1, dot(img.rgb, vec3(0,000000e+00, 0,000000e+00, 0,000000e+00)));
                                              ^                ~~~~~~~~~~
filter:1:6: error: non-void function should return a value
vec4 _falseColor(vec4 img, vec4 c0, vec4 c1) {
     ^
** OpenCL Error Notification: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: build program driver returned (-3) **
** OpenCL Error Notification: OpenCL Warning : clBuildProgram failed: could not build program for 0xffffffff (Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz) (err:-3) **
** OpenCL Error Notification: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
No kernels or only kernel prototypes found when build executable.
 **
Native OpenCL program build failed:
No kernels or only kernel prototypes found when build executable.Kernel source code =
#define premain__ci_grab__ci_premul__ci_grab__falseColor__sourceOut__ci_clamp_to_alpha_highp /**/
#define lowp /**/
#define sampler2D sampler2DRect
#define texture2D texture2DRect
// An error occurred, see stderr for the error message
Unable to compile kernel. Not rendering.
** OpenCL Error Notification: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: build program driver returned (-3) **
** OpenCL Error Notification: OpenCL Warning : clBuildProgram failed: could not build program for 0xffffffff (Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz) (err:-3) **
** OpenCL Error Notification: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
No kernels or only kernel prototypes found when build executable.
Comment 1 packydevel packydevel CLA 2015-10-12 18:22:59 EDT
Created attachment 257224 [details]
Corrupted Icons in ADS
Comment 2 Andrey Sobolev CLA 2015-11-11 13:35:16 EST
Same for me. Eclipse 4.5.1. When run from Console see same effect.
Comment 3 Matthias Tichy CLA 2015-11-17 09:23:14 EST
I have the same issue starting from the console. This happened after the update to Mac OS X 10.11 El Capitan.

Only icons which are de-activated (greyed when it works) are affected. All others look fine.
Comment 4 andrii savin CLA 2015-11-20 03:18:26 EST
It is bug of Mac OS X 10.11 El Capitan
https://trac.filezilla-project.org/ticket/10669
Comment 5 packydevel packydevel CLA 2015-12-09 13:44:12 EST
Hey guys, i solved the problem accidentally.

I created a new account in my Mac OS X system and then installed Eclipse and now all goes fine.

I think this can be considered only a workaround and not a definitive solution. But this suggests to me that there is some dirty cached information under $HOME/Library/... that, if purged, could be solve the problem.

Give me a feedback if my workaround works also for you.

Thanks a lot.
Comment 6 Lakshmi P Shanmugam CLA 2016-05-04 08:22:25 EDT
(In reply to andrii savin from comment #4)
> It is bug of Mac OS X 10.11 El Capitan
> https://trac.filezilla-project.org/ticket/10669

The last comment says that "Apple appears to have fixed this issue in OS X 10.11.4 Beta 4 (15E49a)".  Can someone please confirm this?

I'll mark this bug as NOT_ECLIPSE.
Comment 7 andrii savin CLA 2016-05-04 10:31:58 EDT
(In reply to Lakshmi Shanmugam from comment #6)
> (In reply to andrii savin from comment #4)
> > It is bug of Mac OS X 10.11 El Capitan
> > https://trac.filezilla-project.org/ticket/10669
> 
> The last comment says that "Apple appears to have fixed this issue in OS X
> 10.11.4 Beta 4 (15E49a)".  Can someone please confirm this?
> 
> I'll mark this bug as NOT_ECLIPSE.

For me, it was fixed