Heisenberg was right?



Hello, 

I'm having problems with a bug that I just can't really understand.
It's perfectly deterministic (always occurs under the same conditions)
but I have a way that seems really odd to make it disappear!!

Let me try to explain:
I'm using entry boxes both as inputs as outputs.
In one particular case, one of those outputs doesn't get 'refreshed'
properly and the app crashes with :

** WARNING **: invalid unclassed pointer in cast to `GtkEntry'

** ERROR **: sigsegv caught


This bug disappeared when I tried to see what happened, and added in 
the function that made the bad call a simple
printf("I'm here\n");

The bug vanishes! (is this what is called a Heisenbug? Changes behavior
when you try to observe it?)


I tried using gdb ,but I'm a bit unfamiliar with the tool. Is there
anything that I should be looking for?

manu
 
-- 
" In The Beginning Was The Word. 
  Then Came The Fucking Word Processor."
 
 The Poet - Hyperion



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]