Jump to content

[Fixed in 9334][crash]9320


Guest ascent

Recommended Posts

REV 9320
YTDB 533
SD2
WIN SE 2008

LAST server log.

2010-02-08 02:24:43 zDiff = 0.000000
2010-02-08 02:24:43 PLAYER: Player 22451117 discovered a new area: 4342
2010-02-08 02:24:43 Opcode 151
2010-02-08 02:24:43 Opcode 151
2010-02-08 02:24:43 Opcode 151
2010-02-08 02:24:43 Opcode 151
2010-02-08 02:24:43 Spell 53348 Effect0 : 32
2010-02-08 02:24:43 Sending SMSG_SPELL_GO id=53349
2010-02-08 02:24:43 Spell 53349 Effect0 : 2
2010-02-08 02:24:43 deal dmg:532 to health:8097 
2010-02-08 02:24:43 WORLD: Sending SMSG_ATTACKERSTATEUPDATE
2010-02-08 02:24:43 deal dmg:488 to health:7565 
2010-02-08 02:24:43 WORLD: Send SMSG_HIGHEST_THREAT_UPDATE Message
2010-02-08 02:24:43 creature 89294 stopped attacking creature 89405
2010-02-08 02:24:43 WORLD: Sent SMSG_AI_REACTION, type 2.
2010-02-08 02:24:43 WORLD: Sending SMSG_ATTACKERSTATEUPDATE
2010-02-08 02:24:43 WORLD: CMSG_WORLD_STATE_UI_TIMER_UPDATE
2010-02-08 02:24:43 Spell 53348 Effect0 : 32
2010-02-08 02:24:43 Sending SMSG_SPELL_GO id=53349
2010-02-08 02:24:43 Spell 53349 Effect0 : 2
2010-02-08 02:24:43 deal dmg:438 to health:7077 
2010-02-08 02:24:43 Sending SMSG_SPELL_GO id=54699
2010-02-08 02:24:43 Sending SMSG_SPELL_GO id=54725
2010-02-08 02:24:44 WORLD: Send SMSG_THREAT_UPDATE Message
2010-02-08 02:24:44 STORAGE: Item Query = 1251
2010-02-08 02:24:44 WORLD: Sending SMSG_ATTACKERSTATEUPDATE
2010-02-08 02:24:44 deal dmg:56 to health:13854 
2010-02-08 02:24:44 WORLD: Send SMSG_THREAT_UPDATE Message
2010-02-08 02:24:44 STORAGE: Item Query = 34368

Exception code: C0000005 ACCESS_VIOLATION
Fault address:  0000000140001659 01:0000000000000659 C:\\mangos\\mangosd.exe

Registers:
RAX:0000000000000000
RBX:000000000AAD17F0
RCX:0000000000000041
RDX:0000000000000041
RSI:000007FFEB70B420
RDI:00000001402E7EE0
R8: 0000000000000000
R9: 0000000140742F40
R10:000007FFE8E04000
R11:0000000000000000
R12:0000000000000000
R13:0000000000000000
R14:0000000000000000
R15:000000000BD0AAB0
CS:RIP:0033:0000000140001659
SS:RSP:002B:000000000BD0B050  RBP:00000000
DS:002B  ES:002B  FS:0053  GS:002B
Flags:00010202

Call stack:
Address   Frame     Function      SourceFile
0000000140001659  000000000BD0C0B0  Object::GetFloatValue+39  c:\\users\\administrator\\documents\\mangos\\src\\game\\object.h line 182
0000000140095FA9  000000000BD0E150  Unit::GetCombatDistance+29  c:\\users\\administrator\\documents\\mangos\\src\\game\\unit.cpp line 8922
0000000140377E27  000000000BD11220  CreatureAI::CanCastSpell+1F7  c:\\users\\administrator\\documents\\mangos\\src\\game\\creatureai.cpp line 62
0000000140378079  000000000BD122C0  CreatureAI::DoCastSpellIfCan+159  c:\\users\\administrator\\documents\\mangos\\src\\game\\creatureai.cpp line 101
000000000B26A6F8  000000000BD12300  ?getRace@Unit@@QEBAEXZ+738
00000001400C5389  000000000BD1B4F0  Creature::Update+6B9  c:\\users\\administrator\\documents\\mangos\\src\\game\\creature.cpp line 446
00000001401281D5  000000000BD1B580  MaNGOS::ObjectUpdater::Visit+F5  c:\\users\\administrator\\documents\\mangos\\src\\game\\gridnotifiersimpl.h line 47
00000001401280CD  000000000BD1B5F0  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+1D  c:\\users\\administrator\\documents\\mangos\\src\\framework\\gamesystem\\typecontainervisitor.h line 48
00000001401271AD  000000000BD1B620  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > >+1D  c:\\users\\administrator\\documents\\mangos\\src\\framework\\gamesystem\\typecontainervisitor.h line 54
0000000140126AB0  000000000BD1B650  VisitorHelper<MaNGOS::ObjectUpdater,GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > >+30  c:\\users\\administrator\\documents\\mangos\\src\\framework\\gamesystem\\typecontainervisitor.h line 55
00000001401263CD  000000000BD1B680  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > >+1D  c:\\users\\administrator\\documents\\mangos\\src\\framework\\gamesystem\\typecontainervisitor.h line 61
0000000140121D63  000000000BD1F730  Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+113  c:\\users\\administrator\\documents\\mangos\\src\\game\\map.h line 630
000000014011A8ED  000000000BD1F7C0  Cell::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+7D  c:\\users\\administrator\\documents\\mangos\\src\\game\\cellimpl.h line 47
00000001400FA013  000000000BD1FB50  Map::Update+583  c:\\users\\administrator\\documents\\mangos\\src\\game\\map.cpp line 644
0000000140347DBF  000000000BD1FC40  MapManager::Update+19F  c:\\users\\administrator\\documents\\mangos\\src\\game\\mapmanager.cpp line 266
00000001402C2C72  000000000BD1FE00  World::Update+732  c:\\users\\administrator\\documents\\mangos\\src\\game\\world.cpp line 1690
000000014003EA45  000000000BD1FE40  WorldRunnable::run+A5  c:\\users\\administrator\\documents\\mangos\\src\\mangosd\\worldrunnable.cpp line 61
00000001402E7F03  000000000BD1FEB0  ACE_Based::Thread::ThreadTask+23  c:\\users\\administrator\\documents\\mangos\\src\\shared\\threading.cpp line 186
000007FEF5D8170B  000000000BD1FEF0  ?invoke@ACE_OS_Thread_Adapter@@UEAAKXZ+5B
0000000073D42FDF  000000000BD1FF20  _endthreadex+47
0000000073D43080  000000000BD1FF50  _endthreadex+E8
00000000776C466D  000000000BD1FF80  BaseThreadInitThunk+D
00000000778C8791  000000000BD1FFD0  RtlUserThreadStart+21

Link to comment
Share on other sites

linux centos 5.4 x32

mangos 9320

scriptdev2 1569

YTDB 533

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0xa3bfeb90 (LWP 20988)]
0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
   at ../../../src/game/QuestDef.cpp:235
235    ../../../src/game/QuestDef.cpp: No such file or directory.
   in ../../../src/game/QuestDef.cpp

MANGOS VERSION
bash: mangos-worldd: command not found

CRASH ON dom feb 7 18:48:41 CET 2010
   Using the running image of child Thread 0xa3bfeb90 (LWP 20988).
Program stopped at 0x836f13d.
It stopped with signal SIGSEGV, Segmentation fault.
Type "info stack" or "info registers" for more information.

BACKTRACE

#0  0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
   at ../../../src/game/QuestDef.cpp:235
#1  0x081ec432 in PlayerMenu::SendQuestGiverOfferReward (this=0x8df5b90, 
   pQuest=0xa55cdc40, npcGUID=17379391455742755039, EnableNext=true)
   at ../../../src/game/GossipDef.cpp:785
#2  0x084b2614 in WorldSession::HandleQuestgiverCompleteQuest (this=0x96589c8, 
   recv_data=@0xa0498d40) at ../../../src/game/QuestHandler.cpp:455
#3  0x084394d3 in WorldSession::Update (this=0x96589c8)
   at ../../../src/game/WorldSession.cpp:186
#4  0x0843191d in World::UpdateSessions (this=0xb7222a18, diff=48)
   at ../../../src/game/World.cpp:2064
#5  0x08432249 in World::Update (this=0xb7222a18, diff=48)
   at ../../../src/game/World.cpp:1617
#6  0x08134afa in WorldRunnable::run (this=0xad1089d8)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#7  0x084f26ad in ACE_Based::Thread::ThreadTask (param=0xad1089d8)
   at ../../../src/shared/Threading.cpp:183
#8  0xb7f76247 in ACE_OS_Thread_Adapter::invoke (this=0xad108a08)
   at ../../../../dep/ACE_wrappers/ace/OS_Thread_Adapter.cpp:90
#9  0xb7f22641 in ace_thread_adapter (args=0xad108a08)
   at ../../../../dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp:124
#10 0x4e8f273b in start_thread () from /lib/libpthread.so.0
#11 0x4e847cfe in clone () from /lib/libc.so.6

BACKTRACE FULL

#0  0x0836f13d in Quest::XPValue (this=0xa55cdc40, pPlayer=0x9ddabf0)
   at ../../../src/game/QuestDef.cpp:235
   realXP = <value optimized out>
   baseLevel = <value optimized out>
   playerLevel = <value optimized out>
   xpMultiplier = 10
   pXPData = (const QuestXPLevel *) 0x0
   rawXP = <value optimized out>
#1  0x081ec432 in PlayerMenu::SendQuestGiverOfferReward (this=0x8df5b90, 
   pQuest=0xa55cdc40, npcGUID=17379391455742755039, EnableNext=true)
   at ../../../src/game/GossipDef.cpp:785
   Title = {static npos = 4294967295, 
 _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
   _M_p = 0xb394731c "Demostración de gratitud"}}
   OfferRewardText = {static npos = 4294967295, 
 _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
   _M_p = 0xa55cc2ec "Groovy! You're my kind of $R."}}
   loc_idx = <value optimized out>
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
   _wpos = 89, 
   _storage = {<std::_Vector_base<unsigned char,std::allocator<unsigned char> >> = {
       _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, 
         _M_start = 0x9dc92a0 "ß\\200\\001ôr", 
         _M_finish = 0x9dc92f9 "¢ÿ\\031Y\\031\\030", 
         _M_end_of_storage = 0x9dc9332 ""}}, <No data fields>}}, 
 m_opcode = 397}
   EmoteCount = 0
   pItem = <value optimized out>
#2  0x084b2614 in WorldSession::HandleQuestgiverCompleteQuest (this=0x96589c8, 
   recv_data=@0xa0498d40) at ../../../src/game/QuestHandler.cpp:455
   pQuest = (const Quest *) 0xa55cdc40
#3  0x084394d3 in WorldSession::Update (this=0x96589c8)
   at ../../../src/game/WorldSession.cpp:186
   opHandle = (OpcodeHandler &) @0xcccccccd: <error reading variable>
   packet = (WorldPacket *) 0xa0498d40
   currTime = <value optimized out>
#4  0x0843191d in World::UpdateSessions (this=0xb7222a18, diff=48)
   at ../../../src/game/World.cpp:2064
   next = {_M_cur = 0x8c311d0, _M_ht = 0xb7222a80}
   sess = (WorldSession *) 0x4e7f8fb6
#5  0x08432249 in World::Update (this=0xb7222a18, diff=48)
   at ../../../src/game/World.cpp:1617
No locals.
#6  0x08134afa in WorldRunnable::run (this=0xad1089d8)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 48
   realCurrTime = 2844535694
   realPrevTime = <value optimized out>
   prevSleepTime = 48
#7  0x084f26ad in ACE_Based::Thread::ThreadTask (param=0xad1089d8)
   at ../../../src/shared/Threading.cpp:183
No locals.
#8  0xb7f76247 in ACE_OS_Thread_Adapter::invoke (this=0xad108a08)
   at ../../../../dep/ACE_wrappers/ace/OS_Thread_Adapter.cpp:90
   hook = (class ACE_Thread_Hook *) 0xa
   func = (
   ACE_THR_FUNC_INTERNAL) 0x84f2690 <ACE_Based::Thread::ThreadTask(void*)>
   arg = (void *) 0xad1089d8
   status = (void *) 0x5
#9  0xb7f22641 in ace_thread_adapter (args=0xad108a08)
   at ../../../../dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp:124
   status = (void *) 0x5
#10 0x4e8f273b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x4e847cfe in clone () from /lib/libc.so.6
No symbol table info available.  

Link to comment
Share on other sites

same crash another log

2010-02-08 21:30:22 Spell 51206 Effect0 : 30
2010-02-08 21:30:22 ProcDamageAndSpell: casting spell 55667 (triggered by an attacker's aura of spell 55667)
2010-02-08 21:30:22 Sending SMSG_SPELL_GO id=68766
2010-02-08 21:30:22 Spell 68766 Effect0 : 27
2010-02-08 21:30:22 ProcDamageAndSpell: casting spell id 56817 (triggered by an attacker's dummy aura of spell 56817)
2010-02-08 21:30:22 ProcDamageAndSpell: casting spell 66817 (triggered by an attacker's aura of spell 66817)
2010-02-08 21:30:22 Sending SMSG_SPELL_GO id=66803
2010-02-08 21:30:22 Spell 66803 Effect0 : 6
2010-02-08 21:30:22 Spell: Aura is: 79
2010-02-08 21:30:22 Aura: construct Spellid : 66803, Aura : 79 Duration : 20000 Target : 1 Damage : 5
2010-02-08 21:30:22 AURA MOD DAMAGE type:127 negative:0
2010-02-08 21:30:22 Aura 79 now is in use
2010-02-08 21:30:22 Aura 4 now is remove mode 0
2010-02-08 21:30:22 deal dmg:832 to health:4897 
2010-02-08 21:30:22 Spell 56903 Effect0 : 31
2010-02-08 21:30:22 deal dmg:28 to health:4065 
2010-02-08 21:30:22 Spell 56903 Effect0 : 31
2010-02-08 21:30:22 deal dmg:27 to health:4037 
2010-02-08 21:30:22 Spell 56903 Effect0 : 31
2010-02-08 21:30:22 deal dmg:28 to health:4010 
2010-02-08 21:30:22 Spell 56903 Effect0 : 31
2010-02-08 21:30:22 deal dmg:30 to health:3982 

56903 = Lichflame

Link to comment
Share on other sites

chars with level over 80?

If I have solved my crash, Synt thanks for your comments.

in http://github.com/mangos/mangos/commit/cdae3631a4b0599aec585b62c0861303be82d6ec

if characters levels 140

it is clear that the problem of my crash, because the database is quest_template column questlevel +140> that questxp.dbc of 100 records

if quest_template - questlevel exceeds +100 crash

translated from Spanish by google

Link to comment
Share on other sites

Same here, anyone knows the solution? is DB related?

MANGOS VERSION

MaNGOS/0.16.0 (* * Revision 9330 - 8be5731a5c241f99c61fda1d0c5812de81ab1d8a) for Linux_x64 (little-endian)

CRASH ON lun feb 8 20:47:18 CET 2010

Using the running image of child Thread 0x42dcc950 (LWP 3508).

Program stopped at 0xa0ddab.

It stopped with signal SIGSEGV, Segmentation fault.

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

BACKTRACE

#0 0x0000000000a0ddab in Quest::XPValue (this=0xbcabda0, pPlayer=0xfb44b90)

at ../../../src/game/QuestDef.cpp:235

#1 0x0000000000875f85 in PlayerMenu::SendQuestGiverOfferReward (

this=0xfbd9230, pQuest=0xbcabda0, npcGUID=17379391219553128718,

EnableNext=true) at ../../../src/game/GossipDef.cpp:790

#2 0x0000000000b67038 in WorldSession::HandleQuestgiverCompleteQuest (

this=0x7f515404df70, recv_data=@0x7f5156a8bd90)

at ../../../src/game/QuestHandler.cpp:455

#3 0x0000000000af66cd in WorldSession::Update (this=0x7f515404df70)

at ../../../src/game/WorldSession.cpp:186

#4 0x0000000000aea77c in World::UpdateSessions (this=0x7f5154023760, diff=57)

at ../../../src/game/World.cpp:2066

#5 0x0000000000aea9b7 in World::Update (this=0x7f5154023760, diff=57)

at ../../../src/game/World.cpp:1619

#6 0x000000000078b88b in WorldRunnable::run (this=0x7c656e0)

at ../../../src/mangosd/WorldRunnable.cpp:60

#7 0x0000000000b9bb46 in ACE_Based::Thread::ThreadTask (param=0x7c656e0)

at ../../../src/shared/Threading.cpp:183

#8 0x00007f515a5fcfc7 in start_thread () from /lib/libpthread.so.0

#9 0x00007f5159bcc59d in clone () from /lib/libc.so.6

#10 0x0000000000000000 in ?? ()

BACKTRACE FULL

#0 0x0000000000a0ddab in Quest::XPValue (this=0xbcabda0, pPlayer=0xfb44b90)

at ../../../src/game/QuestDef.cpp:235

realXP = 0

baseLevel = 0

playerLevel = 80

xpMultiplier = 1

pXPData = (const QuestXPLevel *) 0x0

rawXP = 32593

#1 0x0000000000875f85 in PlayerMenu::SendQuestGiverOfferReward (

this=0xfbd9230, pQuest=0xbcabda0, npcGUID=17379391219553128718,

EnableNext=true) at ../../../src/game/GossipDef.cpp:790

Title = {static npos = 18446744073709551615,

_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},

_M_p = 0x5acffc8 "Llamamiento a las armas: Ojo de la Tormenta"}}

OfferRewardText = {static npos = 18446744073709551615,

_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},

_M_p = 0xbcac168 "You bring honor to us all, $n. We must show the enemy that we will fight them wherever we find them."}}

loc_idx = 0

data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0,

_wpos = 186,

_storage = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = {

_M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>},

_M_start = 0x119af8e0 "с滢, _M_finish = 0x119af99a "",

_M_end_of_storage = 0x119afa18 "A"}}, <No data fields>}},

m_opcode = 397}

EmoteCount = 1

pItem = (const ItemPrototype *) 0x42dcbe60

#2 0x0000000000b67038 in WorldSession::HandleQuestgiverCompleteQuest (

this=0x7f515404df70, recv_data=@0x7f5156a8bd90)

at ../../../src/game/QuestHandler.cpp:455

quest = 11341

guid = 17379391219553128718

pQuest = (const Quest *) 0xbcabda0

#3 0x0000000000af66cd in WorldSession::Update (this=0x7f515404df70)

at ../../../src/game/WorldSession.cpp:186

opHandle = (OpcodeHandler &) @0xfd3f60: {

name = 0xc620d8 "CMSG_QUESTGIVER_COMPLETE_QUEST", status = STATUS_LOGGEDIN,

handler = 0xb66e76 <WorldSession::HandleQuestgiverCompleteQuest(WorldPacket&)>}

packet = (WorldPacket *) 0x7f5156a8bd90

currTime = 1121763296

#4 0x0000000000aea77c in World::UpdateSessions (this=0x7f5154023760, diff=57)

at ../../../src/game/World.cpp:2066

itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const unsigned int, WorldSession*>, false>> = {_M_cur_node = 0xe833ed0,

_M_cur_bucket = 0xd6a08c8}, <No data fields>}

next = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const unsigned int, WorldSession*>, false>> = {_M_cur_node = 0xdaaaa00,

_M_cur_bucket = 0xd6a08c8}, <No data fields>}

sess = (WorldSession *) 0xae3182

#5 0x0000000000aea9b7 in World::Update (this=0x7f5154023760, diff=57)

at ../../../src/game/World.cpp:1619

No locals.

#6 0x000000000078b88b in WorldRunnable::run (this=0x7c656e0)

at ../../../src/mangosd/WorldRunnable.cpp:60

diff = 57

realCurrTime = 2938052609

realPrevTime = 2938052552

prevSleepTime = 47

#7 0x0000000000b9bb46 in ACE_Based::Thread::ThreadTask (param=0x7c656e0)

at ../../../src/shared/Threading.cpp:183

_task = (class ACE_Based::Runnable *) 0x7c656e0

#8 0x00007f515a5fcfc7 in start_thread () from /lib/libpthread.so.0

No symbol table info available.

#9 0x00007f5159bcc59d in clone () from /lib/libc.so.6

No symbol table info available.

#10 0x0000000000000000 in ?? ()

No symbol table info available.

Link to comment
Share on other sites

yes my solution for database in c++ I'm no programmer

if questlevel = 0 crash

if questlevel > 100 crash

questlevel admits that only 1 to 100

UPDATE quest_template SET questlevel = 1 WHERE questlevel <= 0;

UPDATE quest_template SET questlevel = 80 WHERE questlevel => 100;

Link to comment
Share on other sites

is i can remember there are quests with questlevel -1 and those "difficulty" does not depend of player level, for example battleground dailies - they are "yellow" for all players nomather level, repeatable "technical" quests like this one when you can get another sapta in Call of Water, etc if you set them 1 they become grey.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • 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