[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [bug #39102] valgrind finds errors in vector/test.c
From: |
Patrick Alken |
Subject: |
[Bug-gsl] [bug #39102] valgrind finds errors in vector/test.c |
Date: |
Tue, 28 May 2013 17:52: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/?39102>
Summary: valgrind finds errors in vector/test.c
Project: GNU Scientific Library
Submitted by: psa
Submitted on: Tue 28 May 2013 05:52:16 PM GMT
Category: Runtime error
Severity: 3 - Normal
Operating System:
Status: Confirmed
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
==13566== Command: ./test
==13566==
==13566== Syscall param write(buf) points to uninitialised byte(s)
==13566== at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13566== by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000872ADF: _IO_file_close_it@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000866777: fclose@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
==13566== by 0x41DB0E: test_long_double_file (test_source.c:731)
==13566== by 0x42A851: main (test.c:195)
==13566== Address 0x4c0e00c is not stack'd, malloc'd or (recently) free'd
==13566==
==13566== Syscall param write(buf) points to uninitialised byte(s)
==13566== at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13566== by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000871C19: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13566== by 0x43FE6F: gsl_block_complex_long_double_raw_fwrite
(fwrite_source.c:92)
==13566== by 0x4276E1: test_complex_long_double_file
(test_complex_source.c:652)
==13566== by 0x42A8CE: main (test.c:206)
==13566== Address 0x5158edc is 12 bytes inside a block of size 5,600 alloc'd
==13566== at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==13566== by 0x43C223: gsl_block_complex_long_double_alloc
(init_source.c:39)
==13566== by 0x42E8C7: gsl_vector_complex_long_double_alloc
(init_source.c:40)
==13566== by 0x42E968: gsl_vector_complex_long_double_calloc
(init_source.c:64)
==13566== by 0x4270BF: create_complex_long_double_vector
(test_complex_source.c:33)
==13566== by 0x427648: test_complex_long_double_file
(test_complex_source.c:636)
==13566== by 0x42A8CE: main (test.c:206)
==13566==
==13566== Syscall param write(buf) points to uninitialised byte(s)
==13566== at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13566== by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x30008719CC: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13566== by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13566== by 0x43FE20: gsl_block_complex_long_double_raw_fwrite
(fwrite_source.c:105)
==13566== by 0x4276E1: test_complex_long_double_file
(test_complex_source.c:652)
==13566== by 0x42A8CE: main (test.c:206)
==13566== Address 0x4c0e00c is not stack'd, malloc'd or (recently) free'd
==13566==
Completed [33743/33743]
==13566==
==13566== HEAP SUMMARY:
==13566== in use at exit: 0 bytes in 0 blocks
==13566== total heap usage: 23,828 allocs, 23,828 frees, 29,727,484 bytes
allocated
==13566==
==13566== All heap blocks were freed -- no leaks are possible
==13566==
==13566== For counts of detected and suppressed errors, rerun with: -v
==13566== Use --track-origins=yes to see where uninitialised values come from
==13566== ERROR SUMMARY: 94 errors from 3 contexts (suppressed: 6 from 6)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39102>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gsl] [bug #39102] valgrind finds errors in vector/test.c,
Patrick Alken <=