URL:
<http://savannah.gnu.org/bugs/?39101>
Summary: valgrind finds errors in block/test.c
Project: GNU Scientific Library
Submitted by: psa
Submitted on: Tue 28 May 2013 05:50:41 PM GMT
Category: Runtime error
Severity: 3 - Normal
Operating System: all
Status: Confirmed
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
==8495== Syscall param write(buf) points to uninitialised byte(s)
==8495== at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==8495== by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==8495== by 0x3000871C19: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==8495== by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==8495== by 0x408C67: gsl_block_long_double_fwrite (fwrite_source.c:44)
==8495== by 0x403198: test_long_double_binary (test_source.c:85)
==8495== by 0x40431E: main (test.c:184)
==8495== Address 0x4cc097c is 12 bytes inside a block of size 16,432 alloc'd
==8495== at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==8495== by 0x405033: gsl_block_long_double_alloc (init_source.c:39)
==8495== by 0x4050C8: gsl_block_long_double_calloc (init_source.c:59)
==8495== by 0x40312F: test_long_double_binary (test_source.c:76)
==8495== by 0x40431E: main (test.c:184)
==8495==
==8495== Syscall param write(buf) points to uninitialised byte(s)
==8495== at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==8495== by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==8495== by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==8495== by 0x3000872ADF: _IO_file_close_it@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==8495== by 0x3000866777: fclose@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
==8495== by 0x4031A0: test_long_double_binary (test_source.c:87)
==8495== by 0x40431E: main (test.c:184)
==8495== Address 0x4c0e00c is not stack'd, malloc'd or (recently) free'd
==8495==
Completed [168/168]
==8495==
==8495== HEAP SUMMARY:
==8495== in use at exit: 0 bytes in 0 blocks
==8495== total heap usage: 224 allocs, 224 frees, 735,620 bytes allocated
==8495==
==8495== All heap blocks were freed -- no leaks are possible
==8495==
==8495== For counts of detected and suppressed errors, rerun with: -v
==8495== Use --track-origins=yes to see where uninitialised values come from
==8495== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 6 from 6)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39101>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/