Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.89 KB | None | 0 0
  1. ==1505== Memcheck, a memory error detector
  2. ==1505== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==1505== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  4. ==1505== Command: ./zone sebilis
  5. ==1505==
  6. ==1505== Thread 2:
  7. ==1505== Source and destination overlap in memcpy(0x1366b870, 0x1366b871, 65)
  8. ==1505== at 0x4C2D75D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
  9. ==1505== by 0xCBBC86: TCPConnection::ProcessReceivedData(char*) (tcp_connection.cpp:743)
  10. ==1505== by 0xC6B645: EmuTCPConnection::ProcessReceivedData(char*) (emu_tcp_connection.cpp:497)
  11. ==1505== by 0xC6B7A7: EmuTCPConnection::RecvData(char*) (emu_tcp_connection.cpp:803)
  12. ==1505== by 0xCBB5CE: TCPConnection::Process() (tcp_connection.cpp:541)
  13. ==1505== by 0xCBC276: TCPConnection::TCPConnectionLoop(void*) (tcp_connection.cpp:908)
  14. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  15. ==1505== by 0x6AB462C: clone (clone.S:111)
  16. ==1505==
  17. ==1505== Source and destination overlap in memcpy(0x1366b870, 0x1366b871, 64)
  18. ==1505== at 0x4C2D75D: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
  19. ==1505== by 0xCBBEFC: TCPConnection::ProcessReceivedData(char*) (tcp_connection.cpp:743)
  20. ==1505== by 0xC6B645: EmuTCPConnection::ProcessReceivedData(char*) (emu_tcp_connection.cpp:497)
  21. ==1505== by 0xC6B7A7: EmuTCPConnection::RecvData(char*) (emu_tcp_connection.cpp:803)
  22. ==1505== by 0xCBB5CE: TCPConnection::Process() (tcp_connection.cpp:541)
  23. ==1505== by 0xCBC276: TCPConnection::TCPConnectionLoop(void*) (tcp_connection.cpp:908)
  24. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  25. ==1505== by 0x6AB462C: clone (clone.S:111)
  26. ==1505==
  27. ==1505== Thread 1:
  28. ==1505== Invalid read of size 2
  29. ==1505== at 0xBD0292: Mob::MakeBuffsPacket(bool) (spells.cpp:5525)
  30. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  31. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  32. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  33. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  34. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  35. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  36. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  37. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  38. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  39. ==1505== by 0x6414DE: main (net.cpp:521)
  40. ==1505== Address 0x15ed9194 is 0 bytes after a block of size 6,820 alloc'd
  41. ==1505== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  42. ==1505== by 0xBD0776: NPC::InitializeBuffSlots() (spells.cpp:5621)
  43. ==1505== by 0xABBB38: NPC::NPC(NPCType const*, Spawn2*, glm::tvec4<float, (glm::precision)0> const&, int, bool) (npc.cpp:374)
  44. ==1505== by 0xBA854A: Spawn2::Process() (spawn2.cpp:218)
  45. ==1505== by 0xC25670: Zone::Process() (zone.cpp:1174)
  46. ==1505== by 0x641502: main (net.cpp:526)
  47. ==1505==
  48. ==1505== Invalid read of size 2
  49. ==1505== at 0xBD0340: Mob::MakeBuffsPacket(bool) (spells.cpp:5555)
  50. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  51. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  52. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  53. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  54. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  55. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  56. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  57. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  58. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  59. ==1505== by 0x6414DE: main (net.cpp:521)
  60. ==1505== Address 0x15ed9194 is 0 bytes after a block of size 6,820 alloc'd
  61. ==1505== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  62. ==1505== by 0xBD0776: NPC::InitializeBuffSlots() (spells.cpp:5621)
  63. ==1505== by 0xABBB38: NPC::NPC(NPCType const*, Spawn2*, glm::tvec4<float, (glm::precision)0> const&, int, bool) (npc.cpp:374)
  64. ==1505== by 0xBA854A: Spawn2::Process() (spawn2.cpp:218)
  65. ==1505== by 0xC25670: Zone::Process() (zone.cpp:1174)
  66. ==1505== by 0x641502: main (net.cpp:526)
  67. ==1505==
  68. ==1505== Invalid read of size 4
  69. ==1505== at 0xBD035B: Mob::MakeBuffsPacket(bool) (spells.cpp:5559)
  70. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  71. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  72. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  73. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  74. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  75. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  76. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  77. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  78. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  79. ==1505== by 0x6414DE: main (net.cpp:521)
  80. ==1505== Address 0x15ed91dc is 4 bytes before a block of size 24,904 alloc'd
  81. ==1505== at 0x4C29180: operator new(unsigned long) (vg_replace_malloc.c:324)
  82. ==1505== by 0xBA852B: Spawn2::Process() (spawn2.cpp:218)
  83. ==1505== by 0xC25670: Zone::Process() (zone.cpp:1174)
  84. ==1505== by 0x641502: main (net.cpp:526)
  85. ==1505==
  86. ==1505== Invalid read of size 4
  87. ==1505== at 0xBD0361: Mob::MakeBuffsPacket(bool) (spells.cpp:5560)
  88. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  89. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  90. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  91. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  92. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  93. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  94. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  95. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  96. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  97. ==1505== by 0x6414DE: main (net.cpp:521)
  98. ==1505== Address 0x14c9f8f4 is 4 bytes inside an unallocated block of size 3,344 in arena "client"
  99. ==1505==
  100. ==1505== Conditional jump or move depends on uninitialised value(s)
  101. ==1505== at 0xC52145: BasePacket::BasePacket(unsigned char const*, unsigned int) (base_packet.cpp:31)
  102. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  103. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  104. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  105. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  106. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  107. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  108. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  109. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  110. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  111. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  112. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  113. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  114. ==1505==
  115. ==1505== Conditional jump or move depends on uninitialised value(s)
  116. ==1505== at 0x4C2984D: operator new[](unsigned long) (vg_replace_malloc.c:389)
  117. ==1505== by 0xC52170: BasePacket::BasePacket(unsigned char const*, unsigned int) (base_packet.cpp:33)
  118. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  119. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  120. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  121. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  122. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  123. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  124. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  125. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  126. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  127. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  128. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  129. ==1505==
  130. ==1505== Conditional jump or move depends on uninitialised value(s)
  131. ==1505== at 0x4C2F429: memset (vg_replace_strmem.c:1094)
  132. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  133. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  134. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  135. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  136. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  137. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  138. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  139. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  140. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  141. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  142. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  143. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  144. ==1505==
  145. ==1505== Conditional jump or move depends on uninitialised value(s)
  146. ==1505== at 0x4C2F46D: memset (vg_replace_strmem.c:1094)
  147. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  148. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  149. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  150. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  151. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  152. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  153. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  154. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  155. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  156. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  157. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  158. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  159. ==1505==
  160. ==1505== Use of uninitialised value of size 8
  161. ==1505== at 0x4C2F480: memset (vg_replace_strmem.c:1094)
  162. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  163. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  164. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  165. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  166. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  167. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  168. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  169. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  170. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  171. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  172. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  173. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  174. ==1505==
  175. ==1505== Conditional jump or move depends on uninitialised value(s)
  176. ==1505== at 0x4C2F48A: memset (vg_replace_strmem.c:1094)
  177. ==1505== by 0xC73036: EQPacket::EQPacket(EmuOpcode, unsigned char const*, unsigned int) (eq_packet.cpp:41)
  178. ==1505== by 0xBD03A6: EQApplicationPacket (eq_packet.h:103)
  179. ==1505== by 0xBD03A6: Mob::MakeBuffsPacket(bool) (spells.cpp:5534)
  180. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  181. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  182. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  183. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  184. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  185. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  186. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  187. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  188. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  189. ==1505==
  190. ==1505== Conditional jump or move depends on uninitialised value(s)
  191. ==1505== at 0xBD0347: Mob::MakeBuffsPacket(bool) (spells.cpp:5555)
  192. ==1505== by 0xBD903C: Mob::AddBuff(Mob*, unsigned short, int, int) (spells.cpp:3331)
  193. ==1505== by 0xBBE675: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:113)
  194. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  195. ==1505== by 0xBD20AF: Mob::SpellFinished(unsigned short, Mob*, EQEmu::CastingSlot, unsigned short, unsigned int, short, bool, int) (spells.cpp:2166)
  196. ==1505== by 0xBDA2CA: Mob::CastedSpellFinished(unsigned short, unsigned int, EQEmu::CastingSlot, unsigned short, unsigned int, short) (spells.cpp:1341)
  197. ==1505== by 0xBDBD6D: Mob::SpellProcess() (spells.cpp:126)
  198. ==1505== by 0xBDBD90: NPC::SpellProcess() (spells.cpp:133)
  199. ==1505== by 0xABD8FB: NPC::Process() (npc.cpp:609)
  200. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  201. ==1505== by 0x6414DE: main (net.cpp:521)
  202. ==1505==
  203. ==1505== Thread 4:
  204. ==1505== Use of uninitialised value of size 8
  205. ==1505== at 0xC52FFE: Calc (crc32.cpp:111)
  206. ==1505== by 0xC52FFE: CRC32::Update(unsigned char const*, unsigned int, unsigned int) (crc32.cpp:106)
  207. ==1505== by 0xD59189: CRC16(unsigned char const*, int, int) (crc16.cpp:12)
  208. ==1505== by 0xD5A213: EQStream::WritePacket(int, EQProtocolPacket*) (eq_stream.cpp:875)
  209. ==1505== by 0xD63B5E: EQStream::Write(int) (eq_stream.cpp:825)
  210. ==1505== by 0xC75602: EQStreamFactory::WriterLoop() (eq_stream_factory.cpp:301)
  211. ==1505== by 0xC7590C: EQStreamFactoryWriterLoop(void*) (eq_stream_factory.cpp:49)
  212. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  213. ==1505== by 0x6AB462C: clone (clone.S:111)
  214. ==1505==
  215. ==1505== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
  216. ==1505== at 0x5F9C013: ??? (syscall-template.S:81)
  217. ==1505== by 0xD5A235: EQStream::WritePacket(int, EQProtocolPacket*) (eq_stream.cpp:879)
  218. ==1505== by 0xD63B5E: EQStream::Write(int) (eq_stream.cpp:825)
  219. ==1505== by 0xC75602: EQStreamFactory::WriterLoop() (eq_stream_factory.cpp:301)
  220. ==1505== by 0xC7590C: EQStreamFactoryWriterLoop(void*) (eq_stream_factory.cpp:49)
  221. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  222. ==1505== by 0x6AB462C: clone (clone.S:111)
  223. ==1505== Address 0x137f48be is 94 bytes inside a block of size 10,952 alloc'd
  224. ==1505== at 0x4C29180: operator new(unsigned long) (vg_replace_malloc.c:324)
  225. ==1505== by 0xC76C6C: allocate (new_allocator.h:104)
  226. ==1505== by 0xC76C6C: allocate (alloc_traits.h:357)
  227. ==1505== by 0xC76C6C: __shared_count<EQStream, std::allocator<EQStream>, sockaddr_in&> (shared_ptr_base.h:616)
  228. ==1505== by 0xC76C6C: __shared_ptr<std::allocator<EQStream>, sockaddr_in&> (shared_ptr_base.h:1090)
  229. ==1505== by 0xC76C6C: shared_ptr<std::allocator<EQStream>, sockaddr_in&> (shared_ptr.h:316)
  230. ==1505== by 0xC76C6C: allocate_shared<EQStream, std::allocator<EQStream>, sockaddr_in&> (shared_ptr.h:588)
  231. ==1505== by 0xC76C6C: make_shared<EQStream, sockaddr_in&> (shared_ptr.h:604)
  232. ==1505== by 0xC76C6C: EQStreamFactory::ReaderLoop() (eq_stream_factory.cpp:185)
  233. ==1505== by 0xC77BEC: EQStreamFactoryReaderLoop(void*) (eq_stream_factory.cpp:32)
  234. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  235. ==1505== by 0x6AB462C: clone (clone.S:111)
  236. ==1505==
  237. ==1505== Thread 1:
  238. ==1505== Invalid read of size 2
  239. ==1505== at 0xBD0292: Mob::MakeBuffsPacket(bool) (spells.cpp:5525)
  240. ==1505== by 0xBBBCB5: Mob::BuffFadeBySlot(int, bool) (spell_effects.cpp:4176)
  241. ==1505== by 0xBCC112: Mob::BuffFadeAll() (spells.cpp:4061)
  242. ==1505== by 0x6536CC: NPC::Death(Mob*, int, unsigned short, EQEmu::skills::SkillType) (attack.cpp:2068)
  243. ==1505== by 0x65C1AC: Mob::CommonDamage(Mob*, int&, unsigned short, EQEmu::skills::SkillType, bool&, signed char, bool, eSpecialAttacks) (attack.cpp:3315)
  244. ==1505== by 0x65D53C: NPC::Damage(Mob*, int, unsigned short, EQEmu::skills::SkillType, bool, signed char, bool, eSpecialAttacks) (attack.cpp:1992)
  245. ==1505== by 0xBC4AA1: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:246)
  246. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  247. ==1505== by 0x875FA4: EntityList::AESpell(Mob*, Mob*, unsigned short, bool, short) (effects.cpp:840)
  248. ==1505== by 0x6637D9: Beacon::Process() (beacon.cpp:99)
  249. ==1505== by 0x8B3202: EntityList::BeaconProcess() (entity.cpp:549)
  250. ==1505== by 0x6414E6: main (net.cpp:522)
  251. ==1505== Address 0x11fdf814 is 0 bytes after a block of size 6,820 alloc'd
  252. ==1505== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  253. ==1505== by 0xBD0776: NPC::InitializeBuffSlots() (spells.cpp:5621)
  254. ==1505== by 0xABBB38: NPC::NPC(NPCType const*, Spawn2*, glm::tvec4<float, (glm::precision)0> const&, int, bool) (npc.cpp:374)
  255. ==1505== by 0xBA854A: Spawn2::Process() (spawn2.cpp:218)
  256. ==1505== by 0xC25670: Zone::Process() (zone.cpp:1174)
  257. ==1505== by 0x641502: main (net.cpp:526)
  258. ==1505==
  259. ==1505== Invalid read of size 2
  260. ==1505== at 0xBD0340: Mob::MakeBuffsPacket(bool) (spells.cpp:5555)
  261. ==1505== by 0xBBBCB5: Mob::BuffFadeBySlot(int, bool) (spell_effects.cpp:4176)
  262. ==1505== by 0xBCC112: Mob::BuffFadeAll() (spells.cpp:4061)
  263. ==1505== by 0x6536CC: NPC::Death(Mob*, int, unsigned short, EQEmu::skills::SkillType) (attack.cpp:2068)
  264. ==1505== by 0x65C1AC: Mob::CommonDamage(Mob*, int&, unsigned short, EQEmu::skills::SkillType, bool&, signed char, bool, eSpecialAttacks) (attack.cpp:3315)
  265. ==1505== by 0x65D53C: NPC::Damage(Mob*, int, unsigned short, EQEmu::skills::SkillType, bool, signed char, bool, eSpecialAttacks) (attack.cpp:1992)
  266. ==1505== by 0xBC4AA1: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:246)
  267. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  268. ==1505== by 0x875FA4: EntityList::AESpell(Mob*, Mob*, unsigned short, bool, short) (effects.cpp:840)
  269. ==1505== by 0x6637D9: Beacon::Process() (beacon.cpp:99)
  270. ==1505== by 0x8B3202: EntityList::BeaconProcess() (entity.cpp:549)
  271. ==1505== by 0x6414E6: main (net.cpp:522)
  272. ==1505== Address 0x11fdf814 is 0 bytes after a block of size 6,820 alloc'd
  273. ==1505== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  274. ==1505== by 0xBD0776: NPC::InitializeBuffSlots() (spells.cpp:5621)
  275. ==1505== by 0xABBB38: NPC::NPC(NPCType const*, Spawn2*, glm::tvec4<float, (glm::precision)0> const&, int, bool) (npc.cpp:374)
  276. ==1505== by 0xBA854A: Spawn2::Process() (spawn2.cpp:218)
  277. ==1505== by 0xC25670: Zone::Process() (zone.cpp:1174)
  278. ==1505== by 0x641502: main (net.cpp:526)
  279. ==1505==
  280. ==1505== Invalid read of size 4
  281. ==1505== at 0xBD035B: Mob::MakeBuffsPacket(bool) (spells.cpp:5559)
  282. ==1505== by 0xBBBCB5: Mob::BuffFadeBySlot(int, bool) (spell_effects.cpp:4176)
  283. ==1505== by 0xBCC112: Mob::BuffFadeAll() (spells.cpp:4061)
  284. ==1505== by 0x6536CC: NPC::Death(Mob*, int, unsigned short, EQEmu::skills::SkillType) (attack.cpp:2068)
  285. ==1505== by 0x65C1AC: Mob::CommonDamage(Mob*, int&, unsigned short, EQEmu::skills::SkillType, bool&, signed char, bool, eSpecialAttacks) (attack.cpp:3315)
  286. ==1505== by 0x65D53C: NPC::Damage(Mob*, int, unsigned short, EQEmu::skills::SkillType, bool, signed char, bool, eSpecialAttacks) (attack.cpp:1992)
  287. ==1505== by 0xBC4AA1: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:246)
  288. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  289. ==1505== by 0x875FA4: EntityList::AESpell(Mob*, Mob*, unsigned short, bool, short) (effects.cpp:840)
  290. ==1505== by 0x6637D9: Beacon::Process() (beacon.cpp:99)
  291. ==1505== by 0x8B3202: EntityList::BeaconProcess() (entity.cpp:549)
  292. ==1505== by 0x6414E6: main (net.cpp:522)
  293. ==1505== Address 0x11fdf85c is 4 bytes before a block of size 39 free'd
  294. ==1505== at 0x4C2A8E0: operator delete[](void*) (vg_replace_malloc.c:542)
  295. ==1505== by 0xC73298: EQProtocolPacket::combine(EQProtocolPacket const*) (eq_packet.cpp:269)
  296. ==1505== by 0xD63E24: EQStream::Write(int) (eq_stream.cpp:745)
  297. ==1505== by 0xC75602: EQStreamFactory::WriterLoop() (eq_stream_factory.cpp:301)
  298. ==1505== by 0xC7590C: EQStreamFactoryWriterLoop(void*) (eq_stream_factory.cpp:49)
  299. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  300. ==1505== by 0x6AB462C: clone (clone.S:111)
  301. ==1505==
  302. ==1505== Invalid read of size 4
  303. ==1505== at 0xBD0361: Mob::MakeBuffsPacket(bool) (spells.cpp:5560)
  304. ==1505== by 0xBBBCB5: Mob::BuffFadeBySlot(int, bool) (spell_effects.cpp:4176)
  305. ==1505== by 0xBCC112: Mob::BuffFadeAll() (spells.cpp:4061)
  306. ==1505== by 0x6536CC: NPC::Death(Mob*, int, unsigned short, EQEmu::skills::SkillType) (attack.cpp:2068)
  307. ==1505== by 0x65C1AC: Mob::CommonDamage(Mob*, int&, unsigned short, EQEmu::skills::SkillType, bool&, signed char, bool, eSpecialAttacks) (attack.cpp:3315)
  308. ==1505== by 0x65D53C: NPC::Damage(Mob*, int, unsigned short, EQEmu::skills::SkillType, bool, signed char, bool, eSpecialAttacks) (attack.cpp:1992)
  309. ==1505== by 0xBC4AA1: Mob::SpellEffect(Mob*, unsigned short, float, int) (spell_effects.cpp:246)
  310. ==1505== by 0xBD5FC5: Mob::SpellOnTarget(unsigned short, Mob*, bool, bool, short, bool, int) (spells.cpp:3884)
  311. ==1505== by 0x875FA4: EntityList::AESpell(Mob*, Mob*, unsigned short, bool, short) (effects.cpp:840)
  312. ==1505== by 0x6637D9: Beacon::Process() (beacon.cpp:99)
  313. ==1505== by 0x8B3202: EntityList::BeaconProcess() (entity.cpp:549)
  314. ==1505== by 0x6414E6: main (net.cpp:522)
  315. ==1505== Address 0x11fdf864 is 4 bytes inside a block of size 39 free'd
  316. ==1505== at 0x4C2A8E0: operator delete[](void*) (vg_replace_malloc.c:542)
  317. ==1505== by 0xC73298: EQProtocolPacket::combine(EQProtocolPacket const*) (eq_packet.cpp:269)
  318. ==1505== by 0xD63E24: EQStream::Write(int) (eq_stream.cpp:745)
  319. ==1505== by 0xC75602: EQStreamFactory::WriterLoop() (eq_stream_factory.cpp:301)
  320. ==1505== by 0xC7590C: EQStreamFactoryWriterLoop(void*) (eq_stream_factory.cpp:49)
  321. ==1505== by 0x5F950A3: start_thread (pthread_create.c:309)
  322. ==1505== by 0x6AB462C: clone (clone.S:111)
  323. ==1505==
  324. ==1505== Conditional jump or move depends on uninitialised value(s)
  325. ==1505== at 0xAA33F6: Mob::AI_Start(unsigned int) (mob_ai.cpp:490)
  326. ==1505== by 0xAA3620: Client::AI_Start(unsigned int) (mob_ai.cpp:502)
  327. ==1505== by 0x6E79D0: Client::Process() (client_process.cpp:673)
  328. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  329. ==1505== by 0x6414DE: main (net.cpp:521)
  330. ==1505==
  331. ==1505== Conditional jump or move depends on uninitialised value(s)
  332. ==1505== at 0xAA33F8: Mob::AI_Start(unsigned int) (mob_ai.cpp:490)
  333. ==1505== by 0xAA3620: Client::AI_Start(unsigned int) (mob_ai.cpp:502)
  334. ==1505== by 0x6E79D0: Client::Process() (client_process.cpp:673)
  335. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  336. ==1505== by 0x6414DE: main (net.cpp:521)
  337. ==1505==
  338. ==1505== Conditional jump or move depends on uninitialised value(s)
  339. ==1505== at 0xAA341E: Mob::AI_Start(unsigned int) (mob_ai.cpp:492)
  340. ==1505== by 0xAA3620: Client::AI_Start(unsigned int) (mob_ai.cpp:502)
  341. ==1505== by 0x6E79D0: Client::Process() (client_process.cpp:673)
  342. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  343. ==1505== by 0x6414DE: main (net.cpp:521)
  344. ==1505==
  345. ==1505== Conditional jump or move depends on uninitialised value(s)
  346. ==1505== at 0xAA3420: Mob::AI_Start(unsigned int) (mob_ai.cpp:492)
  347. ==1505== by 0xAA3620: Client::AI_Start(unsigned int) (mob_ai.cpp:502)
  348. ==1505== by 0x6E79D0: Client::Process() (client_process.cpp:673)
  349. ==1505== by 0x8B0A23: EntityList::MobProcess() (entity.cpp:486)
  350. ==1505== by 0x6414DE: main (net.cpp:521)
  351. ==1505==
  352. ==1505==
  353. ==1505== HEAP SUMMARY:
  354. ==1505== in use at exit: 1,659,797 bytes in 62 blocks
  355. ==1505== total heap usage: 894,009 allocs, 893,947 frees, 352,120,823 bytes allocated
  356. ==1505==
  357. ==1505== 27 bytes in 1 blocks are definitely lost in loss record 3 of 35
  358. ==1505== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  359. ==1505== by 0x563AE21: Perl_safesysmalloc (util.c:130)
  360. ==1505== by 0x563B191: Perl_savepv (util.c:1025)
  361. ==1505== by 0x55CB342: Perl_newSTUB (op.c:8363)
  362. ==1505== by 0x55EAC87: Perl_gv_init_pvn (gv.c:402)
  363. ==1505== by 0x55EC5E8: Perl_gv_fetchpvn_flags (gv.c:2187)
  364. ==1505== by 0x55F0F30: Perl_gv_fetchsv (gv.c:1391)
  365. ==1505== by 0x55CB63E: Perl_ck_rvconst (op.c:9047)
  366. ==1505== by 0x55CEC16: Perl_newUNOP (op.c:4285)
  367. ==1505== by 0x5610CCC: Perl_yyparse (perly.y:1454)
  368. ==1505== by 0x56927F1: S_doeval (pp_ctl.c:3487)
  369. ==1505== by 0x569E5BF: Perl_pp_require (pp_ctl.c:4147)
  370. ==1505==
  371. ==1505== 152 bytes in 4 blocks are definitely lost in loss record 12 of 35
  372. ==1505== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  373. ==1505== by 0x563AE21: Perl_safesysmalloc (util.c:130)
  374. ==1505== by 0x563B191: Perl_savepv (util.c:1025)
  375. ==1505== by 0x55CB342: Perl_newSTUB (op.c:8363)
  376. ==1505== by 0x55EAC87: Perl_gv_init_pvn (gv.c:402)
  377. ==1505== by 0x55EC5E8: Perl_gv_fetchpvn_flags (gv.c:2187)
  378. ==1505== by 0x55F0F30: Perl_gv_fetchsv (gv.c:1391)
  379. ==1505== by 0x55CB63E: Perl_ck_rvconst (op.c:9047)
  380. ==1505== by 0x55CEC16: Perl_newUNOP (op.c:4285)
  381. ==1505== by 0x5606C0F: Perl_yylex (toke.c:7294)
  382. ==1505== by 0x560FA47: Perl_yyparse (perly.c:343)
  383. ==1505== by 0x56927F1: S_doeval (pp_ctl.c:3487)
  384. ==1505==
  385. ==1505== 288 bytes in 1 blocks are possibly lost in loss record 17 of 35
  386. ==1505== at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
  387. ==1505== by 0x4010F91: allocate_dtv (dl-tls.c:296)
  388. ==1505== by 0x401169D: _dl_allocate_tls (dl-tls.c:460)
  389. ==1505== by 0x5F95C27: allocate_stack (allocatestack.c:589)
  390. ==1505== by 0x5F95C27: pthread_create@@GLIBC_2.2.5 (pthread_create.c:495)
  391. ==1505== by 0x4E8CAAC: my_thread_global_init (in /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0)
  392. ==1505== by 0x4E8A76F: my_init (in /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0)
  393. ==1505== by 0x4E6585A: mysql_server_init (in /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0)
  394. ==1505== by 0x4E6BC9E: mysql_init (in /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0)
  395. ==1505== by 0xC68890: DBcore::DBcore() (dbcore.cpp:33)
  396. ==1505== by 0xC6453E: Database::Database() (database.cpp:51)
  397. ==1505== by 0xCA5CC4: SharedDatabase::SharedDatabase() (shareddb.cpp:53)
  398. ==1505== by 0xC2ED4E: ZoneDatabase::ZoneDatabase() (zonedb.cpp:23)
  399. ==1505==
  400. ==1505== 288 bytes in 1 blocks are possibly lost in loss record 18 of 35
  401. ==1505== at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
  402. ==1505== by 0x4010F91: allocate_dtv (dl-tls.c:296)
  403. ==1505== by 0x401169D: _dl_allocate_tls (dl-tls.c:460)
  404. ==1505== by 0x5F95C27: allocate_stack (allocatestack.c:589)
  405. ==1505== by 0x5F95C27: pthread_create@@GLIBC_2.2.5 (pthread_create.c:495)
  406. ==1505== by 0xCBB9EA: TCPConnection::AsyncConnect(unsigned int, unsigned short) (tcp_connection.cpp:390)
  407. ==1505== by 0x64145A: main (net.cpp:542)
  408. ==1505==
  409. ==1505== 288 bytes in 1 blocks are possibly lost in loss record 19 of 35
  410. ==1505== at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
  411. ==1505== by 0x4010F91: allocate_dtv (dl-tls.c:296)
  412. ==1505== by 0x401169D: _dl_allocate_tls (dl-tls.c:460)
  413. ==1505== by 0x5F95C27: allocate_stack (allocatestack.c:589)
  414. ==1505== by 0x5F95C27: pthread_create@@GLIBC_2.2.5 (pthread_create.c:495)
  415. ==1505== by 0xC742E5: EQStreamFactory::Open() (eq_stream_factory.cpp:113)
  416. ==1505== by 0x6415BB: Open (eq_stream_factory.h:50)
  417. ==1505== by 0x6415BB: main (net.cpp:448)
  418. ==1505==
  419. ==1505== 288 bytes in 1 blocks are possibly lost in loss record 20 of 35
  420. ==1505== at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
  421. ==1505== by 0x4010F91: allocate_dtv (dl-tls.c:296)
  422. ==1505== by 0x401169D: _dl_allocate_tls (dl-tls.c:460)
  423. ==1505== by 0x5F95C27: allocate_stack (allocatestack.c:589)
  424. ==1505== by 0x5F95C27: pthread_create@@GLIBC_2.2.5 (pthread_create.c:495)
  425. ==1505== by 0xC742FA: EQStreamFactory::Open() (eq_stream_factory.cpp:114)
  426. ==1505== by 0x6415BB: Open (eq_stream_factory.h:50)
  427. ==1505== by 0x6415BB: main (net.cpp:448)
  428. ==1505==
  429. ==1505== LEAK SUMMARY:
  430. ==1505== definitely lost: 179 bytes in 5 blocks
  431. ==1505== indirectly lost: 0 bytes in 0 blocks
  432. ==1505== possibly lost: 1,152 bytes in 4 blocks
  433. ==1505== still reachable: 1,658,466 bytes in 53 blocks
  434. ==1505== suppressed: 0 bytes in 0 blocks
  435. ==1505== Reachable blocks (those to which a pointer was found) are not shown.
  436. ==1505== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  437. ==1505==
  438. ==1505== For counts of detected and suppressed errors, rerun with: -v
  439. ==1505== Use --track-origins=yes to see where uninitialised values come from
  440. ==1505== ERROR SUMMARY: 32333 errors from 29 contexts (suppressed: 905 from 65)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement