This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.92 make check results under Linux PPC
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: Re: glibc 2.1.92 make check results under Linux PPC
- From: SL Baur <steve at turbolinux dot co dot jp>
- Date: 01 Sep 2000 16:03:37 +0900
- References: <200008132357.e7DNvXY20167@localhost.localdomain> <00081700512600.24956@enzo.bigblue.local> <200008162125.OAA10152@localhost.cygnus.com> <00081722172200.01158@enzo.bigblue.local> <m3sns3634y.fsf@otr.mynet.cygnus.com> <39AF1CF9.BD4A7FA@fuse.net> <m2snrkisls.fsf@dejima.jp.tlan> <m31yz4ocqt.fsf@otr.mynet.cygnus.com>
Ulrich Drepper <drepper@redhat.com> writes in libc-alpha@sourceware.cygnus.com:
> Then start debugging. It works just fine for me on x86.
I see.
Here's where the core dump is occurring:
#0 __gconv (cd=0x0, inbuf=0x11fffea60, inbufend=0x12000148c "",
outbuf=0x11fffea70, outbufend=0x11fffea60 "n", irreversible=0x11fffc300)
at gconv.c:34
34 size_t last_step = cd->__nsteps - 1;
(gdb) where
#0 __gconv (cd=0x0, inbuf=0x11fffea60, inbufend=0x12000148c "",
outbuf=0x11fffea70, outbufend=0x11fffea60 "n", irreversible=0x11fffc300)
at gconv.c:34
#1 0x2000003bc90 in iconv (cd=0x0, inbuf=0x11fffea60,
inbytesleft=0x11fffea68, outbuf=0x11fffea70, outbytesleft=0x11fffea78)
at iconv.c:53
#2 0x120000844 in main () at tst-loading.c:155
#3 0x2000003b450 in __libc_start_main (main=0x120000720 <main>, argc=1,
ubp_av=0x11fffeac8, init=0x1200005d0 <_init>, fini=0x1200009e0 <_fini>,
rtld_fini=0, stack_end=0x11fffeab0) at ../sysdeps/generic/libc-start.c:111
(gdb) print modules[idx]
$2 = {name = 0x120000a75 "ISO-8859-4", state = loaded, cd = 0x0}
It looks like iconv_open/__gconv_open can return NULL without
returning an error code.