This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.1.92 make check results under Linux PPC


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]