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

Bug#214147: marked as done (iconv_open("L1","L1") causes conditional jump/move on uninitialized value)



At Mon, 3 May 2004 13:08:51 -0400,
Daniel Jacobowitz wrote:
> On Fri, Apr 30, 2004 at 06:48:04PM -0700, Debian Bug Tracking System wrote:
> > ==15689== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
> 
> 
> > 	=3D=3D10470=3D=3D ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 =
> > from 1)
> 
> I think this is not fixed, but merely suppressed by valgrind since so
> few people are interested in it.  Try valgrind -v to see which
> suppression triggered.

This is another problem which is hidden by valgrind suppression list.
I think it's not related with this iconv_open() issue.  Full log is:

	==29991== Memcheck, a memory error detector for x86-linux.
	==29991== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
	==29991== Using valgrind-2.1.1, a program supervision framework for x86-linux.
	==29991== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
	==29991== Valgrind library directory: /usr/lib/valgrind
	==29991== Command line
	==29991==    ./fixme
	==29991== Startup, with flags:
	==29991==    --tool=memcheck
	==29991==    -v
	==29991==    --
	==29991== Reading syms from /home/gotom/debian/custom/glibc/bugs/214147/fixme (0x8048000)
	==29991== Reading syms from /lib/ld-2.3.2.so (0x3C000000)
	==29991==    object doesn't have a symbol table
	==29991==    object doesn't have any debug info
	==29991== Reading syms from /lib/ld-2.3.2.so (0xB0000000)
	==29991==    object doesn't have a symbol table
	==29991==    object doesn't have any debug info
	==29991== Reading syms from /usr/lib/debug/libdl-2.3.2.so (0xB0018000)
	==29991== Reading syms from /usr/lib/debug/libc-2.3.2.so (0xB001B000)
	==29991== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB034F000)
	==29991== Reading syms from /usr/lib/valgrind/stage2 (0xB8000000)
	==29991== Reading suppressions file: /usr/lib/valgrind/default.supp
	==29991== REDIRECT soname:libc.so.6(__GI___errno_location) to soname:libpthread.so.0(__errno_location)
	==29991== REDIRECT soname:libc.so.6(__errno_location) to soname:libpthread.so.0(__errno_location)
	==29991== REDIRECT soname:libc.so.6(__GI___h_errno_location) to soname:libpthread.so.0(__h_errno_location)
	==29991== REDIRECT soname:libc.so.6(__h_errno_location) to soname:libpthread.so.0(__h_errno_location)
	==29991== REDIRECT soname:libc.so.6(__GI___res_state) to soname:libpthread.so.0(__res_state)
	==29991== REDIRECT soname:libc.so.6(__res_state) to soname:libpthread.so.0(__res_state)
	==29991== REDIRECT soname:libc.so.6(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
	==29991== REDIRECT soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen)
	==29991== REDIRECT soname:ld-linux.so.2(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
	==29991== REDIRECT soname:ld-linux.so.2(strchr) to *vgpreload_memcheck.so*(strchr)
	==29991== 
	==29991== Reading syms from /usr/lib/valgrind/vg_inject.so (0x3C01A000)
	==29991== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x3C01D000)
	==29991== Reading syms from /usr/lib/debug/libc-2.3.2.so (0x3C025000)
	==29991== TRANSLATE: 0x3C09C630 redirected to 0x3C01F160
	==29991== TRANSLATE: 0x3C09AC20 redirected to 0x3C01EC70
	==29991== Reading syms from /usr/lib/gconv/ISO8859-1.so (0x3C25A000)
	==29991==    object doesn't have a symbol table
	==29991==    object doesn't have any debug info
	==29991== discard syms at 0x3C25A000-0x3C25D000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
	==29991== 
	==29991== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 1)
	--29991-- 
	--29991-- supp:   13 Ugly strchr error in /lib/ld-2.3.2.so
	==29991== malloc/free: in use at exit: 32720 bytes in 2 blocks.
	==29991== malloc/free: 1927 allocs, 1925 frees, 102712 bytes allocated.
	==29991== 
	--29991--     TT/TC: 0 tc sectors discarded.
	--29991--            1873 chainings, 0 unchainings.
	--29991-- translate: new     2813 (46313 -> 626413; ratio 135:10)
	--29991--            discard 35 (498 -> 7768; ratio 155:10).
	--29991--  dispatch: 1450000 jumps (bb entries), of which 227416 (15%) were unchained.
	--29991--            86/7039 major/minor sched events.  2873 tt_fast misses.
	--29991-- reg-alloc: 579 t-req-spill, 116998+4221 orig+spill uis, 15124 total-reg-r.
	--29991--    sanity: 87 cheap, 4 expensive checks.
	--29991--    ccalls: 10569 C calls, 54% saves+restores avoided (34096 bytes)
	--29991--            14118 args, avg 0.86 setup instrs each (3696 bytes)
	--29991--            0% clear the stack (31707 bytes)
	--29991--            4596 retvals, 30% of reg-reg movs avoided (2722 bytes)

Regards,
-- gotom



Reply to: