Re: Problem building Garnome 0.21.0 on Red Hat 8.0
- From: Weiqi Gao <weiqigao networkusa net>
- To: garnome-list gnome org
- Subject: Re: Problem building Garnome 0.21.0 on Red Hat 8.0
- Date: 07 Feb 2003 21:22:14 -0600
On Fri, 2003-02-07 at 20:30, Weiqi Gao wrote:
>
> I had the same problem while I was building yesterday on Red Hat 8.0.
> This happened when building the fontconfig package. The hanging program
> in called fc-list. There were no dist activities. Fc-list is doing 95%
> CPU, most probably in an infinite loop.
Running fc-list in gdb leads to the following problem:
At garnome-0.21.0/misc/freetype/work/freetype-2.1.3/src/gzip/ftgzip.c
lines 449-471:
for (;;)
{
FT_ULong delta;
delta = (FT_ULong)( zip->limit - zip->cursor );
if ( delta >= count )
delta = count;
FT_MEM_COPY( buffer, zip->cursor, delta );
buffer += delta;
result += delta;
zip->cursor += delta;
zip->pos += delta;
count -= delta;
if ( count == 0 )
break;
error = ft_gzip_file_fill_output( zip );
if (error)
break;
}
we have an infinite loop:
(gdb) n
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb) n
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb) n
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
3: delta = 0
2: count = 6
(gdb)
--
Weiqi Gao
weiqigao networkusa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]