Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » SWT_AWT Linux-GTK crash ?
SWT_AWT Linux-GTK crash ? [message #286855] Mon, 20 June 2005 12:26 Go to next message
DC is currently offline DCFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

I am facing a problem where I have embedded a SWING JTable in a JPanel in a
Frame inside a SWT Composite as suggested in
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet154.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

In fact, I have put this into a view inside Eclipse workbench.

I am using SWT-GTK on Linux, with Sun Java 1.5 and I am using X Display
manager on windows to access it.

I am getting these crash messages quite frequentely:

The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 838 error_code 3 request_code 15 minor_code 0)
(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.)


What could be causing this to occur ?

Thanks,
DC
Re: SWT_AWT Linux-GTK crash ? [message #286867 is a reply to message #286855] Mon, 20 June 2005 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: steve_northover.ca.ibm.com

Are you seeing this (possible bug in AWT)?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=74095


"DC" <mahesh.dc@philips.com> wrote in message
news:d96clj$4st$1@news.eclipse.org...
> Hi,
>
> I am facing a problem where I have embedded a SWING JTable in a JPanel in
a
> Frame inside a SWT Composite as suggested in
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet154.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
> In fact, I have put this into a view inside Eclipse workbench.
>
> I am using SWT-GTK on Linux, with Sun Java 1.5 and I am using X Display
> manager on windows to access it.
>
> I am getting these crash messages quite frequentely:
>
> The program '<unknown>' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
> (Details: serial 838 error_code 3 request_code 15 minor_code 0)
> (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.)
>
>
> What could be causing this to occur ?
>
> Thanks,
> DC
>
>
>
>
Re: SWT_AWT Linux-GTK crash ? [message #286887 is a reply to message #286867] Tue, 21 June 2005 05:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.net

Yeah, I am facing the same problem ... ?

Besides that, I get these errors at times:

java.lang.StackOverflowError
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)

Is there a solution for it ?


"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:d97629$761$1@news.eclipse.org...
> Are you seeing this (possible bug in AWT)?
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=74095
>
>
> "DC" <mahesh.dc@philips.com> wrote in message
> news:d96clj$4st$1@news.eclipse.org...
>> Hi,
>>
>> I am facing a problem where I have embedded a SWING JTable in a JPanel
>> in
> a
>> Frame inside a SWT Composite as suggested in
>>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet154.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>>
>> In fact, I have put this into a view inside Eclipse workbench.
>>
>> I am using SWT-GTK on Linux, with Sun Java 1.5 and I am using X Display
>> manager on windows to access it.
>>
>> I am getting these crash messages quite frequentely:
>>
>> The program '<unknown>' received an X Window System error.
>> This probably reflects a bug in the program.
>> The error was 'BadWindow (invalid Window parameter)'.
>> (Details: serial 838 error_code 3 request_code 15 minor_code 0)
>> (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.)
>>
>>
>> What could be causing this to occur ?
>>
>> Thanks,
>> DC
>>
>>
>>
>>
>
>
Re: SWT_AWT Linux-GTK crash ? [message #286933 is a reply to message #286887] Tue, 21 June 2005 20:33 Go to previous message
Eclipse UserFriend
Originally posted by: steve_northover.ca.ibm.com

I'm not sure it's the same problem but let's continue the discussion in the
bug report anyways.

"DC" <nospam@nospam.net> wrote in message
news:d987m4$5la$1@news.eclipse.org...
> Yeah, I am facing the same problem ... ?
>
> Besides that, I get these errors at times:
>
> java.lang.StackOverflowError
> at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
> at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
> at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
> at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
> at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
> at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
> at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
> at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
> at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
> at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
> at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
> at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
> at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
> at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
> at sun.awt.X11.XToolkit$1.handleError(XToolkit.java:159)
> at sun.awt.X11.XToolkit.GlobalErrorHandler(XToolkit.java:140)
> at sun.awt.X11.XlibWrapper.CallErrorHandler(Native Method)
> at sun.awt.X11.XToolkit.SAVED_ERROR_HANDLER(XToolkit.java:131)
>
> Is there a solution for it ?
>
>
> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
> news:d97629$761$1@news.eclipse.org...
> > Are you seeing this (possible bug in AWT)?
> >
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=74095
> >
> >
> > "DC" <mahesh.dc@philips.com> wrote in message
> > news:d96clj$4st$1@news.eclipse.org...
> >> Hi,
> >>
> >> I am facing a problem where I have embedded a SWING JTable in a JPanel
> >> in
> > a
> >> Frame inside a SWT Composite as suggested in
> >>
> >
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet154.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
> >>
> >> In fact, I have put this into a view inside Eclipse workbench.
> >>
> >> I am using SWT-GTK on Linux, with Sun Java 1.5 and I am using X Display
> >> manager on windows to access it.
> >>
> >> I am getting these crash messages quite frequentely:
> >>
> >> The program '<unknown>' received an X Window System error.
> >> This probably reflects a bug in the program.
> >> The error was 'BadWindow (invalid Window parameter)'.
> >> (Details: serial 838 error_code 3 request_code 15 minor_code 0)
> >> (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.)
> >>
> >>
> >> What could be causing this to occur ?
> >>
> >> Thanks,
> >> DC
> >>
> >>
> >>
> >>
> >
> >
>
>
Previous Topic:3.1rc2 update site problem
Next Topic:Can't Launch eclipse after working for about a Week?
Goto Forum:
  


Current Time: Tue Mar 19 10:44:42 GMT 2024

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

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

Back to the top