|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Linux Servers Support forum for Linux EQEMu users. |
 |
|
 |

08-03-2012, 10:16 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
Help on a core dump
I recently went from r2142 to r2172 and I am getting a core dump as soon as I spawn a bot. Any help would be appreciated...
I just tried a few more things, clicking on a door or an npc also crashes the zone.
Code:
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jkg/eq1/zone...done.
[New Thread 13746]
[New Thread 13747]
[New Thread 13748]
[New Thread 13749]
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.16
Reading symbols from /usr/lib/libperl.so.5.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libperl.so.5.10
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from ./libEMuShareMem.so...done.
Loaded symbols for ./libEMuShareMem.so
Reading symbols from /usr/lib/perl/5.10/auto/Filter/Util/Call/Call.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.10/auto/Filter/Util/Call/Call.so
Reading symbols from /usr/lib/perl5/auto/DBI/DBI.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/auto/DBI/DBI.so
Reading symbols from /usr/lib/perl/5.10/auto/List/Util/Util.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.10/auto/List/Util/Util.so
Core was generated by `./zone dynamic_05 zone'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000009dde9d in QuestParserCollection::EventPlayer (this=0x2dc5e80, evt=EVENT_TARGET_CHANGE,
client=0x7f53200c86b0, data=..., extra_data=0) at QuestParserCollection.cpp:174
174 iter->second->EventGlobalPlayer(evt, client, data, extra_data);
|
 |
|
 |

08-03-2012, 11:30 PM
|
 |
Developer
|
|
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
|
|
Try rev 2175. The bot issue should be fixed there.
I think the perl issue may be resolved as well..there was an extra argument added around 2173-2174.
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|

08-03-2012, 11:32 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
My bad, that was r2175, I just checked.
|

08-04-2012, 12:52 AM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,742
|
|
When you load the core file up, type 'bt' to get a callstack and we can take a look at where it went wrong.
|
 |
|
 |

08-04-2012, 06:09 AM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
On a side note, I had these same problems months ago when I went from r2142 to r2146. On this dump all I did was click on a mob on the screen. Back on r2142 until I figure out what the hell I am doing wrong.
I notice at r2145 there was a change to quest parser and it is at that exact same line. Still investigating what is missing, or maybe something in my database is corrupt, an old quest or task ? I checked for missing SQL but there is nothing around that revision as far as changes, all other changes are not related to the quest parser. Even after running the SQL updates, it still crashed because I ran them last night.
bt
Code:
#0 0x00000000009dde9d in QuestParserCollection::EventPlayer (this=0x2b78e80,
evt=EVENT_TARGET_CHANGE, client=0x7fc5dc0c86f0, data=..., extra_data=0)
at QuestParserCollection.cpp:174
#1 0x00000000005c383e in Mob::SetTarget (this=0x7fc5dc0c86f0,
mob=0x7fc5dc18c470) at mob.cpp:2815
#2 0x000000000073eb3a in Client::Handle_OP_TargetCommand (
this=0x7fc5dc0c86f0, app=0x3619190) at client_packet.cpp:1446
#3 0x000000000073ea19 in Client::Handle_OP_TargetMouse (this=0x7fc5dc0c86f0,
app=0x3619190) at client_packet.cpp:1423
#4 0x000000000073a918 in Client::HandlePacket (this=0x7fc5dc0c86f0,
app=0x3619190) at client_packet.cpp:460
#5 0x00000000005ff400 in Client::Process (this=0x7fc5dc0c86f0)
at client_process.cpp:741
#6 0x0000000000599e55 in EntityList::MobProcess (this=0xd80780)
at entity.cpp:488
#7 0x0000000000617007 in main (argc=3, argv=0x7fff5018c9b8) at net.cpp:479
bt full
Code:
#0 0x00000000009dde9d in QuestParserCollection::EventPlayer (this=0x2b78e80,
evt=EVENT_TARGET_CHANGE, client=0x7fc5dc0c86f0, data=..., extra_data=0)
at QuestParserCollection.cpp:174
iter = {_M_node = 0x2b78e88}
#1 0x00000000005c383e in Mob::SetTarget (this=0x7fc5dc0c86f0,
mob=0x7fc5dc18c470) at mob.cpp:2815
No locals.
#2 0x000000000073eb3a in Client::Handle_OP_TargetCommand (
this=0x7fc5dc0c86f0, app=0x3619190) at client_packet.cpp:1446
nt = 0x7fc5dc18c470
ct = 0x363ad40
g = 0x3447a80
#3 0x000000000073ea19 in Client::Handle_OP_TargetMouse (this=0x7fc5dc0c86f0,
app=0x3619190) at client_packet.cpp:1423
No locals.
#4 0x000000000073a918 in Client::HandlePacket (this=0x7fc5dc0c86f0,
app=0x3619190) at client_packet.cpp:460
p = 0x73e9f6 <Client::Handle_OP_TargetMouse(EQApplicationPacket const*)>
opcode = OP_TargetMouse
#5 0x00000000005ff400 in Client::Process (this=0x7fc5dc0c86f0)
at client_process.cpp:741
ret = true
app = 0x3619190
#6 0x0000000000599e55 in EntityList::MobProcess (this=0xd80780)
at entity.cpp:488
iterator = {list = @0xd807e8, current_element = 0x7fc5dc098670,
dir = FORWARD}
#7 0x0000000000617007 in main (argc=3, argv=0x7fff5018c9b8) at net.cpp:479
error2 = 95 '_'
dbaw = 0x0
zone_name = 0xa4408d "."
retval = 252
pxs = 0x2b7bec0
stream_identifier = {
m_patches = {<std::_Vector_base<EQStreamIdentifier::Patch*, std::allocator<EQStreamIdentifier::Patch*> >> = {
_M_impl = {<std::allocator<EQStreamIdentifier::Patch*>> = {<__gnu_cxx::new_allocator<EQStreamIdentifier::Patch*>> = {<No data fields>}, <No data fields>}, _M_start = 0x7fc5dc004cd0, _M_finish = 0x7fc5dc004d20,
_M_end_of_storage = 0x7fc5dc004d50}}, <No data fields>},
m_streams = {<std::_Vector_base<EQStreamIdentifier::Record*, std::allocator<EQStreamIdentifier::Record*> >> = {
_M_impl = {<std::allocator<EQStreamIdentifier::Record*>> = {<__gnu_cxx::new_allocator<EQStreamIdentifier::Record*>> = {<No data fields>}, <No data fields>}, _M_start = 0x7fc5dc0980f0, _M_finish = 0x7fc5dc0980f0,
_M_end_of_storage = 0x7fc5dc0980f8}}, <No data fields>},
m_identified = {
c = {<std::_Deque_base<EQStreamInterface*, std::allocator<EQStreamInterface*> >> = {
_M_impl = {<std::allocator<EQStreamInterface*>> = {<__gnu_cxx::new_allocator<EQStreamInterface*>> = {<No data fields>}, <No data fields>},
_M_map = 0x2c1eac0, _M_map_size = 8, _M_start = {
_M_cur = 0x2c1faf8, _M_first = 0x2c1faf0,
_M_last = 0x2c1fcf0, _M_node = 0x2c1ead8}, _M_finish = {
_M_cur = 0x2c1faf8, _M_first = 0x2c1faf0,
_M_last = 0x2c1fcf0,
_M_node = 0x2c1ead8}}}, <No data fields>}}}
worldwasconnected = true
Config = 0x2b208f0
InterserverTimer = {start_time = 10003, timer_time = 10000,
enabled = true, set_at_trigger = 10000, pUseAcurateTiming = false}
---Type <return> to continue, or q <return> to quit---
quest_timers = {start_time = 19812, timer_time = 100, enabled = true,
set_at_trigger = 100, pUseAcurateTiming = false}
eqsi = 0x0
temp_timer = {start_time = 19850, timer_time = 10, enabled = true,
set_at_trigger = 10, pUseAcurateTiming = false}
ps = 0x2b79ed0
eqss = 0x0
|
 |
|
 |

08-04-2012, 03:27 PM
|
 |
Developer
|
|
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
|
|
I don't know anything about unix, but it looks like your client assignments are long instead of int32.
16-bit 0xFFFF
32-bit 0xFFFFFFFF
48-bit 0xFFFFFFFFFFFF
64-bit 0xFFFFFFFFFFFFFFFF
this = 0x7fc5dc0c86f0 (assuming this is the client id. If it's a memory pointer, then I don't know...)
EDIT: That would be over 127 terabytes of memory though..if it were a pointer...
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|

08-04-2012, 04:11 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
I am using the UF client, I did not turn on VoA or anything before the compile. There was something that happened between those two revisions, if I could read C++ better I could probably figure it out. If I have time this weekend I may spin off a VM and do an install from scratch with a fresh database and go from there.
Yard work is killing me today, hot as hell in Alabama right now. When I get back inside I imagine my energy will be zapped.
|
 |
|
 |

08-04-2012, 09:39 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,742
|
|
'this' is a pointer to the current object. You may have seen code that does something like this->DoSomething(); or this->somevariable = 42; or maybe not since the the this pointer is always assumed so it's fairly rare that you actually need to specify it in code, but it is passed to any member function automatically which is why you'll see it in a stack trace.
Those look like 64-bit pointers to me. They look odd to me too, but keep in mind that virtual address != physical address, so if the OS decides to map the address space somewhere that seems weird it doesn't mean it wouldn't still work. I don't debug a lot of 64-bit apps on Linux so I don't know what looks normal.
The lines numbers in svn don't seem to match up with the core dump, but looking at QuestParserCollection::EventPlayer nothing jumps out as horribly wrong. It appears to check for valid pointers, and it doesn't do anything particularly exciting. It could be a 64-bit only thing, but I'd guess there's at least a few other people running that so if it was a general issue there'd be some freaking out.
I'd search a bit for the global player.pl change in the forums here. I remember someone having some sort of problem, and maybe the solution is there. I think it was Stormhaven that had trouble, and maybe they needed to add that global file somewhere? *shrug*
|
 |
|
 |

08-04-2012, 09:46 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,742
|
|
|
 |
|
 |

08-14-2012, 08:22 AM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
Somehow I missed your reply Lex, much appreciated ! And yes that was causing one of the zone crashes, I source in quests and copied my custom quest over on top of those and it fixed those errors.
Now I have one more regarding bots. Players can use old bots just fine, but if we create new bots and spawn them right after they spawn they cause the zone to crash.
And first glance I would say it was something to do with the new bot timer table but I sourced that in again and all of my SQL is up to date. I wonder if this could be a linux only issue ? I know Linux is more picky on upper / lower case on the tables.
BT dump.....
Code:
#0 0x00007f379a4426d2 in ?? () from /lib/libc.so.6
#1 0x00007f379a43fdc0 in atoi () from /lib/libc.so.6
#2 0x00000000009f1732 in Bot::LoadTimers (this=0x2841300) at bot.cpp:4272
#3 0x00000000009e5114 in Bot (this=0x2841300, botID=905,
botOwnerCharacterID=525, botSpellsID=0, totalPlayTime=0, lastZoneId=189,
npcTypeData=...) at bot.cpp:159
#4 0x00000000009f9b68 in Bot::LoadBot (botID=905, errorMessage=0x7fff06e2d5a0)
at bot.cpp:6019
#5 0x0000000000a14702 in Bot::ProcessBotCommands (c=0x7f378812db20,
sep=0x7fff06e2dbf0) at bot.cpp:12742
#6 0x000000000072389b in command_bot (c=0x7f378812db20, sep=0x7fff06e2dbf0)
at command.cpp:10977
#7 0x00000000006ef85b in command_realdispatch (c=0x7f378812db20,
message=0x2814094 "#bot spawn bot") at command.cpp:681
#8 0x00000000005d4ac1 in Client::ChannelMessageReceived (this=0x7f378812db20,
chan_num=8 '\b', language=0 '\000', lang_skill=100 'd',
message=0x2814094 "#bot spawn bot", targetname=0x2814000 "")
at client.cpp:975
#9 0x0000000000747268 in Client::Handle_OP_ChannelMessage (
this=0x7f378812db20, app=0x241a390) at client_packet.cpp:3522
#10 0x000000000073a720 in Client::HandlePacket (this=0x7f378812db20,
app=0x241a390) at client_packet.cpp:460
#11 0x00000000005ff8c6 in Client::Process (this=0x7f378812db20)
---Type <return> to continue, or q <return> to quit---
at client_process.cpp:681
#12 0x000000000059a831 in EntityList::MobProcess (this=0xd81ca0)
at entity.cpp:488
#13 0x00000000006174bb in main (argc=3, argv=0x7fff06e2e2f8) at net.cpp:479
BT FULL
Code:
Core was generated by `./zone dynamic_25 zone'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f379a4426d2 in ?? () from /lib/libc.so.6
(gdb) bt full
#0 0x00007f379a4426d2 in ?? () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f379a43fdc0 in atoi () from /lib/libc.so.6
No symbol table info available.
#2 0x00000000009f1732 in Bot::LoadTimers (this=0x2841300) at bot.cpp:4272
TimerID = 0
Value = 0
MaxValue = 0
DatasetResult = 0x2801de0
errorMessage = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<cha r>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f379b899138 ""}}
Query = 0x281e950 "SELECT bt.TimerID, bt.Value, MAX(sn.recast_time) AS M axTimer FROM bottimers bt, spells_new sn WHERE bt.BotID = 905 AND sn.EndurTimerI ndex = (SELECT case WHEN TimerID > 15 THEN TimerID - 1 ELSE TimerID"...
TempErrorMessageBuffer = "\000\000\000\000\000\000\000\000K\000\000\000\ 000\000\000\000\006\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000X<\ 204\002\000\000\000\000\000\304\342\006\377\177\000\000X<\204\002\000\000\000\00 0\000\304\342\006\377\177\000\000\020\304\342\006\377\177\000\000\352\335m", '\0 00' <repeats 13 times>, "P<\204\002\000\000\000\000X<\204\002\000\000\000\000@\3 04\342\006\377\177\000\000`\304\342\006\377\177\000\000\265\335m\000\000\000\000 \000X<\204\002\000\000\000\000P\304\342\006\377\177\000\000`\304\342\006\377\177 \000\000\352\335m\000\000\000\000\000X<\204\002\000\000\000\000P<\204\002\000\00 ---Type <return> to continue, or q <return> to quit---^CQuit
(gdb)
#0 0x00007f379a4426d2 in ?? () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f379a43fdc0 in atoi () from /lib/libc.so.6
No symbol table info available.
#2 0x00000000009f1732 in Bot::LoadTimers (this=0x2841300) at bot.cpp:4272
TimerID = 0
Value = 0
MaxValue = 0
DatasetResult = 0x2801de0
errorMessage = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f379b899138 ""}}
Query = 0x281e950 "SELECT bt.TimerID, bt.Value, MAX(sn.recast_time) AS MaxTimer FROM bottimers bt, spells_new sn WHERE bt.BotID = 905 AND sn.EndurTimerIndex = (SELECT case WHEN TimerID > 15 THEN TimerID - 1 ELSE TimerID"...
TempErrorMessageBuffer = "\000\000\000\000\000\000\000\000K\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000X<\204\002\000\000\000\000\000\304\342\006\377\177\000\000X<\204\002\000\000\000\000\000\304\342\006\377\177\000\000\020\304\342\006\377\177\000\000\352\335m", '\000' <repeats 13 times>, "P<\204\002\000\000\000\000X<\204\002\000\000\000\000@\304\342\006\377\177\000\000`\304\342\006\377\177\000\000\265\335m\000\000\000\000\000X<\204\002\000\000\000\000P\304\342\006\377\177\000\000`\304\342\006\377\177\000\000\352\335m\000\000\000\000\000X<\204\002\000\000\000\000P<\204\002\000\00---Type <return> to continue, or q <return> to quit---
0\000\000X<\204\002", '\000' <repeats 12 times>"\200, \304\342\006\377\177\000\000Z\323m\000\000\000\000\000\260\304\342\006\377\177\000\000\300\304\342\006\377\177\000\000\320\304\342\006\377\177\000\000\006\216m", '\000' <repeats 13 times>, "8\035\330\000\025\000\000\000P<\204\002\000\000\000\000"...
DataRow = 0x2843ef8
#3 0x00000000009e5114 in Bot (this=0x2841300, botID=905,
botOwnerCharacterID=525, botSpellsID=0, totalPlayTime=0, lastZoneId=189,
npcTypeData=...) at bot.cpp:159
TempErrorMessage = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f379b899138 ""}}
#4 0x00000000009f9b68 in Bot::LoadBot (botID=905, errorMessage=0x7fff06e2d5a0)
at bot.cpp:6019
DefaultNPCTypeStruct = {
name = "bot\000\067\177\000\000\314\321\342\006\377\177\000\000\204lÔ7\177", '\000' <repeats 26 times>, "P\315\342\006\377\177\000\000\060\325\305\001\000\000\000",
lastname = "\000\321\342\006\377\177\000\000 \000\000\000\000\000\000\000\300\321\342\006\377\177\000\000\260\315\342\006\377\177\000\000\260\314\342\006\377\177\000\000\300F[\000\000\000\000\000\060\325\305\001\002\000\000\000\260\315\342\006\377\177\000\000\320\314\342\006\377\177", cur_hp = 0,
max_hp = 2147419874, size = 6, runspeed = 1.25, gender = 0 '\000',
race = 1, class_ = 1 '\001', bodytype = 1 '\001', deity = 0 '\000',
---Type <return> to continue, or q <return> to quit---
level = 1 '\001', npc_id = 0, texture = 0 '\000',
helmtexture = 226 '\342', loottable_id = 8388358, npc_spells_id = 0,
npc_faction_id = 8388358, merchanttype = 3805130752,
alt_currency_type = 8388358, adventure_template = 2730867456,
trap_template = 0, light = 0 '\000', AC = 12, Mana = 2147419874,
ATK = 75, STR = 75, STA = 75, DEX = 75, AGI = 75, INT = 75,
WIS = 75, CHA = 75, MR = 25, FR = 25, CR = 25, PR = 15, DR = 15,
Corrup = 15, haircolor = 226 '\342', beardcolor = 6 '\006',
eyecolor1 = 255 '\377', eyecolor2 = 127 '\177',
hairstyle = 0 '\000', luclinface = 0 '\000', beard = 176 '\260',
drakkin_heritage = 0, drakkin_tattoo = 0, drakkin_details = 0,
armor_tint = {436207743, 23221, 2952790016, 4278641357, 2952790143,
4278641357, 1879048319, 4278641357, 1677721727}, min_dmg = 23221,
max_dmg = 2952790016, attack_count = -7475,
npc_attacks = "\006\377\177\000\000\260\315\342\006\377\177\000\000\r\002\000\000\000\000\000\000\030'\300\001\000\000\000\000\220",
d_meele_texture1 = 0, d_meele_texture2 = 0,
prim_melee_type = 127 '\177', sec_melee_type = 0 '\000',
hp_regen = 1, mana_regen = 1, aggroradius = -1071179776,
see_invis = 1 '\001', see_invis_undead = false, see_hide = false,
see_improved_hide = false, qglobal = false, npc_aggro = 176,
spawn_limit = 205 '\315', mount_color = 226 '\342',
attack_speed = 0, accuracy_rating = -489824256, findable = false,
---Type <return> to continue, or q <return> to quit---
trackable = 255, slow_mitigation = -7.4506934e-09,
maxlevel = 1 '\001', scalerate = 159, private_corpse = false,
unique_spawn_by_name = false, underwater = 160, emoteid = 4278641365}
TempNPCStruct = {
name = "bot\000\377\177\000\000\335ri", '\000' <repeats 13 times>, "@~v\232\067\177\000\000\000\000\000\000\000\000\000\000@~v\232\067\177\000\000\000\000\000\000\000\000\000\000\030'\300\001\000\000\000",
lastname = "\000'\300\001\000\000\000\000\352\f", '\000' <repeats 14 times>, "L\030H\232\067\177\000\000\b\023\200\002\000\000\000\000@~v\232\067\177\000\000\340\315\342\006\377\177\000\000\030'\300\001\000\000\000\000H'\300\001\000", cur_hp = 37, max_hp = 0, size = 6, runspeed = 1.25, gender = 0 '\000',
race = 1, class_ = 1 '\001', bodytype = 1 '\001',
deity = 154 '\232', level = 1 '\001', npc_id = 0,
texture = 0 '\000', helmtexture = 226 '\342',
loottable_id = 8388358, npc_spells_id = 0, npc_faction_id = 0,
merchanttype = 0, alt_currency_type = 0, adventure_template = 0,
trap_template = 0, light = 0 '\000', AC = 12, Mana = 0, ATK = 75,
STR = 75, STA = 75, DEX = 75, AGI = 75, INT = 75, WIS = 75,
CHA = 75, MR = 25, FR = 25, CR = 25, PR = 15, DR = 15, Corrup = 15,
haircolor = 6 '\006', beardcolor = 10 '\n', eyecolor1 = 7 '\a',
eyecolor2 = 7 '\a', hairstyle = 0 '\000', luclinface = 3 '\003',
beard = 2 '\002', drakkin_heritage = 0, drakkin_tattoo = 0,
drakkin_details = 0, armor_tint = {3221225472, 163858, 0, 0,
---Type <return> to continue, or q <return> to quit---
218103808, 4278190082, 127, 0, 3758096384}, min_dmg = 4278641363,
max_dmg = 1660944511, attack_count = -10970,
npc_attacks = "\232\067\177\000\000H\322D\232\067\177\000\000\001\000\000\000\000\000\000\000d&Õ7\177\000\000d", d_meele_texture1 = 0,
d_meele_texture2 = 0, prim_melee_type = 127 '\177',
sec_melee_type = 0 '\000', hp_regen = 1, mana_regen = 1,
aggroradius = 24576, see_invis = 0 '\000', see_invis_undead = false,
see_hide = false, see_improved_hide = false, qglobal = false,
npc_aggro = 19, spawn_limit = 36 '$', mount_color = 72 'H',
attack_speed = 0, accuracy_rating = -489594880, findable = false,
trackable = 255, slow_mitigation = 2.00003028, maxlevel = 1 '\001',
scalerate = 0, private_corpse = false, unique_spawn_by_name = false,
underwater = 8, emoteid = 4278641362}
Query = 0x28151d0 "SELECT BotOwnerCharacterID, BotSpellsID, Name, LastName, BotLevel, Race, Class, Gender, Size, Face, LuclinHairStyle, LuclinHairColor, LuclinEyeColor, LuclinEyeColor2, LuclinBeardColor, LuclinBeard, Dr"...
TempErrorMessageBuffer = "\000\000\000\000\000\000\000\000T\362G\232\067\177\000\000\020 \000\000\000\000\000\000\345r\000\233\067\177\000\000\060i\201\002j\000\000\000\005\000\000\000\000\000\000\000\200M7\002\000\000\000\000\310\305.\001", '\000' <repeats 12 times>"\257, \200\000\233\067\177\000\000\000\000\000\000j\000\000\000\200\311\342\006\377\177\000\000/\311\342\006\377\177\000\000p\000\000\001\002\000\000\000\310\310.\001\000\000\000\000\030\000\000\000\000\000\000\000@~v\232\067\177\000\000\310\305.\001\000\000\000\000\377\377\377\377\3---Type <return> to continue, or q <return> to quit---
77\377\377\377\200\311\342\006\377\177\000\000\000\000\000\000\000\000\000\000\020Ô\002\000\000\000\000\240\263\200\002\000\000\000\000\255\214\000\233\067\177\000\000\240E\201\002\000\000\000\000\340\037", '\000' <repeats 14 times>"\262, \231\375\232\067\177\000\000\000\000\000\000\000\000\000\000\310\305.\001\000\000\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 16 times>, "\020Ô\002\000\000\000\000\240"...
DatasetResult = 0x24965d0
DataRow = 0x280b3b8
Result = 0x0
#5 0x0000000000a14702 in Bot::ProcessBotCommands (c=0x7f378812db20,
sep=0x7fff06e2dbf0) at bot.cpp:12742
botId = 905
TempBotMob = 0x0
spawnedBotCount = 0
TempBot = 0x101c5d530
TempErrorMessage = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f379b899138 ""}}
#6 0x000000000072389b in command_bot (c=0x7f378812db20, sep=0x7fff06e2dbf0)
at command.cpp:10977
No locals.
#7 0x00000000006ef85b in command_realdispatch (c=0x7f378812db20,
message=0x2814094 "#bot spawn bot") at command.cpp:681
---Type <return> to continue, or q <return> to quit---
sep = {argnum = 2, arg = 0x28216b0, argplus = 0x24d2490,
msg = 0x258d5a0 "#bot spawn bot", maxargnum = 10}
cstr = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x23b9788 "bot"}}
cur = 0x1c3ec90
#8 0x00000000005d4ac1 in Client::ChannelMessageReceived (this=0x7f378812db20,
chan_num=8 '\b', language=0 '\000', lang_skill=100 'd',
message=0x2814094 "#bot spawn bot", targetname=0x2814000 "")
at client.cpp:975
sender = 0x7f379a767e40
#9 0x0000000000747268 in Client::Handle_OP_ChannelMessage (
this=0x7f378812db20, app=0x241a390) at client_packet.cpp:3522
cm = 0x2814000
#10 0x000000000073a720 in Client::HandlePacket (this=0x7f378812db20,
app=0x241a390) at client_packet.cpp:460
p = 0x7470f2 <Client::Handle_OP_ChannelMessage(EQApplicationPacket const*)>
opcode = OP_ChannelMessage
#11 0x00000000005ff8c6 in Client::Process (this=0x7f378812db20)
at client_process.cpp:681
ret = true
app = 0x241a390
---Type <return> to continue, or q <return> to quit---
#12 0x000000000059a831 in EntityList::MobProcess (this=0xd81ca0)
at entity.cpp:488
iterator = {list = @0xd81d08, current_element = 0x7f37880008f0,
dir = FORWARD}
#13 0x00000000006174bb in main (argc=3, argv=0x7fff06e2e2f8) at net.cpp:479
error2 = 95 '_'
dbaw = 0x0
zone_name = 0xa4556d "."
retval = 252
pxs = 0x1c5ced0
stream_identifier = {
m_patches = {<std::_Vector_base<EQStreamIdentifier::Patch*, std::allocator<EQStreamIdentifier::Patch*> >> = {
_M_impl = {<std::allocator<EQStreamIdentifier::Patch*>> = {<__gnu_cxx::new_allocator<EQStreamIdentifier::Patch*>> = {<No data fields>}, <No data fields>}, _M_start = 0x7f3788042f50, _M_finish = 0x7f3788042fa0,
_M_end_of_storage = 0x7f3788042fd0}}, <No data fields>},
m_streams = {<std::_Vector_base<EQStreamIdentifier::Record*, std::allocator<EQStreamIdentifier::Record*> >> = {
_M_impl = {<std::allocator<EQStreamIdentifier::Record*>> = {<__gnu_cxx::new_allocator<EQStreamIdentifier::Record*>> = {<No data fields>}, <No data fields>}, _M_start = 0x7f37880a59b0, _M_finish = 0x7f37880a59b0,
_M_end_of_storage = 0x7f37880a59b8}}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
m_identified = {
c = {<std::_Deque_base<EQStreamInterface*, std::allocator<EQStreamInterface*> >> = {
_M_impl = {<std::allocator<EQStreamInterface*>> = {<__gnu_cxx::new_allocator<EQStreamInterface*>> = {<No data fields>}, <No data fields>},
_M_map = 0x1d141f0, _M_map_size = 8, _M_start = {
_M_cur = 0x20c0898, _M_first = 0x20c0890,
_M_last = 0x20c0a90, _M_node = 0x1d14208}, _M_finish = {
_M_cur = 0x20c0898, _M_first = 0x20c0890,
_M_last = 0x20c0a90,
_M_node = 0x1d14208}}}, <No data fields>}}}
worldwasconnected = true
Config = 0x1c01900
InterserverTimer = {start_time = 10002, timer_time = 10000,
enabled = true, set_at_trigger = 10000, pUseAcurateTiming = false}
quest_timers = {start_time = 19339, timer_time = 100, enabled = true,
set_at_trigger = 100, pUseAcurateTiming = false}
eqsi = 0x0
temp_timer = {start_time = 19377, timer_time = 10, enabled = true,
set_at_trigger = 10, pUseAcurateTiming = false}
ps = 0x1c5aee0
eqss = 0x0
|
 |
|
 |

08-14-2012, 08:44 AM
|
Developer
|
|
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
|
|
Please run that query in the dump and let me know the results. It may be something with the max timer or something, especially if you have custom spells.
|

08-14-2012, 09:31 AM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
The query was chopped off in the core dump but I copied what I could from it and copied some from the bot.cpp file in the source.
The query came back as null (no results) when I set the class variable to 1. I know nulls are supposedly evil, would a null result set cause a crash ?
|

08-14-2012, 11:27 AM
|
Developer
|
|
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
|
|
Not necessarily. If there's no results, it shouldn't execute the loop where it processes the results, which is where the error is being caused. It's more likely that it is returning a row, but one of the values is null, most likely MaxValue. Is the bot id'd in the error a warrior? If not, figure out what class they are and use that. Is it all new bots, or just a specific class?
The only thing I can think of is MaxValue is null, so I need to figure out how to get the sunquery to return null. It may be difficult to reproduce, because you most likely need a timer in there to get some results.
I'll try to reproduce this when I get a chance.
|

08-14-2012, 11:30 AM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
If there are no players on at lunch I will copy r2185 back over and try a few bots. I want to saw the one that definitely crashed it was a warrior. I will report back with more information sometime today.
|

08-15-2012, 02:17 PM
|
 |
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
I had a brief chance to try it this morning. I know it seg faulted on a Human Warrior, Barbarian Shaman and an Erudite Mage. Any old bots work fine, verified that.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:26 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |