Anyway I've committed a fix to the git tree which prevents using just the sockopt function if the version of curl is too old. This should fix it building on older curls.

I started out trying to use CentOS before switching to F15 after I decided that manually compiling every component and half of the compilers to get pretty much any of the miners working wasn't worth the hassle and was going to lead to a broken installation anyway. Fortunately, I'm not trying to do anything else with the machine I am running Linux on at the moment, but anyone who is mining on the side might have good reasons to run CentOS.

I started out trying to use CentOS before switching to F15 after I decided that manually compiling every component and half of the compilers to get pretty much any of the miners working wasn't worth the hassle and was going to lead to a broken installation anyway. Fortunately, I'm not trying to do anything else with the machine I am running Linux on at the moment, but anyone who is mining on the side might have good reasons to run CentOS.

my poclbm has been running under centos for a month on three machines with no issues at all. I only use the machines to mine. I find centos rock solid.

ck, -O2 -g is not helping either, it still doesn't segfault under gdb, but reliably segfaults when run from the terminal. Look, I managed to make it to dump core with -O0, then loaded in gdb and did bt full. Does it help?

I'm looking, and it ain't making much sense. It's crashing on the redraw window function within libncurses for reasons that aren't obvious... I'll try doing that window redraw somewhere else in the code.

Make the thread restart do a pthread_join after disabling the device, only re-enabling it if we succeed in restarting the thread. Do this from a separate thread so as to not block any other code. This will allow cgminer to continue even if one GPU hangs.

Try to do every curses manipulation under the curses lock. Hopefully this will prevent the crash on window resizing.

Only use the sockoptfunction if the version of curl is recent enough. This should make it possible to build on machines with older libcurls installed.

Small nitpick, it's syslogging as "cpuminer" which, in fact.... when you're using GPU, it isn't... either choose the process name under which it syslogs, or being able to set the facility, would help narrow down the logging.