we give the gdb backtrace from the core file
Debugging Data:
Program terminated with signal SIGFPE, Arithmetic exception.
#0 0x00007f2d04dacbfe in check_calls_by_money (ticks=45416177, param=0x0) at cnxcc_check.c:77
77 / call->money_based
(gdb) bt full
#0 0x00007f2d04dacbfe in check_calls_by_money (ticks=45416177, param=0x0) at cnxcc_check.c:77
consumed_time = 1
credit_data = 0x7f2d05bb9d80
call = 0x7f2d05bb9fd0
total_consumed_money = 0
consumption_diff = 0
h_entry = 0x7f2d05bb9c78
tmp = 0x7f2d05b89fb8
tmp_call = 0x7f2d05bb9e38
i = 28
func = "check_calls_by_money"
#1 0x00000000006c5f2a in fork_basic_timer (child_id=-1, desc=0x7f2d04de8735 "CNXCC TB TIMER", make_sock=1,
f=0x7f2d04dac9f0 <check_calls_by_money>, param=0x0, interval=1) at core/timer_proc.c:81
pid = 0
#2 0x00007f2d04db449a in _child_init (rank=0) at cnxcc_mod.c:390
pid = 0
func = "child_init"
#3 0x0000000000636f94 in init_mod_child (m=0x7f2d0a604938, rank=0) at core/sr_module.c:892
ret = 0
func = "init_mod_child"
#4 0x0000000000636bde in init_mod_child (m=0x7f2d0a697670, rank=0) at core/sr_module.c:884
ret = 1
func = "init_mod_child"
#5 0x000000000063778f in init_child (rank=0) at core/sr_module.c:971
ret = 176876744
type = 0x861b4b "PROC_MAIN"
func = "init_child"
#6 0x000000000042f78d in main_loop () at main.c:1895
i = 32
pid = 127903
si = 0x0
si_desc = "udp receiver child=31 sock=172.16.172.236:65000\000\000 \201\000\000\000\000\000p߆\375\177\000\000L\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\200\000\000\000\000\000\212\230\305\n-\177\000\000\300\273K\n-\177\000\000(ۆ\375\177\000\000\060چ\375\177\000\000\000\213\370\207\017!\335", <incomplete sequence \364>
nrprocs = 32
woneinit = 1
func = "main_loop"
#7 0x000000000043995c in main (argc=10, argv=0x7ffd5f86e088) at main.c:3173
cfg_stream = 0x1da3380
c = -1
r = 0
tmp = 0x7ffd5f86ee87 ""
tmp_len = 0
port = 0
--Type for more, q to quit, c to continue without paging--
proto = 0
ahost = 0x0
aport = 0
options = 0x8152f8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
ret = -1
seed = 2741545718
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 2
n_lst = 0x40
p = 0x1800000 <error: Cannot access memory at address 0x1800000>
st = {st_dev = 24, st_ino = 1082, st_nlink = 2, st_mode = 16832, st_uid = 981, st_gid = 981, __pad0 = 0, st_rdev = 0, st_size = 40,
st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1717512851, tv_nsec = 710999949}, st_mtim = {tv_sec = 1719111683,
tv_nsec = 418919260}, st_ctim = {tv_sec = 1719111683, tv_nsec = 418919260}, _glibc_reserved = {0, 0, 0}}
tbuf = "\342l\022\v-\177\000\000\070+\017\v-\177\000\000\000݆\375\177\000\000\a\000\000\000\000\000\000\000\330\030\017\v-\177\000\000\a\000\000\000#\000\000\000\060z\022\v-\177\000\000\225\365\017\v-\177\000\000\000\000\000\000\000\000\000\000`\b\020\v-\177\000\000\070\000\301\n-\177\000\000\020\373\016\v-\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\320܆\375\177\000\000\330*\017\v-\177\000\000\330*\017\v-\177\000\000\000\000\000\000\000\000\000\000\330\t\017\v-\177\000\000\320܆\375\177\000\000\220\205\022\v-\177\000\000\000\020\017\v-\177\000\000\022\034\017\v-\177\000\000ֿ\017\v-\177\000\000\344#\300\n-\177\000\000\232\251\021\v"...
option_index = 0
long_options = {{name = 0x817966 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x812514 "version", has_arg = 0, flag = 0x0,
val = 118}, {name = 0x81796b "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x817971 "subst", has_arg = 1, flag = 0x0,
val = 1025}, {name = 0x817977 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x817980 "substdefs", has_arg = 1,
flag = 0x0, val = 1027}, {name = 0x81798a "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x817994 "loadmodule",
has_arg = 1, flag = 0x0, val = 1029}, {name = 0x81799f "modparam", has_arg = 1, flag = 0x0, val = 1030}, {
name = 0x8179a8 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x8179b3 "debug", has_arg = 1, flag = 0x0, val = 1032},
{name = 0x8179b9 "cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {name = 0x8179c3 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {
name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
func = "main"
(gdb)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.