Closed ChrOst closed 6 years ago
also applies to 1.7.19 release for me
fawkes@server05:~$ cd sources/creepMiner-opencl-1.7.19.0-Linux/opt/creepMiner-1.7.19.0/
fawkes@server05:~/sources/creepMiner-opencl-1.7.19.0-Linux/opt/creepMiner-1.7.19.0$ ./run.sh
11:18:46: creepMiner 1.7.19 Unix x64
11:18:46: Release mode -CUDA +OpenCL +SSE4 +AVX +AVX2
11:18:46: ----------------------------------------------
11:18:46: Github: https://github.com/Creepsky/creepMiner
11:18:46: Author: Creepsky [creepsky@gmail.com]
11:18:46: Burst : BURST-JBKL-ZUAV-UXMB-2G795
11:18:46: ----------------------------------------------
11:18:46: There is a new version () on
11:18:46: https://github.com/Creepsky/creepMiner
11:18:46: Changed logfile path to
11:18:46: /home/fawkes/creepMinerDev/creepMiner_20180617_091846.232048.log
11:18:46: Aborting program due to exceptional state: Bad cast exception: Can not convert b to N4Poco9SharedPtrINS_4JSON6Ob jectENS_16ReferenceCounterENS_13ReleasePolicyIS2_EEEE.
11:18:46: Exception occured: Bad cast exception: Can not convert b to N4Poco9SharedPtrINS_4JSON6ObjectENS_16ReferenceCount erENS_13ReleasePolicyIS2_EEEE.
11:18:46: error-code: 0
11:18:46: class: N4Poco16BadCastExceptionE
1.7.x selfcompiled
fawkes@server05:~/sources/creepMiner$ git checkout 1.7-poc2
Branch 1.7-poc2 konfiguriert zum Folgen von Remote-Branch 1.7-poc2 von origin.
Zu neuem Branch '1.7-poc2' gewechselt
fawkes@server05:~/sources/creepMiner$ make clean; conan install . --build=missing -s compiler.libcxx=libstdc++11 ; cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX:PATH=/home/fawkes/creepMinerDev -DUSE_CUDA=ON -DUSE_OPENCL=ON -DUSE_AVX2=ON -DUSE_SSE4=ON ; make -j 4;
Poco/1.8.0.1@pocoproject/stable: Not found in local cache, looking in remotes...
Poco/1.8.0.1@pocoproject/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 186B/186B
Downloading conanfile.py
[==================================================] 8.1KB/8.1KB
OpenSSL/1.0.2l@conan/stable: Not found in local cache, looking in remotes...
OpenSSL/1.0.2l@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 58B/58B
Downloading conanfile.py
[==================================================] 17.7KB/17.7KB
zlib/1.2.11@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.11@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 121B/121B
Downloading conanfile.py
[==================================================] 5.7KB/5.7KB
PROJECT: Installing /home/fawkes/sources/creepMiner/conanfile.txt
Requirements
OpenSSL/1.0.2l@conan/stable from conan-center
Poco/1.8.0.1@pocoproject/stable from conan-center
zlib/1.2.11@conan/stable from conan-center
Packages
OpenSSL/1.0.2l@conan/stable:eee73bb49a625bcbca3b9b107fdfe004f9a776ab
Poco/1.8.0.1@pocoproject/stable:6782228464e2bac631457eb4a1a43591439c8aac
zlib/1.2.11@conan/stable:7908da3753a96731cedce73c31be0cca851a36f9
PROJECT: Retrieving package 7908da3753a96731cedce73c31be0cca851a36f9
zlib/1.2.11@conan/stable: Looking for package 7908da3753a96731cedce73c31be0cca851a36f9 in remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 902B/902B
Downloading conaninfo.txt
[==================================================] 362B/362B
Downloading conan_package.tgz
[==================================================] 233.5KB/233.5KB
zlib/1.2.11@conan/stable: Package installed 7908da3753a96731cedce73c31be0cca851a36f9
PROJECT: Retrieving package eee73bb49a625bcbca3b9b107fdfe004f9a776ab
OpenSSL/1.0.2l@conan/stable: Looking for package eee73bb49a625bcbca3b9b107fdfe004f9a776ab in remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 4.6KB/4.6KB
Downloading conaninfo.txt
[==================================================] 1.1KB/1.1KB
Downloading conan_package.tgz
[==================================================] 2.7MB/2.7MB
OpenSSL/1.0.2l@conan/stable: Package installed eee73bb49a625bcbca3b9b107fdfe004f9a776ab
PROJECT: Retrieving package 6782228464e2bac631457eb4a1a43591439c8aac
Poco/1.8.0.1@pocoproject/stable: Looking for package 6782228464e2bac631457eb4a1a43591439c8aac in remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 50.1KB/50.1KB
Downloading conaninfo.txt
[==================================================] 2.2KB/2.2KB
Downloading conan_package.tgz
[==================================================] 5.5MB/5.5MB
Poco/1.8.0.1@pocoproject/stable: Package installed 6782228464e2bac631457eb4a1a43591439c8aac
PROJECT: Generator cmake created conanbuildinfo.cmake
PROJECT: Generator txt created conanbuildinfo.txt
PROJECT: Generated conaninfo.txt
PROJECT imports(): Copied 2 '.0' files: libssl.so.1.0.0, libcrypto.so.1.0.0
PROJECT imports(): Copied 1 '.1' files: libz.so.1
PROJECT imports(): Copied 1 '.11' files: libz.so.1.2.11
PROJECT imports(): Copied 12 '.50' files
PROJECT imports(): Copied 15 '.so' files
-- Current conanbuildinfo.cmake directory: /home/fawkes/sources/creepMiner
-- Conan: Compiler GCC>=5, checking major version 6
-- Conan: Checking correct version: 6
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fawkes/sources/creepMiner
[ 2%] Building NVCC (Device) object CMakeFiles/creepMiner.dir/src/shabal/cuda/creepMiner_generated_Shabal.cu.o
CMake Warning (dev) at creepMiner_generated_Shabal.cu.o.RELEASE.cmake:87 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[/usr/include;/home/fawkes/.conan/data/Poco/1.8.0.1/pocoproject/stable/package/6782228464e2bac631457eb4a1a43591439c8aac/include;/home/fawkes/.conan/data/OpenSSL/1.0.2l/conan/stable/package/eee73bb49a625bcbca3b9b107fdfe004f9a776ab/include;/home/fawkes/.conan/data/zlib/1.2.11/conan/stable/package/7908da3753a96731cedce73c31be0cca851a36f9/include;;;;;/usr/include;/usr/local/include;/home/fawkes/sources/creepMiner/src].
This warning is for project developers. Use -Wno-dev to suppress it.
Scanning dependencies of target creepMiner
[ 5%] Building CXX object CMakeFiles/creepMiner.dir/src/Declarations.cpp.o
[ 7%] Building CXX object CMakeFiles/creepMiner.dir/src/gpu/impl/gpu_cuda_impl.cpp.o
[ 10%] Building CXX object CMakeFiles/creepMiner.dir/src/main.cpp.o
[ 12%] Building CXX object CMakeFiles/creepMiner.dir/src/MinerUtil.cpp.o
[ 15%] Building CXX object CMakeFiles/creepMiner.dir/src/gpu/impl/gpu_opencl_impl.cpp.o
[ 17%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/channels/ColoredPriorityConsoleChannel.cpp.o
[ 20%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/channels/MinerDataChannel.cpp.o
[ 23%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/Console.cpp.o
[ 25%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/Message.cpp.o
[ 28%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/MinerLogger.cpp.o
[ 30%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/Output.cpp.o
[ 33%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/Performance.cpp.o
[ 35%] Building CXX object CMakeFiles/creepMiner.dir/src/logging/ProgressPrinter.cpp.o
[ 38%] Building CXX object CMakeFiles/creepMiner.dir/src/mining/Deadline.cpp.o
[ 41%] Building CXX object CMakeFiles/creepMiner.dir/src/mining/Miner.cpp.o
[ 43%] Building CXX object CMakeFiles/creepMiner.dir/src/mining/MinerCL.cpp.o
[ 46%] Building CXX object CMakeFiles/creepMiner.dir/src/mining/MinerConfig.cpp.o
/home/fawkes/sources/creepMiner/src/mining/MinerCL.cpp: In member function ‘_cl_command_queue* Burst::MinerCL::createCommandQueue()’:
/home/fawkes/sources/creepMiner/src/mining/MinerCL.cpp:384:23: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
auto command_queue = clCreateCommandQueue(context_, getDevice()->id, 0, &ret);
^~~~~~~~~~~~~~~~~~~~
In file included from /home/fawkes/sources/creepMiner/src/mining/MinerCL.hpp:35:0,
from /home/fawkes/sources/creepMiner/src/mining/MinerCL.cpp:22:
/usr/include/CL/cl.h:1443:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
/home/fawkes/sources/creepMiner/src/mining/MinerCL.cpp:384:78: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
auto command_queue = clCreateCommandQueue(context_, getDevice()->id, 0, &ret);
^
In file included from /home/fawkes/sources/creepMiner/src/mining/MinerCL.hpp:35:0,
from /home/fawkes/sources/creepMiner/src/mining/MinerCL.cpp:22:
/usr/include/CL/cl.h:1443:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
[ 48%] Building CXX object CMakeFiles/creepMiner.dir/src/mining/MinerData.cpp.o
[ 51%] Building CXX object CMakeFiles/creepMiner.dir/src/network/NonceSubmitter.cpp.o
[ 53%] Building CXX object CMakeFiles/creepMiner.dir/src/network/Request.cpp.o
[ 56%] Building CXX object CMakeFiles/creepMiner.dir/src/network/Response.cpp.o
[ 58%] Building CXX object CMakeFiles/creepMiner.dir/src/network/Url.cpp.o
[ 61%] Building CXX object CMakeFiles/creepMiner.dir/src/nxt/nxt_address.cpp.o
[ 64%] Building CXX object CMakeFiles/creepMiner.dir/src/plots/Plot.cpp.o
[ 66%] Building CXX object CMakeFiles/creepMiner.dir/src/plots/PlotGenerator.cpp.o
[ 69%] Building CXX object CMakeFiles/creepMiner.dir/src/plots/PlotReader.cpp.o
[ 71%] Building CXX object CMakeFiles/creepMiner.dir/src/plots/PlotSizes.cpp.o
[ 74%] Building CXX object CMakeFiles/creepMiner.dir/src/plots/PlotVerifier.cpp.o
[ 76%] Building CXX object CMakeFiles/creepMiner.dir/src/shabal/MinerShabal.cpp.o
[ 79%] Building CXX object CMakeFiles/creepMiner.dir/src/shabal/sphlib/sph_shabal.cpp.o
[ 82%] Building CXX object CMakeFiles/creepMiner.dir/src/wallet/Account.cpp.o
[ 84%] Building CXX object CMakeFiles/creepMiner.dir/src/wallet/Wallet.cpp.o
[ 87%] Building CXX object CMakeFiles/creepMiner.dir/src/webserver/MinerServer.cpp.o
[ 89%] Building CXX object CMakeFiles/creepMiner.dir/src/webserver/RequestHandler.cpp.o
[ 92%] Building CXX object CMakeFiles/creepMiner.dir/src/shabal/mshabal/mshabal_sse4.cpp.o
[ 94%] Building CXX object CMakeFiles/creepMiner.dir/src/shabal/mshabal/mshabal_avx1.cpp.o
[ 97%] Building CXX object CMakeFiles/creepMiner.dir/src/shabal/mshabal/mshabal_avx2.cpp.o
[100%] Linking CXX executable bin/creepMiner-cuda
[100%] Built target creepMiner
fawkes@server05:~/sources/creepMiner$ make install
-- Current conanbuildinfo.cmake directory: /home/fawkes/sources/creepMiner
-- Conan: Compiler GCC>=5, checking major version 6
-- Conan: Checking correct version: 6
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fawkes/sources/creepMiner
[ 2%] Linking CXX executable bin/creepMiner-cuda
[100%] Built target creepMiner
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /home/fawkes/creepMinerDev/./mining.cl
-- Up-to-date: /home/fawkes/creepMinerDev/./public
-- Installing: /home/fawkes/creepMinerDev/./public/settings.html
-- Up-to-date: /home/fawkes/creepMinerDev/./public/css
-- Installing: /home/fawkes/creepMinerDev/./public/css/cerulean.min.css
-- Installing: /home/fawkes/creepMinerDev/./public/css/creepMiner.css
-- Installing: /home/fawkes/creepMinerDev/./public/favicon.ico
-- Installing: /home/fawkes/creepMinerDev/./public/index.html
-- Up-to-date: /home/fawkes/creepMinerDev/./public/sounds
-- Installing: /home/fawkes/creepMinerDev/./public/sounds/sms-alert-1-daniel_simon.mp3
-- Up-to-date: /home/fawkes/creepMinerDev/./public/js
-- Installing: /home/fawkes/creepMinerDev/./public/js/biginteger.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/bootstrap.min.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/general.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/jquery.flot.time.min.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/block.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/jquery.flot.min.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/bootstrap.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/settings.js
-- Installing: /home/fawkes/creepMinerDev/./public/js/plotfiles.js
-- Up-to-date: /home/fawkes/creepMinerDev/./public/fonts
-- Installing: /home/fawkes/creepMinerDev/./public/fonts/glyphicons-halflings-regular.eot
-- Installing: /home/fawkes/creepMinerDev/./public/fonts/glyphicons-halflings-regular.woff
-- Installing: /home/fawkes/creepMinerDev/./public/fonts/glyphicons-halflings-regular.woff2
-- Installing: /home/fawkes/creepMinerDev/./public/fonts/glyphicons-halflings-regular.ttf
-- Installing: /home/fawkes/creepMinerDev/./public/fonts/glyphicons-halflings-regular.svg
-- Installing: /home/fawkes/creepMinerDev/./public/404.html
-- Installing: /home/fawkes/creepMinerDev/./public/block.html
-- Installing: /home/fawkes/creepMinerDev/./public/login.html
-- Up-to-date: /home/fawkes/creepMinerDev/./public/images
-- Installing: /home/fawkes/creepMinerDev/./public/images/icon.png
-- Installing: /home/fawkes/creepMinerDev/./public/plotfiles.html
-- Up-to-date: /home/fawkes/creepMinerDev/.
-- Installing: /home/fawkes/creepMinerDev/./creepMiner-cuda
-- Installing: /home/fawkes/creepMinerDev/./run.sh
-- Installing: /home/fawkes/creepMinerDev/./screen.sh
-- Up-to-date: /home/fawkes/creepMinerDev/lib
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoData.so.50
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoJSON.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoFoundation.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoJSON.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoNet.so.60
-- Installing: /home/fawkes/creepMinerDev/lib/libcrypto.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoNet.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoNet.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoCrypto.so.50
-- Installing: /home/fawkes/creepMinerDev/lib/libssl.so.1.0.0
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoZip.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoMongoDB.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoCrypto.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoDataSQLite.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoEncodings.so.60
-- Installing: /home/fawkes/creepMinerDev/lib/libz.so.1.2.11
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoNetSSL.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoDataSQLite.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoDataSQLite.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoNetSSL.so.60
-- Installing: /home/fawkes/creepMinerDev/lib/libz.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoUtil.so.50
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoMongoDB.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoXML.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoRedis.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoRedis.so.50
-- Installing: /home/fawkes/creepMinerDev/lib/libcrypto.so.1.0.0
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoData.so
-- Installing: /home/fawkes/creepMinerDev/lib/libz.so.1
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoZip.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoXML.so.50
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoNetSSL.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoMongoDB.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoCrypto.so
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoZip.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoUtil.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoData.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoXML.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libz.so.1.2.8
-- Installing: /home/fawkes/creepMinerDev/lib/libPocoFoundation.so.50
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoFoundation.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoEncodings.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoUtil.so
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoRedis.so.60
-- Up-to-date: /home/fawkes/creepMinerDev/lib/libPocoJSON.so.60
-- Installing: /home/fawkes/creepMinerDev/lib/libssl.so
fawkes@server05:~/sources/creepMiner$ cd ../../creepMinerDev/
fawkes@server05:~/creepMinerDev$ mv creepMiner-cuda creepMiner
fawkes@server05:~/creepMinerDev$ ./run.sh
11:38:27: creepMiner 1.7.19 Unix x64
11:38:27: Release mode +CUDA +OpenCL +SSE4 +AVX +AVX2
11:38:27: ----------------------------------------------
11:38:27: Github: https://github.com/Creepsky/creepMiner
11:38:27: Author: Creepsky [creepsky@gmail.com]
11:38:27: Burst : BURST-JBKL-ZUAV-UXMB-2G795
11:38:27: ----------------------------------------------
11:38:28: There is a new version () on
11:38:28: https://github.com/Creepsky/creepMiner
11:38:28: Changed logfile path to
11:38:28: /home/fawkes/creepMinerDev/creepMiner_20180617_093827.985288.log
11:38:28: Aborting program due to exceptional state: Bad cast exception: Can not convert b to N4Poco9SharedPtrINS_4JSON6ObjectENS_16ReferenceCounterENS_13ReleasePolicyIS2_EEEE.
11:38:28: Exception occured: Bad cast exception: Can not convert b to N4Poco9SharedPtrINS_4JSON6ObjectENS_16ReferenceCounterENS_13ReleasePolicyIS2_EEEE.
11:38:28: error-code: 0
11:38:28: class: N4Poco16BadCastExceptionE
The problem:
In the newest dev version benchmark is deprecated and not read from the config, so you wont get that error anymore.
Solution:
{}
mining.benchmark
setting from bool to { "active": false, "interval": 123 }
Seems to work now.
but it can't read the
"credentials" : {
"pass" : "::::4026ff4935c0d91715c61a202c45e412c4ef80b0",
"user" : "::::ba500276dbe2f35f1e4faebb1daaf398d58d5c0c"
},
now.
11:59:51: Error while reading passphrase in config file!
11:59:51: Bad cast exception: Can not convert NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE to N4Poco9SharedPtrINS_4JSON6ObjectENS_16ReferenceCounterENS_13ReleasePol icyIS2_EEEE.
for testing I just replaced both hashes with "1", same error came up. this is on
11:59:51: creepMiner 1.8.2 Unix x64
11:59:51: Release mode -CUDA +OpenCL +SSE4 +AVX +AVX2
forget that. it's about the passphrase for solo mining.
Subject of the issue
unpacking, Describe your issue here.
Your environment
Steps to reproduce
run run.sh
Expected behavior
miner should run.
Actual behavior
Other information
ldd info based on LD_LIBRARY_PATH stuff from run.sh
compiling it myself (happened in 1.8.1 already) i get this: https://pastebin.com/xA47HZR5