Cuda libraries have memory errors

Whilst using Valgrind to (successfully) find a memory issue, I notice the cuda libraries throw many errors, should these be reported somewhere?

I am not actually running any cuda kernels in the following run, just querying devices and sending data, so I expect there are quite a few

issues in the libs I haven’t seen yet!

Simon

==10521== Memcheck, a memory error detector

==10521== Copyright © 2002-2010, and GNU GPL’d, by Julian Seward et al.

==10521== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info

==10521== Command: ./combined

==10521==

==10521== Warning: set address range perms: large range [0x800000000, 0xe00000000) (noaccess)

==10521== Thread 2:

==10521== Conditional jump or move depends on uninitialised value(s)

==10521== at 0x357052742B: __strspn_sse42 (in /lib64/libc-2.14.so)

==10521== by 0x5EF2FF9: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB25F8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EF2FFE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB25F8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EF2FFE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EF30F4: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EF30A4: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Conditional jump or move depends on uninitialised value(s)

==10521== at 0x5EF30C5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF444C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Conditional jump or move depends on uninitialised value(s)

==10521== at 0x5EF4450: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C4286B: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C49649: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EFC790: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC3C8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EFC7AD: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC3C8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x4A079B4: strcmp (mc_replace_strmem.c:538)

==10521== by 0x5EFC8A8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC3E8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x4A079DD: strcmp (mc_replace_strmem.c:538)

==10521== by 0x5EFC8A8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC3E8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EFC790: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC43E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Use of uninitialised value of size 8

==10521== at 0x5EFC7AD: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EFC43E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF443F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF525E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB2DCE: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBAF5A: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5E08988: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x4C38905: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C43ABA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521== by 0x4C3CDDA: ??? (in /usr/local/cuda/lib64/libcudart.so.4.0.17)

==10521==

==10521== Conditional jump or move depends on uninitialised value(s)

==10521== at 0x60F23B3: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x60F4E80: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x60F59D8: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x61C2C0F: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x61D27A9: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5F366F1: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EB7A8E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EF627C: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBBBD0: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EBB04E: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5EAE6A5: ??? (in /usr/lib64/libcuda.so.280.13)

==10521== by 0x5D91523: ??? (in /usr/lib64/libcuda.so.280.13)

==10521==