This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: `make check' failure in 2.1.93
Ulrich Drepper <drepper@redhat.com> writes in libc-alpha@sourceware.cygnus.com:
> SL Baur <steve@turbolinux.co.jp> writes:
>> Memory not freed:
>> -----------------
>> Address Size Caller
>> 000000000000000000 0x7f80 at /home/work/turbo/BUILD/libc/build-alpha-linux/libc.so.6.1:(iconv_close+0x898)[0x2000003c648]
>>
>> Nil? Is this the failed malloc?
> Seems so.
O.K.
I haven't been able to make it fail inside the debugger. I've
converted the soft out-of-memory error returns to abort()s and now I
have another core to play with. What kinds of things am I looking for?
(gdb) where
#0 0x20000053048 in __kill () at __kill:2
#1 0x20000052d58 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x20000054bf4 in abort () at ../sysdeps/generic/abort.c:88
#3 0x2000003c654 in __gconv_open (toset=0x11fffc2d0 "UTF-8//", fromset=0x0,
handle=0x11fffc300, flags=0) at gconv_open.c:260
#4 0x2000003bb10 in iconv_open (tocode=0x11fffc2d0 "UTF-8//",
fromcode=0x11fffc2b0 "ISO-8859-4//") at iconv_open.c:88
#5 0x1200007e8 in main () at tst-loading.c:143
#6 0x2000003b430 in __libc_start_main (main=0x120000720 <main>, argc=1,
ubp_av=0x11fffeac8, init=0x1200005d0 <_init>, fini=0x1200009e0 <_fini>,
rtld_fini=0x12d9, stack_end=0x11fffeab0)
at ../sysdeps/generic/libc-start.c:111
(gdb) print size
$2 = 32640
Hmm. This is much larger than the static buffer in tst-loading.c.
Could that be a problem?