Jump to content

azumikitty

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    thailand

azumikitty's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Im use gdb run ./map-server_sqlfor keep debug code on map Server received crash signal!got this code from gdb#0 0x00000037edae9b32 in send () from /lib64/libc.so.6No symbol table info available. #1 0x00000000005783fe in send_from_fifo (fd=38) at socket.c:720 len = <value optimized out> #2 0x00000000005773d0 in do_close (fd=38) at socket.c:1514 No locals. #3 0x0000000000461f1f in clif_parse (fd=38) at clif.c:18541 cmd = <value optimized out> packet_ver = <value optimized out> packet_len = <value optimized out> err = -1 sd = 0x8b70970 pnum = <value optimized out> #4 0x0000000000576f3d in send_shortlist_do_sends () at socket.c:1770 fd = 38 i = 0 #5 0x000000000057805f in do_sockets (next=<value optimized out>) at socket.c:1130 rfd = {__fds_bits = {274877906944, 0 <repeats 15 times>}} timeout = {tv_sec = 0, tv_usec = 16644} ret = 0 i = <value optimized out> //////////////// what No symbol table info available ?in send () from /lib64/libc.so.6 i don't understand this code. someone can help me fix it please
  2. fix it for 3ceam script.c void run_script_main(struct script_state *st) { case C_FUNC: run_func(st); if(st->state==GOTO){ st->state = RUN; - if( gotocount>0 && (--gotocount)<=0 ){ + if( !st->freeloop && gotocount>0 && (--gotocount)<=0 ){ ShowError("run_script: infinity loop !\n"); script_reportsrc(st); st->state=END; } } break; default: ShowError("unknown command : %d @ %d\n",c,st->pos); st->state=END; break; } - if(cmdcount>0 && (--cmdcount)<=0 ){ + if( !st->freeloop && cmdcount>0 && (--cmdcount)<=0 ){ ShowError("run_script: infinity loop !\n"); script_reportsrc(st); //ShowStatus("infinity loop cmdcount= %d\n", cmdcount ) ; //for test st->state=END; } }
×
×
  • Create New...