Jump to content
  • 0

gdb keep debug code on map Server received crash signal!


azumikitty

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/29/12
  • Last Seen:  

Im use gdb run ./map-server_sql
for keep debug code on map Server received crash signal!
got this code from gdb
#0 0x00000037edae9b32 in send () from /lib64/libc.so.6
No 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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

You should use this command to make GDB ignore SIGPIPE signal. Enter it before command "run".

handle SIGPIPE nostop noprint 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/29/12
  • Last Seen:  

thank you for your help i will try

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...