iamhyd 5 Posted February 20, 2014 (edited) Missing separate debuginfo for the main executable file Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/63/6b66f1c8c562dafe722cad958b5fc31d997944 [New Thread 16189] [New Thread 16191] Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000473c3e in ?? () "/root/trunk/map-server.core" is a core file. Please specify an executable to debug. (gdb) bt full #0 0x0000000000473c3e in ?? () No symbol table info available. #1 0x00000000049de070 in ?? () No symbol table info available. #2 0x00000000000001a4 in ?? () No symbol table info available. #3 0x0000000000000001 in ?? () No symbol table info available. #4 0x0000000004e19678 in ?? () No symbol table info available. #5 0x00000000009dccc0 in ?? () No symbol table info available. #6 0x000000000000c104 in ?? () No symbol table info available. #7 0x00007fffab57b130 in ?? () No symbol table info available. #8 0x0000000000000007 in ?? () No symbol table info available. #9 0x000000000000bf28 in ?? () No symbol table info available. #10 0x00007fffab57b138 in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Server is always crashing. Edited February 20, 2014 by iamhyd™ Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted February 20, 2014 (edited) It isnt a valid coredump, maybe u had put wrong fromat, Type this command gdb map-server map-server.coreThen show us the output with respective lines of source. Edited February 20, 2014 by Dastgir Pojee Quote Share this post Link to post Share on other sites
0 iamhyd 5 Posted February 20, 2014 It isnt a valid coredump, maybe u had put wrong fromat, Type this command gdb map-server map-server.coreThen show us the output with respective lines of source. Ahh Thanks (gdb) bt full #0 battle_drain (sd=0x0, tbl=0x49de070, rdamage=8, ldamage=8, race=7, boss=0) at battle.c:5472 wd = 0xbf28 type = 7 thp = <value optimized out> tsp = <value optimized out> rhp = <value optimized out> rsp = <value optimized out> hp = <value optimized out> sp = <value optimized out> i = <value optimized out> damage = 0x7fffab57b138 #1 0x0000000000480157 in battle_reflect_damage (target=0x7f012996c78c, src=0x49de070, wd=0x7fffab57b430, skill_id=0) at battle.c:5435 damage = <value optimized out> rdamage = 8 trdamage = <value optimized out> sd = 0x49de070 tsd = 0x0 sc = <value optimized out> ssc = <value optimized out> tick = 483268515 delay = <value optimized out> ---Type <return> to continue, or q <return> to quit---return rdelay = <value optimized out> max_reflect_damage = 4668320 #2 0x0000000000474cbb in battle_calc_weapon_attack (src=0x49de070, target=0x7f012996c78c, skill_id=<value optimized out>, skill_lv=0, wflag=0) at battle.c:5195 damage = 855 temp = <value optimized out> s_ele = 0 s_ele_ = 0 i = <value optimized out> nk = 0 n_ele = false sd = 0x49de070 tsd = 0x0 wd = {damage = 855, damage2 = 0, type = 0, div_ = 1, amotion = 290, dmotion = 360, blewcount = 0, flag = 529, dmg_lv = ATK_DEF} sc = <value optimized out> tsc = 0x7f012996cb6c sstatus = 0x49de458 tstatus = 0x7f012996cb04 flag = {hit = 1, cri = 0, idef = 0, idef2 = 0, pdef = 0, pdef2 = 0, infdef = 0, arrow = 0, rh = 1, lh = 0, weapon = 1, tdef = 0} __FUNCTION__ = "battle_calc_weapon_attack" ---Type <return> to continue, or q <return> to quit---return #3 0x000000000046d531 in battle_calc_attack ( attack_type=<value optimized out>, bl=<value optimized out>, target=<value optimized out>, skill_id=<value optimized out>, skill_lv=0, count=0) at battle.c:5232 d = {damage = 483268466, damage2 = 2147483647, type = 1, div_ = 0, amotion = -1420315328, dmotion = 32767, blewcount = 77455472, flag = 0, dmg_lv = 5547925} #4 0x00000000004725c7 in battle_weapon_attack (src=0x49de070, target=0x7f012996c78c, tick=483268515, flag=0) at battle.c:5703 sd = 0x49de070 tsd = 0x0 sstatus = 0x49de458 tstatus = 0x7f012996cb04 sc = 0x49de4b8 tsc = 0x7f012996cb6c damage = <value optimized out> skillv = <value optimized out> wd = <value optimized out> __FUNCTION__ = "battle_weapon_attack" #5 0x00000000006234fc in unit_attack_timer_sub (src=0x49de070, tid=<value optimized out>, tick=483268515) at unit.c:1896 target = 0x7f012996c78c ud = 0x49de090 ---Type <return> to continue, or q <return> to quit---return sstatus = 0x49de458 sd = <value optimized out> md = 0x0 range = <value optimized out> #6 0x000000000061c902 in unit_attack_timer (tid=-1, tick=483268515, id=<value optimized out>, data=<value optimized out>) at unit.c:1926 bl = 0x49de070 #7 0x000000000061e45b in unit_attack (src=<value optimized out>, target_id=<value optimized out>, continuous=1) at unit.c:1659 target = <value optimized out> ud = 0x49de090 __FUNCTION__ = "unit_attack" #8 0x00000000004b8fd1 in clif_parse (fd=11) at clif.c:18341 parse_cmd_func = <value optimized out> cmd = <value optimized out> packet_len = 7 sd = 0x49de070 pnum = <value optimized out> #9 0x0000000000634ba6 in do_sockets (next=<value optimized out>) at socket.c:872 rfd = {__fds_bits = {2048, 0 <repeats 15 times>}} timeout = {tv_sec = 0, tv_usec = 11678} ret = 0 ---Type <return> to continue, or q <return> to quit---return i = <value optimized out> #10 0x0000000000630ff9 in main (argc=<value optimized out>, argv=<value optimized out>) at core.c:361 next = <value optimized out> (gdb) return Make battle_drain return now? (y or n) y You can't do that without a process to debug. (gdb) bt full #0 battle_drain (sd=0x0, tbl=0x49de070, rdamage=8, ldamage=8, race=7, boss=0) at battle.c:5472 wd = 0xbf28 type = 7 thp = <value optimized out> tsp = <value optimized out> rhp = <value optimized out> rsp = <value optimized out> hp = <value optimized out> sp = <value optimized out> i = <value optimized out> damage = 0x7fffab57b138 #1 0x0000000000480157 in battle_reflect_damage (target=0x7f012996c78c, src=0x49de070, wd=0x7fffab57b430, skill_id=0) at battle.c:5435 damage = <value optimized out> rdamage = 8 trdamage = <value optimized out> sd = 0x49de070 tsd = 0x0 sc = <value optimized out> ssc = <value optimized out> tick = 483268515 delay = <value optimized out> ---Type <return> to continue, or q <return> to quit--- rdelay = <value optimized out> max_reflect_damage = 4668320 #2 0x0000000000474cbb in battle_calc_weapon_attack (src=0x49de070, target=0x7f012996c78c, skill_id=<value optimized out>, skill_lv=0, wflag=0) at battle.c:5195 damage = 855 temp = <value optimized out> s_ele = 0 s_ele_ = 0 i = <value optimized out> nk = 0 n_ele = false sd = 0x49de070 tsd = 0x0 wd = {damage = 855, damage2 = 0, type = 0, div_ = 1, amotion = 290, dmotion = 360, blewcount = 0, flag = 529, dmg_lv = ATK_DEF} sc = <value optimized out> tsc = 0x7f012996cb6c sstatus = 0x49de458 tstatus = 0x7f012996cb04 flag = {hit = 1, cri = 0, idef = 0, idef2 = 0, pdef = 0, pdef2 = 0, infdef = 0, arrow = 0, rh = 1, lh = 0, weapon = 1, tdef = 0} __FUNCTION__ = "battle_calc_weapon_attack" ---Type <return> to continue, or q <return> to quit--- #3 0x000000000046d531 in battle_calc_attack ( attack_type=<value optimized out>, bl=<value optimized out>, target=<value optimized out>, skill_id=<value optimized out>, skill_lv=0, count=0) at battle.c:5232 d = {damage = 483268466, damage2 = 2147483647, type = 1, div_ = 0, amotion = -1420315328, dmotion = 32767, blewcount = 77455472, flag = 0, dmg_lv = 5547925} #4 0x00000000004725c7 in battle_weapon_attack (src=0x49de070, target=0x7f012996c78c, tick=483268515, flag=0) at battle.c:5703 sd = 0x49de070 tsd = 0x0 sstatus = 0x49de458 tstatus = 0x7f012996cb04 sc = 0x49de4b8 tsc = 0x7f012996cb6c damage = <value optimized out> skillv = <value optimized out> wd = <value optimized out> __FUNCTION__ = "battle_weapon_attack" #5 0x00000000006234fc in unit_attack_timer_sub (src=0x49de070, tid=<value optimized out>, tick=483268515) at unit.c:1896 target = 0x7f012996c78c ud = 0x49de090 ---Type <return> to continue, or q <return> to quit--- sstatus = 0x49de458 sd = <value optimized out> md = 0x0 range = <value optimized out> #6 0x000000000061c902 in unit_attack_timer (tid=-1, tick=483268515, id=<value optimized out>, data=<value optimized out>) at unit.c:1926 bl = 0x49de070 #7 0x000000000061e45b in unit_attack (src=<value optimized out>, target_id=<value optimized out>, continuous=1) at unit.c:1659 target = <value optimized out> ud = 0x49de090 __FUNCTION__ = "unit_attack" #8 0x00000000004b8fd1 in clif_parse (fd=11) at clif.c:18341 parse_cmd_func = <value optimized out> cmd = <value optimized out> packet_len = 7 sd = 0x49de070 pnum = <value optimized out> #9 0x0000000000634ba6 in do_sockets (next=<value optimized out>) at socket.c:872 rfd = {__fds_bits = {2048, 0 <repeats 15 times>}} timeout = {tv_sec = 0, tv_usec = 11678} ret = 0 ---Type <return> to continue, or q <return> to quit--- i = <value optimized out> #10 0x0000000000630ff9 in main (argc=<value optimized out>, argv=<value optimized out>) at core.c:361 next = <value optimized out> Here is the Result Quote Share this post Link to post Share on other sites
Server is always crashing.
Edited by iamhyd™Share this post
Link to post
Share on other sites