dereka
-
Posts
43 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by dereka
-
-
but mangos not have multithreading maps.
grr
STOP POST CRASH DUMPS FROM NOT CLEANED SOURCES
IT MAKES NO SENSE!
-
* #0 0x083a17bb in Aura::PeriodicTick (this=0x3feea398)
* at ../../../src/game/SpellAuras.cpp:7452
* 7452 if (!m_target->isAlive() && pCaster->IsNonMeleeSpellCasted(false))
in Mangos 9637 cleaned source on SpellAuras.cpp:7452 have
pCaster->SendSpellNonMeleeDamageLog(&damageInfo);
m_target NULL or corrupted in this crashes... you may be check ASSERT(m_target); but it hack.
I think it crash not exist on cleaned sources
-
Mangos 9637
YTDB 540
* #0 0x083a17bb in Aura::PeriodicTick (this=0x3feea398)
* at ../../../src/game/SpellAuras.cpp:7452
* 7452 if (!m_target->isAlive() && pCaster->IsNonMeleeSpellCasted(false))
in Mangos 9637 cleaned source on SpellAuras.cpp:7452 have
pCaster->SendSpellNonMeleeDamageLog(&damageInfo);
-
your fix better
-
comment code in ConvertNativeType()
diff --git a/src/shared/Database/QueryResultPostgre.cpp b/src/shared/Database/QueryResultPostgre.cpp index 7d989db..4bbf89f 100644 --- a/src/shared/Database/QueryResultPostgre.cpp +++ b/src/shared/Database/QueryResultPostgre.cpp @@ -78,7 +78,7 @@ void QueryResultPostgre::EndQuery() // see types in #include <postgre/pg_type.h> enum Field::DataTypes QueryResultPostgre::ConvertNativeType(Oid pOid ) const -{ +{/* switch (pOid) { case BPCHAROID: @@ -112,12 +112,12 @@ enum Field::DataTypes QueryResultPostgre::ConvertNativeType(Oid pOid ) const return Field::DB_TYPE_INTEGER; case BOOLOID: return Field::DB_TYPE_BOOL; // Bool -/* + case BOXOID: Rect; case LINEOID: Rect; case VARBITOID: BitArray; case BYTEAOID: ByteArray; -*/ + case LSEGOID: case OIDVECTOROID: case PATHOID: @@ -130,7 +130,7 @@ enum Field::DataTypes QueryResultPostgre::ConvertNativeType(Oid pOid ) const case XIDOID: default: return Field::DB_TYPE_UNKNOWN; - } + }*/ return Field::DB_TYPE_UNKNOWN; } #endif
-
bl1zz4rd author
-
-Wall -Wextra -Wuninitialized -Wconversion
try compile with this flags
-
DoCastSpellIfCan(target,.....)
taget mast be not NULL!
if target null -> crash
-
error in your sd2
-
you realy test last rev?
this crash fixed in [9384]
-
in
CreatureAI::DoCastSpellIfCan()on top put
ASSERT(pTarget);and post stack trace
-
on Ubuntu 9.10 have this error too
packet openssl-dev installed...
-
crash in @Quest::XPValue@ fixed in [9334] by NoFantasy
-
i am not familiar with latest revisions but seems as if this is eventai related means safety check in event ai is needed or he used messed up data there
problem in ScriptDev2, and that problem fixed in
http://scriptdev2.svn.sourceforge.net/viewvc/scriptdev2?view=rev&revision=1571
-
rev. 9316
#0 Object::GetFloatValue (this=0x0, index=65) at ../../../src/game/Object.h:189 189 ASSERT( index < m_valuesCount || PrintIndexError( index , false ) ); #0 Object::GetFloatValue (this=0x0, index=65) at ../../../src/game/Object.h:189 __FUNCTION__ = "GetFloatValue" __PRETTY_FUNCTION__ = "const float& Object::GetFloatValue(uint16) const" #1 0x0000000000786569 in Unit::GetCombatDistance (this=0x7f4a2b6fbe90, target=0x0) at ../../../src/game/Unit.cpp:9088 No locals. #2 0x000000000051993c in CreatureAI::CanCastSpell (this=0x7f4a2b6a07b0, pTarget=0x0, pSpell=<value optimized out>, isTriggered=false) at ../../../src/game/CreatureAI.cpp:58 fDistance = 0 fMinRange = <value optimized out> pSpellRange = (const SpellRangeEntry *) 0x7f4a6455b250 #3 0x0000000000519b6c in CreatureAI::DoCastSpellIfCan (this=0x7f4a2b6a07b0, pTarget=0x0, uiSpell=<value optimized out>, uiCastFlags=1, uiOriginalCasterGUID=0) at ../../../src/game/CreatureAI.cpp:97 castResult = <value optimized out> pSpell = <value optimized out> pCaster = (class Unit *) 0x7f4a2b6fbe90 #4 0x00007f4a6c82f6e2 in ScriptedAI::AttackStart (this=0x7f4a2b6a07b0, pWho=0x1082c5c0) at ../../../../src/bindings/ScriptDev2/include/sc_creature.cpp:63 No locals. #5 0x0000000000824f9f in MaNGOS::PlayerRelocationNotifier::Visit (this=0x4240dab0, m=<value optimized out>) at ../../../src/game/GridNotifiers.cpp:90 c = (class Creature *) 0x7f4a2b6fbe90 relocated_for_ai = true #6 0x0000000000603071 in Map::Visit<MaNGOS::PlayerRelocationNotifier, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=<value optimized out>, cell=@0x4240db50, visitor=<value optimized out>) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:47 x = 1111546712 y = 1111546656 cell_x = 3 cell_y = 1
problem in your scripted library
not checked in some script (target!=nul) before DoCastSpellIfCan(target,spellid )
-
Write a JIT Lua compiler for mangos, then you are allowed to post this.
default lua is faster than Python too http://shootout.alioth.debian.org/u32/benchmark.php?test=all〈=lua&lang2=python3
-
Link for a crashlog : http://paste2.org/p/443870
* at ../../../../dep/src/zthread/ThreadImpl.cxx:407
* #6 0x00007fc6f8eb9ef6 in run (this=0x7fff02352660)
lol what a version of mangos your use?
-
Core: 8476
SD2: 1392
UDB: 382
ACID: 31
Patches: Cumulative patches by KAPATEJIb
crash_log_2009-09-15_16-44-39.log
Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `./bin/mangos-worldd -c etc/mangosd.conf'. Program terminated with signal 11, Segmentation fault. #0 std::_Rb_tree<unsigned int, std::Pair<unsigned int const, RedirectThreatEntry*>, std::_Select1st<std::Pair<unsigned int const, RedirectThreatEntry*> >, std::less<unsigned int>, std::allocator<std::Pair<unsigned int const, RedirectThreatEntry*> > >::find (this=0x0, __k=@0xb2ff9998) at /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3/bits/stl_tree.h:475 475 { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); } #0 std::_Rb_tree<unsigned int, std::Pair<unsigned int const, RedirectThreatEntry*>, std::_Select1st<std::Pair<unsigned int const, RedirectThreatEntry*> >, std::less<unsigned int>, std::allocator<std::Pair<unsigned int const, RedirectThreatEntry*> > >::find (this=0x0, __k=@0xb2ff9998) at /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3/bits/stl_tree.h:475 __x = <value optimized out> __y = (class std::_Rb_tree_node<std::Pair<const unsigned int, RedirectThreatEntry*> > *) 0x6d8711b0 #1 0x083b4878 in Unit::GetRedirectThreatEntry (this=0x6d8711b0, map=0x0, spellId=59665) at /usr/lib/gcc/i486-slackware-linux/4.2.3/../../../../include/c++/4.2.3/bits/stl_map.h:542 No locals. #2 0x083b48bd in Unit::GetRedirectThreatEntry (this=0x6d8711b0, spellId=59665) at ../../../src/game/Unit.cpp:10703 No locals. #3 0x083894d8 in Spell::EffectScriptEffect (this=0x62007088, effIndex=0) at ../../../src/game/SpellEffects.cpp:5304 entry = <value optimized out> itypes = {{5512, 19004, 19005}, {5511, 19006, 19007}, {5509, 19008, 19009}, {5510, 19010, 19011}, {9421, 19012, 19013}, {22103, 22104, 22105}, {36889, 36890, 36891}, { 36892, 36893, 36894}} #4 0x0835c5ca in Spell::DoSpellHitOnUnit (this=0x62007088, unit=0x6d8711b0, effectMask=1) at ../../../src/game/Spell.cpp:1239 modOwner = (class Player *) 0xb2ff9980 multiplier = -2.97710159e-08 effectNumber = 0 realCaster = (class Unit *) 0x4671ef00 #5 0x0836038b in Spell::DoAllEffectOnTarget (this=0x62007088, target=0x4944da50) at ../../../src/game/Spell.cpp:1032 damageInfo = {target = 0xc625, attacker = 0x11, SpellID = 3003108136, damage = 1644195976, overkill = 50725, schoolMask = 0, absorb = 1837568668, resist = 3003108192, physicalLog = 204, unused = 160, blocked = 1065353216, HitInfo = 3079802868, cleanDamage = 3003108160} Aur = {<std::_List_base<Aura*,std::allocator<Aura*> >> = { _M_impl = {<std::allocator<std::_List_node<Aura*> >> = {<__gnu_cxx::new_allocator<std::_List_node<Aura*> >> = {<No data fields>}, <No data fields>}, _M_node = { _M_next = 0x8396d08, _M_prev = 0x0}}}, <No data fields>} mask = <value optimized out> unit = (class Unit *) 0x6d8711b0 caster = (class Unit *) 0x4671ef00 missInfo = <value optimized out> procAttacker = 16384 procVictim =
@Unit::GetRedirectThreatEntry@
it not exist in clean sources.
please, not post crash dumps with million superpuper mega patches!
post crash dumps only if you have clean sources from git
-
please, not post crash dumps with
FreezeDetectorRunnable::runit makes no sense
-
in [8044], thanks
-
in [8043]rev, thanks
-
What about AngelScript ?if you have an error in it it crashes server
you cant (easily) reload it while server is running
is probably something people would say. (i really like the c++ way. although restarting all the time when testing is a bit of a hassle ^^)
('loadscripts',3,'Syntax: .loadscripts $scriptlibraryname\\r\\n\\r\\nUnload current and load the script library $scriptlibraryname or reload current if $scriptlibraryname omitted, in case you changed it while the server was running.'),
-
What about AngelScript ?
1
AngelScript not as popular as the LUA and Python.
-
mangosd.exe crashes
in OldGeneral support
Posted
download this http://download.sysinternals.com/Files/TcpView.zip
run
and you see when the program use 8085 port