EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Strange Crash (https://www.eqemulator.org/forums/showthread.php?t=30247)

KingMort 01-15-2010 11:50 PM

No not always in Kerra Ridge it's just wherever and whenever.. Some times there some times in other zones...

I asked them what they were doing before the crash and they said nothing other than clicking on the other player.. And in all cases of this crash it seems it's players clicking on other players that cause the crash and never any NPC's involved..

Is there any more BT commands i could do to help you guys figure this one out ?? I'll do anything at this point lol

gaeorn 01-16-2010 02:33 AM

Mort's code isn't pure emu, nor is it 100% up to date (although it's much more recent than it was a few months ago). So chances are there is some other code around line 45.

KingMort 01-16-2010 03:01 AM

My code is the same as anyones honestly other than a few very minor changes... always tried to do my own thing except recently i have found that my fellow artists and myself need to hopefully gain some type of community effort hehe ..

My database however is probably pretty old school or something..

Gaeorn are you not on IRC anymore I think i have a solution for all of this if you just will contact me please :)

AndMetal 01-16-2010 03:31 AM

What's up with the nulls in the characters' names?

Code:

(gdb) print iOther->name
$3 = "Harry\000e", '\0' <repeats 56 times>

Code:

(gdb) print iOther->name
$3 = "Sand\000me", '\0' <repeats 56 times>


KingMort 01-16-2010 06:37 PM

Here is a few more that seem a bit different

Code:

Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 5453]
[New process 5459]
[New process 5458]
[New process 5457]
[New process 5456]
#0  0x00000000014fff60 in ?? ()
(gdb) bt
#0  0x00000000014fff60 in ?? ()
#1  0x00000000008b77cf in Bot::AI_Process (this=0x18c3400) at bot.cpp:2147
#2  0x00000000008bd48b in Bot::Process (this=0x18c3400) at bot.cpp:1120
#3  0x0000000000585ff0 in EntityList::MobProcess (this=0xbdcfa0)
    at entity.cpp:487
#4  0x00000000005d1c6c in main (argc=1, argv=0x7fffa7da1a68) at net.cpp:494
(gdb) frame 6
#0  0x0000000000000000 in ?? ()
(gdb) print zone->short_name
$1 = 0x7fbd95691c30 "dreadspire"
(gdb) frame 1
#1  0x00000000008b77cf in Bot::AI_Process (this=0x18c3400) at bot.cpp:2147
2147            if(BotOwner->qglobal || (GetAppearance() == eaDead) || BotOwner->IsBot())
(gdb) print name
$2 = "SandsHealerGoon\00000", '\0' <repeats 45 times>
(gdb) print iOther->name
No symbol "iOther" in current context.
(gdb)

Code:


Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 5446]
[New process 5452]
[New process 5451]
[New process 5450]
[New process 5449]
#0  0x00007f32506a2020 in ?? ()
(gdb) bt
#0  0x00007f32506a2020 in ?? ()
#1  0x00000000008b77cf in Bot::AI_Process (this=0x7f3250ddebe0) at bot.cpp:2147
#2  0x00000000008bd48b in Bot::Process (this=0x7f3250ddebe0) at bot.cpp:1120
#3  0x0000000000585ff0 in EntityList::MobProcess (this=0xbdcfa0)
    at entity.cpp:487
#4  0x00000000005d1c6c in main (argc=1, argv=0x7fff626e93b8) at net.cpp:494
(gdb) frame 6
#0  0x0000000000000000 in ?? ()
(gdb) print zone->short_name
$1 = 0x7f32496c7330 "kerraridge"
(gdb) frame 1
#1  0x00000000008b77cf in Bot::AI_Process (this=0x7f3250ddebe0) at bot.cpp:2147
2147            if(BotOwner->qglobal || (GetAppearance() == eaDead) || BotOwner->IsBot())
(gdb) print name
$2 = "SandsHealerGoon\00000", '\0' <repeats 45 times>
(gdb)


KingMort 01-18-2010 11:51 AM

Yet another strange Crash

Code:

Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 3775]
[New process 3781]
[New process 3780]
[New process 3779]
[New process 3778]
#0  0x00007fc3f80007e0 in ?? ()
(gdb) bt
#0  0x00007fc3f80007e0 in ?? ()
#1  0x00000000008b30f5 in Bot::ProcessClientZoneChange (
    botOwner=0x7fc3fd0c7ac0) at bot.cpp:8276
#2  0x0000000000823e58 in Client::Handle_OP_ZoneChange (this=0x7fc3fd0c7ac0,
    app=0x7fc40271b2f0) at zoning.cpp:38
#3  0x00000000006f8266 in Client::HandlePacket (this=0x7fc3fd0c7ac0,
    app=0x7fc40271b2f0) at client_packet.cpp:435
#4  0x00000000005c1050 in Client::Process (this=0x7fc3fd0c7ac0)
    at client_process.cpp:662
#5  0x0000000000585ff0 in EntityList::MobProcess (this=0xbdcfa0)
    at entity.cpp:487
#6  0x00000000005d1c6c in main (argc=1, argv=0x7fff127cf498) at net.cpp:494
(gdb) frame 6
#6  0x00000000005d1c6c in main (argc=1, argv=0x7fff127cf498) at net.cpp:494
494                                            entity_list.MobProcess();
(gdb) print zone->short_name
$1 = 0x7fc3fd45cbd0 "kerraridge"
(gdb) frame 1
#1  0x00000000008b30f5 in Bot::ProcessClientZoneChange (
    botOwner=0x7fc3fd0c7ac0) at bot.cpp:8276
8276                                    if(tempBot->HasGroup())
(gdb) print name
$2 = 0x9325da "Live"


gaeorn 01-18-2010 12:50 PM

Quote:

Originally Posted by KingMort (Post 182922)
Gaeorn are you not on IRC anymore I think i have a solution for all of this if you just will contact me please :)

I'm on all day during weekdays. Just need to look me up by name if you don't see me in a particular channel.

OscarGrouch05 01-22-2010 09:44 AM

simple and sweet

it's like this the zone # and name is not found by the server.
i looked in the exe and can match up opcodes with zone name
short and long name of zone and zone number. the address are
corrcect for the long name but missing the short name of the zone
was expecting the short name of the zone in the code.

question on the bot AI are you refer i have seen the opcodes for that as well inside exe file.
looks like programer need to rewrite that looks like is calling wrong opcodes and needs
to be fix and recompiled.

what program do you guys use i use this etu program 80)

KingMort 01-24-2010 07:19 PM

So how do I go about fixing this ? Download maps or what

KingMort 01-26-2010 10:34 PM

Just an update, I replaced all my map files with the latest current stuff and it seems some of the crashing has cleared up thanks for that suggestion..

I have some NEW ones I guess (maybe not though could be still related) only difference here is that it seems like it's a mob now instead of a player..



Code:

Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 5084]
[New process 5090]
[New process 5089]
[New process 5088]
[New process 5087]
#0  0x0000000000718752 in EntityList::AIYellForHelp (this=0xbdcfa0,
    sender=0x7f39ddec56a0, attacker=0x84d4210) at aggro.cpp:450
450                    if (
(gdb) bt
#0  0x0000000000718752 in EntityList::AIYellForHelp (this=0xbdcfa0,
    sender=0x7f39ddec56a0, attacker=0x84d4210) at aggro.cpp:450
#1  0x00000000005c7292 in NPC::Process (this=0x7f39ddec56a0) at npc.cpp:620
#2  0x0000000000585ff0 in EntityList::MobProcess (this=0xbdcfa0)
    at entity.cpp:487
#3  0x00000000005d1c6c in main (argc=1, argv=0x7fff00976648) at net.cpp:494
(gdb) frame 6
#0  0x0000000000000000 in ?? ()
(gdb) print zone->short_name
$1 = 0x47ce510 "steamfont"
(gdb) frame 1
#1  0x00000000005c7292 in NPC::Process (this=0x7f39ddec56a0) at npc.cpp:620
620                    entity_list.AIYellForHelp(this, GetTarget());
(gdb) print name
$2 = "a_large_rat001", '\0' <repeats 49 times>
(gdb)


gaeorn 01-28-2010 01:14 PM

At least that crash has a function name we can check into. I'll see if I can look into this in the next day or so.

Congdar 01-28-2010 02:16 PM

http://code.google.com/p/projecteqem...s/detail?id=28

OscarGrouch05 01-28-2010 04:50 PM

that is a ref to what andmetal said above on 1-16-2010
What's up with the nulls in the characters' names?

KingMort 02-03-2010 02:08 PM

Wow still getting these , and Now i know for sure it is BOT related, which on my end they are called GOONS but all i did was change the #bot commands and descriptions to #goon didn't mess with anything else... anyway here is the most recent crash which was just after giving the player his new goon from my RA promo...

Code:

Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 26798]
[New process 26804]
[New process 26803]
[New process 26802]
[New process 26801]
#0  0x00007f74e4000850 in ?? ()
(gdb) bt
#0  0x00007f74e4000850 in ?? ()
#1  0x000000000060abf1 in Client::GetReverseFactionCon (this=0x7f74e443f260,
    iOther=0x7f74e43f42b0) at faction.cpp:180
#2  0x0000000000718d5e in Mob::CheckWillAggro (this=0x7f74e41a2c30,
    mob=0x7f74e443f260) at aggro.cpp:312
#3  0x0000000000718fca in EntityList::CheckClientAggro (this=0xbdcfa0,
    around=0x7f74e443f260) at aggro.cpp:45
#4  0x00000000005c1156 in Client::Process (this=0x7f74e443f260)
    at client_process.cpp:672
#5  0x0000000000585ff0 in EntityList::MobProcess (this=0xbdcfa0)
    at entity.cpp:487
#6  0x00000000005d1c6c in main (argc=1, argv=0x7ffff75141e8) at net.cpp:494
(gdb) frame 6
#6  0x00000000005d1c6c in main (argc=1, argv=0x7ffff75141e8) at net.cpp:494
494                                            entity_list.MobProcess();
(gdb) print zone->short_name
$1 = 0x1aff910 "erudsxing"
(gdb) frame 1
#1  0x000000000060abf1 in Client::GetReverseFactionCon (this=0x7f74e443f260,
    iOther=0x7f74e43f42b0) at faction.cpp:180
180            if (iOther->GetPrimaryFaction() < 0)
(gdb) print name
$2 = "Xion\000me", '\0' <repeats 56 times>
(gdb) print iOther->name
$3 = "Shao\000me", '\0' <repeats 56 times>
(gdb)


OscarGrouch05 02-03-2010 10:56 PM

did you change this too i think your error is coming from this
they still have the name bot like Botowner an exmple.

#1 0x00000000008b77cf in Bot::AI_Process (this=0x18c3400) at bot.cpp:
2147 if(BotOwner->qglobal || (GetAppearance() == eaDead) || BotOwner->IsBot())


All times are GMT -4. The time now is 06:50 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.