Re: debugger freezes X + perl-Glib spec-file dependencies



breakpoint in "on_entry_activate" in the following script and then hit
"enter" in the combo box, X freezes.  ctl-alt-F1 works, and killing the
  That's  because there  are pointer/keyboard  grabs taking  place. When
these occur,  the window  manager doesn't receive  mouse/keyboard events
that are  instead directed only to  a specific window (the  popup of the
combo, in your case) even if, say,  the user clicks on another one. When
you kill the  app, the grabs are released and  X becomes responsive once
again.

  There are lots of posts on the subject, see for reference:
http://mail.gnome.org/archives/gnome-libs-devel/2001-December/msg00020.html
http://mail.gnome.org/archives/gtk-list/1999-November/msg00288.html

  You could debug from a VT, a second machine, or Xnest.

ciao,
-- 
Giuliano

#!/usr/bin/perl
$i=$j=$r=$b=-16.0;while((print"\n"),$b++<15){foreach$a(0..78){print
+(split //,' .:-;!/>)|&IH%*#')[$k&15];for($i=$k=$r=0;$j=$r*$r-$i*$i
-2+$a/25,$i=2*$r*$i+$b/10,$j*$j+$i*$i<11&&$k++<111;$r=$j){}}}



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