On 2008-11-13, MacArthur, Ian (SELEX GALILEO, UK) <[EMAIL PROTECTED]> wrote: > > > Well, this is where it gets tricky. > > Answering question (2) first, I'd say it is not widget at all, since we > can pretty safely assume that no widgets will have been allocated with > an address as low as 0x3... > > It is most likely that you have a widget pointer somewhere that is > either entirley un-initialised, or which has been over-written with the > value 3 for some reason. > > I'd tend towards the "accidental over-writing with 3 option", and fish > about in the code to see where that might happen. > Un-initilaised pointers tend to be either 0 (if they have static scope) > or some random value (if they are stack automatic.) > However, if you are creating widgets on the stack, and something else on > the stack previoulsy was a 3, then... > > Are you creating widgets on the stack? If so, try making them static > instead to see if your segfualt suddenly becomes a 0x0 rather than an > 0x3 ! >
what does it mean to create widget on the stack? dynamically create widgets? if so, no. complete ui is done in fluid. and there is no widget soccer going on :) anyway, you know what? i tried different svn revisions. i went back 5 revisions and went up one by one. the first one (five earlier) was ok, the second was ok, so was the third and the fourth too! and now, all of a sudden, HEAD is working again...yay!? doesnt make me feel very comfortable. what when i reboot? hehe...oh well...what was that? hmm... weird thing is...i went to windows in between and it got the flu too. but it was a little different in windows: it worked when i launched the app in gdb. that wasnt the case in linux. but it segfaultet like in did in linux when NOT run in gdb. this is strange...isnt it? i will now go back to windows and see what i can fix there by switching svn revisions around *g* :> hey, thats at least uncomplicated ;) jan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

