Problem with OpenGL on new X serverl
Your patch doesn't fix the SEGV. I know this is off-topic but can you tell me if there is a simple way to compile in debug mode using cygport ? 2008/11/21 [EMAIL PROTECTED]: Florent Fievez wrote: Debugger is not very useful because the binaries are stripped. Is there a debug version somewhere or should i recompile it myself to have it ? Hi Florent, Thanks for the bug report. Ignore the GetWindowProp - pWin or name was NULL, this is just log spam and a red herring. As you have surmised, the problem is GLX related. There are some reports of remote GLX clients working (Ubuntu 8.10), so perhaps it is related to the client being built for an older version of the GLX extension... If you are able to rebuild the X server yourself, could you confirm that the attached patch fixes the crash (GL is still broken, though, it looks like the something isn't initialized correctly...) Rebuilding the source *should* be as simple as: 1) Run cygwin setup, select cygport,the xorg-server source package, and the packages for the build-time dependencies and devel packages corresponding to run-time dependencies listed in /usr/share/doc/Cygwin/usr/share/doc/Cygwin 2) cd /usr/src/ 3) cygport xorg-server-1.5.3-3.cygport prep compile I have made a start at updating http://x.cygwin.com/docs/cg/cygwin-x-cg.html, so you may find that helpful, but it still needs more work so don't take it as gospel. 2008/11/21 Florent Fievez [EMAIL PROTECTED]: After a grep in the sources, I see the error is from file cygwin-net_wm_icon-support.patch. But i'm not sure that the error is in relation with the crash. I will try to run the program under a debugger. 2008/11/21 Florent Fievez [EMAIL PROTECTED]: Hello, I have a crash when opening OpenGL. I have the same configuration than you : ssh -X host ; XWin with glx extension activated. Some of my investigations : 1. It's not caused by the X client OS (SunOS and Linux give the same crash) 2. It's not a problem with our application, glxinfo produce the same problem 3. It seems that the message GetWindowProp - pWin or name was NULL is displayed before the crash, see my log in attachement. I will download and check the XWin sources but I have not a lot of time for debugging it so if someone have the same problem or want to help me ... Best regards, 2008/11/20 Yaakov (Cygwin Ports) [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florent Fievez wrote: I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? I see that you do have the libGL1 package installed. Could you please review my results with GLX: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html If you are still having issues, please attach your /var/log/XWin.log as well. Cygwin/X: GLX crash workaround Paper over the cracks. Avoid a crash when we have a broken context. Appears to be related to remote clients built for earlier GLX versions --- xserver/glx/single2.c |1 + 1 file changed, 1 insertion(+) Index: xorg-server-1.5.3/xserver/glx/single2.c === --- xorg-server-1.5.3.orig/xserver/glx/single2.c +++ xorg-server-1.5.3/xserver/glx/single2.c @@ -357,6 +357,7 @@ int DoGetString(__GLXclientState *cl, GL string = buf; } else if ( name == GL_VERSION ) { +if (string == NULL) { string = unknown; } if ( atof( string ) atof( GLServerVersion ) ) { buf = xalloc( strlen( string ) + strlen( GLServerVersion ) + 4 ); if ( buf == NULL ) { -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Florent Fievez [EMAIL PROTECTED] -- Florent Fievez [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
Florent Fievez wrote: Your patch doesn't fix the SEGV. :-( Maybe you could try the follow up patch from http://cygwin.com/ml/cygwin-xfree/2008-11/msg00319.html I know this is off-topic but can you tell me if there is a simple way to compile in debug mode using cygport ? I think adding a line saying CFLAGS=-g -O0 to the .cygport file should work 2008/11/21 [EMAIL PROTECTED]: Florent Fievez wrote: Debugger is not very useful because the binaries are stripped. Is there a debug version somewhere or should i recompile it myself to have it ? Hi Florent, Thanks for the bug report. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
Hello, I have a crash when opening OpenGL. I have the same configuration than you : ssh -X host ; XWin with glx extension activated. Some of my investigations : 1. It's not caused by the X client OS (SunOS and Linux give the same crash) 2. It's not a problem with our application, glxinfo produce the same problem 3. It seems that the message GetWindowProp - pWin or name was NULL is displayed before the crash, see my log in attachement. I will download and check the XWin sources but I have not a lot of time for debugging it so if someone have the same problem or want to help me ... Best regards, 2008/11/20 Yaakov (Cygwin Ports) [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florent Fievez wrote: I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? I see that you do have the libGL1 package installed. Could you please review my results with GLX: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html If you are still having issues, please attach your /var/log/XWin.log as well. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkklq4sACgkQpiWmPGlmQSMyxACfYTZO01vhKNcYgDSJXRsB5536 niQAoMygFXaaFuXEdLc5HVXgaR2giskK =SSZv -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Florent Fievez [EMAIL PROTECTED] XWin.0.log Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
--- Florent Fievez ha scritto: Hello, I have a crash when opening OpenGL. I have the same configuration than you : ssh -X host ; XWin with glx extension activated. Some of my investigations : 1. It's not caused by the X client OS (SunOS and Linux give the same crash) 2. It's not a problem with our application, glxinfo produce the same problem 3. It seems that the message GetWindowProp - pWin or name was NULL is displayed before the crash, see my log in attachement. I don't think 3 is related to you crash. I see multiple lines with GetWindowProp - pWin or name was NULL for any window that I create, not only GL related. 6 lines for glxgears and gnuplot 8 lines for rxvt And I have no crash -- Florent Fievez Regards Marco Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport: http://www.flickr.com/groups/iofotografoevideo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
Debugger is not very useful because the binaries are stripped. Is there a debug version somewhere or should i recompile it myself to have it ? 2008/11/21 Florent Fievez [EMAIL PROTECTED]: After a grep in the sources, I see the error is from file cygwin-net_wm_icon-support.patch. But i'm not sure that the error is in relation with the crash. I will try to run the program under a debugger. 2008/11/21 Florent Fievez [EMAIL PROTECTED]: Hello, I have a crash when opening OpenGL. I have the same configuration than you : ssh -X host ; XWin with glx extension activated. Some of my investigations : 1. It's not caused by the X client OS (SunOS and Linux give the same crash) 2. It's not a problem with our application, glxinfo produce the same problem 3. It seems that the message GetWindowProp - pWin or name was NULL is displayed before the crash, see my log in attachement. I will download and check the XWin sources but I have not a lot of time for debugging it so if someone have the same problem or want to help me ... Best regards, 2008/11/20 Yaakov (Cygwin Ports) [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florent Fievez wrote: I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? I see that you do have the libGL1 package installed. Could you please review my results with GLX: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html If you are still having issues, please attach your /var/log/XWin.log as well. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkklq4sACgkQpiWmPGlmQSMyxACfYTZO01vhKNcYgDSJXRsB5536 niQAoMygFXaaFuXEdLc5HVXgaR2giskK =SSZv -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Florent Fievez [EMAIL PROTECTED] -- Florent Fievez [EMAIL PROTECTED] -- Florent Fievez [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
Florent Fievez wrote: Debugger is not very useful because the binaries are stripped. Is there a debug version somewhere or should i recompile it myself to have it ? Hi Florent, Thanks for the bug report. Ignore the GetWindowProp - pWin or name was NULL, this is just log spam and a red herring. As you have surmised, the problem is GLX related. There are some reports of remote GLX clients working (Ubuntu 8.10), so perhaps it is related to the client being built for an older version of the GLX extension... If you are able to rebuild the X server yourself, could you confirm that the attached patch fixes the crash (GL is still broken, though, it looks like the something isn't initialized correctly...) Rebuilding the source *should* be as simple as: 1) Run cygwin setup, select cygport,the xorg-server source package, and the packages for the build-time dependencies and devel packages corresponding to run-time dependencies listed in /usr/share/doc/Cygwin/usr/share/doc/Cygwin 2) cd /usr/src/ 3) cygport xorg-server-1.5.3-3.cygport prep compile I have made a start at updating http://x.cygwin.com/docs/cg/cygwin-x-cg.html, so you may find that helpful, but it still needs more work so don't take it as gospel. 2008/11/21 Florent Fievez [EMAIL PROTECTED]: After a grep in the sources, I see the error is from file cygwin-net_wm_icon-support.patch. But i'm not sure that the error is in relation with the crash. I will try to run the program under a debugger. 2008/11/21 Florent Fievez [EMAIL PROTECTED]: Hello, I have a crash when opening OpenGL. I have the same configuration than you : ssh -X host ; XWin with glx extension activated. Some of my investigations : 1. It's not caused by the X client OS (SunOS and Linux give the same crash) 2. It's not a problem with our application, glxinfo produce the same problem 3. It seems that the message GetWindowProp - pWin or name was NULL is displayed before the crash, see my log in attachement. I will download and check the XWin sources but I have not a lot of time for debugging it so if someone have the same problem or want to help me ... Best regards, 2008/11/20 Yaakov (Cygwin Ports) [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florent Fievez wrote: I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? I see that you do have the libGL1 package installed. Could you please review my results with GLX: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html If you are still having issues, please attach your /var/log/XWin.log as well. Cygwin/X: GLX crash workaround Paper over the cracks. Avoid a crash when we have a broken context. Appears to be related to remote clients built for earlier GLX versions --- xserver/glx/single2.c |1 + 1 file changed, 1 insertion(+) Index: xorg-server-1.5.3/xserver/glx/single2.c === --- xorg-server-1.5.3.orig/xserver/glx/single2.c +++ xorg-server-1.5.3/xserver/glx/single2.c @@ -357,6 +357,7 @@ int DoGetString(__GLXclientState *cl, GL string = buf; } else if ( name == GL_VERSION ) { +if (string == NULL) { string = unknown; } if ( atof( string ) atof( GLServerVersion ) ) { buf = xalloc( strlen( string ) + strlen( GLServerVersion ) + 4 ); if ( buf == NULL ) { -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Problem with OpenGL on new X serverl
Hello, I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? Or in alternative, can I revert update to reinstall the old version of X server before 11/11 upgrade ? Thank you in advance, -- Florent Fievez [EMAIL PROTECTED] cygcheck.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with OpenGL on new X serverl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florent Fievez wrote: I have a problem running new X server 1.5.3 with openGL. Since this update, X crash when launching an OpenGL client from SunOS server. Since the application we are developing use OpenGL, it's a big problem for me (I have to use an exceed commercial xserver for testing our application). So is there a known solution, patch or other to this issue ? I see that you do have the libGL1 package installed. Could you please review my results with GLX: http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html If you are still having issues, please attach your /var/log/XWin.log as well. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkklq4sACgkQpiWmPGlmQSMyxACfYTZO01vhKNcYgDSJXRsB5536 niQAoMygFXaaFuXEdLc5HVXgaR2giskK =SSZv -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/