glemor123 1 Posted February 11, 2014 this is my core contains what is the cause of the server crash? GNU gdb (GDB) 7.0.1-debian Copyright © 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/trincli0157/trunk/map-server...done. [New Thread 690] warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libpcre.so.3 Reading symbols from /usr/lib/libmysqlclient.so.16...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libmysqlclient.so.16 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from plugins/itemmap.so...done. Loaded symbols for plugins/itemmap.so Reading symbols from plugins/afk.so...done. Loaded symbols for plugins/afk.so Reading symbols from plugins/whosell.so...done. Loaded symbols for plugins/whosell.so Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () Quote Share this post Link to post Share on other sites
0 Sephus 203 Posted February 11, 2014 backtrace full? 0x0 doesn't show anything. gdb map-server core.xxxxbt full Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted February 11, 2014 this what it shows when it run bt full e. Loaded symbols for /lib/libnss_files.so.2 Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () (gdb) bt full #0 0x00000000 in ?? () No symbol table info available. #1 0x081a57ec in get_val (st=0xb4b94da0, data=0x0) at script.c:2544 name = 0xd032818 "" prefix = <value optimized out> postfix = 0 '000' sd = 0xd032818 __FUNCTION__ = "get_val" #2 0x081b0b30 in op_2 (st=0xb4b94da0, op=18) at script.c:3454 left = 0xb72ff9ac leftref = {type = C_NOP, u = {num = 7312849584, str = 0xb3e13ab0 "004", ri = 0xb3e13ab0}, ref = 0x0} right = 0xb72ff9bc __FUNCTION__ = "op_2" #3 0x081bb90a in run_script_main (st=0xb4b94da0) at script.c:3921 c = C_LT cmdcount = 655217 gotocount = 2046 sd = <value optimized out> stack = 0xb3e13ab0 nd = <value optimized out> #4 0x08235202 in status_calc_pc_ (sd=0xd032818, opt=SCO_NONE) at status.c:2667 c = <value optimized out> ---Type <return> to continue, or q <return> to quit--- Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted February 15, 2014 ne. Loaded symbols for /lib/libnss_files.so.2 Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () (gdb) bt full #0 0x00000000 in ?? () No symbol table info available. #1 0x081a57ec in get_val (st=0xb4ba0e38, data=0x0) at script.c:2544 name = 0xba5cc48 "" prefix = <value optimized out> postfix = 0 '000' sd = 0xba5cc48 __FUNCTION__ = "get_val" #2 0x081b0b30 in op_2 (st=0xb4ba0e38, op=18) at script.c:3454 left = 0xb730b9ac leftref = {type = C_NOP, u = {num = 7312895448, str = 0xb3e1edd8 "004", ri = 0xb3e1edd8}, ref = 0x0} right = 0xb730b9bc __FUNCTION__ = "op_2" #3 0x081bb90a in run_script_main (st=0xb4ba0e38) at script.c:3921 c = C_LT cmdcount = 655217 gotocount = 2046 sd = <value optimized out> stack = 0xb3e1edd8 nd = <value optimized out> #4 0x08235202 in status_calc_pc_ (sd=0xba5cc48, opt=SCO_NONE) at status.c:2667 c = <value optimized out> Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted February 17, 2014 (gdb) bt full#0 0x00000000 in ?? ()No symbol table info available.#1 0x081a57ec in get_val (st=0xb4be89ac, data=0x0) at script.c:2544 name = 0xbc6ada8 "" prefix = <value optimized out> postfix = 0 '000' sd = 0xbc6ada8 __FUNCTION__ = "get_val"#2 0x081b0b30 in op_2 (st=0xb4be89ac, op=18) at script.c:3454 left = 0xb3fa37f4 leftref = {type = C_NOP, u = {num = 7313189308, str = 0xb3e669bc "004", ri = 0xb3e669bc}, ref = 0x0} right = 0xb3fa3804 __FUNCTION__ = "op_2"#3 0x081bb90a in run_script_main (st=0xb4be89ac) at script.c:3921 c = C_LT cmdcount = 655217 gotocount = 2046 sd = <value optimized out> stack = 0xb3e669bc nd = <value optimized out>#4 0x08235202 in status_calc_pc_ (sd=0xbc6ada8, opt=SCO_NONE) at status.c:2667 c = <value optimized out> data = 0xb591ad64 calculating = 1 bstatus = 0xbc6c294 b_skill = {{id = 0, lv = 0 '000', flag = 0 '000'}, {id = 1, lv = 9 't', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 46 times>, { id = 48, lv = 10 'n', flag = 0 '000'}, {id = 49, lv = 10 'n', flag = 0 '000'}, {id = 50, lv = 10 'n', flag = 0 '000'}, {id = 51, lv = 10 'n', flag = 0 '000'}, {id = 52, lv = 10 'n', flag = 0 '000'}, {id = 53, lv = 1 '001', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 78 times>, {id = 132, lv = 5 '005', flag = 0 '000'}, {id = 133, lv = 5 '005', flag = 0 '000'}, {id = 134, lv = 10 'n', flag = 0 '000'}, {id = 135, lv = 10 'n', flag = 0 '000'}, {id = 136, lv = 10 'n', flag = 0 '000'}, {id = 137, lv = 5 '005', flag = 0 '000'}, { id = 138, lv = 10 'n', flag = 0 '000'}, {id = 139, lv = 10 'n', flag = 0 '000'}, {id = 140, lv = 10 'n', flag = 0 '000'}, {id = 141, lv = 10 'n', flag = 0 '000'}, {id = 142, lv = 1 '001', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'}, {id = 149, lv = 1 '001', flag = 0 '000'}, {id = 150, lv = 1 '001', flag = 0 '000'}, {id = 151, lv = 1 '001', flag = 0 '000'}, { id = 152, lv = 1 '001', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 223 times>, {id = 376, lv = 5 '005', flag = 0 '000'}, { id = 0, lv = 0 '000', flag = 0 '000'}, {id = 378, lv = 5 '005', flag = 0 '000'}, {id = 379, lv = 10 'n', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 26 times>, {id = 406, lv = 10 'n', flag = 0 '000'}, {id = 407, lv = 1 '001', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 595 times>, {id = 1003, lv = 1 '001', flag = 0 '000'}, {id = 1004, lv = 1 '001', flag = 0 '000'}, {id = 0, lv = 0 '000', flag = 0 '000'} <repeats 473 times>} b_cart_weight_max = 300000 i = <value optimized out> k = <value optimized out> index = <value optimized out> Quote Share this post Link to post Share on other sites
this is my core contains
what is the cause of the server crash?
Share this post
Link to post
Share on other sites