Skip to content

Instantly share code, notes, and snippets.

@jackpoz
Created June 22, 2020 11:04
Show Gist options
  • Save jackpoz/82361fc5800ed589c61387f66a4d29c7 to your computer and use it in GitHub Desktop.
Save jackpoz/82361fc5800ed589c61387f66a4d29c7 to your computer and use it in GitHub Desktop.
crashlog 24870
==298166==AddressSanitizer: failed to intercept '__isoc99_printf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_sprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_snprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_fprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_vprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_vsprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_vsnprintf'
'==298166==AddressSanitizer: failed to intercept '__isoc99_vfprintf'
'==298166==AddressSanitizer: failed to intercept 'crypt'
'==298166==AddressSanitizer: failed to intercept 'crypt_r'
'==298166==AddressSanitizer: failed to intercept '__cxa_rethrow_primary_exception'
'==298166==AddressSanitizer: libc interceptors initialized
|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem ||
|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||
|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap ||
|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow ||
|| `[0x000000000000, 0x00007fff7fff]` || LowMem ||
MemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff
redzone=16
max_redzone=2048
quarantine_size_mb=256M
thread_local_quarantine_size_kb=1024K
malloc_context_size=30
SHADOW_SCALE: 3
SHADOW_GRANULARITY: 8
SHADOW_OFFSET: 0x7fff8000
==298166==Installed the sigaction for signal 11
==298166==Installed the sigaction for signal 7
==298166==Installed the sigaction for signal 8
==298166==T0: FakeStack created: 0x7fa7d98e7000 -- 0x7fa7da3f0000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T0: stack [0x7ffe646a5000,0x7ffe64ea5000) size 0x800000; local=0x7ffe64ea39a4
==298166==AddressSanitizer Init done
==298166==T1: FakeStack created: 0x7fa7d7af6000 -- 0x7fa7d85ff000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T1: stack [0x7fa7d8600000,0x7fa7d8dfef00) size 0x7fef00; local=0x7fa7d8dfedf4
==298166==T2: FakeStack created: 0x7fa7d67ec000 -- 0x7fa7d72f5000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T2: stack [0x7fa7d72f6000,0x7fa7d7af4f00) size 0x7fef00; local=0x7fa7d7af4df4
==298166==T3: FakeStack created: 0x7fa7d54e2000 -- 0x7fa7d5feb000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T3: stack [0x7fa7d5fec000,0x7fa7d67eaf00) size 0x7fef00; local=0x7fa7d67eadf4
==298166==T4: FakeStack created: 0x7fa7d41d8000 -- 0x7fa7d4ce1000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T4: stack [0x7fa7d4ce2000,0x7fa7d54e0f00) size 0x7fef00; local=0x7fa7d54e0df4
==298166==T5: FakeStack created: 0x7fa7d2ece000 -- 0x7fa7d39d7000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T5: stack [0x7fa7d39d8000,0x7fa7d41d6f00) size 0x7fef00; local=0x7fa7d41d6df4
==298166==T6: FakeStack created: 0x7fa7c20ed000 -- 0x7fa7c2bf6000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T6: stack [0x7fa7c8d62000,0x7fa7c9560f00) size 0x7fef00; local=0x7fa7c9560df4
==298166==T7: FakeStack created: 0x7fa7c0de3000 -- 0x7fa7c18ec000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T7: stack [0x7fa7c18ed000,0x7fa7c20ebf00) size 0x7fef00; local=0x7fa7c20ebdf4
==298166==T8: FakeStack created: 0x7fa7b5cdc000 -- 0x7fa7b67e5000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T8: stack [0x7fa7b67e6000,0x7fa7b6fe4f00) size 0x7fef00; local=0x7fa7b6fe4df4
==298166==T9: FakeStack created: 0x7fa7b49d2000 -- 0x7fa7b54db000 stack_size_log: 20; mmapped 11300K, noreserve=0
==298166==T9: stack [0x7fa7b54dc000,0x7fa7b5cdaf00) size 0x7fef00; local=0x7fa7b5cdadf4
=================================================================
==298166==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000040 (pc 0x000001a3a350 bp 0x7fa7c9560270 sp 0x7fa7c95601e0 T6)
==298166==The signal is caused by a READ memory access.
==298166==Hint: address points to the zero page.
#0 0x1a3a350 in CharmInfo::HasCommandState(CommandStates) const /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.h:650:81
#1 0x1a3a350 in PetAI::HandleReturnMovement() /home/trinity/trinity/sources/src/server/game/AI/CoreAI/PetAI.cpp:369:29
#2 0x27fff4f in Unit::Kill(Unit*, Unit*, bool) /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.cpp:11022:43
#3 0x27fb9b9 in Unit::DealDamage(Unit*, Unit*, unsigned int, CleanDamage const*, DamageEffectType, SpellSchoolMask, SpellInfo const*, bool) /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.cpp:854:9
#4 0x39876ac in AuraEffect::HandlePeriodicDamageAurasTick(Unit*, Unit*) const /home/trinity/trinity/sources/src/server/game/Spells/Auras/SpellAuraEffects.cpp:5192:5
#5 0x3973d76 in AuraEffect::Update(unsigned int, Unit*) /home/trinity/trinity/sources/src/server/game/Spells/Auras/SpellAuraEffects.cpp:835:13
#6 0x39d12a8 in Aura::UpdateOwner(unsigned int, WorldObject*) /home/trinity/trinity/sources/src/server/game/Spells/Auras/SpellAuras.cpp:812:27
#7 0x27f3011 in Unit::_UpdateSpells(unsigned int) /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.cpp:2837:17
#8 0x27f23ea in Unit::Update(unsigned int) /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.cpp:432:5
#9 0x2296c96 in Creature::Update(unsigned int) /home/trinity/trinity/sources/src/server/game/Entities/Creature/Creature.cpp:746:19
#10 0x2d62738 in void Trinity::ObjectUpdater::Visit<Creature>(GridRefManager<Creature>&) /home/trinity/trinity/sources/src/server/game/Grids/Notifiers/GridNotifiers.cpp:405:32
#11 0x3152905 in void VisitorHelper<Trinity::ObjectUpdater, Creature>(Trinity::ObjectUpdater&, ContainerMapList<Creature>&) /home/trinity/trinity/sources/src/server/game/Grids/Dynamic/TypeContainerVisitor.h:44:7
#12 0x3152905 in void VisitorHelper<Trinity::ObjectUpdater, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > >(Trinity::ObjectUpdater&, ContainerMapList<TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >&) /home/trinity/trinity/sources/src/server/game/Grids/Dynamic/TypeContainerVisitor.h:50:5
#13 0x3152905 in void VisitorHelper<Trinity::ObjectUpdater, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >(Trinity::ObjectUpdater&, ContainerMapList<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >&) /home/trinity/trinity/sources/src/server/game/Grids/Dynamic/TypeContainerVisitor.h:51:5
#14 0x3152905 in void VisitorHelper<Trinity::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >(Trinity::ObjectUpdater&, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >&) /home/trinity/trinity/sources/src/server/game/Grids/Dynamic/TypeContainerVisitor.h:57:5
#15 0x3152905 in TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit(TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >&) /home/trinity/trinity/sources/src/server/game/Grids/Dynamic/TypeContainerVisitor.h:91:13
#16 0x3152905 in void Grid<Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeList<DynamicObject, TypeNull> > > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >::Visit<Trinity::ObjectUpdater>(TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >&) /home/trinity/trinity/sources/src/server/game/Grids/Grid.h:90:21
#17 0x3152905 in void NGrid<8u, Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeList<DynamicObject, TypeNull> > > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >::VisitGrid<Trinity::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >(unsigned int, unsigned int, TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >&) /home/trinity/trinity/sources/src/server/game/Grids/NGrid.h:151:31
#18 0x30e0d41 in void Map::Visit<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >(Cell const&, TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >&) /home/trinity/trinity/sources/src/server/game/Maps/Map.h:982:25
#19 0x30e0d41 in Map::VisitNearbyCellsOf(WorldObject*, TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >&, TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeList<DynamicObject, TypeNull> > > > > >&) /home/trinity/trinity/sources/src/server/game/Maps/Map.cpp:735:13
#20 0x30e1db0 in Map::Update(unsigned int) /home/trinity/trinity/sources/src/server/game/Maps/Map.cpp:802:9
#21 0x31becc5 in MapUpdateRequest::call() /home/trinity/trinity/sources/src/server/game/Maps/MapUpdater.cpp:41:19
#22 0x31bd922 in MapUpdater::WorkerThread() /home/trinity/trinity/sources/src/server/game/Maps/MapUpdater.cpp:112:18
#23 0x7fa7df47ecb3 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xd6cb3)
#24 0x7fa7df5b0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
#25 0x7fa7df15b102 in clone (/lib/x86_64-linux-gnu/libc.so.6+0x122102)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/trinity/trinity/sources/src/server/game/Entities/Unit/Unit.h:650:81 in CharmInfo::HasCommandState(CommandStates) const
Thread T6 created by T0 here:
#0 0x5d94ea in pthread_create (/home/trinity/trinity/bin/worldserver+0x5d94ea)
#1 0x7fa7df47ef78 in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xd6f78)
#2 0x3b2a559 in World::SetInitialWorldSettings() /home/trinity/trinity/sources/src/server/game/World/World.cpp:2125:14
#3 0x62387d in main /home/trinity/trinity/sources/src/server/worldserver/Main.cpp:253:13
#4 0x7fa7df0600b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
==298166==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment