Réf. : Re: Crash at runtime (X Window System error) on Linux Xeon 64 bits

frederic.bron at alcan.com frederic.bron at alcan.com
Wed Jul 18 06:46:37 PDT 2007



Sorry for my previous message, it is not a problem with wxWidgets (wxGTK) but with openssh and cygwin.
I am logging to a remote linux server from windows/cygwin with ssh -X and this causes troubles. With ssh -Y it is fine !!! I do not really understand why but it works now.
Here is the link for others who could have the same problem: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
Thanks,
F. Bron





                                                                                                                                                                        
                      Vadim Zeitlin                                                                                                                                     
                      <vadim at wxwidgets.        Pour :    wx-users at lists.wxwidgets.org                                                                                   
                      org>                     cc :      (ccc : Frederic Bron/Alcan)                                                                                    
                                               Objet :   Re: Crash at runtime (X Window System error) on Linux Xeon 64 bits                                             
                      18/07/2007 14:52                                                                                                                                  
                      Veuillez répondre                                                                                                                                 
                      à wx-users                                                                                                                                        
                                                                                                                                                                        




On Wed, 18 Jul 2007 14:31:42 +0200 frederic.bron at alcan.com wrote:

> I have successfully compiled 2.8.4 on "Linux vorace1 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux"
> Then I can compile and link programs to the library but I get a runtime error when I click on the window title (here on sample/widgets):
>
> The program 'widgets' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
>   (Details: serial 7775 error_code 3 request_code 38 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 does this mean?

 You need to follow the advice of the error message and run the program
with --sync command line option under debugger and put a breakpoint on
gdk_x_error(). When the debugger stops there, do "bt" to see what's going
on, this should give some additional information.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org




Avis :
Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le
détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes
en tout ou en partie.

Notice:
This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error
please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.





More information about the wx-users mailing list