Advertisement
Guest User

Untitled

a guest
Sep 5th, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. ==1057== 1 errors in context 1 of 3:
  2. ==1057== Invalid read of size 4
  3. ==1057== at 0x14ED6C1: Object::GetUInt32Value(unsigned short) const (Object.cpp:281)
  4. ==1057== by 0x14A1380: Item::GetEnchantmentId(EnchantmentSlot) const (in /home/jackpoz/trinity/bin/worldserver)
  5. ==1057== by 0x155BA81: Player::CastItemUseSpell(Item*, SpellCastTargets const&, unsigned char, unsigned int) (Player.cpp:8373)
  6. ==1057== by 0x1D30067: WorldSession::HandleUseItemOpcode(WorldPacket&) (SpellHandler.cpp:164)
  7. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  8. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  9. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  10. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  11. ==1057== by 0x121F324: main (Main.cpp:241)
  12. ==1057== Address 0x58 is not stack'd, malloc'd or (recently) free'd
  13. ==1057==
  14. ==1057==
  15. ==1057== 1 errors in context 2 of 3:
  16. ==1057== Invalid read of size 8
  17. ==1057== at 0x14ED6BD: Object::GetUInt32Value(unsigned short) const (Object.cpp:281)
  18. ==1057== by 0x14A1380: Item::GetEnchantmentId(EnchantmentSlot) const (in /home/jackpoz/trinity/bin/worldserver)
  19. ==1057== by 0x155BA81: Player::CastItemUseSpell(Item*, SpellCastTargets const&, unsigned char, unsigned int) (Player.cpp:8373)
  20. ==1057== by 0x1D30067: WorldSession::HandleUseItemOpcode(WorldPacket&) (SpellHandler.cpp:164)
  21. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  22. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  23. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  24. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  25. ==1057== by 0x121F324: main (Main.cpp:241)
  26. ==1057== Address 0x378c8e98 is 24 bytes inside a block of size 552 free'd
  27. ==1057== at 0x4C2D183: operator delete(void*) (vg_replace_malloc.c:575)
  28. ==1057== by 0x1CFDAA1: Item::~Item() (Item.h:206)
  29. ==1057== by 0x1CF7634: Item::SetState(ItemUpdateState, Player*) (Item.cpp:701)
  30. ==1057== by 0x1571C5A: Player::DestroyItem(unsigned char, unsigned char, bool) (Player.cpp:12616)
  31. ==1057== by 0x1573580: Player::DestroyItemCount(Item*, unsigned int&, bool) (Player.cpp:12907)
  32. ==1057== by 0x1AC938E: Spell::TakeCastItem() (Spell.cpp:4281)
  33. ==1057== by 0x1AC9662: Spell::handle_immediate() (Spell.cpp:3290)
  34. ==1057== by 0x1AC6140: Spell::cast(bool) (Spell.cpp:3218)
  35. ==1057== by 0x1AC0B4C: Spell::prepare(SpellCastTargets const*, AuraEffect const*) (Spell.cpp:2954)
  36. ==1057== by 0x155BA19: Player::CastItemUseSpell(Item*, SpellCastTargets const&, unsigned char, unsigned int) (Player.cpp:8365)
  37. ==1057== by 0x1D30067: WorldSession::HandleUseItemOpcode(WorldPacket&) (SpellHandler.cpp:164)
  38. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  39. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  40. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  41. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  42. ==1057== by 0x121F324: main (Main.cpp:241)
  43. ==1057== Block was alloc'd at
  44. ==1057== at 0x4C2C157: operator new(unsigned long) (vg_replace_malloc.c:333)
  45. ==1057== by 0x15C3D06: NewItemOrBag(ItemTemplate const*) (Bag.h:71)
  46. ==1057== by 0x1CFB53B: Item::CreateItem(unsigned int, unsigned int, Player const*) (Item.cpp:1063)
  47. ==1057== by 0x1520BD3: Player::StoreNewItem(std::vector<ItemPosCount, std::allocator<ItemPosCount> > const&, unsigned int, bool, int, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&) (Player.cpp:12044)
  48. ==1057== by 0x2012800: misc_commandscript::HandleAddItemCommand(ChatHandler*, char const*) (cs_misc.cpp:1191)
  49. ==1057== by 0x12E4287: ChatHandler::ExecuteCommandInTable(ChatCommand*, char const*, std::string const&) (Chat.cpp:325)
  50. ==1057== by 0x12E50B6: ChatHandler::ParseCommands(char const*) (Chat.cpp:452)
  51. ==1057== by 0x1D43FD3: WorldSession::HandleMessagechatOpcode(WorldPacket&) (ChatHandler.cpp:217)
  52. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  53. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  54. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  55. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  56. ==1057== by 0x121F324: main (Main.cpp:241)
  57. ==1057==
  58. ==1057==
  59. ==1057== 1 errors in context 3 of 3:
  60. ==1057== Invalid read of size 2
  61. ==1057== at 0x14ED663: Object::GetUInt32Value(unsigned short) const (Object.cpp:280)
  62. ==1057== by 0x14A1380: Item::GetEnchantmentId(EnchantmentSlot) const (in /home/jackpoz/trinity/bin/worldserver)
  63. ==1057== by 0x155BA81: Player::CastItemUseSpell(Item*, SpellCastTargets const&, unsigned char, unsigned int) (Player.cpp:8373)
  64. ==1057== by 0x1D30067: WorldSession::HandleUseItemOpcode(WorldPacket&) (SpellHandler.cpp:164)
  65. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  66. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  67. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  68. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  69. ==1057== by 0x121F324: main (Main.cpp:241)
  70. ==1057== Address 0x378c8eb0 is 48 bytes inside a block of size 552 free'd
  71. ==1057== at 0x4C2D183: operator delete(void*) (vg_replace_malloc.c:575)
  72. ==1057== by 0x1CFDAA1: Item::~Item() (Item.h:206)
  73. ==1057== by 0x1CF7634: Item::SetState(ItemUpdateState, Player*) (Item.cpp:701)
  74. ==1057== by 0x1571C5A: Player::DestroyItem(unsigned char, unsigned char, bool) (Player.cpp:12616)
  75. ==1057== by 0x1573580: Player::DestroyItemCount(Item*, unsigned int&, bool) (Player.cpp:12907)
  76. ==1057== by 0x1AC938E: Spell::TakeCastItem() (Spell.cpp:4281)
  77. ==1057== by 0x1AC9662: Spell::handle_immediate() (Spell.cpp:3290)
  78. ==1057== by 0x1AC6140: Spell::cast(bool) (Spell.cpp:3218)
  79. ==1057== by 0x1AC0B4C: Spell::prepare(SpellCastTargets const*, AuraEffect const*) (Spell.cpp:2954)
  80. ==1057== by 0x155BA19: Player::CastItemUseSpell(Item*, SpellCastTargets const&, unsigned char, unsigned int) (Player.cpp:8365)
  81. ==1057== by 0x1D30067: WorldSession::HandleUseItemOpcode(WorldPacket&) (SpellHandler.cpp:164)
  82. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  83. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  84. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  85. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  86. ==1057== by 0x121F324: main (Main.cpp:241)
  87. ==1057== Block was alloc'd at
  88. ==1057== at 0x4C2C157: operator new(unsigned long) (vg_replace_malloc.c:333)
  89. ==1057== by 0x15C3D06: NewItemOrBag(ItemTemplate const*) (Bag.h:71)
  90. ==1057== by 0x1CFB53B: Item::CreateItem(unsigned int, unsigned int, Player const*) (Item.cpp:1063)
  91. ==1057== by 0x1520BD3: Player::StoreNewItem(std::vector<ItemPosCount, std::allocator<ItemPosCount> > const&, unsigned int, bool, int, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&) (Player.cpp:12044)
  92. ==1057== by 0x2012800: misc_commandscript::HandleAddItemCommand(ChatHandler*, char const*) (cs_misc.cpp:1191)
  93. ==1057== by 0x12E4287: ChatHandler::ExecuteCommandInTable(ChatCommand*, char const*, std::string const&) (Chat.cpp:325)
  94. ==1057== by 0x12E50B6: ChatHandler::ParseCommands(char const*) (Chat.cpp:452)
  95. ==1057== by 0x1D43FD3: WorldSession::HandleMessagechatOpcode(WorldPacket&) (ChatHandler.cpp:217)
  96. ==1057== by 0x19E72D9: WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:321)
  97. ==1057== by 0x1B52BAD: World::UpdateSessions(unsigned int) (World.cpp:2712)
  98. ==1057== by 0x1B50A3C: World::Update(unsigned int) (World.cpp:2075)
  99. ==1057== by 0x1221639: WorldUpdateLoop() (Main.cpp:379)
  100. ==1057== by 0x121F324: main (Main.cpp:241)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement