ckolivas/cgminer — Issue #140: Segfault in print_summary()
Author: ah42
Created: 2012-02-24 16:35:43+00:00
State: open

print_summary() is only called by quit, however we have this at the end of print_summary() which leads to a segfault:
if (opt_shares > total_accepted)
quit(1, "Did not successfully mine as many shares as were requested.");

changing it to an applog() eliminates the segfault