bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #39105] valgrind finds errors in ntuple/test.c


From: Patrick Alken
Subject: [Bug-gsl] [bug #39105] valgrind finds errors in ntuple/test.c
Date: Tue, 28 May 2013 17:55:47 +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/?39105>

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

    _______________________________________________________

Details:

==13627== Command: ./test
==13627== 
==13627== Syscall param write(buf) points to uninitialised byte(s)
==13627==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13627==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x30008719CC: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13627==    by 0x40111B: gsl_ntuple_write (ntuple.c:98)
==13627==    by 0x400DE6: main (test.c:70)
==13627==  Address 0x4c0e004 is not stack'd, malloc'd or (recently) free'd
==13627== 
==13627== Syscall param write(buf) points to uninitialised byte(s)
==13627==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13627==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x3000872ADF: _IO_file_close_it@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13627==    by 0x3000866777: fclose@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
==13627==    by 0x400FAB: gsl_ntuple_close (ntuple.c:192)
==13627==    by 0x400E17: main (test.c:79)
==13627==  Address 0x4c0e004 is not stack'd, malloc'd or (recently) free'd
==13627== 
Completed [3/3]
==13627== 
==13627== HEAP SUMMARY:
==13627==     in use at exit: 0 bytes in 0 blocks
==13627==   total heap usage: 9 allocs, 9 frees, 3,408 bytes allocated
==13627== 
==13627== All heap blocks were freed -- no leaks are possible
==13627== 
==13627== For counts of detected and suppressed errors, rerun with: -v
==13627== Use --track-origins=yes to see where uninitialised values come from
==13627== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 6 from 6)





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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