Ulysses Stuff > General Chat & Help and Support
Hanging
iViscosity:
JamminR, the "loool.lua" is the file name that he pasted the script that detects for the loop. It's the one he created :P
Also, not a lot of time to look at the whole dump - gotta go to work - but I can look at it later tonight. From how you described it it doesn't seem like it happens all the time, just after a while, correct? It's probably one of your add-ons that has to iterate over a lot of stuff, or a MySQL (or similar) add-on that is failing connection with no fallback.
JamminR:
Delete your server data loops.txt, run the loop checker code again, when server hangs, please attach your \data\loops.txt to your next post.
Iviscosity, either way, we know what an unmodified ulib/shared/hook.lua will look like.
We wrote it.
What we're looking for is what other addon code is causing a hook to loop or lock.
Not saying it's not possible it's a ULib issue, I'm just 98% sure it's not.
Many times we've seen ULib hook.lua listed in strack traces and people think it's our code breaking something when it's not, it's usually another poorly executed function called by a hook. Due to the fact we add extra abilities to the hook system, our file gets listed instead of Gmod's standard hook file.
With the amount of addons being run, I'd almost think this is just a standard Gmod crash.
Gmod has never really been known to run a long time with heavy usage, especially when it's loaded with addons, no matter how cool they are.
iViscosity:
I didn't realize the hook was a ULib error path. Guess I glossed over that lol
LoloMan2:
ALERT
ALERT
[ERROR] lua/autorun/server/loooooooooool.lua:16: crash
1. error - [C]:-1
2. unknown - lua/autorun/server/loooooooooool.lua:16
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:92
ALERT
ALERT
[ERROR] lua/autorun/server/loooooooooool.lua:16: crash
1. error - [C]:-1
2. unknown - lua/autorun/server/loooooooooool.lua:16
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:92
ALERT
ALERT
[ERROR] lua/autorun/server/loooooooooool.lua:16: crash
1. error - [C]:-1
2. unknown - lua/autorun/server/loooooooooool.lua:16
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:92
ALERT
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
stack traceback:
lua/autorun/server/loooooooooool.lua:15: in function <lua/autorun/server/loooooooooool.lua:7>
addons/ulib/lua/ulib/shared/hook.lua:92: in function <addons/ulib/lua/ulib/shared/hook.lua:92>
MrPresident:
This script only thinks that hook.lua is causing an infinite loop because our hook function overrides the default one so it gets called any time a hook is called in any of your addons.
ULib is not doing an infinite loop and it is not causing your crash.
These errors you are posting are not errors. Like I said, the only reason this script you have seems to think that ULib is running a lot, is because it is.. by design.
You've got something else causing your issues. I'm sorry that we can't help you with that.
Here is where you should start:
1. Remove all addons from your server and start it to see if it crashes.
2. If not.. start adding them back a few at a time until you get a crash.
3. That's how you know what is crashing your server.
If you don't believe me, try removing ULX and ULib and I bet that your server would still crash how it does now.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version