Re: Inifinite loop with gdict and latest gtk/glib



Kevin Vandersloot <kfv101 psu edu> writes:
Hi there. I'm investigating gdict bug #72822
http://bugzilla.gnome.org/show_bug.cgi?id=72822

It appears that whenever doing a lookup gdict will go into an infinite
loop. When I run it in a debugger it seems to be stuck in glib main loop
functions and the cpu usage is at 100%. Furthermore it doesn't seem to
happen consitently for everyone. The gdict code here hasn't changed for
a while and it used to work okay.

The gdict source (dict.c) uses GIOChannel to connect to the dict.org
server.

So my question is: Does anyone have an idea why this may happen? I
appreciate any help.


If you close the file descriptor your IOChannel is connected to, then
input handlers attached to the IOChannel will start to run
continuously. Maybe that's it?

Havoc



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