Bitcoin Forum
March 26, 2017, 05:14:09 PM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
Author Topic: [ANN] cpuminer-multi v1.3.1 (Linux + Windows VStudio/MinGW64) GPL Open Source  (Read 110720 times)
joblo
Hero Member
*****
Online Online

Activity: 700


View Profile
December 09, 2016, 08:45:49 PM
 #161

Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.


Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
1490548449
Hero Member
*
Offline Offline

Posts: 1490548449

View Profile Personal Message (Offline)

Ignore
1490548449
Reply with quote  #2

1490548449
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1490548449
Hero Member
*
Offline Offline

Posts: 1490548449

View Profile Personal Message (Offline)

Ignore
1490548449
Reply with quote  #2

1490548449
Report to moderator
1490548449
Hero Member
*
Offline Offline

Posts: 1490548449

View Profile Personal Message (Offline)

Ignore
1490548449
Reply with quote  #2

1490548449
Report to moderator
Hotmetal
Sr. Member
****
Offline Offline

Activity: 252


View Profile
December 10, 2016, 03:50:07 AM
 #162

your problem seems related to libcurl, so try to rebuild it yourself with the /usr/local prefix, maybe an uncommon cpu ? atom ?

I prefer using the package management to do things.. Maintaining source builds gets messy.

Manufacturer: Dell Inc.
Product Name: PowerEdge R620
model name      : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz

I have about 20 blades, all of them with stock Ubuntu 16.04 and all of them have the same behavior.
Hotmetal
Sr. Member
****
Offline Offline

Activity: 252


View Profile
December 10, 2016, 04:15:59 AM
 #163

Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.



root@apollo:~/44/cpuminer-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/cpuminer-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[New Thread 0x2aaab0a2f700 (LWP 11060)]
[New Thread 0x2aaab0c33700 (LWP 11061)]
[2016-12-10 06:08:07] Starting Stratum on stratum+tcp://yiimp.ccminer.org:4252
[New Thread 0x2aaab0e37700 (LWP 11062)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c33700 (LWP 11061)]
0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
(gdb) bt
#0  0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#1  0x00002aaaab0c414a in curl_maprintf () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#2  0x00002aaaab0e9096 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#3  0x00002aaaab0c1164 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000434998 in ?? ()
#8  0x0000000000405974 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c33700) at pthread_create.c:333
#10 0x00002aaaaadd982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

So to confirm what you thought, it's not specific to cryptonight but rather with the interaction of the libcurl library.
What is weird is i have a lot of blades and all of them are not behaving nicely.
Hotmetal
Sr. Member
****
Offline Offline

Activity: 252


View Profile
December 10, 2016, 04:32:40 AM
 #164

Just for fun, i went ahead and tested a slightly older release:

https://github.com/tpruvot/cpuminer-multi/archive/v1.0.9-multi.tar.gz

root@apollo:~/44/1/cpuminer-multi-1.0.9-multi# ./cpuminer  -a cryptonight  -p cami@hack.co.za  -o stratum+tcp://cryptonight.eu.nicehash.com:3355  -u 12d7SjLcyEwLCnZhPeQhMnME3dDF9CnSuY -t 12 -q
** cpuminer-multi 1.0.9 by Tanguy Pruvot (tpruvot@github) **
 based on Lucas Jones fork of pooler cpuminer 2.4

BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2016-12-10 06:26:32] Using JSON-RPC 2.0
[2016-12-10 06:26:32] CPU Supports AES-NI: YES
[2016-12-10 06:26:32] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355
[2016-12-10 06:26:32] 12 miner threads started, using 'cryptonight' algorithm.
[2016-12-10 06:26:33] Pool set diff to 20000
[2016-12-10 06:26:36] thread 11: 66 hashes, 16.70 H/s
[2016-12-10 06:26:36] thread 3: 66 hashes, 14.91 H/s
[2016-12-10 06:26:36] thread 7: 66 hashes, 14.40 H/s
[2016-12-10 06:26:36] thread 5: 66 hashes, 14.28 H/s
[2016-12-10 06:26:37] thread 8: 66 hashes, 14.01 H/s
[2016-12-10 06:26:37] thread 10: 66 hashes, 12.79 H/s
[2016-12-10 06:26:38] thread 4: 66 hashes, 11.61 H/s
[2016-12-10 06:26:38] thread 6: 66 hashes, 11.35 H/s
[2016-12-10 06:26:38] thread 1: 66 hashes, 11.26 H/s
[2016-12-10 06:26:38] thread 0: 66 hashes, 11.23 H/s
[2016-12-10 06:26:38] thread 9: 66 hashes, 10.65 H/s
[2016-12-10 06:26:38] thread 2: 66 hashes, 10.21 H/s

Hmm!
Hotmetal
Sr. Member
****
Offline Offline

Activity: 252


View Profile
December 10, 2016, 04:44:19 AM
 #165

I then tried v1.1:

root@apollo:~/44/1/cpuminer-multi-1.1-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/1/cpuminer-multi-1.1-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[New Thread 0x2aaab0a2e700 (LWP 19010)]
[New Thread 0x2aaab0c31700 (LWP 19011)]
[2016-12-10 06:43:18] Starting Stratum on stratum+tcp://mine.xpool.ca:1131
[New Thread 0x2aaab0e34700 (LWP 19012)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c31700 (LWP 19011)]
_IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
279     vfscanf.c: No such file or directory.
(gdb) bt
#0  _IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
#1  0x00002aaaaad3ebcc in __GI___isoc99_vsscanf (string=0x2aaab8001320 "http://mine.xpool.ca:1131",
    format=0x2aaaab0f308b "%15[^:]:%[^\n]", args=args@entry=0x2aaab0a30748) at isoc99_vsscanf.c:43
#2  0x00002aaaaad3eb57 in __isoc99_sscanf (s=<optimized out>, format=<optimized out>) at isoc99_sscanf.c:31
#3  0x00002aaaab0be7db in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000468e08 in ?? ()
#8  0x000000000046a073 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c31700) at pthread_create.c:333
joblo
Hero Member
*****
Online Online

Activity: 700


View Profile
December 10, 2016, 01:45:32 PM
 #166

That's bizarre.

No one has reported this with cpuminer-opt even though the stratum code was taken from multi-1.2.
Could you give it a try as another data point?

The interface to curl is the call to curl_easy perform. It would be useful to dump the curl parameter where this
is called to compare what works with what doesn't.

A hardware fault seem very unlikely since the problem occurs on all your blades. However, if you did one full
install and cloned the rest an install glitch would have been propagated to all blades. You could reinstall the OS
on one system to test this.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
zakuti
Newbie
*
Offline Offline

Activity: 6


View Profile
December 12, 2016, 03:32:57 PM
 #167

hello

i try to build it on visual studio 2013 but i get next error

error LNK1181: cannot open input file 'libcurl.x86.lib' cpuminer

can someone help me ?

thank you.
Epsylon3
Legendary
*
Offline Offline

Activity: 910


ccminer/cpuminer developer


View Profile WWW
December 12, 2016, 03:59:05 PM
 #168

32bit dependencies are not prebuilt, they are huge and polute the repo

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi
zakuti
Newbie
*
Offline Offline

Activity: 6


View Profile
December 13, 2016, 06:25:44 AM
 #169

but i have 64 bit operation system
zakuti
Newbie
*
Offline Offline

Activity: 6


View Profile
December 13, 2016, 08:40:50 AM
 #170

i think that compilied but miner does not start mining

please look picture

http://www.picz.ge/img/s4/1612/13/7/7804c9a7d51f.png
what problem is it ?
superlux
Newbie
*
Offline Offline

Activity: 5


View Profile
January 23, 2017, 01:52:48 AM
 #171

Hi all,
I've compiled the miner on Windows using mingw but it refuses to work outside the directory of compilation.
Any suggestions ?
Thanks
Epsylon3
Legendary
*
Offline Offline

Activity: 910


ccminer/cpuminer developer


View Profile WWW
January 23, 2017, 01:58:02 AM
 #172

patience, you are closer Wink sorry i've no easy answer for all your weird problems. All i can say is it can work for all these cases :p

superlux, try another mingw, msys2 (cygwin) is not proper to do "native windows binaries"

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi
joblo
Hero Member
*****
Online Online

Activity: 700


View Profile
January 23, 2017, 02:36:44 AM
 #173

For cpuminer-opt I bundle a bunch of DLLs with the EXE for portability. Maybe that works for
cpuminer-multi also.


Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
cdavid53
Full Member
***
Offline Offline

Activity: 154


View Profile WWW
January 24, 2017, 05:37:41 AM
 #174

Hello

I would like to use several pools.
is it possible ? and if yes, how?

thank you in advance

Sorry my english is very bad
integrale
Member
**
Offline Offline

Activity: 70

Eager to learn


View Profile
January 24, 2017, 08:28:02 PM
 #175

Hello Guy´s 
First of all im new here but not on Mining , you all the Dev done a great job with the Miner´s .

may i ask some of the Dev to answer me some questions about TIMETRAVEL , especially  witch OS ( seems only Linux ) is to use if im right , how i set the algo in the command line ,   have searched few Days  cant find any usefull information  Huh,

THX in Advance

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 910


ccminer/cpuminer developer


View Profile WWW
January 24, 2017, 11:08:17 PM
 #176

nothing special about it, just like any other algos... fyi my "linux" branch is the dev one.. windows one is more for releases (so you can compile the linux branch on windows too)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi
Epsylon3
Legendary
*
Offline Offline

Activity: 910


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 07:45:54 PM
 #177

made the 1.3.1 release with timetravel, see first post

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi
SkycityVictorians
Jr. Member
*
Offline Offline

Activity: 44


View Profile
January 26, 2017, 09:40:29 PM
 #178

made the 1.3.1 release with timetravel, see first post

Nice job, thanks Smiley

Friendly Regards
- SkycityVictorians
integrale
Member
**
Offline Offline

Activity: 70

Eager to learn


View Profile
January 26, 2017, 10:15:50 PM
 #179

@Epsylon3

thank you  for the great job ,

i7 2600 @ 244 k/h
Core 2 Duo E6600   sse2 doesnt work in my case
Athlon 64 x 2          sse2 doesnt too
core 2 Duo E6700   sse2 doesnt too

all Machines running win 7 64bit



if you are so kind PM me your Mac adress for some Donation Wink



->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 910


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 10:16:33 PM
 #180

its in the first post Wink

what doesnt work ? ah right, didnt made it for very old cpus Wink there are limits to the compatibility... built with --march=corei7

your core2 has 12 years now Wink joblo (cpuminer-opt) will do one for you with (more than) my improvement..

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!