Jump to content

[Crash][9236]CountTheRoll


Auntie Mangos

Recommended Posts

  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Sorry the double post i could not edit the first one.

So... after applied the patch with the revertion happens a lot of problems on NPCs, i will tell some of them.

#Druids cant train Cat form on npc ( npc dont shows the skill )

#Paladins cant train mount 100% speed on npc ( npc dont shows the skill )

#and currently all Trainers, Profession Trainers, Classes Trainers, Secundary Profession Trainers

are bugged...

I tested on a clean mangos + ytdb and with mangos + ytdb + revert patch only got this problem after the revertion.

So that's the big joke, keep the crashs of hour and hour our keep with all npcs trainers bugged =D. ( sorry about the joke )

Some one have an ideia? To me looks like we did the revertion on the mangos src but not on DB or something like that =/

Link to comment
Share on other sites

Sorry the double post i could not edit the first one.

So... after applied the patch with the revertion happens a lot of problems on NPCs, i will tell some of them.

#Druids cant train Cat form on npc ( npc dont shows the skill )

#Paladins cant train mount 100% speed on npc ( npc dont shows the skill )

#and currently all Trainers, Profession Trainers, Classes Trainers, Secundary Profession Trainers

are bugged...

I tested on a clean mangos + ytdb and with mangos + ytdb + revert patch only got this problem after the revertion.

So that's the big joke, keep the crashs of hour and hour our keep with all npcs trainers bugged =D. ( sorry about the joke )

Some one have an ideia? To me looks like we did the revertion on the mangos src but not on DB or something like that =/

All these problem are from database, maybe not core related

Link to comment
Share on other sites

2010-01-29 01:35:44 ERROR:Table `npc_trainer` have data for not creature template (Entry: xxx) without trainer flag, ignore

if(skip_trainers.count(entry) == 0)
       {
           if (skip_trainers.find(entry) == skip_trainers.end())
           {
               sLog.outErrorDb("Table `npc_trainer` have data for not creature template (Entry: %u) without trainer flag, ignore", entry);
               skip_trainers.insert(entry);
           }
           continue;
       }

Schouldn't it be:

if(!(cInfo->npcflag & UNIT_NPC_FLAG_TRAINER))
       {
           if (skip_trainers.count(entry) == 0)
           {
               sLog.outErrorDb("Table `npc_trainer` have data for not creature template (Entry: %u) without trainer flag, ignore", entry);
               skip_trainers.insert(entry);
           }
           continue;
       }

The set is for skipping double error msg only.

Link to comment
Share on other sites

Sorry the double post i could not edit the first one.

So... after applied the patch with the revertion happens a lot of problems on NPCs, i will tell some of them.

#Druids cant train Cat form on npc ( npc dont shows the skill )

#Paladins cant train mount 100% speed on npc ( npc dont shows the skill )

#and currently all Trainers, Profession Trainers, Classes Trainers, Secundary Profession Trainers

are bugged...

I tested on a clean mangos + ytdb and with mangos + ytdb + revert patch only got this problem after the revertion.

So that's the big joke, keep the crashs of hour and hour our keep with all npcs trainers bugged =D. ( sorry about the joke )

Some one have an ideia? To me looks like we did the revertion on the mangos src but not on DB or something like that =/

I have the same trouble (

Link to comment
Share on other sites

Hi i have changed a litle bit the patch maded by the Rage hunter, just taking off everything about talents, npc trainers and some skill. It worked really fine in my server 300+ testers.

That fix those problems with you made the full reverse:

#Druids cant train Cat form on npc ( npc dont shows the skill )

#Paladins cant train mount 100% speed on npc ( npc dont shows the skill )

#and currently all Trainers, Profession Trainers, Classes Trainers, Secundary Profession Trainers

You can check out if you guys want, im not a pro so you can tell me if have something wrong.

I just want the reverse or fix to this problem merged on master branch because that problem is a really badly crash and happens very very offen.

Here is the patch.

Im using this patch on 9262 that i reverted from 9266 because of other crashes in src that are already reverted in src by vladimir on 9271 and more but, i did not update because with this patch on 9262 i got 23hr without any crashes and thats feels really good xD

Also the only problem that i got on my server is a "death" problem, player dies and some times dont show the corpse, im searching that problem already..

Link to comment
Share on other sites

Hi! I have changed my server OS to linux and i saw your updates to fix that error so im using the rv 9284 with your 2 fixes about that error.

The point is when i was on rev 9262 and used the patch that i have posted to revert the 9228 i got 23hr uptime and now i got 30minutes uptime with rev 9284.

I really dont know if is the same crash i just want to give and have some help, so here is the crash log that i have now every 20~30 minutes.

#0  Group::EndRoll (this=0x2aaad845f990) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:223
223        _M_node = _M_node->_M_next;
#0  Group::EndRoll (this=0x2aaad845f990) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:223
   itr = {_M_current = 0x75}
#1  0x00000000005517d2 in Creature::Update (this=0x1d896680, diff=143) at ../../../src/game/Creature.cpp:407
   group = (Group *) 0x2aaa00000001
#2  0x0000000000639eff in VisitorHelper<MaNGOS::ObjectUpdater, Creature> (v=@0x41aa1f60, c=<value optimized out>) at ../../../src/game/GridNotifiersImpl.h:47
No locals.
#3  0x000000000063bdad in VisitorHelper<MaNGOS::ObjectUpdater, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (v=@0x2aaad845f990, c=@0x75)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70

Link to comment
Share on other sites

Debian. I have a lot of modifications but i think patches are not related to the crash

MANGOS VERSION

MaNGOS/0.16.0 (* * Revision 9285 - 260d845d3df76007e53bccdfbb5609be5305bffa) for Linux_x64 (little-endian)

CRASH ON mié feb 3 07:14:45 CET 2010

Using the running image of child Thread 0x42fdf950 (LWP 6246).

Program stopped at 0x7b5785.

It stopped with signal SIGSEGV, Segmentation fault.

Type "info stack" or "info registers" for more information.

BACKTRACE

#0 0x00000000007b5785 in std::_List_const_iterator<Group::MemberSlot>::operator++ (this=0x42fdea68) at /usr/include/c++/4.3/bits/stl_list.h:221

#1 0x00000000008810ca in std::__distance<std::_List_const_iterator<Group::MemberSlot> > (__first={_M_node = 0x48535441e5894855}, __last=

{_M_node = 0x7f57076265d0})

at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:84

#2 0x0000000000881112 in std::Distance<std::_List_const_iterator<Group::MemberSlot> > (__first={_M_node = 0xc09390}, __last={_M_node = 0x7f57076265d0})

at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:119

#3 0x0000000000881141 in std::list<Group::MemberSlot, std::allocator<Group::MemberSlot> >::size (this=0x7f57076265d0)

at /usr/include/c++/4.3/bits/stl_list.h:764

#4 0x000000000088115d in Group::GetMembersCount (this=0x7f57076265d0)

at ../../../src/game/Group.h:245

#5 0x000000000087d0b6 in Group::EndRoll (this=0x7f57076265d0)

at ../../../src/game/Group.cpp:779

#6 0x00000000007fb104 in Creature::Update (this=0x69270c0, diff=109)

at ../../../src/game/Creature.cpp:409

#7 0x00000000008f606f in MaNGOS::ObjectUpdater::Visit (this=0x42fdeed0,

m=@0x7f571e75eda0) at ../../../src/game/GridNotifiersImpl.h:47

Creature.cpp line 408-409
if (Group* group = sObjectMgr.GetGroupByLeaderLowGUID(GUID_LOPART(lootingGroupLeaderGUID)))

group->EndRoll();

Im trying now whitout any patch except SD2

Link to comment
Share on other sites

I can confirm crash still after [9288] backport in mangos-0.12

00000001400D6ADA  0000000007FA32C0  Group::CountTheRoll+2A  d:\\9287_1563\\src\\game\\group.cpp line 713
00000001400D6AA2  0000000007FA3320  Group::EndRoll+A2  d:\\9287_1563\\src\\game\\group.cpp line 708
00000001400B3B6D  0000000007FAB520  Creature::Update+69D  d:\\9287_1563\\src\\game\\creature.cpp line 397
0000000140109435  0000000007FAB5B0  MaNGOS::ObjectUpdater::Visit+F5  d:\\9287_1563\\src\\game\\gridnotifiersimpl.h line 48
000000014010932D  0000000007FAB620  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+1D  d:\\9287_1563\\src\\framework\\gamesystem\\typecontainervisitor.h line 65
000000014010868D  0000000007FAB650  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > >+1D  d:\\9287_1563\\src\\framework\\gamesystem\\typecontainervisitor.h line 71
0000000140107FF0  0000000007FAB680  VisitorHelper<MaNGOS::ObjectUpdater,GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > >+30  d:\\9287_1563\\src\\framework\\gamesystem\\typecontainervisitor.h line 72
00000001401077DD  0000000007FAB6B0  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > >+1D  d:\\9287_1563\\src\\framework\\gamesystem\\typecontainervisitor.h line 95
0000000140103703  0000000007FAF760  Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+113  d:\\9287_1563\\src\\game\\map.h line 600
00000001400FBCFD  0000000007FAF7F0  Cell::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+7D  d:\\9287_1563\\src\\game\\cellimpl.h line 47
00000001400E6F93  0000000007FAFB70  Map::Update+583  d:\\9287_1563\\src\\game\\map.cpp line 625
00000001402E851F  0000000007FAFC60  MapManager::Update+19F  d:\\9287_1563\\src\\game\\mapmanager.cpp line 262
0000000140285FD9  0000000007FAFE20  World::Update+729  d:\\9287_1563\\src\\game\\world.cpp line 1583
000000014003C235  0000000007FAFE60  WorldRunnable::run+A5  d:\\9287_1563\\src\\mangosd\\worldrunnable.cpp line 61
00000001402A8A13  0000000007FAFED0  ACE_Based::Thread::ThreadTask+23  d:\\9287_1563\\src\\shared\\threading.cpp line 186
00000000003F170B  0000000007FAFF10  [email="?invoke@ACE_OS_Thread_Adapter@@UEAAKXZ+5B"]?invoke@ACE_OS_Thread_Adapter@@UEAAKXZ+5B[/email]
0000000078622FDF  0000000007FAFF40  _endthreadex+47
0000000078623080  0000000007FAFF70  _endthreadex+E8
0000000077D6B71A  0000000007FAFFA0  BaseThreadStart+3A

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use