bugGNU Scientific Library - Bugs: bug #39101, valgrind finds errors in...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #39101: valgrind finds errors in block/test.c

Submitted by:  Patrick Alken <psa>
Submitted on:  Tue 28 May 2013 05:50:41 PM UTC  
 
Category: Runtime errorSeverity: 3 - Normal
Operating System: allStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: 

Wed 17 Jul 2013 08:25:03 PM UTC, comment #1:

fixed in revision 4839

Patrick Alken <psa>
Project Administrator
Tue 28 May 2013 05:50:41 PM UTC, original submission:

==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)

Patrick Alken <psa>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psa (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Jul 2013 08:25:03 PM UTCpsaStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup