Bit concerned at the 'No symbol table info available' so maybe I haven't done it quite right.
(gdb) bt full
#0 0x00007f589268cd62 in curl_easy_reset ()
from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#1 0x000000000042b432 in json_rpc_call (curl=0x0,
url=0x7ffe5025e208 "http://127.0.0.1:31000", userpass=,
rpc_req=rpc_req@entry=0x7f5889e0ead0 "{\"id\": 0, \"method\": \"getblockcount\"}\n", probe=probe@entry=true, longpoll=longpoll@entry=false,
rolltime=0x7f5889e0e96c, pool=0x1c8e880, share=false) at util.c:779
timeout = 60
all_data = {buf = 0x0, len = 0}
hi = {lp_path = 0x0, rolltime = 0, reason = 0x0, stratum_url = 0x0,
hadrolltime = false, canroll = false, hadexpire = false}
len_hdr = "Content-Length: 37\000\373\000\000\000\000\001\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\n\375@\000\000\000\000\000\300\350\340\211X\177\000\000\333\350\340\211X\177\000"
user_agent_hdr = "User-Agent: cgminer 4.10.0", '\000' , "\020\351\340\211\004\000\000\000\036\aF\000\000\000\000\000\000\000\340\211X\177\000\000\000\000\000\000\000\000\000\000\360\346\340\211X\177\000\000\360\346\340\211X\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000"
curl_err_str = "h\350\340\211X\177\000\000jui\221X\177\000\000\200\350\310\001\000\000\000\000L\002A", '\000' , "\240Č\221X\177\000\000\000\000\000\000\000\000\000\000\320\352\340\211X\177\000\000\320\352\340\211X---\177\000\000\033\353\340\211X\177\000\000\317\353\340\211X\177\000\000\320\352\340\211X\177\000\000\317\353\340\211X\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\277A\266L\347\004\306\004\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\320\352\340\211X\177\000\000\272\333C\000\000\000\000\000\320\352\340\211X\177\000\000\200\350\310\001", '\000' , "\b\374a\221X\177\000\000\003\b\000\000\000\000\000\000\060"...
headers = 0x7f5874000910
upload_data = {buf = 0x7f5889e0ead0, len = 37}
val =
err_val =
res_val =
probing = false
byte_count = 6.9178205667131595e-310
err = {line = 0, column = 0, position = 0,
source = '\000' ,
text = '\000' }
rc =
#2 0x0000000000420a21 in longpoll_thread (userdata=0x1c8e880)
at cgminer.c:8426
val =
res_val = 0x0
cp = 0x1c8e880
start = {tv_sec = 1493105333, tv_usec = 94501}
reply = {tv_sec = 0, tv_usec = 0}
end = {tv_sec = 0, tv_usec = 0}
pool = 0x1c8e880
threadname = "0/Longpoll\000\000\000\000\000"
curl = 0x0
lpreq = "{\"id\": 0, \"method\": \"getblockcount\"}\n\000\060 detection via getblockcount polling", '\000'
lp_url =
rolltime = 0
__func__ = "longpoll_thread"
#3 0x00007f58924496ba in start_thread (arg=0x7f5889e0f700)
at pthread_create.c:333
__res =
pd = 0x7f5889e0f700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140018247071488,
-1427088155123090364, 0, 140018255460783, 140018247072192, 0,
1333317430687595588, 1333296848420633668},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
__PRETTY_FUNCTION__ = "start_thread"
#4 0x00007f589161082d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
(gdb)
Thanks for that. Added a change to git master which should address this.