Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » No more handles [gtk_init_check() failed] when using the IAC on linux
No more handles [gtk_init_check() failed] when using the IAC on linux [message #109796] Wed, 22 August 2007 13:52 Go to next message
Rodrigo Pastrana is currently offline Rodrigo Pastrana
Messages: 8
Registered: July 2009
Junior Member
I am attempting to use the IAC (Eclipse 3.2.2 + TPTP 4.3.1) to profile
on Linux RH5. However, everytime I launch my application to profile, I
get this ugly error:

osgi> 2007/08/20 21:09:58.175 SEVERE CLPDN0016E: Error starting
RCPApplication com.ibm.rcp.personality.framework.RCPApplication
::class.method=com.ibm.rcp.personality.framework.internal.RC PApplication.run()
::thread=main ::loggername=com.ibm.rcp.personality.framework.internal

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:8 36)
at org.eclipse.swt.widgets.Display.create(Display.java:824)
at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:452)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
com.ibm.rcp.personality.framework.internal.RCPApplication.ru n(RCPApplication.java:65)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject. java:213)
at java.lang.reflect.Method.invoke(Method.java:278)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

The "No more handles [gtk_init_check() failed]" issue seems fairly
common and a few work-arounds have been posted, but none of them seem to
make this issue go away, anybody know how to get around it?

BTW, these are the work-arounds I attempted:
set JAVA_HIGH_ZIPFDS=500;
set ulimit -n 65535; pass -vmargs -Dosgi.bundlefile.limit=300 to the
eclipse runtime.

Any and all information is greatly appreciated.
Re: No more handles [gtk_init_check() failed] when using the IAC on linux [message #109858 is a reply to message #109796] Thu, 23 August 2007 06:37 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Rodrigo,
Unrelated to your application, we sometimes see the same symptom when
launching the SWT Manual Test View. See the following explanation and
work-around:

http://www.eclipse.org/tptp/home/downloads/releasenotes/rele asenotes4_4_0.html#4_CTI_4

Paul
"Rodrigo Pastrana" <rpastran@us.ibm.com> wrote in message
news:faht7b$uv$1@build.eclipse.org...
>I am attempting to use the IAC (Eclipse 3.2.2 + TPTP 4.3.1) to profile on
>Linux RH5. However, everytime I launch my application to profile, I get
>this ugly error:
>
> osgi> 2007/08/20 21:09:58.175 SEVERE CLPDN0016E: Error starting
> RCPApplication com.ibm.rcp.personality.framework.RCPApplication
> ::class.method=com.ibm.rcp.personality.framework.internal.RC PApplication.run()
> ::thread=main ::loggername=com.ibm.rcp.personality.framework.internal
>
> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
> at org.eclipse.swt.SWT.error(SWT.java:3589)
> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:8 36)
> at org.eclipse.swt.widgets.Display.create(Display.java:824)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:452)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at
> com.ibm.rcp.personality.framework.internal.RCPApplication.ru n(RCPApplication.java:65)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject. java:213)
> at java.lang.reflect.Method.invoke(Method.java:278)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
> The "No more handles [gtk_init_check() failed]" issue seems fairly common
> and a few work-arounds have been posted, but none of them seem to make
> this issue go away, anybody know how to get around it?
>
> BTW, these are the work-arounds I attempted:
> set JAVA_HIGH_ZIPFDS=500;
> set ulimit -n 65535; pass -vmargs -Dosgi.bundlefile.limit=300 to the
> eclipse runtime.
>
> Any and all information is greatly appreciated.
Re: No more handles [gtk_init_check() failed] when using the IAC on linux [message #110326 is a reply to message #109858] Mon, 27 August 2007 09:07 Go to previous messageGo to next message
Rodrigo Pastrana is currently offline Rodrigo Pastrana
Messages: 8
Registered: July 2009
Junior Member
Hi Paul, I attempted the workaround, but found no new success.
This "No more handles [gtk_init_check() failed]" issue doesn't come up
when trying to connect to the Xserver. It actually occurs when I attempt
to start profiling. I tried bumping up the file descriptor limit by
using the ulimit -n command. Is that what you mean by "Increase the file
descriptor limit."?
I've also tried setting the JAVA_HIGH_ZIPFDS flag to 500, with no luck.
Anybody else seeing this issue?

Paul Slauenwhite wrote:
> Hi Rodrigo,
> Unrelated to your application, we sometimes see the same symptom when
> launching the SWT Manual Test View. See the following explanation and
> work-around:
>
> http://www.eclipse.org/tptp/home/downloads/releasenotes/rele asenotes4_4_0.html#4_CTI_4
>
> Paul
> "Rodrigo Pastrana" <rpastran@us.ibm.com> wrote in message
> news:faht7b$uv$1@build.eclipse.org...
>> I am attempting to use the IAC (Eclipse 3.2.2 + TPTP 4.3.1) to profile on
>> Linux RH5. However, everytime I launch my application to profile, I get
>> this ugly error:
>>
>> osgi> 2007/08/20 21:09:58.175 SEVERE CLPDN0016E: Error starting
>> RCPApplication com.ibm.rcp.personality.framework.RCPApplication
>> ::class.method=com.ibm.rcp.personality.framework.internal.RC PApplication.run()
>> ::thread=main ::loggername=com.ibm.rcp.personality.framework.internal
>>
>> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
>> at org.eclipse.swt.SWT.error(SWT.java:3589)
>> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:8 36)
>> at org.eclipse.swt.widgets.Display.create(Display.java:824)
>> at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
>> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:452)
>> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>> at
>> com.ibm.rcp.personality.framework.internal.RCPApplication.ru n(RCPApplication.java:65)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>> at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject. java:213)
>> at java.lang.reflect.Method.invoke(Method.java:278)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>> The "No more handles [gtk_init_check() failed]" issue seems fairly common
>> and a few work-arounds have been posted, but none of them seem to make
>> this issue go away, anybody know how to get around it?
>>
>> BTW, these are the work-arounds I attempted:
>> set JAVA_HIGH_ZIPFDS=500;
>> set ulimit -n 65535; pass -vmargs -Dosgi.bundlefile.limit=300 to the
>> eclipse runtime.
>>
>> Any and all information is greatly appreciated.
>
>
Re: No more handles [gtk_init_check() failed] when using the IAC on linux [message #110730 is a reply to message #110326] Thu, 30 August 2007 07:24 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Rodrigo,
Yes, I meant increasing the file descriptor limit by using the ulimit -n
command.

I would try using the Agent Controller and if the problem persists, open
a defect.

Paul
"Rodrigo Pastrana" <rpastran@us.ibm.com> wrote in message
news:fauido$is6$1@build.eclipse.org...
> Hi Paul, I attempted the workaround, but found no new success.
> This "No more handles [gtk_init_check() failed]" issue doesn't come up
> when trying to connect to the Xserver. It actually occurs when I attempt
> to start profiling. I tried bumping up the file descriptor limit by using
> the ulimit -n command. Is that what you mean by "Increase the file
> descriptor limit."?
> I've also tried setting the JAVA_HIGH_ZIPFDS flag to 500, with no luck.
> Anybody else seeing this issue?
>
> Paul Slauenwhite wrote:
>> Hi Rodrigo,
>> Unrelated to your application, we sometimes see the same symptom when
>> launching the SWT Manual Test View. See the following explanation and
>> work-around:
>>
>> http://www.eclipse.org/tptp/home/downloads/releasenotes/rele asenotes4_4_0.html#4_CTI_4
>>
>> Paul
>> "Rodrigo Pastrana" <rpastran@us.ibm.com> wrote in message
>> news:faht7b$uv$1@build.eclipse.org...
>>> I am attempting to use the IAC (Eclipse 3.2.2 + TPTP 4.3.1) to profile
>>> on Linux RH5. However, everytime I launch my application to profile, I
>>> get this ugly error:
>>>
>>> osgi> 2007/08/20 21:09:58.175 SEVERE CLPDN0016E: Error starting
>>> RCPApplication com.ibm.rcp.personality.framework.RCPApplication
>>> ::class.method=com.ibm.rcp.personality.framework.internal.RC PApplication.run()
>>> ::thread=main ::loggername=com.ibm.rcp.personality.framework.internal
>>>
>>> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
>>> at org.eclipse.swt.SWT.error(SWT.java:3589)
>>> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:8 36)
>>> at org.eclipse.swt.widgets.Display.create(Display.java:824)
>>> at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
>>> at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
>>> at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
>>> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:452)
>>> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>>> at
>>> com.ibm.rcp.personality.framework.internal.RCPApplication.ru n(RCPApplication.java:65)
>>> at
>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>> at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject. java:213)
>>> at java.lang.reflect.Method.invoke(Method.java:278)
>>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>>
>>> The "No more handles [gtk_init_check() failed]" issue seems fairly
>>> common and a few work-arounds have been posted, but none of them seem to
>>> make this issue go away, anybody know how to get around it?
>>>
>>> BTW, these are the work-arounds I attempted:
>>> set JAVA_HIGH_ZIPFDS=500;
>>> set ulimit -n 65535; pass -vmargs -Dosgi.bundlefile.limit=300 to the
>>> eclipse runtime.
>>>
>>> Any and all information is greatly appreciated.
>>
Previous Topic:TPTP for Eclipse C/C++ Project
Next Topic:How to add third-party jars to TPTP/JUnit test?
Goto Forum:
  


Current Time: Thu Aug 28 07:21:13 EDT 2014

Powered by FUDForum. Page generated in 0.01729 seconds