> > > BUT... When I comment the large loading of data, it do not > > crash anymore..., > > Also I tried to make the loading of data at the beginning of > > the exe, and it runs without problems... > > > > Does it make sense to you? because it does not for me... > > > This sounds a lot like an incorrectly initialised pointer or a too-small > buffer allocation. > You are overwriting some resource somewhere.
I agree with you, it sounded like that too me too... But I don't think it is the explanation... because I am using this code since a long time (>1Year) and I never observed any problem of that kind... The code was using GLUT so now I am changing it to use FLTK... The first tried I did, is just to run my code as it is in a unique FLTK window --> and It worked like a charm... Now I am changing the implementation in order to use more windows. But here it crash... So I suspect something more subtile that just a badly initialized variable > What does the debugger say when you run your code through it? > If there is an overflow or misallocation I'd expect the debugger would > at least be giving you some indication of what was awry? It point me to the unlock function (which is a clue to the NULL pointer), but don't want to tell more because I am using some libs that have not the debug information under windows... I will try the debugger under linux if the problem persist... I suspect that indeed I am overwriting some ressources somewhere... But I think those ressources are FLTK's ressources... When overwritting of ressources can happens? Loic, > SELEX Sensors and Airborne Systems Limited > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 > 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. > ******************************************************************** > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

