guile-gtk-general
[Top][All Lists]
Advanced

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

Re: gtk-timeout-add function stalling


From: Andy Wingo
Subject: Re: gtk-timeout-add function stalling
Date: Sun, 10 Jan 2010 23:00:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Hi Paul,

On Sun 10 Jan 2010 15:52, Paul Emsley <address@hidden> writes:

> I am trying to update a progress bar that is downloading a file using
> libcurl in a thread.  I am doing that by adding a timeout function that
> every fraction of a second or so queries the status of the download
> (curl-progress-info).  However, after a number of rounds (somewhere
> between 100 or 250) the timeout function seems to hang - even partway
> through writing a debugging text. (The thread downloading the file
> continues.)  Why does the timeout function stalling?

Can you attach to the process in GDB and post a backtrace?

$ gdb /path/to/guile PID-OF-PROCESS

Then at the prompt:

thread apply all bt

Thanks,

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]