Bitcoin Forum
August 18, 2018, 01:43:41 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 [414] 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5761143 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
slush
Legendary
*
Offline Offline

Activity: 1372
Merit: 1019



View Profile WWW
November 27, 2012, 12:55:27 PM
 #8261

How do pools say "previous job remain valid for N more seconds"?

Is there any use case for this feature? Except pools which "pay for stales" (=pay bad miners on behalf good ones).

Quote
This was an important fix added to getwork longpolling

Is there any pool actually using it? As we're primary talking about bitcoin mining, there's no economic motivation to work with stale shares on pool side...

Quote
avoid losing merged mining shares in some cases.

Well, this is valid point. We can discuss if losing less than 0.1% of merged mining shares is worth of complicating the mining protocol. I'm personally strictly for "keep it simple" and minimalistic design, otherwise implementations became monsters full of checking edge cases. Actually there's only one condition in whole Stratum protocol, and it is (I think necessary) "clean_jobs" flag.  The rest is plain simple algorithm without exceptions.

1534556621
Hero Member
*
Offline Offline

Posts: 1534556621

View Profile Personal Message (Offline)

Ignore
1534556621
Reply with quote  #2

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

Posts: 1534556621

View Profile Personal Message (Offline)

Ignore
1534556621
Reply with quote  #2

1534556621
Report to moderator
1534556621
Hero Member
*
Offline Offline

Posts: 1534556621

View Profile Personal Message (Offline)

Ignore
1534556621
Reply with quote  #2

1534556621
Report to moderator
Luke-Jr
Legendary
*
Offline Offline

Activity: 2408
Merit: 1001



View Profile
November 27, 2012, 12:58:03 PM
 #8262

How do pools say "previous job remain valid for N more seconds"?
Is there any use case for this feature? Except pools which "pay for stales" (=pay bad miners on behalf good ones).
Um, yes? So you don't need to keep around old jobs indefinitely...

Quote
This was an important fix added to getwork longpolling
Is there any pool actually using it? As we're primary talking about bitcoin mining, there's no motivation to work with stale shares on pool side...
Motivation: Don't lie to miners about their stale rate.

slush
Legendary
*
Offline Offline

Activity: 1372
Merit: 1019



View Profile WWW
November 27, 2012, 01:10:49 PM
 #8263

Looks like there's discrepancy between your and mine expectations about the ideal protocol. I've been focused to minimalistic design, and the lack of any extended features is benefit for me. I'm open to designing some (optional) calls like "report me your stale ratio", which will do the same job, it allows handy graphics on pool website, but it doesn't make the protocol core more complicated.

Luke-Jr
Legendary
*
Offline Offline

Activity: 2408
Merit: 1001



View Profile
November 27, 2012, 01:42:42 PM
 #8264

With the clarifications from slush, I've fixed 2 bugs in eloipool's stratum server:
  • clean_jobs is now sent true when previous jobs are immediately invalid
  • idle job updates occur every 55 seconds instead of 96 (stratum expects a 60 second grace window on old jobs)

This should get things working in the new block case of cgminer, but the fact that cgminer was still working on an old job after 24 seconds (at 800+ Mh/s) means it isn't switching to the new job when giving devices more work right away, so there's still a (cgminer) bug there (althrough the reduced 55 second update period will likely avoid that being as common).

Note that these changes won't affect EMC until Inaba updates it there.

optimator
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile WWW
November 27, 2012, 05:40:26 PM
 #8265

Well, if you can't roll ntime (sounds like a major flaw to me)

Not a flaw - just not needed.

girafon
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
November 27, 2012, 07:34:26 PM
 #8266

Not sure this is intended or not : using cgminer 2.9.5 under windows7 (64), downloaded from http://ck.kolivas.org/apps/cgminer/cgminer-2.9.5-win32.7z while connected to a GBT-enabled pool, the "Q" value reported by cgminer stays at "3" and won't change, even after hours of running.

This gives giant efficiency values (which may alter the various load-balance algorithms ?)

Part of my conf file:
Code:
"failover-only" : true,
"submit-stale" : false,

"intensity" : "d",
"gpu-threads" : "1",
"gpu-dyninterval" : "7",

"expiry" : "110",
"scan-time" : "60",

"log" : "1",
"queue" : "1",


EDIT : downgrading to 2.9.4 fixes that "issue" ; "Q" indicator increases again.
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 27, 2012, 10:26:42 PM
 #8267

All servers are updated on EMC.  I'll be curious to see how it works.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2618
Merit: 1123


Ruu \o/


View Profile WWW
November 27, 2012, 11:08:38 PM
 #8268

All servers are updated on EMC.  I'll be curious to see how it works.
Great!

Trying it out now on stratum. Will report back.
Half hour of mining with 2.7GH:

 Accepted shares: 723
 Rejected shares: 1

I watched diff go from .99 to 2 and fluctuate frequently during that time and a handful of block changes went by as well.

I happened to see the rejected share as well, and it was a diff 1/2 high hash reject.
This means diff had risen, and cgminer knew about the rise, but being conservative as per a scenario A described here: https://bitcointalk.org/index.php?topic=28402.msg1357099#msg1357099 cgminer still submitted it.

All in all, great stuff. I'm glad to see this issue sorted out for both the pool and the miners.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 27, 2012, 11:11:18 PM
 #8269

US2 is having some trouble, I'm looking into it now.  US3 and US1 are fine though, it's kind of strange.  Definitely good to see things get sorted out.

Quote
This should get things working in the new block case of cgminer, but the fact that cgminer was still working on an old job after 24 seconds (at 800+ Mh/s) means it isn't switching to the new job when giving devices more work right away, so there's still a (cgminer) bug there (althrough the reduced 55 second update period will likely avoid that being as common).

Can you comment on that by chance?

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Askit2
Hero Member
*****
Offline Offline

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 28, 2012, 12:40:59 AM
 #8270

US2 is having some trouble, I'm looking into it now.  US3 and US1 are fine though, it's kind of strange.  Definitely good to see things get sorted out.

Quote
This should get things working in the new block case of cgminer, but the fact that cgminer was still working on an old job after 24 seconds (at 800+ Mh/s) means it isn't switching to the new job when giving devices more work right away, so there's still a (cgminer) bug there (althrough the reduced 55 second update period will likely avoid that being as common).

Can you comment on that by chance?

Dropping scantime to 80 and expiry to 100 seconds did not fix it on Stratum. Since I should have a 120 second window to submit shares and the oldest shares I could be trying to submit (short of an unintended bug) are 100 seconds old I see no way to actually have run afoul of this reject overnight. My stales seemed just as high this morning and I noted some of the same invalid work type stales as I previously named. The rate despite only working on a work unit for (it appears) the higher of server or scan time and expiry set low should have fixed it if the issue was cgminer. Well unless somehow I was actually getting work results far in excess of the time alloted but even there I would have 2-3 results that met difficulty and 1 would be rejected sometimes the last sometimes the first usually the middle. Timing is either because its an old submission (expiry should have dropped it) or its being
rejected out of hand.

With the upgrade (on Eclipse) I am restarting cgminer to get my stats in line with only the new setup.

EDIT: added On Stratum to 1st sentance for clarity.

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2618
Merit: 1123


Ruu \o/


View Profile WWW
November 28, 2012, 12:53:27 AM
 #8271

Was this with getwork, gbt or stratum? One thing about share submission for non-stratum on cgminer - it will keep retrying to submit if for some reason the submission failed (server responded with empty reply, busy etc.) until it has deemed there is no chance it is still valid. It retries sending every 5 seconds. Perhaps that is what's going on here? cgminer certainly does throw out all work on a longpoll equivalent, and checks if it should on every "cycle" through the work in GPUs at least.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
hahahafr
Hero Member
*****
Offline Offline

Activity: 655
Merit: 500



View Profile
November 28, 2012, 07:06:05 AM
 #8272

Where does the name 'cgminer' come from? Are you French ckolivas?

        ▄▄█████████▄▄
     ▄███████ ░████████▄
   ▄█████ ░██  ██  ██████▄
 ░███████  ██  ██ ░████████
░████  ██  ██  █▌ ▐█████████
▐████  ██  ██  █▌ ▐█████████▌
█████░ ▐█  ██  █  ████  █████
█████▌ ▐█████████████  ██████
█████▌ ▐████████████▌ ▐██████
██████  ████████████ ░███████
▐█████  ███████████░ ▐██████▌
 ██████  ████████▀░ ▄███████
  ▀█████░  ▀███▀  ▄███████▀
    ▀█████▄░   ░▄███████▀
       ▀▀███████████▀▀

▄███▄                                                                  ▄███▄
█████░                                                                 █████
█████░                                                                 █████
█████░                                                                 █████
███████████▄▄       ▄███████▄    ▄███▄     ░▄███▄     ░▄██▄░   ▄▄███████████    ▄███████▄░      ▄▄██████▄▄
██████████████▌  ░▄███████████▄░ █████     ▒█████     ▒████▒ ▐██████████████ ░▄███████████▄░  ▄████████████▄
███████████████▌░█████▀  ▀██████ █████     ▒█████     ▒████▒▐█████▀  ▀██████░▐█████▀  ▀█████░▐█████▀  ▀█████▌░
█████▀░   ▀█████▒████      █████ █████     ▒█████     ▒████▒█████░   ░░█████░█████░     ████▒█████      █████
█████░    ░█████▒████      █████ █████░   ░▐█████▌    ▓████▒█████░    ░█████░█████      ████▒█████      █████
█████░    ░█████░█████▄  ▄██████ ██████▄░▄████████▄░▄██████░▐█████▄░░▄█████▌░▐█████▄  ▄█████░▐█████▄  ▄█████▌
█████░    ░█████ ░█████████████░ ░████████████████████████░  ▐████████████▒  ░▀████████████░  ▀████████████▀
▀███▀░    ░▀███▀   ▀▀███████▀▀     ▀▀████████▀ ▀███████▀▀     ░▀████████▀       ▀███████▀▀     ░▀████████▀
  First Decentralized Social Ecosystem
  A SOCIAL NETWORK BUILT FOR THE BLOCKCHAINWORLD






───    APPLY FOR WHITELIST    ───
WEBSITE    WHITEPAPER   TELEGRAM
FACEBOOK  TWITTER         ANN
Askit2
Hero Member
*****
Offline Offline

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 28, 2012, 07:16:34 AM
 #8273

I am using eclipses stratum on US1.
3849 accepted so far
2 rejected.
Compared to 2 days of 1.2% I am very happy with the improvement.

CPU Miner was abandoned and Con made Cpu Gpu Miner

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
November 28, 2012, 11:48:17 AM
 #8274

In case anyone wants me to try something else...
Debug build would be helpful. If you're running fedora that suggests you're building it yourself. If that's the case, add "-g" to your CFLAGS, rebuild your cgminer 2.9.5 (without stripping the file), enable coredumps with "ulimit -c unlimited" and then run whatever it is that's crashing. Once you get a "core dumped" message at the end of running it, then run:
gdb cgminer core
bt full

And post the information from that please.
I'm getting "No stack."  I assume that makes it obvious I've never done this before...

ETA:
Code:
cat /usr/src/cgminer-2.9.5/Makefile | grep CFLAGS\ =
CFLAGS = -I/usr/src/ati-stream-sdk-v2.1-lnx64/include -g
Also, FYI, this is the exact error I was getting in 2.9.4 on GBT only:
Code:
Crashed with signal 11! Will attempt to restart--- Failed to restart, exiting nowing
latest version, x86_64 linux, build with -02 -Wall
I'm not sure whether the fact that it is also happening on that other miner will make you laugh or cry...
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2618
Merit: 1123


Ruu \o/


View Profile WWW
November 28, 2012, 12:23:47 PM
 #8275

In case anyone wants me to try something else...
Debug build would be helpful. If you're running fedora that suggests you're building it yourself. If that's the case, add "-g" to your CFLAGS, rebuild your cgminer 2.9.5 (without stripping the file), enable coredumps with "ulimit -c unlimited" and then run whatever it is that's crashing. Once you get a "core dumped" message at the end of running it, then run:
gdb cgminer core
bt full

And post the information from that please.
I'm getting "No stack."  I assume that makes it obvious I've never done this before...

ETA:
Code:
cat /usr/src/cgminer-2.9.5/Makefile | grep CFLAGS\ =
CFLAGS = -I/usr/src/ati-stream-sdk-v2.1-lnx64/include -g
Also, FYI, this is the exact error I was getting in 2.9.4 on GBT only:
Code:
Crashed with signal 11! Will attempt to restart--- Failed to restart, exiting nowing
latest version, x86_64 linux, build with -02 -Wall
I'm not sure whether the fact that it is also happening on that other miner will make you laugh or cry...
Well that's my code so it's no surprise...

Please add --no-restart
That way it will not try to restart if it crashes, which is stopping it from dumping properly. Thanks.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
2GOOD
Hero Member
*****
Offline Offline

Activity: 523
Merit: 501


First bits: 12good


View Profile WWW
November 28, 2012, 03:00:21 PM
 #8276

One question about "Best share:" ... is it working correctly when Solo Mining?

Thanks

Български Биткойн Форум - BitcoinBG.eu
Tips accepted at: 12good4Buys8cvTj6EB4MTGNTSC4w9Swnz
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2618
Merit: 1123


Ruu \o/


View Profile WWW
November 28, 2012, 03:53:56 PM
 #8277

One question about "Best share:" ... is it working correctly when Solo Mining?
Yes

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
November 28, 2012, 04:19:50 PM
 #8278

Please add --no-restart
That way it will not try to restart if it crashes, which is stopping it from dumping properly. Thanks.
Does this help? I truncated everything after the #2 because they all (737) said "No symbol table info available."
Code:
gdb cgminer core.15150
GNU gdb (GDB) Fedora (7.3-43.fc15)
Copyright (C) 2011 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/cgminer...done.
[New LWP 15230]
[New LWP 15205]
[New LWP 15158]
[New LWP 15209]
[New LWP 15157]
[New LWP 15150]
[New LWP 15210]
[New LWP 15207]
[New LWP 15202]
[New LWP 15206]
[New LWP 15203]
[New LWP 15212]
[New LWP 15208]
Missing separate debuginfo for
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/3a/8fe6cb0063d56fc9be76ecd085c05f1b8a76e6
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
Core was generated by `cgminer -o http://GBTPOOL:GWPORT -O x:y'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003c6f67e8c1 in strcat () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-18.fc15.x86_64 glibc-2.14.1-5.x86_64 keyutils-libs-1.2-7.fc15.x86_64 krb5-libs-1.9.1-5.fc15.x86_64 libX11-1.4.3-1.fc15.x86_64 libXau-1.0.6-2.fc15.x86_64 libXext-1.2.0-2.fc15.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libcom_err-1.41.14-2.fc15.x86_64 libcurl-7.21.3-11.fc15.x86_64 libgcc-4.6.0-10.fc15.x86_64 libidn-1.19-2.fc15.x86_64 libselinux-2.0.99-4.fc15.x86_64 libssh2-1.2.7-1.fc15.x86_64 libstdc++-4.6.0-10.fc15.x86_64 libxcb-1.7-2.fc15.x86_64 mesa-libGLU-7.11-1.fc15.x86_64 ncurses-libs-5.8-2.20110319.fc15.x86_64 nspr-4.8.8-1.fc15.x86_64 nss-3.12.10-6.fc15.x86_64 nss-mdns-0.10-9.fc15.x86_64 nss-softokn-freebl-3.12.10-2.fc15.x86_64 nss-util-3.12.10-1.fc15.x86_64 openldap-2.4.24-3.fc15.x86_64 openssl-1.0.0g-1.fc15.x86_64 xorg-x11-drv-catalyst-libs-11.6-1.fc15.x86_64 zlib-1.2.5-3.fc15.x86_64
(gdb) bt full
#0  0x0000003c6f67e8c1 in strcat () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000004093f0 in submit_upstream_work (work=0x7f67e4000c00, curl=0x7f67e400b5f0,
    resubmit=false) at cgminer.c:2331
        gbt_block = "02000000ca538130d3b31ccc24be835ba05bf2b8c41f8dfe8c112584ca03", '0' <repeats 12 times>, "8d4ca763df01df8377efc6a798d0607e3325259b4923e603308d8237d8ece2b97a22b650eae0041a11865698400100000001", '0' <repeats 64 times>, "ffffffff4b034e34030e"...
        varint = 0x3030303030303030 <Address 0x3030303030303030 out of bounds>
        header = 0x3136646362313465 <Address 0x3136646362313465 out of bounds>
        data = "76a914dcacb1cb4f31a6a3a239ae0199626bce00a72c3788acacc59502000000001976a91428220c"
        hexstr = 0x3838376332663736 <Address 0x3838376332663736 out of bounds>
        val = 0x3633343139613637
        res = 0x3931303030303030
        err = 0x3030303030306461
        s = "4188acb896", '0' <repeats 12 times>, "1976a914f52651ec8fe199ea975c63fc36369364c31fe80288ac980b", '0' <repeats 12 times>, "1976a9140f9bfe4cfd6c45c623a77d8087982c41a6fef69588ac50a2", '0' <repeats 12 times>, "1976a914cccdfc3b5e7ae849041e954dc48f47b96b2219f4"...
        rc = 57
        thr_id = 959918646
        cgpu = 0x3239333738353534
        pool = 0x6465343939663962
        rolltime = 1681469798
        hash32 = 0x6639313265646462
        tv_submit = {tv_sec = 7306075964502533688, tv_usec = 4121744960866432049}
        tv_submit_reply = {tv_sec = 4134645543713452080, tv_usec = 3978477492665463857}
        hashshow = "ad", '0' <repeats 12 times>, "1976a9141f24c264b0f47ece27326a3905be9b91fd1da97788ac34"
        worktime = "ac4c320200000000001976a914bd43b675c496b8b13bde490465ea355a94136faf88acc0543a00000000001976a914bcd6b30774cc7bdcc922e4f1817ca035667b18cd88acd46e1800000000001976a9147cb7a1d86ddddcdc8ef192cbd0bc67a370524b"
#2  0x3931303030303030 in ?? ()
No symbol table info available.
sharky112065
Sr. Member
****
Offline Offline

Activity: 382
Merit: 250



View Profile
November 28, 2012, 06:24:08 PM
 #8279

Con Kolivas, Just noticed a possible bug on Windows. When I hit 'q' to exit cgminer it restarted cgminer. Possibly crashed which triggered the restart. Race condition? Or is it not checking for user quitting on restart code (when cgminer crashes)?

Edit: Cgminer 2.9.5

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2618
Merit: 1123


Ruu \o/


View Profile WWW
November 29, 2012, 01:55:24 AM
 #8280

Please add --no-restart
That way it will not try to restart if it crashes, which is stopping it from dumping properly. Thanks.
Does this help? I truncated everything after the #2 because they all (737) said "No symbol table info available."
Code:
gdb cgminer core.15150
GNU gdb (GDB) Fedora (7.3-43.fc15)
Copyright (C) 2011 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/cgminer...done.
[New LWP 15230]
[New LWP 15205]
[New LWP 15158]
[New LWP 15209]
[New LWP 15157]
[New LWP 15150]
[New LWP 15210]
[New LWP 15207]
[New LWP 15202]
[New LWP 15206]
[New LWP 15203]
[New LWP 15212]
[New LWP 15208]
Missing separate debuginfo for
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/3a/8fe6cb0063d56fc9be76ecd085c05f1b8a76e6
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
Core was generated by `cgminer -o http://GBTPOOL:GWPORT -O x:y'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003c6f67e8c1 in strcat () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-18.fc15.x86_64 glibc-2.14.1-5.x86_64 keyutils-libs-1.2-7.fc15.x86_64 krb5-libs-1.9.1-5.fc15.x86_64 libX11-1.4.3-1.fc15.x86_64 libXau-1.0.6-2.fc15.x86_64 libXext-1.2.0-2.fc15.x86_64 libXinerama-1.1.1-2.fc15.x86_64 libcom_err-1.41.14-2.fc15.x86_64 libcurl-7.21.3-11.fc15.x86_64 libgcc-4.6.0-10.fc15.x86_64 libidn-1.19-2.fc15.x86_64 libselinux-2.0.99-4.fc15.x86_64 libssh2-1.2.7-1.fc15.x86_64 libstdc++-4.6.0-10.fc15.x86_64 libxcb-1.7-2.fc15.x86_64 mesa-libGLU-7.11-1.fc15.x86_64 ncurses-libs-5.8-2.20110319.fc15.x86_64 nspr-4.8.8-1.fc15.x86_64 nss-3.12.10-6.fc15.x86_64 nss-mdns-0.10-9.fc15.x86_64 nss-softokn-freebl-3.12.10-2.fc15.x86_64 nss-util-3.12.10-1.fc15.x86_64 openldap-2.4.24-3.fc15.x86_64 openssl-1.0.0g-1.fc15.x86_64 xorg-x11-drv-catalyst-libs-11.6-1.fc15.x86_64 zlib-1.2.5-3.fc15.x86_64
(gdb) bt full
#0  0x0000003c6f67e8c1 in strcat () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000004093f0 in submit_upstream_work (work=0x7f67e4000c00, curl=0x7f67e400b5f0,
    resubmit=false) at cgminer.c:2331
        gbt_block = "02000000ca538130d3b31ccc24be835ba05bf2b8c41f8dfe8c112584ca03", '0' <repeats 12 times>, "8d4ca763df01df8377efc6a798d0607e3325259b4923e603308d8237d8ece2b97a22b650eae0041a11865698400100000001", '0' <repeats 64 times>, "ffffffff4b034e34030e"...
        varint = 0x3030303030303030 <Address 0x3030303030303030 out of bounds>
        header = 0x3136646362313465 <Address 0x3136646362313465 out of bounds>
        data = "76a914dcacb1cb4f31a6a3a239ae0199626bce00a72c3788acacc59502000000001976a91428220c"
        hexstr = 0x3838376332663736 <Address 0x3838376332663736 out of bounds>
        val = 0x3633343139613637
        res = 0x3931303030303030
        err = 0x3030303030306461
        s = "4188acb896", '0' <repeats 12 times>, "1976a914f52651ec8fe199ea975c63fc36369364c31fe80288ac980b", '0' <repeats 12 times>, "1976a9140f9bfe4cfd6c45c623a77d8087982c41a6fef69588ac50a2", '0' <repeats 12 times>, "1976a914cccdfc3b5e7ae849041e954dc48f47b96b2219f4"...
        rc = 57
        thr_id = 959918646
        cgpu = 0x3239333738353534
        pool = 0x6465343939663962
        rolltime = 1681469798
        hash32 = 0x6639313265646462
        tv_submit = {tv_sec = 7306075964502533688, tv_usec = 4121744960866432049}
        tv_submit_reply = {tv_sec = 4134645543713452080, tv_usec = 3978477492665463857}
        hashshow = "ad", '0' <repeats 12 times>, "1976a9141f24c264b0f47ece27326a3905be9b91fd1da97788ac34"
        worktime = "ac4c320200000000001976a914bd43b675c496b8b13bde490465ea355a94136faf88acc0543a00000000001976a914bcd6b30774cc7bdcc922e4f1817ca035667b18cd88acd46e1800000000001976a9147cb7a1d86ddddcdc8ef192cbd0bc67a370524b"
#2  0x3931303030303030 in ?? ()
No symbol table info available.
It sure does. This bug should be fixed in git now, thanks!

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 [414] 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 ... 847 »
  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!