Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » BadGC in AIX Motif
BadGC in AIX Motif [message #464201] Fri, 18 November 2005 16:40 Go to next message
Mike Tabb is currently offline Mike TabbFriend
Messages: 24
Registered: July 2009
Junior Member
Currently in my app when I open a few dialogs and cancel them , I get:
X Error of failed request: BadGC (invalid GC parameter)
Major opcode of failed request: 56 (XChangeGC)
Resource id in failed request: 0x360b729c

The same app runs on windows fine and does not leak. It seems to be
happening in the MOtif layer , but it is hard to debug. The correct patches
are applied to the aix system that eclipse requires.
Re: BadGC in AIX Motif [message #464231 is a reply to message #464201] Fri, 18 November 2005 20:04 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You need the amazing Device.DEBUG flag that does an XSynchronize() and
prints a stack trace when an X error occurs. Set this thing to true before
creating the Display. The problem is most likely in SWT so be sure to enter
a bug report with the stack trace when you are done. Good luck!

"Mike Tabb" <mtabb@us.ibm.com> wrote in message
news:dll06s$sl6$1@news.eclipse.org...
> Currently in my app when I open a few dialogs and cancel them , I get:
> X Error of failed request: BadGC (invalid GC parameter)
> Major opcode of failed request: 56 (XChangeGC)
> Resource id in failed request: 0x360b729c
>
> The same app runs on windows fine and does not leak. It seems to be
> happening in the MOtif layer , but it is hard to debug. The correct
patches
> are applied to the aix system that eclipse requires.
>
>
Re: BadGC in AIX Motif [message #464241 is a reply to message #464231] Fri, 18 November 2005 22:06 Go to previous messageGo to next message
Mike Tabb is currently offline Mike TabbFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks for the reply. I forgot to mention that this is on an RCP
application , and the dialogs are launched from within the app. The RCP app
then crashes after the dismissal of the second one. Since I don't have any
control over when the display is created , when would you suggest I turn the
DEBUG flag on , if still possible. Thanks in adavnace.
"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:dllc41$d5p$1@news.eclipse.org...
> You need the amazing Device.DEBUG flag that does an XSynchronize() and
> prints a stack trace when an X error occurs. Set this thing to true
before
> creating the Display. The problem is most likely in SWT so be sure to
enter
> a bug report with the stack trace when you are done. Good luck!
>
> "Mike Tabb" <mtabb@us.ibm.com> wrote in message
> news:dll06s$sl6$1@news.eclipse.org...
> > Currently in my app when I open a few dialogs and cancel them , I get:
> > X Error of failed request: BadGC (invalid GC parameter)
> > Major opcode of failed request: 56 (XChangeGC)
> > Resource id in failed request: 0x360b729c
> >
> > The same app runs on windows fine and does not leak. It seems to be
> > happening in the MOtif layer , but it is hard to debug. The correct
> patches
> > are applied to the aix system that eclipse requires.
> >
> >
>
>
Re: BadGC in AIX Motif [message #464795 is a reply to message #464241] Wed, 30 November 2005 01:00 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Do the instructions for the Sleak plugin for Eclipse apply?
http://eclipse.org/swt/tools.php

Try asking the question on eclipse.platform or eclipse.platform.rcp. That's
where these sorts of questions are answered.

"Mike Tabb" <mtabb@us.ibm.com> wrote in message
news:dllj8t$mlr$1@news.eclipse.org...
> Thanks for the reply. I forgot to mention that this is on an RCP
> application , and the dialogs are launched from within the app. The RCP
app
> then crashes after the dismissal of the second one. Since I don't have
any
> control over when the display is created , when would you suggest I turn
the
> DEBUG flag on , if still possible. Thanks in adavnace.
> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
> news:dllc41$d5p$1@news.eclipse.org...
> > You need the amazing Device.DEBUG flag that does an XSynchronize() and
> > prints a stack trace when an X error occurs. Set this thing to true
> before
> > creating the Display. The problem is most likely in SWT so be sure to
> enter
> > a bug report with the stack trace when you are done. Good luck!
> >
> > "Mike Tabb" <mtabb@us.ibm.com> wrote in message
> > news:dll06s$sl6$1@news.eclipse.org...
> > > Currently in my app when I open a few dialogs and cancel them , I get:
> > > X Error of failed request: BadGC (invalid GC parameter)
> > > Major opcode of failed request: 56 (XChangeGC)
> > > Resource id in failed request: 0x360b729c
> > >
> > > The same app runs on windows fine and does not leak. It seems to be
> > > happening in the MOtif layer , but it is hard to debug. The correct
> > patches
> > > are applied to the aix system that eclipse requires.
> > >
> > >
> >
> >
>
>
Previous Topic:ControlTransfer ?
Next Topic:New data binding framework
Goto Forum:
  


Current Time: Mon Dec 09 04:14:27 GMT 2024

Powered by FUDForum. Page generated in 0.02866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top