Issue Information
-
#006104
-
2 - Fair
-
Confirmed
Issue Confirmations
-
Yes (1)No (0)
Originally posted by jTynne
Not sure if something in here is what's causing random disconnects of all players, however, here's the leaks from the latest mass DC:
Memory manager: Memory leaks found at 2012/06/23 22h59m45s (Revision 16316).
0001 : harmonycore.c line 219 size 180 address 0x0xad5096fc
0002 : pc.c line 1866 size 41 address 0x0xaae81a9c
0003 : pc.c line 1867 size 34 address 0x0xaae81f5c
0004 : pc.c line 1866 size 41 address 0x0xaae8319c
0005 : pc.c line 1867 size 34 address 0x0xaae8321c
0006 : pc.c line 1867 size 29 address 0x0xaa5aee54
0007 : pc.c line 1867 size 29 address 0x0xaa5b24b4
0008 : pc.c line 1867 size 29 address 0x0xaa5b27e4
0009 : pc.c line 1866 size 25 address 0x0xaa5b2964
0010 : pc.c line 1867 size 31 address 0x0xaa5b51b4
0011 : pc.c line 1866 size 52 address 0x0xa8f3d124
0012 : pc.c line 1866 size 52 address 0x0xa8f41224
0013 : pc.c line 1866 size 52 address 0x0xa8f43d94
0014 : elemental.c line 174 size 5936 address 0x0xa87929d4
0015 : elemental.c line 174 size 5936 address 0x0xa8794124
Not sure if something in here is what's causing random disconnects of all players, however, here's the leaks from the latest mass DC:
Memory manager: Memory leaks found at 2012/06/23 22h59m45s (Revision 16316).
0001 : harmonycore.c line 219 size 180 address 0x0xad5096fc
0002 : pc.c line 1866 size 41 address 0x0xaae81a9c
0003 : pc.c line 1867 size 34 address 0x0xaae81f5c
0004 : pc.c line 1866 size 41 address 0x0xaae8319c
0005 : pc.c line 1867 size 34 address 0x0xaae8321c
0006 : pc.c line 1867 size 29 address 0x0xaa5aee54
0007 : pc.c line 1867 size 29 address 0x0xaa5b24b4
0008 : pc.c line 1867 size 29 address 0x0xaa5b27e4
0009 : pc.c line 1866 size 25 address 0x0xaa5b2964
0010 : pc.c line 1867 size 31 address 0x0xaa5b51b4
0011 : pc.c line 1866 size 52 address 0x0xa8f3d124
0012 : pc.c line 1866 size 52 address 0x0xa8f41224
0013 : pc.c line 1866 size 52 address 0x0xa8f43d94
0014 : elemental.c line 174 size 5936 address 0x0xa87929d4
0015 : elemental.c line 174 size 5936 address 0x0xa8794124
Originally posted by Ind
the pc.c ones are memory leaks present since eathena and which we didn't figure yet, the elemental ones are weird o-o
the pc.c ones are memory leaks present since eathena and which we didn't figure yet, the elemental ones are weird o-o
Originally posted by Protimus
That still happens? I made a check in elemental.c line 174:
Probably the problem is in the struct of elemental_data and the allocation of aCalloc.
I try check any problem in pc.c and I see no reason to cause a leak, it's very weird.
That still happens? I made a check in elemental.c line 174:
sd->ed = ed = (struct elemental_data*)aCalloc(1,sizeof(struct elemental_data));
Probably the problem is in the struct of elemental_data and the allocation of aCalloc.
I try check any problem in pc.c and I see no reason to cause a leak, it's very weird.
Originally posted by GreenBox
Maybe the client disconnected in some way that the PC cleanup wasn't executed, still very weird
Maybe the client disconnected in some way that the PC cleanup wasn't executed, still very weird