Issue information

Issue ID
#1056
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 26, 2008 20:54
Last Post
Hercules Elf Bot
Feb 26, 2008 20:54
Confirmation
N/A

Hercules Elf Bot - Feb 26, 2008 20:54

Originally posted by [b]k3dt[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1056

CODE
Core was generated by `./map2'.
Program terminated with signal 11, Segmentation fault.
#0  _mfree (ptr=0xaa191020, file=0x815dfec "socket.c", line=541,
    func=0x815e862 "delete_session") at malloc.c:374
374             if(head->size == 0) {


full backtrace:

CODE
(gdb) bt full
#0  _mfree (ptr=0xaa191020, file=0x815dfec "socket.c", line=541,
    func=0x815e862 "delete_session") at malloc.c:374
        head = (struct unit_head *) 0xaa191014
#1  0x0813163d in delete_session (fd=234) at socket.c:541
        __FUNCTION__ = "delete_session"
#2  0x080630d7 in clif_parse (fd=234) at clif.c:11794
        packet_ver = 9
        packet_len = -1075185760
        err = -1075185736
        sd = (TBL_PC *) 0xaa191020
        pnum = 0
#3  0x081313c6 in send_shortlist_do_sends () at socket.c:1315
        fd = 234
        i = 0
#4  0x08132559 in do_sockets (next=50) at socket.c:711
        rfd = {__fds_bits = {0, 0, 0, 0, 0, 0, 0, 1024, 0 <repeats 24 times>}}
        timeout = {tv_sec = 0, tv_usec = 50000}
        ret = 0
        i = 234
#5  0x08131065 in main (argc=1, argv=0xbfe9f944) at core.c:254
        next = 135653474


Build-in memory manager, ERS disabled