Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
535 stars 217 forks source link

ClassNotFound Exception #49

Closed FrederickGeek8 closed 11 years ago

FrederickGeek8 commented 11 years ago

I'm getting this error after I run DiabloMiner-OSX.sh

Caused by: java.lang.ClassNotFoundException: com.diablominer.DiabloMiner.DiabloMiner
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
FrederickGeek8 commented 11 years ago

This is after cloning this repo. If I run the precomplied binary then it runs but then I get https://github.com/Diablo-D3/DiabloMiner/issues/48 (I'm running 10.8)

Diablo-D3 commented 11 years ago

The git repo does not contain a built version of DiabloMiner. You must run git package to build it. I'm still trying to figure out why #48 happens. I think later today I'm just going to commit a bunch of sanity checks to catch any obvious problems.

FrederickGeek8 commented 11 years ago

Diablo Miner seems to run longer and send out more blocks if I stress out the GPU with things like refresh Twitter (the animations) and watching Youtube.

I'm starting to think that this might just be a placebo though...

FrederickGeek8 commented 11 years ago

The script always seems to through #48 after 2 minutes. I made a simple bash script to help https://gist.github.com/4255876

Diablo-D3 commented 11 years ago

All of this should be comments on #48, however this is consistent with what I think the problem is. Basically, #48 is I'm exceeding 232 accidentally: the `last nonce ran < 232check is not ran at the same time as theset global work sizecode. The check should befuture last nonce ran < 2**32`.

I'm going to commit a possible fix in a bit.