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

01-18-2010, 11:51 AM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
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"
|
 |
|
 |

01-22-2010, 09:44 AM
|
Sarnak
|
|
Join Date: Apr 2008
Posts: 71
|
|
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)
|

01-24-2010, 07:19 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
So how do I go about fixing this ? Download maps or what
|

01-28-2010, 02:16 PM
|
Developer
|
|
Join Date: Jul 2007
Location: my own little world
Posts: 751
|
|
|

01-28-2010, 04:50 PM
|
Sarnak
|
|
Join Date: Apr 2008
Posts: 71
|
|
that is a ref to what andmetal said above on 1-16-2010
What's up with the nulls in the characters' names?
|
 |
|
 |

02-03-2010, 02:08 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
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)
|
 |
|
 |

04-16-2010, 09:20 PM
|
Fire Beetle
|
|
Join Date: Mar 2010
Posts: 10
|
|
Quote:
Originally Posted by OscarGrouch05
What's up with the nulls in the characters' names?
|
That question is a couple of months old now, but in case it helps with future debugging I presume they're defined as char[64] instead of char*, so gdb prints out the full 64 character array. Which could contain any old junk after the first null.
|

02-03-2010, 10:56 PM
|
Sarnak
|
|
Join Date: Apr 2008
Posts: 71
|
|
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())
|

02-04-2010, 02:23 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Would you be able to post a code fix for this ?? I can put stuff into files and compile ok just not very good with C++ in general if you would tell me what code to fix and with what would be a huge help..
 Thank you guys appreciate it
|

03-04-2010, 04:49 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
At this point in time, the crashing has gotten so bad that it's averaging about 30 crashes in a 24 hour period..
So at this point in time, i'm offering $$$ to whoever can fix this shit once and for all !!!
Please contact me for more details and how much $$$ i am willing to offer @ KingMortenson@yahoo.com
Thanks
King
|

04-16-2010, 08:41 AM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
I take you're using Linux server?
Your problem is probably in your hardware, namely your hard disk.
In Windows, the drive gets fragmented. to a point where I had to buy a second party de-fragmenter ("PerfectDisk") and schedule daily de-frags.
Zones will start to crash with little fragmentation, so de-frag, regardless.
Swap drives get fragmented too.
Not sure what happens to Linux, but a Linux swap drive on the same hard disk will slow you down.
100+ static zones on your server will cause zone crashes if your hard disks are not properly tweaked, or are just too slow.
Maybe your hard disk is getting old and slow. Try adding a second hard disk and move your Linux swap partition there there (in Windows, just move the swap file to the new HD).
I've had these problems under both Windows and Linux and have solved them by tweaking the hard disks. Took me all these years to realize this.
|

04-16-2010, 02:51 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Yeah the nice thing about Renting is that they will replace stuff for you anytime you want.. Guess it's due time for me to do this..
|

02-04-2010, 08:53 PM
|
Sarnak
|
|
Join Date: Apr 2008
Posts: 71
|
|
look at the code edit and fine BotOwner->IsBot()) - changes that need to be done or corrected Isbot change to Isgoon recompile program that should help fix the problem. i'm just good at reading the error code i program in Pascal i would have to covert to my lang so i could understand what it's doing i hope someone else can correct this for you. after changing in program you should be able to run the debug program to check the code.
your error are coming from (GetAppearance() == eaDead) || BotOwner->IsBot()) =GDB
look what you have been posting you'll see (gdb) there is your problem.
|

02-04-2010, 10:49 PM
|
Sarnak
|
|
Join Date: Apr 2008
Posts: 71
|
|
KingMort are you using EQEmu-Rev1180a-Bots? or if your pulling the code from the exe all smiles here 80)
|

02-05-2010, 12:15 AM
|
Developer
|
|
Join Date: Apr 2009
Location: USA
Posts: 478
|
|
The function names containing the word 'bot' does not matter. If you have changed the commands to "goon" it will work fine. If you had changed some of the functions but not all references to the functions, the code would not compile due to unreferenced symbols. No offense, but OscarGrouch05 does not know what he is talking about in this regard.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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 04:37 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |