bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #39103] valgrind finds errors in matrix/test.c


From: Patrick Alken
Subject: [Bug-gsl] [bug #39103] valgrind finds errors in matrix/test.c
Date: Tue, 28 May 2013 17:53:17 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

URL:
  <http://savannah.gnu.org/bugs/?39103>

                 Summary: valgrind finds errors in matrix/test.c
                 Project: GNU Scientific Library
            Submitted by: psa
            Submitted on: Tue 28 May 2013 05:53:16 PM GMT
                Category: Runtime error
                Severity: 3 - Normal
        Operating System: 
                  Status: Confirmed
             Assigned to: None
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any

    _______________________________________________________

Details:

==13577== Command: ./test
==13577== 
==13577== Syscall param write(buf) points to uninitialised byte(s)
==13577==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13577==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000871C19: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13577==    by 0x44C82F: gsl_block_long_double_raw_fwrite
(fwrite_source.c:92)
==13577==    by 0x41FC06: test_long_double_binary (test_source.c:689)
==13577==    by 0x42C76B: main (test.c:196)
==13577==  Address 0x4fdc2fc is 12 bytes inside a block of size 90,736
alloc'd
==13577==    at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==13577==    by 0x448C43: gsl_block_long_double_alloc (init_source.c:39)
==13577==    by 0x4310B8: gsl_matrix_long_double_alloc (init_source.c:47)
==13577==    by 0x431190: gsl_matrix_long_double_calloc (init_source.c:70)
==13577==    by 0x41FB38: test_long_double_binary (test_source.c:672)
==13577==    by 0x42C76B: main (test.c:196)
==13577== 
==13577== Syscall param write(buf) points to uninitialised byte(s)
==13577==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13577==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000872ADF: _IO_file_close_it@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000866777: fclose@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
==13577==    by 0x41FC10: test_long_double_binary (test_source.c:690)
==13577==    by 0x42C76B: main (test.c:196)
==13577==  Address 0x4c0e00c is not stack'd, malloc'd or (recently) free'd
==13577== 
==13577== Syscall param write(buf) points to uninitialised byte(s)
==13577==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13577==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x30008719CC: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13577==    by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13577==    by 0x44C82F: gsl_block_long_double_raw_fwrite
(fwrite_source.c:92)
==13577==    by 0x433215: gsl_matrix_long_double_fwrite (file_source.c:75)
==13577==    by 0x41F8ED: test_long_double_binary_noncontiguous
(test_source.c:740)
==13577==    by 0x42C83D: main (test.c:211)
==13577==  Address 0x4c0e00c is not stack'd, malloc'd or (recently) free'd
==13577== 
Completed [1012/1012]
==13577== 
==13577== HEAP SUMMARY:
==13577==     in use at exit: 0 bytes in 0 blocks
==13577==   total heap usage: 621 allocs, 621 frees, 6,923,322 bytes
allocated
==13577== 
==13577== All heap blocks were freed -- no leaks are possible
==13577== 
==13577== For counts of detected and suppressed errors, rerun with: -v
==13577== Use --track-origins=yes to see where uninitialised values come from
==13577== ERROR SUMMARY: 72 errors from 3 contexts (suppressed: 6 from 6)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39103>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]