Skip to content

OpenCl Memory Leak Fix

Compare
Choose a tag to compare
@psychocrypt psychocrypt released this 15 Mar 21:53
· 124 commits to master since this release
1fa4626

This release fixes a memory leak in the OpenCL (AMD) backend if cryptonight_r is mined which filled the full main memory and crashed the miner after a few hours.
Please update your miner if you are mining cryptonight_r, monero or cryptonight_v8.
The new option --amdCacheDir allows to select the folder for the OpenCL binaries.

Changelog:

  • add cli option amdCacheDir #2332
  • Repair OSX CUDA searched-path for NVRTC #2335
  • OpenCL: fix memory leak #2345

Necessary prerequisites for Windows

If the application does not start properly, please make sure that Visual Studio libraries are installed.
You can download them from https://go.microsoft.com/fwlink/?LinkId=746572

Anti-virus detection

All miners are detected as viruses. Please add the binary as an exception.

Pre-compiled Binaries and Checksums

Please use the Developer PGP Key's to verify the integrity of the precompiled binaries.

The pre-compiled Windows binaries uses OpenSource Software hwloc, OpenSSl and microhttpd: https://github.com/fireice-uk/xmr-stak-dep/releases/tag/v3
The pre-compiled Linux binaries uses OpenSource Software

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

XMR-Stak 2.10.2 Build Checksums

compiled by: psychocrypt

# released compressed binaries

$ sha1sum 

0a65fe69c80bf0376e6c7243786baca003b48bb2  xmr-stak-linux-2.10.2-cpu_opencl-amd.tar.xz
20c3eff740820ae6ec3efe4b4e45b551ac03ef42  xmr-stak-linux-2.10.2-cpu.tar.xz
3e33b56cb2101b2aae6d27e79190c07d54a96694  xmr-stak-win64-2.10.2.7z
3e3adff17e021562bccfa13a618426b347edd429  xmr-stak-win64-2.10.2.zip

$ sha3sum

e2fc476c3132f463e806c4eb80834e060a4240803dab9829c6b8442a  xmr-stak-linux-2.10.2-cpu_opencl-amd.tar.xz
65543c727f5f5da1f7d0f0a1f1826219c48feb9d7191ae9aaed6aa62  xmr-stak-linux-2.10.2-cpu.tar.xz
2b06c91b42ae3f419235b65a686544071fe6a9428db406862283d265  xmr-stak-win64-2.10.2.7z
533828065866b4cc41b6667a6d1c61f8e3059bbb60ba9dd96d1e7950  xmr-stak-win64-2.10.2.zip

$ date
Fri Mar 15 22:06:50 CET 2019
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE/1KCl0CoWz10QvqNBRY4wIhl6UMFAlyMFAEACgkQBRY4wIhl
6UM1YQf/YKoPxZjCJn72YpQH/7DGM0e4EQrSMDqgmZvuGGILMxHjlI7Iwr1Dymj9
DIUSjJL5yddi1DdH1A5DnpHgbiLwvmLk+m//txndIqzF5CO3A37r6z/+EBGQqaMU
WDhImFxVCO2piYB454MaswyqAsCSgvt+S76ITyGlY/UZ3Sgp4zmxhvYyjeEDYBkl
4CLc89gCtHYiK88Rxqw+5aIx++eLj4wJfsPwHFST7F5hYeKr/uNGw/JG9DU3iAUQ
lFTOoYrVlZXuGmtpzsEPS4LVI3zcBhxcgRNdqtpngcx8eeACTakexKr+PlKydRtM
XJLS+JonaKx3mJbRQp5CF6cWpT8tKg==
=YyCO
-----END PGP SIGNATURE-----