Hello!
>
> > Does anyone have a clue?
>
> Mysterious indeed.
> No idea what it is, but to debug it maybe:
>
> - if it is to do with the way you use fltk, can you compile/run the same
> code on a desktop machine (maybe with valgrind or similar, if it is a
> memory issue) and see if it manifests the same error? If the fault is
> reproducible elsewhere, it might be easier to pin down.
>


Yeah, I think it's a good idea. I'm already running my app with valgrind in 
desktop. The problem is that is very hard to reproduce. I will try to write 
some random key generator to see if the bug happens again. I posted here just 
to check, because I don't think it's fltk, and also I already seen some 
mysterious bugs like that with QT. Could be something regarding linux, I don't 
know exactly how fltk communicates with X, but there should be some 
pipe/socket/queue. The error could be in the interprocess communication.

> - can you run gdb on your target and get it to break on the first >error.
> A backtrace at that point *might* show where things were when it went
> awry?

That's another good idea, I think I can setup remote gdb and with the source of 
fltk I could see where It gets lost.

>
> - memory leaks?

We got another symptom in our environment when we have memory leak.( linux 
kills X server) and I have the application consumption checked in the current 
version of my SW. When I said it could be memory problems I meant physical 
problems in my memory. I will run memtest to check the memory.

>
> - something else...
>
>
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
Thank you very much, I will keep trying...
Best regards,
J. Marcelo Auler


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to