Program terminated with signal SIGSEGV, Segmentation fault. #0 status_get_hpbonus (bl=bl@entry=0x56395a12b370, type=type@entry=STATUS_BONUS_FIX) at status.cpp:3332 3332 bonus += sd->bonus.hp; (gdb) bt full #0 status_get_hpbonus (bl=bl@entry=0x56395a12b370, type=type@entry=STATUS_BONUS_FIX) at status.cpp:3332 sd = 0x0 skill_lv = sc = bonus = 0 #1 0x000056395421ed43 in status_calc_maxhpsp_pc (sd=0x56395a12b370, stat=, isHP=) at status.cpp:3647 equip_bonus = 0 item_bonus = 0 idx = level = job_id = isHP = true job_id = equip_bonus = equip_bonus = stat = 16 sd = 0x56395a12b370 dmax = idx = level = item_bonus = item_bonus = idx = level = job_id = equip_bonus = item_bonus = equip_bonus = item_bonus = #2 0x0000563954243fea in status_calc_pc_sub (sd=sd@entry=0x56395a12b370, opt=opt@entry=SCO_NONE) at status.cpp:4316 calculating = 1 base_status = 0x56395a12b86c sc = 0x56395a12b920 b_skill = {{id = 0, lv = 0 '\000', flag = 0 '\000'} , {id = 142, lv = 1 '\001', flag = 0 '\000'}, {id = 143, lv = 1 '\001', flag = 0 '\000'}, {id = 0, lv = 0 '\000', flag = 0 '\000'} } i = skill = refinedef = index = right_weapon = std::shared_ptr (use count 3, weak count 0) = {get() = } left_weapon = std::shared_ptr (use count 3, weak count 0) = {get() = } #3 0x0000563954245561 in status_calc_pc_ (sd=sd@entry=0x56395a12b370, opt=opt@entry=SCO_NONE) at status.cpp:4744 previous_st = 0x0 ret = #4 0x0000563954232079 in status_calc_bl_ (bl=0x56395a12b370, flag=SCB_ALL, opt=SCO_NONE) at status.cpp:5831 b_status = {hp = 0, sp = 0, max_hp = 0, max_sp = 0, str = 0, agi = 0, vit = 0, int_ = 0, dex = 0, luk = 0, eatk = 0, batk = 0, matk_min = 0, matk_max = 0, speed = 150, amotion = 0, adelay = 0, dmotion = 0, mode = MD_NONE, hit = 0, flee = 0, cri = 0, flee2 = 0, def2 = 0, mdef2 = 0, aspd_rate = 0, def = 0 '\000', mdef = 0 '\000', def_ele = 0 '\000', ele_lv = 0 '\000', size = 0 '\000', race = 0 '\000', class_ = 0 '\000', rhw = { atk = 0, atk2 = 0, range = 0, ele = 0 '\000'}, lhw = {atk = 0, atk2 = 0, range = 0, ele = 0 '\000'}} status = 0x56395a12b8c4 #5 0x000056395412aaa8 in pc_setparam (sd=sd@entry=0x56395a12b370, type=133, val_tmp=val_tmp@entry=0) at pc.cpp:8976 val = 0 val_tmp = 0 type = 133 val = i = stat = sd = 0x56395a12b370 val = i = stat = #6 0x00005639541ac2a7 in set_reg_num (st=st@entry=0x0, sd=sd@entry=0x56395a12b370, num=1287, name=name@entry=0x7ffd5fa0bcd0 "PC_DIE_COUNTER", value=value@entry=0, ref=ref@entry=0x0) at script.cpp:3249 prefix = vlen = #7 0x00005639540c3398 in intif_parse_Registers (fd=fd@entry=9) at intif.cpp:1452 ival = 0 key = "PC_DIE_COUNTER", '\000' cursor = 44 i = 0 index = max = 2 flag = 1 sd = 0x56395a12b370 account_id = char_id = node = type = #8 0x00005639540c8616 in intif_parse (fd=fd@entry=9) at intif.cpp:3735 packet_len = 73 cmd = #9 0x000056395406622b in chrif_parse (fd=9) at chrif.cpp:1771 r = cmd = 14340 packet_len = fd = packet_len = cmd = r = packet_len = cmd = r = #10 0x00005639542849f5 in do_sockets (next=) at socket.cpp:1020 rfd = {fds_bits = {512, 0 }} timeout = {tv_sec = 0, tv_usec = 18370} ret = i = 9 #11 0x0000563954004392 in main (argc=, argv=) at core.cpp:369 next =