cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nibal
Challenger

Bad read in latest crimson driver 15.302?

Using ubuntu 14.04 x64. Valgrind reports:

==00:00:00:38.807 4117== Invalid read of size 8
==00:00:00:38.807 4117== at 0x11474E5C: ??? (in /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so)
==00:00:00:38.807 4117== by 0x1056640A: ??? (in /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so)
==00:00:00:38.807 4117== by 0x10563821: ??? (in /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so)
==00:00:00:38.807 4117== by 0xBC5C5D8: aclCompile (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB31B984: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB33D18B: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2EAB4E: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2FA8EB: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2E7966: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB324131: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB325206: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB325395: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2E575F: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2FF2F6: ??? (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0xB2CFE52: clIcdGetPlatformIDsKHR (in /usr/lib/libamdocl64.so)
==00:00:00:38.807 4117== by 0x5EAD77D: ??? (in /usr/lib/libOpenCL.so.1)
==00:00:00:38.807 4117== by 0x5EAF656: ??? (in /usr/lib/libOpenCL.so.1)
==00:00:00:38.807 4117== by 0x60BFA8F: pthread_once (pthread_once.S:103)
==00:00:00:38.807 4117== by 0x5EAF6E6: ??? (in /usr/lib/libOpenCL.so.1)
==00:00:00:38.807 4117== by 0x5EAD714: ??? (in /usr/lib/libOpenCL.so.1)
==00:00:00:38.807 4117== by 0x5EADD40: clGetPlatformIDs (in /usr/lib/libOpenCL.so.1)
==00:00:00:38.807 4117== by 0x41028B: getDevices (clutils.c:308)
==00:00:00:38.807 4117== by 0x40DD8E: setupCL (dsp.c:129)
==00:00:00:38.807 4117== by 0x40EA76: init_dsp (dsp.c:300)
==00:00:00:38.807 4117== by 0x40A985: main (sdmp.l:2230)
==00:00:00:38.807 4117== Address 0x40010000002800 is not stack'd, malloc'd or (recently) free'd

Could be false positive, but wasn't there before in catalyst 15.201

0 Likes
1 Solution
nibal
Challenger

This is really a case of mixed library paths. Need to take either all crimson libraries from /usr/lib, or all from APPSDK-3.0

Mixed paths are caused by APPSDK-3.0 installation in /etc/profile.d/AMDAPPSDK.sh. This is a dangerous profile and the

LD_LIBRARY_PATH in there should be deleted.

View solution in original post

0 Likes
1 Reply
nibal
Challenger

This is really a case of mixed library paths. Need to take either all crimson libraries from /usr/lib, or all from APPSDK-3.0

Mixed paths are caused by APPSDK-3.0 installation in /etc/profile.d/AMDAPPSDK.sh. This is a dangerous profile and the

LD_LIBRARY_PATH in there should be deleted.

0 Likes