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

 
 

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

bug #41457: valgrind finds errors in matrix/test.c

Submitter:  Patrick Alken <psa>
Submitted:  Tue 04 Feb 2014 05:13:51 PM UTC
   
 
Category:  Runtime error Severity:  3 - Normal
Operating System:  Status:  None
Assigned to:  None Open/Closed:  Open
Release: 

Tue 04 Feb 2014 05:13:51 PM UTC, original submission:  

This is related to bug #39103. I changed the gsl_block_alloc call back to malloc from calloc for the block data. Its better to memset the data block to 0 in the vector/matrix calloc calls.

the vector_calloc memset works ok, but for some reason the matrix_calloc memset doesn't initialize the padding bytes correctly, and valgrind finds uninitialized errors in the long_double_fwrite routine.

Patrick Alken <psa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code