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

Bug 528299

Summary: Eclipse failed to load on PPC64LE platform
Product: [Eclipse Project] Platform Reporter: Sravan Kumar Lakkimsetti <sravankumarl>
Component: SWTAssignee: Sravan Kumar Lakkimsetti <sravankumarl>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: akurtakov, akurtakov, ericwill, lufimtse
Version: 4.8   
Target Milestone: 4.8 M7   
Hardware: Power PC   
OS: Linux   
See Also: https://git.eclipse.org/r/122256
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a29eed0e7ce3358a979e8a534c6cc1c861ba9bad
Whiteboard:

Description Sravan Kumar Lakkimsetti CLA 2017-12-08 01:03:08 EST
While trying to open eclipse on ppc64le platform the following error occured

4XESTACKTRACE                at org/eclipse/swt/internal/gtk/OS._gtk_style_context_get(Native Method)
4XESTACKTRACE                at org/eclipse/swt/internal/gtk/OS.gtk_style_context_get(OS.java:11271)
4XESTACKTRACE                at org/eclipse/swt/graphics/Device.init(Device.java:660)
4XESTACKTRACE                at org/eclipse/swt/widgets/Display.init(Display.java:3529)
4XESTACKTRACE                at org/eclipse/swt/graphics/Device.<init>(Device.java:175)
5XESTACKTRACE                   (entered lock: org/eclipse/swt/graphics/Device@0x00000000C05E5690, entry count: 1)
4XESTACKTRACE                at org/eclipse/swt/widgets/Display.<init>(Display.java:575)
4XESTACKTRACE                at org/eclipse/swt/widgets/Display.<init>(Display.java:566)
4XESTACKTRACE                at org/eclipse/ui/internal/Workbench.createDisplay(Workbench.java:782)
4XESTACKTRACE                at org/eclipse/ui/PlatformUI.createDisplay(PlatformUI.java:160)
4XESTACKTRACE                at org/eclipse/ui/internal/ide/application/IDEApplication.createDisplay(IDEApplication.java:182)
4XESTACKTRACE                at org/eclipse/ui/internal/ide/application/IDEApplication.start(IDEApplication.java:125)
4XESTACKTRACE                at org/eclipse/equinox/internal/app/EclipseAppHandle.run(EclipseAppHandle.java:196)
4XESTACKTRACE                at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
4XESTACKTRACE                at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(EclipseAppLauncher.java:104)
4XESTACKTRACE                at org/eclipse/core/runtime/adaptor/EclipseStarter.run(EclipseStarter.java:388)
4XESTACKTRACE                at org/eclipse/core/runtime/adaptor/EclipseStarter.run(EclipseStarter.java:243)
4XESTACKTRACE                at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method)
4XESTACKTRACE                at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
4XESTACKTRACE                at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
4XESTACKTRACE                at java/lang/reflect/Method.invoke(Method.java:508)
4XESTACKTRACE                at org/eclipse/equinox/launcher/Main.invokeFramework(Main.java:653)
4XESTACKTRACE                at org/eclipse/equinox/launcher/Main.basicRun(Main.java:590)
4XESTACKTRACE                at org/eclipse/equinox/launcher/Main.run(Main.java:1499)
4XESTACKTRACE                at org/eclipse/equinox/launcher/Main.main(Main.java:1472
Comment 1 Eric Williams CLA 2017-12-08 11:38:29 EST
What was the error, gtk_style_context_get() missing?
Comment 2 Sravan Kumar Lakkimsetti CLA 2017-12-11 00:09:26 EST
(In reply to Eric Williams from comment #1)
> What was the error, gtk_style_context_get() missing?

yes that is the error
Comment 3 Leo Ufimtsev CLA 2017-12-11 10:49:14 EST
Hmm.
gtk_style_context_get(..) is set to be dynamic and available since gtk 3.0.
Comment 4 Alexander Kurtakov CLA 2018-02-09 02:37:26 EST
Is this still an issue?
Comment 5 Sravan Kumar Lakkimsetti CLA 2018-02-22 01:22:39 EST
(In reply to Alexander Kurtakov from comment #4)
> Is this still an issue?

I don't see this issue on M20180221-1700
Comment 6 Sravan Kumar Lakkimsetti CLA 2018-02-22 01:30:35 EST
(In reply to Sravan Kumar Lakkimsetti from comment #5)
> (In reply to Alexander Kurtakov from comment #4)
> > Is this still an issue?
> 
> I don't see this issue on M20180221-1700

I see issue in I20180221-2000.

M build doesn't have this issue. 

I am testing on "Red Hat Enterprise Linux Server release 7.4 (Maipo)"
Comment 7 Sravan Kumar Lakkimsetti CLA 2018-03-07 04:26:07 EST
(In reply to Sravan Kumar Lakkimsetti from comment #6)
> (In reply to Sravan Kumar Lakkimsetti from comment #5)
> > (In reply to Alexander Kurtakov from comment #4)
> > > Is this still an issue?
> > 
> > I don't see this issue on M20180221-1700
> 
> I see issue in I20180221-2000.
> 
> M build doesn't have this issue. 
> 
> I am testing on "Red Hat Enterprise Linux Server release 7.4 (Maipo)"
@akurtakov, this is still broken on I-builds. Can have a look
Comment 8 Alexander Kurtakov CLA 2018-03-07 04:37:44 EST
(In reply to Sravan Kumar Lakkimsetti from comment #7)
> (In reply to Sravan Kumar Lakkimsetti from comment #6)
> > (In reply to Sravan Kumar Lakkimsetti from comment #5)
> > > (In reply to Alexander Kurtakov from comment #4)
> > > > Is this still an issue?
> > > 
> > > I don't see this issue on M20180221-1700
> > 
> > I see issue in I20180221-2000.
> > 
> > M build doesn't have this issue. 
> > 
> > I am testing on "Red Hat Enterprise Linux Server release 7.4 (Maipo)"
> @akurtakov, this is still broken on I-builds. Can have a look

The build server provided don't have enough resources to run and debug Eclipse. This will need someone with access to real machine to try it out.
Comment 9 Sravan Kumar Lakkimsetti CLA 2018-03-09 03:05:44 EST
Same issue with I20180308-0630
Comment 11 Eclipse Genie CLA 2018-05-07 08:29:59 EDT
New Gerrit change created: https://git.eclipse.org/r/122256
Comment 12 Sravan Kumar Lakkimsetti CLA 2018-05-07 08:31:49 EDT
(In reply to Eclipse Genie from comment #11)
> New Gerrit change created: https://git.eclipse.org/r/122256

The idea with this for ppc64le architecture go back to using deprecated api
Comment 14 Sravan Kumar Lakkimsetti CLA 2018-05-07 09:39:35 EDT
(In reply to Eclipse Genie from comment #13)
> Gerrit change https://git.eclipse.org/r/122256 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=a29eed0e7ce3358a979e8a534c6cc1c861ba9bad

Merged to master
Comment 15 Sravan Kumar Lakkimsetti CLA 2018-05-09 05:22:06 EDT
Verified on Eclipse SDK
Version: Photon (4.8)
Build id: I20180508-2000
OS: Linux, v.3.10.0-327.el7.ppc64le, ppc64le / gtk 3.22.10