Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: tonytre on March 18, 2014, 07:06:41 PM



Title: Could someone help troubleshoot a "Segmentation fault (core dumped)"
Post by: tonytre on March 18, 2014, 07:06:41 PM
So I have been watching/buying cryptos since before Christmas, but finally decided to build my first computer and put in an R7 265 so I can mine while I'm not broswing or doing school work. This is my first week ever using Linux (Ubuntu), and last night /u/rendercite was nice enough to spend a few hours in a chat walking me through step by step everything I needed to do. He has the same exact card working, so I was trying pretty much exactly what he had. When I got to the end and went to launch sgminer through cd ~/ and then ./mine.sh, I was getting the "segmentation fault (core dumped)"

This is what my config looks like:

export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=95
export DISPLAY=:0
sgminer -o stratum+tcp://stratum.fast-pool.com:3002 -u xxxx.xxxxx -p xxxxx --xintensity 4 --thread-concurrency 8193 -g 2 --gpu-engine 1150 --gpu-memclock 1400 --gpu-fan 65


Does anyone have any idea where the problem could be? I appreciate any help I can get. Thanks!


Title: Re: Could someone help troubleshoot a "Segmentation fault (core dumped)"
Post by: Wipeout2097 on March 18, 2014, 07:12:05 PM
Are you OS agnostic? If you are, I suggest you install Windows and download a pre-compiled sgminer that just works.

I could try to build a binary for you on a virtual-machine, or next weekend when I have access to my Linux Mint dual-boot PC. It can be however pointless, if it's an issue with your installation.


Title: Re: Could someone help troubleshoot a "Segmentation fault (core dumped)"
Post by: tonytre on March 18, 2014, 07:23:28 PM
That was my last resort. I built a budget computer and wanted to run Linux to save the $100. If I can't figure this out in a few days, then I will purchase windows. I was a long time mac user, and have actually enjoyed learning Linux.


Title: Re: Could someone help troubleshoot a "Segmentation fault (core dumped)"
Post by: Wipeout2097 on March 18, 2014, 07:38:47 PM
Then try Linux Mint! I've had a way more pleasant experience than with Ubuntu in so many ways...

Or you can just ask who helped you, for the resulting .bin files for your particular videocard. Those are files that sgminer drops and need to be generated once, suitable for the R7-265. If already present, this skips many steps and can bypass a lot of issues.

Others experienced with Linux mining can help you further than myself, though. I don't want to hog the thread with nonsense.  :)




Title: Re: Could someone help troubleshoot a "Segmentation fault (core dumped)"
Post by: tonytre on March 18, 2014, 07:54:57 PM
I actually switched from Mint to Ubuntu last night because I figured there were more people available to troubleshoot Ubuntu. The reddit user has successfully got me up and running though. The sgminer package was bad and I re downloaded sgminer-4.1.0 and I am now working!