Jump to content

Linux crash dumps


Auntie Mangos
 Share

Recommended Posts

  • Replies 986
  • Created
  • Last Reply

Top Posters In This Topic

Are you sure that instability is not related to your patches ? Many of the crashes you are reporting I've never seen before.

7076, clean mangos, only some minor changes on commands. + mtmaps from derex

1st crash now, others are sadly freez, should i post dumps too?? had like 3 freez now :((( (i will post one freez) if anyone know, how tzo find that freez, it would be welcome

http://pastebin.com/m7a0b5df5

and for waza123, it depends how many online u have...)

EDIT: next

http://pastebin.com/m369ee4b1

got like 20crashes now :( sometimes its in row

Link to comment
Share on other sites

mangos-0.12 7290 sd812 UDB365

+procflag

+mtmaps

+few of custom fixes by KAPATEJIb

Debian OS

most of crashes (80%) on my server became from undismissed mini-pets when leaving/reseting instanced maps, summoned by both players or NPCs. It was reported by Higi. Facing lack of C++ knowledge I managed to handle most frequent cases by ACID scripts (force evade in certain circustances), but it is not the way it should be done.

last lines in server.log:

2009-02-18 00:52:57 ERROR:GetInstance: object Defias Companion(1921), typeId 3, in world 1, should be in map 36,139 but that's not loaded yet.

2009-02-15 20:47:52 ERROR:GetInstance: object Skeletal Servant(442), typeId 3, in world 1, should be in map 329,79 but that's not loaded yet.

22:51:47 ERROR:GetInstance: object Fire Elemental(19446), typeId 3, in world 1, should be in map 189,1043 but that's not loaded yet.

Link to comment
Share on other sites

Core: 7460

SD2: 902

UDB: 369

ACID: 27

Hi, this both crashes (one is a freeze). This two are very often ~ 50 mins

- This one I think it's the source of this freeze reports

http://getmangos.eu/community/viewtopic.php?id=7113

http://getmangos.eu/community/viewtopic.php?id=6891

http://pastebin.com/m7da21209

- And this is a crash with LoS OFF (trying to avoid the freeze)

http://pastebin.com/mb2c4b50

I Note this

#

#1 0x00000000005bc67a in Map::GetHeight (this=0x7f8667721650, x=-nan(0x400000), y=-nan(0x400000),

#

z=11.8819437, pUseVmaps=true)

why pUseVmaps=true , if I set vmaps off?

vmap.enableLOS = 0

vmap.enableHeight = 0

vmap.ignoreMapIds = "369"

vmap.ignoreSpellIds = "7720"

Thanks , 4 reading

Link to comment
Share on other sites

MaNGOS/0.13.0 (* * Revision 7614 - *)

Several crashes like this:

Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/mangos/server/bin/mangos-worldd'.
Program terminated with signal 11, Segmentation fault.
#0  Unit::InterruptNonMeleeSpells (this=0x38c9f910, withDelayed=false, 
   spell_id=0) at ../../../src/game/Spell.h:417
   in ../../../src/game/Spell.h
#0  Unit::InterruptNonMeleeSpells (this=0x38c9f910, withDelayed=false, 
   spell_id=0) at ../../../src/game/Spell.h:417
No locals.
#1  0x0000000000748380 in Unit::setDeathState (this=0x38c9f910, s=JUST_DIED)
   at ../../../src/game/Unit.cpp:9252
No locals.
#2  0x00000000006b01c0 in Player::setDeathState (this=0x38c9f910, 
   s=<value optimized out>) at ../../../src/game/Player.cpp:1384
   ressSpellId = 0
   cur = true
#3  0x0000000000754d08 in Unit::DealDamage (this=0x2ee443b0, 

and one

Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/mangos/server/bin/mangos-worldd'.
Program terminated with signal 11, Segmentation fault.
#0  Unit::InterruptSpell (this=0x2aab5ab61e00, spellType=3, withDelayed=true)
   at ../../../src/game/Spell.h:417
   in ../../../src/game/Spell.h
#0  Unit::InterruptSpell (this=0x2aab5ab61e00, spellType=3, withDelayed=true)
   at ../../../src/game/Spell.h:417
   __PRETTY_FUNCTION__ = "void Unit::InterruptSpell(uint32, bool)"
#1  0x00000000007382d2 in Unit::CastStop (this=0x2aab5ab61e00, 
   except_spellid=0) at ../../../src/game/Unit.cpp:861
   i = 605
#2  0x00000000006e51ec in Aura::HandleAuraModStun (this=0x393d21c0, 
   apply=<value optimized out>, Real=<value optimized out>)
   at ../../../src/game/SpellAuras.cpp:3415
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 48, 
   _wpos = 46915449659496, 
   _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 = 0x44725970 "2 ", _M_finish = 0x3e4174f9a0 "", 
         _M_end_of_storage = 0x18 <Address 0x18 out of bounds>}}, <No data fields>}}, m_opcode = 12}

spellType=3 is CURRENT_CHANNELED_SPELL

So crash is the same in both cases

        if (m_currentSpells[CURRENT_CHANNELED_SPELL]->getState() != SPELL_STATE_FINISHED)
           m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel();
      [b] m_currentSpells[CURRENT_CHANNELED_SPELL]->SetReferencedFromCurrent(false);[/b]

look like after m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(); pointer to Spell can be invalid and we able to get crash in m_currentSpells[CURRENT_CHANNELED_SPELL]->SetReferencedFromCurrent(false);

Addition on Windows

http://getmangos.eu/community/showpost.php?p=67976&postcount=42

Link to comment
Share on other sites

spellType=3 is CURRENT_CHANNELED_SPELL

So crash is the same in both cases

        if (m_currentSpells[CURRENT_CHANNELED_SPELL]->getState() != SPELL_STATE_FINISHED)
           m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel();
      [b] m_currentSpells[CURRENT_CHANNELED_SPELL]->SetReferencedFromCurrent(false);[/b]

look like after m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(); pointer to Spell can be invalid and we able to get crash in m_currentSpells[CURRENT_CHANNELED_SPELL]->SetReferencedFromCurrent(false);

Addition on Windows

http://getmangos.eu/community/showpost.php?p=67976&postcount=42

Getting the same problem a lot with core 7629.

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 1115703648 (LWP 15602)]
Unit::InterruptNonMeleeSpells (this=0x30882a50, withDelayed=true, spell_id=0)
   at ../../../src/game/Spell.h:417
417            void SetReferencedFromCurrent(bool yes) { m_referencedFromCurrentSpell = yes; }
#0  Unit::InterruptNonMeleeSpells (this=0x30882a50, withDelayed=true, 
   spell_id=0) at ../../../src/game/Spell.h:417
No locals.
#1  0x00000000006b0874 in Player::TeleportTo (this=0x30882a50, mapid=562, 
   x=6184.98242, y=236.011444, z=4.97687387, orientation=3.14159012, 
   options=0) at ../../../src/game/Player.cpp:1765
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 6, 
   _wpos = 680966408, 
   _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 = 0x30882a50 "0\\006\\214", _M_finish = 0x40490fd0 "", 
         _M_end_of_storage = 0x409f428d ""}}, <No data fields>}}, 
 m_opcode = 28139}
   old_zone = <value optimized out>
   newzone = <value optimized out>
   newarea = <value optimized out>
   pet = (class Pet *) 0x0
   mEntry = (const MapEntry *) 0xc61848
#2  0x00000000007b94ff in WorldSession::HandleBattleGroundPlayerPortOpcode (
   this=0x307f3170, recv_data=<value optimized out>)
   at ../../../src/game/BattleGroundHandler.cpp:451
   at = <value optimized out>
   instanceId = 991
   action = <value optimized out>
   bgTypeId = BATTLEGROUND_TYPE_NONE
   bgQueueTypeId = BATTLEGROUND_QUEUE_2v2
   qpMap = <value optimized out>
   bg = (class BattleGround *) 0x33f7a480
#3  0x00000000007909cc in WorldSession::Update (this=0x307f3170)
   at ../../../src/game/WorldSession.cpp:193
   opHandle = (OpcodeHandler &) @0x1: Cannot access memory at address 0x1

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 1115703648 (LWP 31795)]
Unit::InterruptSpell (this=0x2aaae683cfb0, spellType=3, withDelayed=true)
   at ../../../src/game/Spell.h:417
417            void SetReferencedFromCurrent(bool yes) { m_referencedFromCurrentSpell = yes; }
#0  Unit::InterruptSpell (this=0x2aaae683cfb0, spellType=3, withDelayed=true)
   at ../../../src/game/Spell.h:417
No locals.
#1  0x00000000006fe19f in Spell::DoSpellHitOnUnit (this=0x2aaafff70710, 
   unit=0x2aaae683cfb0, effectMask=3) at ../../../src/game/Spell.cpp:1190
   modOwner = (class Player *) 0x2aaae683d268
   multiplier = 5.94253111
#2  0x00000000006fe6c9 in Spell::DoAllEffectOnTarget (this=0x2aaafff70710, 
   target=0x2aaaf70ba810) at ../../../src/game/Spell.cpp:1000
   crit = <value optimized out>
   addhealth = <value optimized out>
   gain = <value optimized out>
   mask = 1
   unit = (class Unit *) 0x2aaae683cfb0
   caster = (class Unit *) 0x1aed26d0
   missInfo = <value optimized out>
   procAttacker = 16
   procVictim = 32
   procEx = <value optimized out>
#3  0x000000000070507d in Spell::handle_immediate (this=0x2aaafff70710)
   at ../../../src/game/Spell.cpp:2554
No locals.
#4  0x0000000000706c35 in Spell::cast (this=0x2aaafff70710, skipCheck=false)
   at ../../../src/game/Spell.cpp:2528
   mPeriodic = (const std::list<Aura*,std::allocator<Aura*> > &) @0x0: 
Cannot access memory at address 0x0

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 1115703648 (LWP 29904)]
Unit::InterruptNonMeleeSpells (this=0x32353b90, withDelayed=false, spell_id=0)
   at ../../../src/game/Spell.h:417
417            void SetReferencedFromCurrent(bool yes) { m_referencedFromCurrentSpell = yes; }
#0  Unit::InterruptNonMeleeSpells (this=0x32353b90, withDelayed=false, 
   spell_id=0) at ../../../src/game/Spell.h:417
No locals.
#1  0x0000000000766bbc in Unit::setDeathState (this=0x32353b90, s=JUST_DIED)
   at ../../../src/game/Unit.cpp:9262
No locals.
#2  0x00000000006b1efc in Player::setDeathState (this=0x32353b90, 
   s=<value optimized out>) at ../../../src/game/Player.cpp:1414
   ressSpellId = 0
   cur = true
#3  0x000000000076d6a2 in Unit::DealDamage (this=0x32353b90, 
   pVictim=0x32353b90, damage=100, cleanDamage=0x0, damagetype=DIRECT_DAMAGE, 
   damageSchoolMask=<value optimized out>, spellProto=0x2aaaaed09e9c, 
   durabilityLoss=false) at ../../../src/game/Unit.cpp:590
   player = (class Player *) 0x32353b90
   damageFromSpiritOfRedemtionTalent = true
   spiritOfRedemtionTalentReady = <value optimized out>
   health = <value optimized out>
   duel_hasEnded = false
   __PRETTY_FUNCTION__ = "uint32 Unit::DealDamage(Unit*, uint32, const CleanDamage*, DamageEffectType, SpellSchoolMask, const SpellEntry*, bool)"
#4  0x00000000006dfa0e in Aura::HandleSpiritOfRedemption (this=0x2aaafd5cdee0, 
   apply=<value optimized out>, Real=<value optimized out>)
   at ../../../src/game/SpellAuras.cpp:5576
No locals.
#5  0x00000000006d7cdb in Aura::ApplyModifier (this=0x2aaafd5cdee0, apply=93, 
   Real=true) at ../../../src/game/SpellAuras.cpp:888
   aura = <value optimized out>
#6  0x000000000075e944 in Unit::RemoveAura (this=0x32353b90, [email protected], 
   mode=AURA_REMOVE_BY_DEFAULT) at ../../../src/game/Unit.cpp:3897
   Aur = (class Aura *) 0x2aaafd5cdee0
   AurSpellInfo = (const SpellEntry *) 0x2aaaaed09e9c
   statue = <value optimized out>
#7  0x000000000075f192 in Unit::RemoveAura (this=0x32353b90, spellId=27795, 
   effindex=<value optimized out>, except=0x0)
   at ../../../src/game/Unit.cpp:3664
   iter = {_M_node = 0x2aaad1f6f230}
#8  0x000000000075f3ef in Unit::RemoveAurasDueToSpell (this=0x32353b90, 
   spellId=27795, except=0x0) at ../../../src/game/Unit.cpp:3800
No locals.
#9  0x00000000006da8ea in Aura::HandleShapeshiftBoosts (this=0x2aaaecdf3420, 
   apply=<value optimized out>) at ../../../src/game/SpellAuras.cpp:5364
   tAuras = <value optimized out>
   spellId = 27792
   spellId2 = 27795
   HotWSpellId = 0
   form = 31
#10 0x00000000006dfcd5 in Aura::HandleAuraModShapeshift (this=0x2aaaecdf3420, 
   apply=false, Real=<value optimized out>)
   at ../../../src/game/SpellAuras.cpp:2754
   Rage_val = 0
   modelid = 842349456
   PowerType = POWER_MANA
   form = FORM_SPIRITOFREDEMPTION
#11 0x00000000006d7cdb in Aura::ApplyModifier (this=0x2aaaecdf3420, apply=93, 
   Real=true) at ../../../src/game/SpellAuras.cpp:888
   aura = <value optimized out>
#12 0x000000000075e944 in Unit::RemoveAura (this=0x32353b90, [email protected], 
   mode=AURA_REMOVE_BY_DEFAULT) at ../../../src/game/Unit.cpp:3897
   Aur = (class Aura *) 0x2aaaecdf3420
   AurSpellInfo = (const SpellEntry *) 0x2aaaaed0fb00
   statue = <value optimized out>
#13 0x0000000000760d4b in Unit::_UpdateSpells (this=0x32353b90, time=304)
   at ../../../src/game/Unit.cpp:2932
   i = {_M_node = 0x2aaab48991b0}
#14 0x0000000000760dd3 in Unit::Update (this=0x32353b90, p_time=304)
   at ../../../src/game/Unit.cpp:191
No locals.
#15 0x00000000006b1f98 in Player::Update (this=0x32353b90, p_time=304)
   at ../../../src/game/Player.cpp:1113
   now = <value optimized out>
   pet = <value optimized out>
#16 0x00000000005eecd1 in ObjectAccessor::UpdatePlayers (
   this=<value optimized out>, diff=304)
   at ../../../src/game/ObjectAccessor.cpp:496
No locals.
#17 0x00000000005e477a in MapManager::Update (this=0x6b5f300, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:248
No locals.
#18 0x0000000000788e4d in World::Update (this=0xaf4df0, diff=96)
   at ../../../src/game/World.cpp:1571
No locals.
#19 0x00000000004bd630 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:65
   diff = 96
   realCurrTime = 2185206403
   realPrevTime = <value optimized out>
   prevSleepTime = 84
#20 0x00002b4ceeca4d1b in ZThread::ThreadImpl::Dispatch (parent=0xad0d90, 
   impl=0x6b643b0, [email protected])
   at ../../../../dep/src/zthread/ThreadImpl.cxx:407
No locals.
#21 0x00002b4ceeca7916 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fffbcb04500) at ../../../../dep/src/zthread/ThreadImpl.cxx:49
No locals.
#22 0x00002b4ceecab6c8 in _dispatch (arg=0x0)
   at ../../../../dep/src/zthread/posix/ThreadOps.cxx:137
   __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)"
#23 0x00002b4ceedbdf1a in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#24 0x00002b4cef4245d2 in clone () from /lib/libc.so.6
No symbol table info available.
#25 0x0000000000000000 in ?? ()
No symbol table info available.

Post 1/5

Link to comment
Share on other sites

MaNGOS/0.15.0 (* * Revision 9044 - *) for Linux_x64 (little-endian)

Using script library: ScriptDev2 (for MaNGOS 8900+) Revision [1523] 2009-12-20 22:16:17 (Unix)

Using World DB: UDB 0.11.6 (386) for MaNGOS 8994 with SD2 SQL for rev. 1516

Using creature EventAI: ACID 3.0.1 - Full Release for Mangos

http://files.alein.org/other/mangos/crashlogs/CRASH_ON_Mon_Dec_21_20-28-05_EET_2009.txt

I have the same problem with Revision 9034. and server restart almost every 2-3 min.

same here, but every 10 - 15 min, maybe because we have only about 400 players.

EDIT: Isnt it this http://getmangos.eu/community/viewtopic.php?id=11276 ?

Link to comment
Share on other sites

Darky88 MaNGOS 9110 Insider42 + MTMAPS + Own patchs

#0  0x00007f596c2715f3 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
(gdb) bt full
#0  0x00007f596c2715f3 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
No symbol table info available.
#1  0x000000000066e375 in Player::_SaveQuestStatus (this=0x9d21500) at /usr/include/c++/4.3/bits/stl_tree.h:182
No locals.
#2  0x00000000006791da in Player::SaveToDB (this=0x9d21500) at ../../../src/game/Player.cpp:16232
   sql_name = {static npos = 18446744073709551615, 
 _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
   _M_p = 0x7f5934627588 "Darkey"}}
   ss = <incomplete type>
   i = <value optimized out>
#3  0x000000000068a045 in Player::Update (this=0x9d21500, p_time=100) at ../../../src/game/Player.cpp:1319
   now = 1262862192
   pet = <value optimized out>
#4  0x00000000005dbc83 in Map::Update (this=0x7f5959f619b0, [email protected]) at ../../../src/game/Map.cpp:603
   plr = (class Player *) 0x33bcb50
   updater = {i_timeDiff = 1764143024}
   grid_object_update = {i_visitor = @0x7f594f7fe000}
   world_object_update = {i_visitor = @0x7f594f7fe000}
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#5  0x00000000005e5e6d in MapManager::Update (.omp_data_i=0x7f596926afb0) at ../../../src/game/MapManager.cpp:276
   update_queue = {<std::_Vector_base<Map*, std::allocator<Map*> >> = {
   _M_impl = {<std::allocator<Map*>> = {<__gnu_cxx::new_allocator<Map*>> = {<No data fields>}, <No data fields>}, 
     _M_start = 0x3ce57f0, _M_finish = 0x3ce5868, _M_end_of_storage = 0x3ce5868}}, <No data fields>}
#6  0x00007f596cc4ec85 in ?? () from /usr/lib/libgomp.so.1
No symbol table info available.
#7  0x00007f596c5163ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x00007f596bad8fcd in clone () from /lib/libc.so.6
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

@przemratajczak thx!!

http://getmangos.eu/community/showthread.php?8896-mtmaps-(OpenMP)&p=98491&viewfull=1#post98491

=)

Link to comment
Share on other sites

My own repo

AND

Clean Mangos 10434 <--- without SD2

http://paste2.org/p/974065

The core load perfectly but when a player connects and displays the first GO, the server crash.

Its my DB the problem? I test with 10434 clean core and crash too.

Thx

Sorry... similar crash to that --> http://getmangos.eu/community/viewtopic.php?id=15131&highlight=gameobject

I have bad locales_GO ....

THX!!

Link to comment
Share on other sites

  • 38 years later...

ubuntu 7 serv. edition.

with command server info no have info (this update from 25 00h +2 gmt)

MaNGOS/0.12.0 (Revision Unknown) (Unix,little-endian)

* dumpedcore.30534.txt

* dumpedcore.30928.txt

* dumpedcore.31063.txt

* dumpedcore.31222.txt

* dumpedcore.31313.txt

* dumpedcore.32239.txt!

* dumpedcore.32324.txt

* dumpedcore.32571.txt

sorry for my bad english :D

Link to comment
Share on other sites

 Share

×
×
  • 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