Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GDB - EMERGE] créer un point d'arret en gdk_x_error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
gRRosminet
n00b
n00b


Joined: 11 Feb 2006
Posts: 19

PostPosted: Wed Aug 30, 2006 10:39 am    Post subject: [GDB - EMERGE] créer un point d'arret en gdk_x_error Reply with quote

Bonjour/Bonsoir

Voila, je suis en train d'écrire une application en wxGTK (destinée a etre portée sur mac et msw) et depuis que j'ai rajouté quelques grains de sel à la sauce histoire de me compliquer la tache, je vois parfois une erreur qui ne m'aide pas beaucoup ....

Quote:
The program 'xpe' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 10323 error_code 2 request_code 53 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.)


Cette fois la ca a été cette erreur la mais le serial et autres varient suivant les cas. La premiere que j'ai eue etait due a des contraintes à 0, mais j'ai vraiement trouvé la source par hasard.


Première question : Est-ce que quelqu'un saurrait me dire ou trouver de la documentation sur ces erreurs ( j'ai bien demandé a google mais il n'a pas voulu etre mon ami :-( ) ?

Deuxieme question : Comment faire pour avoir acces a la fonction gdk_x_error ? Pour l'instant j'ai essayé cela :
Code:

gdb monexecutable                    démarre GDB en lui indiquant quel prog débugger
> ...
> break gdk_x_error                    ajoute un point d'arret dur le symbole gdk_x_error

mais ca me rétorque que la fonction gdk_x_error est introuvable 8O
J'ai donc essayé de remerger GTK avec les symboles de debug, mais en vain (USE="DEBUG" emerge gtk+) .. a croire que emerge a tout de meme fait un strip :?


Voila, donc si vous avez réponse a l'une de ces deux question, je vous en serait bien reconnaissant ^^

Merci d'avance !


Last edited by gRRosminet on Fri Sep 08, 2006 8:47 am; edited 2 times in total
Back to top
View user's profile Send private message
gRRosminet
n00b
n00b


Joined: 11 Feb 2006
Posts: 19

PostPosted: Fri Sep 08, 2006 8:22 am    Post subject: Reply with quote

vous n'avez vraiement aucune idée ? :?
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Sep 08, 2006 8:36 am    Post subject: Reply with quote

Salut,

bon c'est juste un lien vers la page web du site de wxgtk section "support", peut être poura-tu te relancer....

http://wxwidgets.org/support/

sinon, pour ton titre, pourrais-tu le mettre en conformité avec nos règles s'il te plaît ; section 3.3 ici. Voilà merci.
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
gRRosminet
n00b
n00b


Joined: 11 Feb 2006
Posts: 19

PostPosted: Fri Sep 08, 2006 8:46 am    Post subject: Reply with quote

Mon probleme ne vien pas de wx, mais bien de comment emerger les libs de manière a pouvoir créer le point d'arret voulu

Merci quand meme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum