Bug with glarea and gtk2 from a mac on ssh -Y

Kevin Quennesson <[email protected]> Thu, 6 Oct 2005 22:09:36 -0400
Newsgroups gmane.comp.gnome.gtkglarea
Message-ID <[email protected]>
--===============1586234032==
Content-Type: multipart/alternative; boundary=Apple-Mail-2-19921015


--Apple-Mail-2-19921015
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


I have the following error whenever I try to launch a program using  
gtk2 with a glarea over ssh -Y from a mac (running Tiger):
"
The program 'mainGL.exe' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
   (Details: serial 2213 error_code 8 request_code 150 minor_code 5)
   (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.)
"
It works fine however fine from a linux machine.

Also, on a mac, I have no problem with glut, tk, or gtk1: they work  
all great. Just g tk2, openGL on a mac seems to be a problem...

Any idea?

Any help is highly appreciated!

Kevin Q.



___Kevin Quennesson___
[email protected]
www.kevinquennesson.com
+1 (650) 815-1215



--Apple-Mail-2-19921015
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><BR =
class=3D"khtml-block-placeholder"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have the =
following error whenever I try to launch a program using gtk2 with a =
glarea over ssh -Y from a mac (running Tiger):</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">"</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">The program 'mainGL.exe' =
received an X Window System error.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This probably =
reflects a bug in the program.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The error was =
'BadMatch (invalid parameter attributes)'.</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">=A0 =
(Details: serial 2213 error_code 8 request_code 150 minor_code =
5)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">=A0 (Note to programmers: normally, X errors =
are reported asynchronously;</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">=A0=A0 that =
is, you will receive the error a while after causing it.</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">=A0=A0 To debug your program, run it with the --sync =
command line</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">=A0=A0 option to change this =
behavior. You can then get a meaningful</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">=A0=A0 =
backtrace from your debugger if you break on the gdk_x_error() =
function.)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">"</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It works =
fine however fine from a linux machine.</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Also, on a =
mac, I have no problem with glut, tk, or gtk1: they work all great. Just =
g tk2, openGL on a mac seems to be a problem...</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Any =
idea?</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Any help is highly appreciated!</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Kevin =
Q.</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><BR><BR><DIV> =
<SPAN class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><DIV>___Kevin =
Quennesson___</DIV><DIV><A =
href=3D"mailto:[email protected]"><SPAN =
class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 238); =
-khtml-text-decorations-in-effect: underline; =
">[email protected]</SPAN></A></DIV><DIV>www.kevinquennes=
son.com</DIV><DIV>+1 (650) 815-1215</DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>=

--Apple-Mail-2-19921015--


--===============1586234032==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
GtkGlArea-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglarea-list

--===============1586234032==--