background

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Buy bitcoins anywhere in the world at localbitcoins.com

Buy Monero at local Monero

Trade BTC for Monero at AgoraDesk

Use Anonymous Ads
Use Anonymous Ads

MacMiner crashes on startup

edited March 2014 in Support
MacMiner crashes on startup for me. Below is the stack trace. Any suggestions on how I can get it working again?

I have the stack trace but I can't post it here because it's too big. Here's the first bit:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread


Exception Type:  EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000


Application Specific Information:

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Index 8 out of bounds; string length 0'

terminating with uncaught exception of type NSException

abort() called


Application Specific Backtrace 1:

0   CoreFoundation                      0x00007fff9596625c __exceptionPreprocess + 172

1   libobjc.A.dylib                     0x00007fff97404e75 objc_exception_throw + 43

2   CoreFoundation                      0x00007fff9596610c +[NSException raise:format:] + 204

3   Foundation                          0x00007fff97fcb0be -[NSConcreteScanner setScanLocation:] + 118

4   MacMiner                            0x000000010418f548 MacMiner + 140616

5   MacMiner                            0x000000010418f21c MacMiner + 139804

6   CoreFoundation                      0x00007fff95886549 -[NSSet makeObjectsPerformSelector:] + 201

7   AppKit                              0x00007fff9341dc8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157

8   AppKit                              0x00007fff9341275e loadNib + 327

9   AppKit                              0x00007fff93411cfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288

10  AppKit                              0x00007fff93411aec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197

11  AppKit                              0x00007fff934118db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357

12  AppKit                              0x00007fff9340d727 NSApplicationMain + 448

13  MacMiner                            0x000000010416eec4 MacMiner + 7876


«1

Comments

  • This has been happening to me also - on both of my iMacs and my MacBookPro - all running 10.8.  Here is the crash log if it helps:

    Process:         MacMiner [4313]
    Path:            /Applications/MacMiner.app/Contents/MacOS/MacMiner
    Identifier:      com.fabulouspanda.macminer
    Version:         1.5.19rc1 (1519rc1)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [141]
    User ID:         501

    Date/Time:       2014-03-28 14:11:10.277 -0700
    OS Version:      Mac OS X 10.8.5 (12F45)
    Report Version:  10

    Interval Since Last Report:          784403 sec
    Crashes Since Last Report:           11
    Per-App Interval Since Last Report:  20 sec
    Per-App Crashes Since Last Report:   10
    Anonymous UUID:                      BDC6F79E-83CC-B019-EE06-F994876F1C43

    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Range or index out of bounds'
    terminate called throwing an exception
    abort() called

    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff8aeb0b06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff8b2563f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8aeb08dc +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff90bf35d2 -[NSConcreteScanner setScanLocation:] + 105
    4   MacMiner                            0x0000000105e6e205 MacMiner + 143877
    5   MacMiner                            0x0000000105e6ded9 MacMiner + 143065
    6   CoreFoundation                      0x00007fff8aea88e9 -[NSSet makeObjectsPerformSelector:] + 201
    7   AppKit                              0x00007fff8ce74136 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1168
    8   AppKit                              0x00007fff8ce5311d loadNib + 317
    9   AppKit                              0x00007fff8ce52649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
    10  AppKit                              0x00007fff8ce5247e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
    11  AppKit                              0x00007fff8ce5225e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
    12  AppKit                              0x00007fff8ce4e9ff NSApplicationMain + 398
    13  MacMiner                            0x0000000105e4cccc MacMiner + 7372

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib         0x00007fff8c07e212 __pthread_kill + 10
    1   libsystem_c.dylib             0x00007fff9437db24 pthread_kill + 90
    2   libsystem_c.dylib             0x00007fff943c1f61 abort + 143
    3   libc++abi.dylib               0x00007fff95a2b9eb abort_message + 257
    4   libc++abi.dylib               0x00007fff95a2939a default_terminate() + 28
    5   libobjc.A.dylib               0x00007fff8b256873 _objc_terminate() + 91
    6   libc++abi.dylib               0x00007fff95a293c9 safe_handler_caller(void (*)()) + 8
    7   libc++abi.dylib               0x00007fff95a29424 std::terminate() + 16
    8   libc++abi.dylib               0x00007fff95a2a58b __cxa_throw + 111
    9   libobjc.A.dylib               0x00007fff8b25650c objc_exception_throw + 327
    10  com.apple.CoreFoundation       0x00007fff8aeb08dc +[NSException raise:format:] + 204
    11  com.apple.Foundation           0x00007fff90bf35d2 -[NSConcreteScanner setScanLocation:] + 105
    12  com.fabulouspanda.macminer     0x0000000105e6e205 0x105e4b000 + 143877
    13  com.fabulouspanda.macminer     0x0000000105e6ded9 0x105e4b000 + 143065
    14  com.apple.CoreFoundation       0x00007fff8aea88e9 -[NSSet makeObjectsPerformSelector:] + 201


  • Thanks for the report, hopefully this will be fixed soon, deleting 

    /Users/username/Library/Application Support/MacMiner

    should fix temporarily!
  • I'm having the same issue. I tried deleting the folder you suggested and it worked one but now it wont. It keeps saying that it's missing something from that folder. So, either I leave the folder there and it won't launch or I delete it and it won't work. Please fix this soon, this is the only mac mining software that I can find that even kind of works.
  • Thanks for getting back, FP.  There is no such folder on my hard drive, so I can not delete it.  In fact, on my iMac: hard drive/Library/Application Support/Macromedia - but no MacMiner folder.  I may have deleted it in an attempt to start anew at some point, but there is no installer from the zip file, just the app, so maybe I missed a step somewhere….

    And here is the latest crash report:

    image

    Cheers,

    Jeffox
  • Very sorry I've been too busy to develop lately but this is the top of the list, if deleting that folder then if necessary restarting doesn't help please try appzapper.com

    Can't see your crash report Jeffox!
  • there has never been a folder inside app support ... i have checked since the beginning ... i also deleted the prefs file inside of library and re-installed older versions, rebooted numerous times, etc., to no avail ... it has never started even once ... 10.9.2

    Process:         MacMiner [716]
    Path:            /Applications/MacMiner.app/Contents/MacOS/MacMiner
    Identifier:      com.fabulouspanda.macminer
    Version:         1.5.18e (1518e)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [187]
    Responsible:     MacMiner [716]
    User ID:         501

    Date/Time:       2014-04-13 06:45:15.203 -0600
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  CF805020-D302-672E-AA1D-8792652DE43B


    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Index 8 out of bounds; string length 0'
    terminating with uncaught exception of type NSException
    abort() called

    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff95ddb25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8a38be75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff95ddb10c +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff8af650be -[NSConcreteScanner setScanLocation:] + 118
    4   MacMiner                            0x0000000101575a4c MacMiner + 59980
    5   MacMiner                            0x0000000101576640 MacMiner + 63040
    6   CoreFoundation                      0x00007fff95cfb549 -[NSSet makeObjectsPerformSelector:] + 201
    7   AppKit                              0x00007fff8f2eac8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    8   AppKit                              0x00007fff8f2df75e loadNib + 327
    9   AppKit                              0x00007fff8f2decfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    10  AppKit                              0x00007fff8f2deaec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    11  AppKit                              0x00007fff8f2de8db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    12  AppKit                              0x00007fff8f2da727 NSApplicationMain + 448
    13  MacMiner                            0x0000000101568ec4 MacMiner + 7876
    14  ???                                 0x0000000000000001 0x0 + 1
  • also please check for 

    /Users/username/Library/Preferences/com.fabulouspanda.macminer.plist
    and
    /Users/username/Library/Caches/com.fabulouspanda.macminer

    I :: think :: the versions up to 1.5.12 should be free of this problem, what's the earliest you've tried?
  • tried app zapper and zapped it ...

    then

    Process:         MacMiner [833]
    Path:            /Applications/MacMiner.app/Contents/MacOS/MacMiner
    Identifier:      com.fabulouspanda.macminer
    Version:         1.5.18e (1518e)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [187]
    Responsible:     MacMiner [833]
    User ID:         501

    Date/Time:       2014-04-13 06:51:15.694 -0600
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  CF805020-D302-672E-AA1D-8792652DE43B


    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Index 8 out of bounds; string length 0'
    terminating with uncaught exception of type NSException
    abort() called

    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff95ddb25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8a38be75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff95ddb10c +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff8af650be -[NSConcreteScanner setScanLocation:] + 118
    4   MacMiner                            0x000000010d656a4c MacMiner + 59980
    5   MacMiner                            0x000000010d657640 MacMiner + 63040
    6   CoreFoundation                      0x00007fff95cfb549 -[NSSet makeObjectsPerformSelector:] + 201
    7   AppKit                              0x00007fff8f2eac8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    8   AppKit                              0x00007fff8f2df75e loadNib + 327
    9   AppKit                              0x00007fff8f2decfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    10  AppKit                              0x00007fff8f2deaec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    11  AppKit                              0x00007fff8f2de8db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    12  AppKit                              0x00007fff8f2da727 NSApplicationMain + 448
    13  MacMiner                            0x000000010d649ec4 MacMiner + 7876
    14  ???                                 0x0000000000000002 0x0 + 2

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib         0x00007fff931aa866 __pthread_kill + 10
    1   libsystem_pthread.dylib       0x00007fff8d0a435c pthread_kill + 92
    2   libsystem_c.dylib             0x00007fff948d1b1a abort + 125
    3   libc++abi.dylib               0x00007fff95adaf31 abort_message + 257
    4   libc++abi.dylib               0x00007fff95b00952 default_terminate_handler() + 264
    5   libobjc.A.dylib               0x00007fff8a38c30d _objc_terminate() + 103


     
      
  • yeah i just spoke with you on Twitter ... i deleted the cache and the .plist already many times ... i have tried nearly every version up to the beta ... they all do the same
  • Damn, I still can't seem to find any reliable data points for the cause of this problem then! So you've tried at least 1 version on the 1.4 branch?

    Please create the file 

    /Users/username/Library/Application Support/MacMiner/bfgurls.conf

    and put the text

    {
    "pools" : [
    {
    "user" : "username",
    "pass" : "password"
    }
    ]

    }

    in the file - do you know how to use vi at the command line? That would be the best way to create the file…

    Then see whether it'll launch for you…

    if not I can get you up and running the backend miner at the command line if you like?
  • ok, so i tried 1.5.12 like you said ... same error ... gonna try another earlier one again ... keep ya posted

    Process:         MacMiner [906]
    Path:            /Applications/MacMiner.app/Contents/MacOS/MacMiner
    Identifier:      com.fabulouspanda.macminer
    Version:         1.5.12 (1512)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [187]
    Responsible:     MacMiner [906]
    User ID:         501

    Date/Time:       2014-04-13 06:56:49.436 -0600
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  CF805020-D302-672E-AA1D-8792652DE43B


    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Index 8 out of bounds; string length 0'
    terminating with uncaught exception of type NSException
    abort() called

    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff95ddb25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8a38be75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff95ddb10c +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff8af650be -[NSConcreteScanner setScanLocation:] + 118
    4   MacMiner                            0x000000010b2bbc9c MacMiner + 40092
    5   MacMiner                            0x000000010b2bc3f6 MacMiner + 41974
    6   CoreFoundation                      0x00007fff95cfb549 -[NSSet makeObjectsPerformSelector:] + 201
    7   AppKit                              0x00007fff8f2eac8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    8   AppKit                              0x00007fff8f2df75e loadNib + 327
    9   AppKit                              0x00007fff8f2decfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    10  AppKit                              0x00007fff8f2deaec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    11  AppKit                              0x00007fff8f2de8db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    12  AppKit                              0x00007fff8f2da727 NSApplicationMain + 448
    13  MacMiner                            0x000000010b2b3ea0 MacMiner + 7840
  • i will use text wrangler and create the file ... keep ya posted ... which version should i try with that .conf file ...
  • cool, I guess any version is fine to test with - I'm a bit confused about this problem as I've never yet managed to replicate it and it always seems to have a different cause and solution!
  • do you want me to actually put my forum user name and password in or leave it literally as user and password ... ?
  • you can replace all the pool info with yours, leave it as is or replace user and password with your BTC address - the pool there is a P2Pool node

    make sure auto replace doesn't swap the normal quotes for curly ones!
  • that caused it to crash immediately!  it did not even attempt to open ... immediate to the crash report ...

    Process:         MacMiner [975]
    Path:            /Applications/MacMiner.app/Contents/MacOS/MacMiner
    Identifier:      com.fabulouspanda.macminer
    Version:         1.5.12 (1512)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [187]
    Responsible:     MacMiner [975]
    User ID:         501

    Date/Time:       2014-04-13 07:01:44.954 -0600
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  CF805020-D302-672E-AA1D-8792652DE43B


    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteScanner setScanLocation:]: Index 8 out of bounds; string length 0'
    terminating with uncaught exception of type NSException
    abort() called
  • the main reason for the info is to get the app started then you can set up the pool again
  • if 1.4 doesn't work for you I'm pretty stuck on this, it seems like two different crashes if it opens for a while without the file but not at all with it! If 1.4 doesn't work I'll give instructions for running in Terminal
  • with my BTC address?  as in, the address established in my .conf file?  or do you mean my credentials at a pool?  i'm confused ...  perhaps macminer requires that my bitcoin.conf file be set up?  
  • terminal instructions would be great.  no change when i put in my "credentials" ... however, not sure what credentials i am supposed to put into this .conf file for Mac Miner ... see above post
  • I had thought it only crashed for a subsection of people who had already set up the pools and thus those files in app, but now I'm just confused.

    Ignore the credentials, you can leave the info as is and use your own pool info if you get the app started
  • assuming you have MacMiner called MacMiner in your Applications folder and you just want to use USB devices to mine run like this in terminal:

    /Applications/MacMiner.app/Contents/Resources/bfgminer/bin/bfgminer -o http://pool.address.com:1234 -u username -p password -S all
  • yeah ... i have been mining for a pool at BTC Guild, but never even got that far with MacMiner ... I was mostly hoping to establish MacMiner on my personal PC as a worker at BTC guild once my new ant device arrives ... I am cautiously optimistic right now because the second to oldest version is up and running ... thanks for the terminal instructions and i will use that if anything goes awry again i suppose ... i really appreciate the software / GUI and the help ...
  • no problem, let me know if you need any more help, I will keep investigating this issue, it would be great if you could let me know the newest version that works for you so I can look for changes in the code around then!
  • running stably so far ... unable to confirm that connected with pool ... 
  • will do RE: newest version ... once the ant miner comes, i suspect things will work better.
  • I got everything working ... for SOME reason, once I got the old version stable on three different machines, I was able to re-install on one machine, then another, and then another ... with the pre-beta version.  Now installing the MobileMiner app ... not sure what finally allowed it to work - NOT AT ALL.  I was persistent, restarted a lot, downloaded new versions and old versions of the miners, tried using them from the command line ... and then suddenly they all worked.  Alls well that ends well ... and now that all is working, I have three Litecoin workers doing 50khs total or so ... thanks man.  I will eventually use when my new AntBit comes for some BTC mining as well ... thanks oemb1905
  • I have found a way to solve this problem and might explain a lot about what's going wrong to the developer.

    The first time I launch any version it always works. However, when the bfgurl.conf file has been created, which happens when you save your pool info, all goes to ruins. And you need to appzap or manually remove everything and start over again.

    To circumvent that problem, I additionally went to the Preferences -> Pool -> Run Legacy Pool Config. There I filled in the same details and clicked save and start. So this creates something additional that a new user normally doesn't add and the app crashes due to the missing file. I don't know what it is, I don't have time to figure that out anymore now (as I'm writing a mini guide for our new miner to work with your app). My first guess would be the additional ltcurls.conf file in Application Support.

    Hope it's fixed before the instruction go public :)

    And thank you for this great app. Good luck.
  • John... seems you've got some work here! ;)
  • Thanks for the continued reports, there will be a minor update to the beta this weekend to maintain MobileMiner support going past May and there's going to be another attempt at these issue in there :S

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file