Toggle navigation
Hercules
Bugtracker archive
Hercules bug tracker archive
Hercules Bug Archives
Core
Memory leaks on new atcommand system
Memory leaks on new atcommand system
Warning!
This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on
GitHub Issues
.
Issue information
Issue ID
#5200
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Jan 4, 2012 4:39
Last Post
Hercules Elf Bot
Apr 19, 2012 10:18
Confirmation
N/A
Hercules Elf Bot -
Jan 4, 2012 4:39
Originally posted by [b]mkbu95[/b]
[CODE]-bash-3.2# ./athena-start stop
[Status]: Shutting down...
[Status]: Shutting down...
[Status]: Terminating...
-bash-3.2# [Status]: Shutting down...lb2trea...
[Warning]: Connection to Login Server lost.
[Debug]: parse_frommap: Disconnecting invalid session #6 (is not a map-server)
[Status]: Terminating...
[Notice]: Sending all users offline.
[Status]: Finished.up maps [3/805]: alberta...
[Info]: Memory manager: No memory leaks found.
[Status]: Terminating...
[Status]: Finished.
[Info]: Memory manager: No memory leaks found.
[Status]: Cleaned up 805 maps.
[Status]: Close Map DB Connection....
[Status]: Finished.
[Warning]: Memory manager: Memory leaks found and fixed.[/CODE]
I've downloaded a fresh new RAthena trunk and this always happens when I stop my server.
Here's the content for the map-server_sql.leaks:
[CODEBOX]
Memory manager: Memory leaks found at 2012/01/04 06h33m24s (Revision 15380).
0001 : atcommand.c line 9061 size 16 address 0x0xb791cf24
0002 : atcommand.c line 9061 size 16 address 0x0xb791cf64
0003 : atcommand.c line 9061 size 16 address 0x0xb791cfa4
0004 : atcommand.c line 9061 size 16 address 0x0xb791cfe4
0005 : atcommand.c line 9061 size 16 address 0x0xb791d024
0006 : atcommand.c line 9061 size 16 address 0x0xb791d064
0007 : atcommand.c line 9061 size 16 address 0x0xb791d0a4
0008 : atcommand.c line 9061 size 16 address 0x0xb791d0e4
0009 : atcommand.c line 9061 size 16 address 0x0xb791d124
0010 : atcommand.c line 9061 size 16 address 0x0xb791d164
0011 : atcommand.c line 9061 size 16 address 0x0xb791d1a4
0012 : atcommand.c line 9061 size 16 address 0x0xb791d1e4
0013 : atcommand.c line 9061 size 16 address 0x0xb791d224
0014 : atcommand.c line 9061 size 16 address 0x0xb791d264
0015 : atcommand.c line 9061 size 16 address 0x0xb791d2a4
0016 : atcommand.c line 9061 size 16 address 0x0xb791d2e4
0017 : atcommand.c line 9061 size 16 address 0x0xb791d324
0018 : atcommand.c line 9061 size 16 address 0x0xb791d364
0019 : atcommand.c line 9061 size 16 address 0x0xb791d3a4
0020 : atcommand.c line 9061 size 16 address 0x0xb791d3e4
0021 : atcommand.c line 9061 size 16 address 0x0xb791d424
0022 : atcommand.c line 9061 size 16 address 0x0xb791d464
0023 : atcommand.c line 9061 size 16 address 0x0xb791d4a4
0024 : atcommand.c line 9061 size 16 address 0x0xb791d4e4
0025 : atcommand.c line 9061 size 16 address 0x0xb791d524
0026 : atcommand.c line 9061 size 16 address 0x0xb791d564
0027 : atcommand.c line 9061 size 16 address 0x0xb791d5a4
0028 : atcommand.c line 9061 size 16 address 0x0xb791d5e4
0029 : atcommand.c line 9061 size 16 address 0x0xb791d624
0030 : atcommand.c line 9061 size 16 address 0x0xb791d664
0031 : atcommand.c line 9061 size 16 address 0x0xb791d6a4
0032 : atcommand.c line 9061 size 16 address 0x0xb791d6e4
0033 : atcommand.c line 9061 size 16 address 0x0xb791d724
0034 : atcommand.c line 9061 size 16 address 0x0xb791d764
0035 : atcommand.c line 9061 size 16 address 0x0xb791d7a4
0036 : atcommand.c line 9061 size 16 address 0x0xb791d7e4
0037 : atcommand.c line 9061 size 16 address 0x0xb791d824
0038 : atcommand.c line 9061 size 16 address 0x0xb791d864
0039 : atcommand.c line 9061 size 16 address 0x0xb791d8a4
0040 : atcommand.c line 9061 size 16 address 0x0xb791d8e4
0041 : atcommand.c line 9061 size 16 address 0x0xb791d924
0042 : atcommand.c line 9061 size 16 address 0x0xb791d964
0043 : atcommand.c line 9061 size 16 address 0x0xb791d9a4
0044 : atcommand.c line 9061 size 16 address 0x0xb791d9e4
0045 : atcommand.c line 9061 size 16 address 0x0xb791da24
0046 : atcommand.c line 9061 size 16 address 0x0xb791da64
0047 : atcommand.c line 9061 size 16 address 0x0xb791daa4
0048 : atcommand.c line 9061 size 16 address 0x0xb791dae4
0049 : atcommand.c line 9061 size 16 address 0x0xb791db24
0050 : atcommand.c line 9061 size 16 address 0x0xb791db64
0051 : atcommand.c line 9061 size 16 address 0x0xb791dba4
0052 : atcommand.c line 9061 size 16 address 0x0xb791dbe4
0053 : atcommand.c line 9061 size 16 address 0x0xb791dc24
0054 : atcommand.c line 9061 size 16 address 0x0xb791dc64
0055 : atcommand.c line 9061 size 16 address 0x0xb791dca4
0056 : atcommand.c line 9061 size 16 address 0x0xb791dce4
0057 : atcommand.c line 9061 size 16 address 0x0xb791dd24
0058 : atcommand.c line 9061 size 16 address 0x0xb791dd64
0059 : atcommand.c line 9061 size 16 address 0x0xb791dda4
0060 : atcommand.c line 9061 size 16 address 0x0xb791dde4
0061 : atcommand.c line 9061 size 16 address 0x0xb791de24
0062 : atcommand.c line 9061 size 16 address 0x0xb791de64
0063 : atcommand.c line 9061 size 16 address 0x0xb791dea4
0064 : atcommand.c line 9061 size 16 address 0x0xb791dee4
0065 : atcommand.c line 9061 size 16 address 0x0xb791df24
0066 : atcommand.c line 9061 size 16 address 0x0xb791df64
0067 : atcommand.c line 9061 size 16 address 0x0xb791dfa4
0068 : atcommand.c line 9061 size 16 address 0x0xb791dfe4
0069 : atcommand.c line 9061 size 16 address 0x0xb791e024
0070 : atcommand.c line 9061 size 16 address 0x0xb791e064
0071 : atcommand.c line 9061 size 16 address 0x0xb791e0a4
0072 : atcommand.c line 9061 size 16 address 0x0xb791e0e4
0073 : atcommand.c line 9061 size 16 address 0x0xb791e124
0074 : atcommand.c line 9061 size 16 address 0x0xb791e164
0075 : atcommand.c line 9061 size 16 address 0x0xb791e1a4
0076 : atcommand.c line 9061 size 16 address 0x0xb791e1e4
0077 : atcommand.c line 9061 size 16 address 0x0xb791e224
0078 : atcommand.c line 9061 size 16 address 0x0xb791e264
0079 : atcommand.c line 9061 size 16 address 0x0xb791e2a4
0080 : atcommand.c line 9061 size 16 address 0x0xb791e2e4
0081 : atcommand.c line 9061 size 16 address 0x0xb791e324
0082 : atcommand.c line 9061 size 16 address 0x0xb791e364
0083 : atcommand.c line 9061 size 16 address 0x0xb791e3a4
0084 : atcommand.c line 9061 size 16 address 0x0xb791e3e4
0085 : atcommand.c line 9061 size 16 address 0x0xb791e424
0086 : atcommand.c line 9061 size 16 address 0x0xb791e464
0087 : atcommand.c line 9061 size 16 address 0x0xb791e4a4
0088 : atcommand.c line 9061 size 16 address 0x0xb791e4e4
0089 : atcommand.c line 9061 size 16 address 0x0xb791e524
0090 : atcommand.c line 9061 size 16 address 0x0xb791e564
0091 : atcommand.c line 9061 size 16 address 0x0xb791e5a4
0092 : atcommand.c line 9061 size 16 address 0x0xb791e5e4
0093 : atcommand.c line 9061 size 16 address 0x0xb791e604
0094 : atcommand.c line 9061 size 16 address 0x0xb791e644
0095 : atcommand.c line 9061 size 16 address 0x0xb791e684
0096 : atcommand.c line 9061 size 16 address 0x0xb791e6c4
0097 : atcommand.c line 9061 size 16 address 0x0xb791e704
0098 : atcommand.c line 9061 size 16 address 0x0xb791e744
0099 : atcommand.c line 9061 size 16 address 0x0xb791e784
0100 : atcommand.c line 9061 size 16 address 0x0xb791e7c4
0101 : atcommand.c line 9061 size 16 address 0x0xb791e804
0102 : atcommand.c line 9061 size 16 address 0x0xb791e844
0103 : atcommand.c line 9061 size 16 address 0x0xb791e884
0104 : atcommand.c line 9061 size 16 address 0x0xb791e8c4
0105 : atcommand.c line 9061 size 16 address 0x0xb791e904
0106 : atcommand.c line 9061 size 16 address 0x0xb791e944
0107 : atcommand.c line 9061 size 16 address 0x0xb791e984
0108 : atcommand.c line 9061 size 16 address 0x0xb791e9c4
0109 : atcommand.c line 9061 size 16 address 0x0xb791ea04
0110 : atcommand.c line 9061 size 16 address 0x0xb791ea44
0111 : atcommand.c line 9061 size 16 address 0x0xb791ea84
0112 : atcommand.c line 9061 size 16 address 0x0xb791eac4
0113 : atcommand.c line 9061 size 16 address 0x0xb791eb04
0114 : atcommand.c line 9061 size 16 address 0x0xb791eb44
0115 : atcommand.c line 9061 size 16 address 0x0xb791eb84
0116 : atcommand.c line 9061 size 16 address 0x0xb791ebc4
0117 : atcommand.c line 9061 size 16 address 0x0xb791ec04
0118 : atcommand.c line 9061 size 16 address 0x0xb791ec44
0119 : atcommand.c line 9061 size 16 address 0x0xb791ec84
0120 : atcommand.c line 9061 size 16 address 0x0xb791ecc4
0121 : atcommand.c line 9061 size 16 address 0x0xb791ed04
0122 : atcommand.c line 9061 size 16 address 0x0xb791ed44
0123 : atcommand.c line 9061 size 16 address 0x0xb791ed84
0124 : atcommand.c line 9061 size 16 address 0x0xb791edc4
0125 : atcommand.c line 9061 size 16 address 0x0xb791ee04
0126 : atcommand.c line 9061 size 16 address 0x0xb791ee44
0127 : atcommand.c line 9061 size 16 address 0x0xb791ee84
0128 : atcommand.c line 9061 size 16 address 0x0xb791eec4
0129 : atcommand.c line 9061 size 16 address 0x0xb791ef04
0130 : atcommand.c line 9061 size 16 address 0x0xb791ef44
0131 : atcommand.c line 9061 size 16 address 0x0xb791ef84
0132 : atcommand.c line 9061 size 16 address 0x0xb791efc4
0133 : atcommand.c line 9061 size 16 address 0x0xb791f004
0134 : atcommand.c line 9061 size 16 address 0x0xb791f044
0135 : atcommand.c line 9061 size 16 address 0x0xb791f084
0136 : atcommand.c line 9061 size 16 address 0x0xb791f0c4
0137 : atcommand.c line 9061 size 16 address 0x0xb791f104
0138 : atcommand.c line 9061 size 16 address 0x0xb791f144
0139 : atcommand.c line 9061 size 16 address 0x0xb791f184
0140 : atcommand.c line 9061 size 16 address 0x0xb791f1c4
0141 : atcommand.c line 9061 size 16 address 0x0xb791f204
0142 : atcommand.c line 9061 size 16 address 0x0xb791f244
0143 : atcommand.c line 9061 size 16 address 0x0xb791f284
0144 : atcommand.c line 9061 size 16 address 0x0xb791f2c4
0145 : atcommand.c line 9061 size 16 address 0x0xb791f304
0146 : atcommand.c line 9061 size 16 address 0x0xb791f344
0147 : atcommand.c line 9061 size 16 address 0x0xb791f384
0148 : atcommand.c line 9061 size 16 address 0x0xb791f3c4
0149 : atcommand.c line 9061 size 16 address 0x0xb791f404
0150 : atcommand.c line 9061 size 16 address 0x0xb791f444
0151 : atcommand.c line 9061 size 16 address 0x0xb791f484
0152 : atcommand.c line 9061 size 16 address 0x0xb791f4c4
0153 : atcommand.c line 9061 size 16 address 0x0xb791f504
0154 : atcommand.c line 9061 size 16 address 0x0xb791f544
0155 : atcommand.c line 9061 size 16 address 0x0xb791f584
0156 : atcommand.c line 9061 size 16 address 0x0xb791f5c4
0157 : atcommand.c line 9061 size 16 address 0x0xb791f604
0158 : atcommand.c line 9061 size 16 address 0x0xb791f644
0159 : atcommand.c line 9061 size 16 address 0x0xb791f684
0160 : atcommand.c line 9061 size 16 address 0x0xb791f6c4
0161 : atcommand.c line 9061 size 16 address 0x0xb791f704
0162 : atcommand.c line 9061 size 16 address 0x0xb791f744
0163 : atcommand.c line 9061 size 16 address 0x0xb791f784
0164 : atcommand.c line 9061 size 16 address 0x0xb791f7c4
0165 : atcommand.c line 9061 size 16 address 0x0xb791f804
0166 : atcommand.c line 9061 size 16 address 0x0xb791f844
0167 : atcommand.c line 9061 size 16 address 0x0xb791f884
0168 : atcommand.c line 9061 size 16 address 0x0xb791f8c4
0169 : atcommand.c line 9061 size 16 address 0x0xb791f904
0170 : atcommand.c line 9061 size 16 address 0x0xb791f944
0171 : atcommand.c line 9061 size 16 address 0x0xb791f984
0172 : atcommand.c line 9061 size 16 address 0x0xb791f9c4
0173 : atcommand.c line 9061 size 16 address 0x0xb791fa04
0174 : atcommand.c line 9061 size 16 address 0x0xb791fa44
0175 : atcommand.c line 9061 size 16 address 0x0xb791fa84
0176 : atcommand.c line 9061 size 16 address 0x0xb791fac4
0177 : atcommand.c line 9061 size 16 address 0x0xb791fb04
0178 : atcommand.c line 9061 size 16 address 0x0xb791fb44
0179 : atcommand.c line 9061 size 16 address 0x0xb791fb84
0180 : atcommand.c line 9061 size 16 address 0x0xb791fbc4
0181 : atcommand.c line 9061 size 16 address 0x0xb791fc04
0182 : atcommand.c line 9061 size 16 address 0x0xb791fc44
0183 : atcommand.c line 9061 size 16 address 0x0xb791fc84
0184 : atcommand.c line 9061 size 16 address 0x0xb791fcc4
0185 : atcommand.c line 9061 size 16 address 0x0xb791fd04
0186 : atcommand.c line 9061 size 16 address 0x0xb791fd44
0187 : atcommand.c line 9061 size 16 address 0x0xb791fd84
0188 : atcommand.c line 9061 size 16 address 0x0xb791fdc4
0189 : atcommand.c line 9061 size 16 address 0x0xb791fe04
0190 : atcommand.c line 9061 size 16 address 0x0xb791fe44
0191 : atcommand.c line 9061 size 16 address 0x0xb791fe84
0192 : atcommand.c line 9061 size 16 address 0x0xb791fec4
0193 : atcommand.c line 9061 size 16 address 0x0xb791ff04
0194 : atcommand.c line 9061 size 16 address 0x0xb791ff44
0195 : atcommand.c line 9061 size 16 address 0x0xb791ff84
0196 : atcommand.c line 9061 size 16 address 0x0xb791ffc4
0197 : atcommand.c line 9061 size 16 address 0x0xb7920004
0198 : atcommand.c line 9061 size 16 address 0x0xb7920044
0199 : atcommand.c line 9061 size 16 address 0x0xb7920084
0200 : atcommand.c line 9061 size 16 address 0x0xb79200c4
0201 : atcommand.c line 9061 size 16 address 0x0xb7920104
0202 : atcommand.c line 9061 size 16 address 0x0xb7920144
0203 : atcommand.c line 9061 size 16 address 0x0xb7920184
0204 : atcommand.c line 9061 size 16 address 0x0xb79201c4
0205 : atcommand.c line 9061 size 16 address 0x0xb7920204
0206 : atcommand.c line 9061 size 16 address 0x0xb7920244
0207 : atcommand.c line 9061 size 16 address 0x0xb7920284
0208 : atcommand.c line 9061 size 16 address 0x0xb79202c4
0209 : atcommand.c line 9061 size 16 address 0x0xb7920304
0210 : atcommand.c line 9061 size 16 address 0x0xb7920344
0211 : atcommand.c line 9061 size 16 address 0x0xb7920384
0212 : atcommand.c line 9061 size 16 address 0x0xb79203c4
0213 : atcommand.c line 9061 size 16 address 0x0xb7920404
0214 : atcommand.c line 9061 size 16 address 0x0xb7920444
0215 : atcommand.c line 9061 size 16 address 0x0xb7920484
0216 : atcommand.c line 9061 size 16 address 0x0xb79204c4
0217 : atcommand.c line 9061 size 16 address 0x0xb7920504
0218 : atcommand.c line 9061 size 16 address 0x0xb7920544
0219 : atcommand.c line 9061 size 16 address 0x0xb7920584
0220 : atcommand.c line 9061 size 16 address 0x0xb79205c4
0221 : atcommand.c line 9061 size 16 address 0x0xb7920604
0222 : atcommand.c line 9061 size 16 address 0x0xb7920644
0223 : atcommand.c line 9061 size 16 address 0x0xb7920684
0224 : atcommand.c line 9061 size 16 address 0x0xb79206c4
0225 : atcommand.c line 9061 size 16 address 0x0xb7920704
0226 : atcommand.c line 9061 size 16 address 0x0xb7920744
0227 : atcommand.c line 9061 size 16 address 0x0xb7920784
0228 : atcommand.c line 9061 size 16 address 0x0xb79207c4
0229 : atcommand.c line 9061 size 16 address 0x0xb7920804
0230 : atcommand.c line 9061 size 16 address 0x0xb7920844
0231 : atcommand.c line 9061 size 16 address 0x0xb7920884
0232 : atcommand.c line 9061 size 16 address 0x0xb79208c4
0233 : atcommand.c line 9061 size 16 address 0x0xb7920904
0234 : atcommand.c line 9061 size 16 address 0x0xb7920944
0235 : atcommand.c line 9061 size 16 address 0x0xb7920984
0236 : atcommand.c line 9061 size 16 address 0x0xb79209c4
0237 : atcommand.c line 9265 size 16 address 0x0xb7920a04
0238 : atcommand.c line 9265 size 16 address 0x0xb7920a44
0239 : atcommand.c line 9265 size 16 address 0x0xb7920a84
0240 : atcommand.c line 9265 size 16 address 0x0xb7920ac4
0241 : atcommand.c line 9265 size 16 address 0x0xb7920b04
0242 : atcommand.c line 9265 size 16 address 0x0xb7920b44
0243 : atcommand.c line 9265 size 16 address 0x0xb7920b84
0244 : atcommand.c line 9265 size 16 address 0x0xb7920bc4
0245 : atcommand.c line 9265 size 16 address 0x0xb7920c04
0246 : atcommand.c line 9265 size 16 address 0x0xb7920c44
0247 : atcommand.c line 9265 size 16 address 0x0xb7920c84
0248 : atcommand.c line 9265 size 16 address 0x0xb7920cc4
0249 : atcommand.c line 9265 size 16 address 0x0xb7920d04
0250 : atcommand.c line 9265 size 16 address 0x0xb7920d44
0251 : atcommand.c line 9265 size 16 address 0x0xb7920d84
0252 : atcommand.c line 9265 size 16 address 0x0xb7920dc4
0253 : atcommand.c line 9265 size 16 address 0x0xb7920e04
0254 : atcommand.c line 9265 size 16 address 0x0xb7920e44
0255 : atcommand.c line 9265 size 16 address 0x0xb7920e84
0256 : atcommand.c line 9265 size 16 address 0x0xb7920ec4
0257 : atcommand.c line 9265 size 16 address 0x0xb7920f04
0258 : atcommand.c line 9265 size 16 address 0x0xb7920f44
0259 : atcommand.c line 9265 size 16 address 0x0xb7920f84
0260 : atcommand.c line 9265 size 16 address 0x0xb7920fc4
0261 : atcommand.c line 9265 size 16 address 0x0xb7921004
0262 : atcommand.c line 9265 size 16 address 0x0xb7921044
0263 : atcommand.c line 9265 size 16 address 0x0xb7921084
0264 : atcommand.c line 9265 size 16 address 0x0xb79210c4
0265 : atcommand.c line 9265 size 16 address 0x0xb7921104
0266 : atcommand.c line 9265 size 16 address 0x0xb7921144
0267 : atcommand.c line 9265 size 16 address 0x0xb7921184
0268 : atcommand.c line 9265 size 16 address 0x0xb79211c4
0269 : atcommand.c line 9265 size 16 address 0x0xb7921204
0270 : atcommand.c line 9265 size 16 address 0x0xb7921244
0271 : atcommand.c line 9265 size 16 address 0x0xb7921284
0272 : atcommand.c line 9265 size 16 address 0x0xb79212c4
0273 : atcommand.c line 9265 size 16 address 0x0xb7921304
0274 : atcommand.c line 9265 size 16 address 0x0xb7921344
0275 : atcommand.c line 9265 size 16 address 0x0xb7921384
0276 : atcommand.c line 9265 size 16 address 0x0xb79213c4
0277 : atcommand.c line 9265 size 16 address 0x0xb7921404
0278 : atcommand.c line 9265 size 16 address 0x0xb7921444
0279 : atcommand.c line 9265 size 16 address 0x0xb7921484
0280 : atcommand.c line 9265 size 16 address 0x0xb79214c4
0281 : atcommand.c line 9265 size 16 address 0x0xb7921504
0282 : atcommand.c line 9265 size 16 address 0x0xb7921544
0283 : atcommand.c line 9265 size 16 address 0x0xb7921584
0284 : atcommand.c line 9265 size 16 address 0x0xb79215c4
0285 : atcommand.c line 9265 size 16 address 0x0xb7921604
0286 : atcommand.c line 9265 size 16 address 0x0xb7921644
0287 : atcommand.c line 9265 size 16 address 0x0xb7921684
0288 : atcommand.c line 9265 size 16 address 0x0xb79216c4
0289 : atcommand.c line 9265 size 16 address 0x0xb7921704
0290 : atcommand.c line 9265 size 16 address 0x0xb7921744
0291 : atcommand.c line 9265 size 16 address 0x0xb7921784
0292 : atcommand.c line 9265 size 16 address 0x0xb79217c4
0293 : atcommand.c line 9265 size 16 address 0x0xb7921804
0294 : atcommand.c line 9265 size 16 address 0x0xb7921844
0295 : atcommand.c line 9265 size 16 address 0x0xb7921884
0296 : atcommand.c line 9265 size 16 address 0x0xb79218c4
0297 : atcommand.c line 9265 size 16 address 0x0xb7921904
0298 : atcommand.c line 9265 size 16 address 0x0xb7921944
[/CODEBOX]
Thanks in advance.
[s]Sorry if this ain't a bug again :X[/s]
This post has been edited by
mkbu95
on Jan 4, 2012 4:42
Hercules Elf Bot -
Jan 4, 2012 4:50
Originally posted by [b]Ind[/b]
thanks! Fixed in [rev=15383]