Page 1 of 2

jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Wed Jun 15, 2011 3:52 am
by hellreturn
For some reason new jaymod is still looking for 0.66 omni libraries. Yes I have verified that on my server it has 0.81 version.

Code: Select all

Setting MOTD...
OMNIBOT: loader version 0.66
OMNIBOT: search path:
    /usr/local/games/et/xxxxxx/8.9.4.227:27960/jaymod/omni-bot/
    /usr/local/games/et/xxxxxx/8.9.4.227:27960/omni-bot
    /home/clanbot/omni-bot
    <SYSTEM-LOADER>
OMNIBOT: load '/usr/local/games/et/xxxxxx/8.9.4.227:27960/jaymod/omni-bot/omnibot_et.so': success
OMNIBOT: address-lookup: success
OMNIBOT: pfnGetBotFuncs: success
^2ET Script Executed


Crashes start and it looks like when omni is trying to change userinfo? or when it's getting dropped due to certain reason causing omni to crash?

Code: Select all

Userinfo: \name\Newbie\rate\25000\snaps\20\ip\localhost\cl_guid\OMNIBOT2000000000000000000000000
ClientUserinfoChanged: 20 n\Newbie\t\3\c\0\r\0\m\0000000\s\0000000\dn\\dr\0\w\0\lw\0\sw\0\mu\0\ref\1\sc\0
Userinfo: \name\Newbie\rate\25000\snaps\20\ip\localhost\cl_guid\OMNIBOT2000000000000000000000000
ClientUserinfoChanged: 20 n\Newbie\t\1\c\0\r\0\m\0000000\s\0000000\dn\\dr\0\w\0\lw\35\sw\2\mu\0\ref\1\sc\0
Userinfo: \name\Newbie\rate\25000\snaps\20\ip\localhost\cl_guid\OMNIBOT2000000000000000000000000
ClientUserinfoChanged: 20 n\Newbie\t\1\c\0\r\0\m\0000000\s\0000000\dn\\dr\0\w\35\lw\35\sw\2\mu\0\ref\1\sc\0
broadcast: print "Newbie^7 entered the game\n"
ClientBegin: 20
^2<EndGame>
^2-- Script System Info --
^2Current Memory Usage 4.0353 MB
^2Soft Memory Usage 3.73825 MB
^2Hard Memory Limit 4.15361 MB
^2System Memory Usage 2.34782 MB
^2Full Collects 3
^2Inc Collects 4
^2GC Warnings 0
^2Threads: 0, 0 Running, 0 Blocked, 0 Sleeping
==== ShutdownGame ====
ShutdownGame:

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Wed Jun 15, 2011 7:17 am
by Ligustah
To me that looks like an error in your setup.
I'm running 2.2.0 as well and it's working perfectly fine for me.

My server logs look very similar to your's, they also show "loader version 0.66",
but rcon says:
!uptime
uptime: 44 days, 3 hours, 34 minutes, 24 seconds.
bot version
^2Omni-Bot : Dec 23 2010 10:11:34
^2Version : 0.81
^2Interface # : 17
So i assume it's just saying that it looks for 0.66 but is infact looking for 0.81.

Do you receive the very same error on a fresh server installation?

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Wed Jun 15, 2011 11:53 am
by hellreturn
It always look for .66 omni libraries but it does loads .81 without any problem.

My issue is it keeps crashing every 1 or 3 days for some reason.

Quick Question for you:
1. What's your server OS?

Can you please PM me your server IP if you don't mind?
Thanks

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Wed Jun 15, 2011 12:38 pm
by Ligustah
My system is Ubuntu Linux 64bit.

You should try this in rcon:

Code: Select all

bot version
That will show if it is actually loading the correct version.

PM sent.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Thu Jun 16, 2011 7:14 am
by petbark
|ABC| Server run this setup no problem.

Can you do a cold start on your server? Or ask the for the server box to be rebooted and see.

Check the size of your log files and maybe delete them once you have downloaded them if you can.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Thu Jun 16, 2011 10:22 am
by jaybird
What distro are you running?

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Fri Jun 17, 2011 8:18 am
by jaybird
hellreturn?

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Fri Jun 17, 2011 9:36 am
by hellreturn
jaybird wrote:hellreturn?
Sorry had to ask host so took a day.

Debian - Crash. 3x times a day. (Hosted with 3rd party GSP) This one crashes more often.

Windows 2008 R2 Ent. - Once every couple of days. (Hosted by myself)

I see issue of crashing is worse on debian or Linux builds.

Thank you.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Fri Jun 17, 2011 10:07 am
by jaybird
I ran into a crashing issue with blindman on debian as well. It was a really screwed issue with shared libraries.

Try adding LD_PRELOAD="/path/to/libstdc++.so.6" to the start of the command line and see if it helps. It has to come before etded.x86 does in the command line. Replace the path, of course.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Fri Jun 17, 2011 11:09 am
by hellreturn
Was able to create same random crashes on Centos 5.2 as well.

Around 60% time server crash while loading of the map or during end of intermission.

I don't understand why it crashes with Windows 2008 R2 if it's libraries issue?

I will follow up with your suggestion.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Fri Jun 17, 2011 4:32 pm
by jaybird
I don't know either. I just know we had issues with Debian and that fixed it.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Mon Jun 20, 2011 9:12 pm
by cutman
I saw a similar linux setup and problem, and the default C++ lib was older, but after installing a newer package it solved that problem.

But Windows is different too, are you running another mod too?

did you check for overload?

you might have a problem with an enemy attack?

It doesn't seem like a jaymod bug.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Tue Jun 21, 2011 1:38 pm
by hellreturn
cutman wrote:I saw a similar linux setup and problem, and the default C++ lib was older, but after installing a newer package it solved that problem.

But Windows is different too, are you running another mod too?

did you check for overload?

you might have a problem with an enemy attack?

It doesn't seem like a jaymod bug.
No overload. It's Quad Core Xeon with 8Gb RAM and only 3 servers on whole machine. Another one which uses win 2008 R2 has 3 ET and one cod4 servers on it. CPU usage is all the time below 15% and I have 5Gb spare RAM. So I don't think it's overload issue.

Win Server 2003 - Crash once a while.
Win Server 2008 R2 - Crash every 2 or 3 days.
Debian / Centos - Too many crashes.

I don't understand what you mean by enemy attack.

At present I have moved the server from 2.2.0 to 2.1.10 and crash seems to have stopped.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Tue Jun 21, 2011 4:03 pm
by jaybird
hellreturn wrote:At present I have moved the server from 2.2.0 to 2.1.10 and crash seems to have stopped.
Good to know.

Re: jaymod 2.2.0 and omni 0.81 crashing all time

Posted: Tue Jun 21, 2011 4:14 pm
by jaybird
The loader version 0.66 is a hard coded version number for our loader code. Even though it might say 0.66, it's just a string I forgot to change. Do you have more examples of logs after a crash? And also a windows log?

The were 4 changes to the code between 2.1.10 and 2.2.0. The crashes are suspect.