server crashes
Moderator: Team Members
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
server crashes
my server crashes almost every night, and i read somewhere tht it had to do with a timer or something and can no longer find the post,
if anyone else remembers it can you point me in the correct direction
if anyone else remembers it can you point me in the correct direction
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: server crashes
I do not recall an issue with timers causing a crash. Does this crash on its own or is some one on it? If some one is on it are they using content dev commands, mainly the /reload or /repop?
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
no just if i leave it up and running no client s connecte
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
so i was able to get it to crash while in debugger here is whee it stops at
Code: Select all
void __cdecl _free_base (void * pBlock)
{
int retval = 0;
if (pBlock == NULL)
return;
RTCCALLBACK(_RTC_Free_hook, (pBlock, 0));
retval = HeapFree(_crtheap, 0, pBlock); //>>>>>>>>>> the arrow is pointing to this line
if (retval == 0)
{
errno = _get_errno_from_oserr(GetLastError());
}
}-
tyrbo
- Team Member
- Posts: 271
- Joined: Thu Feb 18, 2016 12:33 pm
Re: server crashes
Would probably be helpful to post the full stack trace.
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
ok i will next time it does it in debug mode
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
so it didn't crash again but after a restart and the server just sitting idle the log starts getting these
You do not have the required permissions to view the files attached to this post.
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: server crashes
Don't know about the lua addtimer command error, but the attempt to call a nil value I think is struct related. When it happens on my server USUALLY there is a pet command button that is rapidly auto clicking itself. Sometimes my toon can't decide if he wants to sit or stand when I get the nil value call.
Logging off and back on will fix it some times, but if it's a new client, and structs are not setup, then it doesn't.
Logging off and back on will fix it some times, but if it's a new client, and structs are not setup, then it doesn't.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
all i did was start the server and let it sit, i tried to find where attempt to call a nil was located in code and could not find it
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: server crashes
It's not my area of expertise, but if I understand correctly the call has already been made, a nil value was returned, and the server is expecting a something not nil.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: server crashes
"attempt to call nil" usually refers to when the server makes a call to a script but that function is not in the script. Most often you will see it when declining or deleting a quest whose script doesn't have the declined or deleted function in them.
Did this happen right away or did it take time? Do you have zones that start up even with no one on? are you running the server on windows or Linux?
If it took time to show up and no client ever connected it seems like memory corruption but I have never seen it on my local server or the emu server.
Did this happen right away or did it take time? Do you have zones that start up even with no one on? are you running the server on windows or Linux?
If it took time to show up and no client ever connected it seems like memory corruption but I have never seen it on my local server or the emu server.
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
it always takes time to show up,i have frostfang up when no one on and i am running on windows
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: server crashes
here is the call stack when i get LUA addtimer command error: time is not set
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: No registered users and 0 guests