Jump to content

[fixed] out_of_range error on ./mangosd


Guest brunogcar

Recommended Posts

after a short absence, tried mangos again with 3 different boxes

dual core 32 with mandriva 2010.2

core 2 quad with debian 5.0.8 lenny

i7 930 with debian 6.0 squeeze

all with identical results despite diferent versions of ace, cmake, mysql, gcc, etc of each distro

searched around and havent found any result like my prob, so i guess im doing something wrong

tried with and with out sd2, built in and external ace, full updated udb and plain default mangos db, etc i get exactly same results on all boxes

./realmd runs ok

mangosd.conf has default values besides db settings

am i missing something? any clues?

[bruno@localhost bin]$ ./mangosd
MaNGOS/ (* * Revision 11213 - 9a43b5ec0f4c51e20917b4b9994cb3705240bd83) for Linux_x32 (little-endian) [world-daemon]
<Ctrl-C> to stop.


MM   MM         MM   MM  MMMMM   MMMM   MMMMM
MM   MM         MM   MM MMM MMM MM  MM MMM MMM
MMM MMM         MMM  MM MMM MMM MM  MM MMM
MM M MM         MMMM MM MMM     MM  MM  MMM
MM M MM  MMMMM  MM MMMM MMM     MM  MM   MMM
MM M MM M   MMM MM  MMM MMMMMMM MM  MM    MMM
MM   MM     MMM MM   MM MM  MMM MM  MM     MMM
MM   MM MMMMMMM MM   MM MMM MMM MM  MM MMM MMM
MM   MM MM  MMM MM   MM  MMMMMM  MMMM   MMMMM
       MM  MMM [url]http://getmangos.eu[/url]
       MMMMMM


Using configuration file /home/bruno/wow/compiled/etc/mangosd.conf.
OpenSSL 1.0.0a 1 Jun 2010 (Library: OpenSSL 1.0.0a 1 Jun 2010)
Using ACE: 5.7.2
World Database: 127.0.0.1;3306;***;***;mangos, total connections: 2
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
[0 ms] SQL: SELECT required_11205_01_mangos_spell_proc_event FROM db_version LIMIT 1
Character Database: 127.0.0.1;3306;***;***;characters, total connections: 2
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[1 ms] SQL: SET CHARACTER SET `utf8`
[0 ms] SQL: SELECT required_11117_02_characters_world FROM character_db_version LIMIT 1
Login Database: 127.0.0.1;3306;***;***;realmd, total connections: 2
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.1.55
MySQL server ver: 5.1.55 
AUTOCOMMIT SUCCESSFULLY SET TO 1
[0 ms] SQL: SET NAMES `utf8`
[0 ms] SQL: SET CHARACTER SET `utf8`
[1 ms] SQL: SELECT required_10008_01_realmd_realmd_db_version FROM realmd_db_version LIMIT 1
Realm running as realm ID 1
[1 ms] SQL: UPDATE account SET active_realm_id = 0 WHERE active_realm_id = '1'
[0 ms] SQL: UPDATE characters SET online = 0 WHERE online<>0
[1 ms] SQL: UPDATE character_battleground_data SET instance_id = 0
[0 ms] SQL: SELECT version, creature_ai_version, cache_id FROM db_version LIMIT 1mike
Using World DB: UDB 0.12.1 (398) for MaNGOS 11156 with SD2 SQL for rev. 1976
Using creature EventAI: ACID 3.0.8 - Full Release for Mangos (3.3.5a Client)
[0 ms] SQL: UPDATE realmlist SET allowedSecurityLevel = '0' WHERE id = '1'
terminate called after throwing an instance of 'std::out_of_range'
 what():  basic_string::at
Aborted

Link to comment
Share on other sites

following derex post i got output

[bruno@localhost bin]$ ./gdb-mangosd
terminate called after throwing an instance of 'std::out_of_range'
 what():  basic_string::at
warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' value
warning:   found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead
warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider' value
warning:   found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead
warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' value
warning:   found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead
warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider' value
warning:   found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead

and complete backtrace on log http://pastebin.com/6QMMnQmx

im not at home so i just tested with my notebook with mandriva 2010.2 32 bits atm

Link to comment
Share on other sites

indeed buddy

mistake on original conf file and laziness causing that file to be copied to other boxes as i have same same sql user on all boxes, so i wouldnt have to edit conf files multiple times, prevented me to see what was wrong

i knew it had to be someting trivial i had overlooked, silly me after 5 years doing that and few months away i manage to do such noob mistake

thanks a lot for your help

Link to comment
Share on other sites

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