emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: reproducible cygwin memory problems


From: Eli Zaretskii
Subject: Re: reproducible cygwin memory problems
Date: Thu, 10 Aug 2006 06:15:31 +0300

> From: "emacs user" <address@hidden>
> Cc: address@hidden
> Bcc: 
> Date: Wed, 09 Aug 2006 18:13:24 -0400
> 
>   if (c && INTEGERP (Vimage_cache_eviction_delay))
>     {
>      fprintf(stderr, "I am here4\n");
>       EMACS_TIME t;
>       unsigned long old;
>       int i, nfreed;
> 
>       EMACS_GET_TIME (t);
>       old = EMACS_SECS (t) - XFASTINT (Vimage_cache_eviction_delay);
> 
>       /* Block input so that we won't be interrupted by a SIGIO
>        while being in an inconsistent state.  */
>       BLOCK_INPUT;
> 
>       for (i = nfreed = 0; i < c->used; ++i)
>       {
>      fprintf(stderr, "I am here5\n");
>         struct image *img = c->images[i];

Thanks.  Please also see if free_image is actually called:

      for (i = nfreed = 0; i < c->used; ++i)
        {
          struct image *img = c->images[i];
          if (img != NULL
              && (force_p || img->timestamp < old))
            {
             fprintf(stderr, "I am here6\n"); <<<<<<<<<<<
              free_image (f, img);
              ++nfreed;
            }
        }




reply via email to

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