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