Jump to content
  • 0

Need Help.


LeoThird

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   7
  • Joined:  06/22/12
  • Last Seen:  

Can anyone check my problem here? Mapserver crashes in random time. Been experiencing it once/twice or more a day.

I enabled debug on my server files and it generated the core.

Core was generated by `./map-server_sql'.
Program terminated with signal 11, Segmentation fault.
#0  0x080502d3 in map_foreachinarea (func=0x8063940 <clif_send_sub>, m=609,
x0=158, y0=22, x1=<value optimized out>, y1=<value optimized out>, type=1)
at map.c:716
716											 if(bl->type&type && bl->x>=x0 && bl->x<=x1 && bl->y>=y0 && bl->y<=y1 && bl_list_count<BL_LIST_MAX)
(gdb) bt full
#0  0x080502d3 in map_foreachinarea (func=0x8063940 <clif_send_sub>, m=609,
x0=158, y0=22, x1=<value optimized out>, y1=<value optimized out>, type=1)
at map.c:716
	bx = 19
	by = 5
	returnCount = 0
	bl = 0xfdfdfdfd
	blockcount = 3
	i = <value optimized out>
#1  0x08072d6d in clif_send (buf=0xbf9564d4 " \001\311p", len=6,
bl=0xb1d9f69c, type=AREA) at clif.c:419
	i = <value optimized out>
	sd = <value optimized out>
	p = <value optimized out>
	g = <value optimized out>
	bg = <value optimized out>
	x0 = <value optimized out>
	x1 = <value optimized out>
	y0 = <value optimized out>
	y1 = <value optimized out>
	fd = <value optimized out>
	iter = <value optimized out>
	__FUNCTION__ = "clif_send"

[Attached my map.c file]

map.rar

Edited by Mysterious
Use [codebox] for content longer than 10 lines.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   7
  • Joined:  06/22/12
  • Last Seen:  

Already fixed my own problem.

FIX: By Just Updating my Trunk.

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...