Author Topic: Hanging  (Read 5924 times)

0 Members and 1 Guest are viewing this topic.

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Hanging
« on: January 08, 2018, 07:36:13 AM »
Hi, my server is hanging, is like a few hours and boom, server start hanging, everyone time out but server follow on, and you manually need restart it, I found a script on gmod forums, what detect if an addon is making an inifnite loop, i used it and when server hang it maked a file saying that:


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>

(Lol is the name of file, I saved it as lol)

It seems like hook.lua is making infinite loop, because it say the same lot of times, and the file is ultra long, with same errors, and also that file only save for 1 min,)

Could you help me community?
It's really important, My server always full, and I really can't support server hang lot of times.
Regards.
Mr. Lolo.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hanging
« Reply #1 on: January 08, 2018, 07:57:23 AM »
What is on line 92 in hook.lua? What happens before the server times out? Run "ulx debuginfo" and paste the dump
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Hanging
« Reply #2 on: January 08, 2018, 10:52:40 AM »
Line 92: function Call( name, gm, ... )

debuginfo:ULX version: v3.73d (11/05/17)
ULib version: v2.63
Gamemode: Auschwitz RP
Map: rp_concentration_camp_customv2
Dedicated server: true

Currently connected players:
Nick                            steamid             uid        id lsh
Lolo                            STEAM_0:0:85633067  3214923947 2  n    
1Manuel                         STEAM_0:1:161633655 1586624056 3  n    
Hans Schuldgier                 STEAM_0:1:199404034 1522868793 4  n    
Nexytpowa                       STEAM_0:1:63923714  2481116774 5  n    
PapàCastoro                     STEAM_0:1:244428833 3878740387 6  n    
Badger                          STEAM_0:1:71514885  3212813347 7  n    
Bendy Peterson                  STEAM_0:1:83888306  1238368828 8  n    
Steven                          STEAM_0:1:40414027  3536776984 9  n    


ULib.ucl.users (#=39):
   STEAM_0:1:40909443:
      allow:
      name   =   Guy Bison
      deny:
      group   =   vip_user
   STEAM_0:0:81416273:
      name   =   Admin
      deny:
      allow:
      group   =   moderator
   STEAM_0:0:106207299:
      name   =   GruziX
      deny:
      allow:
      group   =   admin
   STEAM_0:1:127032855:
      deny:
      allow:
      name   =   Cryatrix
      group   =   vip_user
   STEAM_0:1:194391352:
      allow:
      name   =   [GrGr]Ben
      deny:
      group   =   admin
   STEAM_0:1:124765108:
      allow:
      name   =   LT. Duck
      deny:
      group   =   vip_moderator
   STEAM_0:0:67277996:
      allow:
      name   =   Nivek4k
      deny:
      group   =   owner
   STEAM_0:1:85362070:
      deny:
      allow:
      name   =   Boi
      group   =   moderator
   STEAM_0:1:27259682:
      deny:
      allow:
      name   =   CheeseIon
      group   =   vip_user
   STEAM_0:1:56233310:
      deny:
      name   =   Doggo
      allow:
      group   =   moderator
   STEAM_0:0:59913395:
      name   =   He-Minge
      deny:
      allow:
      group   =   vip_moderator
   STEAM_0:0:147167485:
      name   =   Gunter der Dunkle magier
      deny:
      allow:
      group   =   vip_user
   STEAM_0:1:41949859:
      allow:
      name   =   Prolapse Wrangler
      deny:
      group   =   vip_user
   STEAM_0:0:47175566:
      allow:
      name   =   Mr.Lemming
      deny:
      group   =   vip_user
   STEAM_0:1:59849529:
      deny:
      allow:
      name   =   ? King First Price ?
      group   =   vip_user
   STEAM_0:1:154217922:
      deny:
      allow:
      group   =   admin
   STEAM_0:0:81634057:
      name   =   -Makapaka- | NoMoreMercy | DK
      deny:
      allow:
      group   =   moderator
   STEAM_0:0:91005019:
      allow:
      name   =   Mr.ShitMcJiggles
      deny:
      group   =   vip_user
   STEAM_0:1:80940945:
      allow:
         adduser   =   *
      name   =   Fragamir
      deny:
      group   =   owner
   STEAM_0:1:68977685:
      name   =   maarten
      deny:
      allow:
      group   =   vip_user
   STEAM_0:0:98534825:
      allow:
      name   =   Vizz
      deny:
      group   =   vip_superadmin
   STEAM_0:1:61861907:
      allow:
      name   =   Cheeki Breeki Not a faggot
      deny:
      group   =   vip_user
   STEAM_0:0:167895164:
      allow:
      name   =   ?Reaper?
      deny:
      group   =   vip_user
   STEAM_0:1:328471:
      deny:
      allow:
      name   =   Hubert Wolfyo K
      group   =   moderator
   STEAM_0:0:95457158:
      name   =   Kermit The Frog
      deny:
      allow:
      group   =   moderator
   STEAM_0:0:183662023:
      name   =   Hestern
      deny:
      allow:
      group   =   vip_superadmin
   STEAM_0:1:61766849:
      name   =   Kiwi taste good
      deny:
      allow:
      group   =   vip_user
   STEAM_0:1:83913063:
      name   =   Artan14
      deny:
      allow:
      group   =   owner
   STEAM_0:0:151638830:
      name   =   Lenny McLennington
      deny:
      allow:
      group   =   owner
   STEAM_0:0:136219462:
      deny:
      allow:
      name   =   [RS] John
      group   =   vip_user
   STEAM_0:0:85633067:
      name   =   Mr. Lolo
      deny:
      allow:
      group   =   owner
   STEAM_0:0:62700654:
      name   =   Krypat
      deny:
      allow:
      group   =   vip_admin
   STEAM_0:1:122799154:
      allow:
      name   =   Doom
      deny:
      group   =   vip_user
   STEAM_0:1:63923714:
      allow:
      name   =   Nexytpowa
      deny:
      group   =   moderator
   STEAM_0:0:169728667:
      allow:
      name   =   British Bloke
      deny:
      group   =   vip_user
   STEAM_0:0:43680229:
      deny:
      allow:
      name   =   Father Lucius Ames
      group   =   vip_user
   STEAM_0:1:223662588:
      deny:
      allow:
      name   =   Haze zwei aka Hans landa
      group   =   vip_user
   STEAM_0:0:32262781:
      deny:
      allow:
      name   =   ? Gilfhunter ?
      group   =   vip_user
   STEAM_0:0:166137474:
      name   =   Tiger Mafia Shadow
      deny:
      allow:
      group   =   vip_user


ULib.ucl.groups (#=12):
   vip_user:
      can_target   =   !%moderator
      allow:
         1   =   ulx reservedslots
      inherit_from   =   user
   superadmin:
      can_target   =   !%teammanager
      allow:
         1   =   apromote_settings
         2   =   atags adminpanel
         3   =   awarn_delete
         4   =   awarn_options
         5   =   darkrp_changedoorsettings
         6   =   darkrp_setlicense
         7   =   darkrp_setmoney
         8   =   fpp_settings
         9   =   fprofiler
         10   =   playx access
         11   =   ulx administrate
         12   =   ulx banid
         13   =   ulx banip
         14   =   ulx cexec
         15   =   ulx convar
         16   =   ulx ent
         17   =   ulx exec
         18   =   ulx getcommandtable
         19   =   ulx gethooktable
         20   =   ulx gravity
         21   =   ulx hiddenecho
         22   =   ulx hide
         23   =   ulx hook
         24   =   ulx ip
         25   =   ulx loadoutadd
         26   =   ulx loadoutremove
         27   =   ulx logchat
         28   =   ulx logdir
         29   =   ulx logecho
         30   =   ulx logechocolorconsole
         31   =   ulx logechocolordefault
         32   =   ulx logechocoloreveryone
         33   =   ulx logechocolormisc
         34   =   ulx logechocolorplayer
         35   =   ulx logechocolorplayerasgroup
         36   =   ulx logechocolors
         37   =   ulx logechocolorself
         38   =   ulx logevents
         39   =   ulx logfile
         40   =   ulx logjoinleaveecho
         41   =   ulx logspawns
         42   =   ulx logspawnsecho
         43   =   ulx luarun
         44   =   ulx maprestart
         45   =   ulx maul
         46   =   ulx printhooks
         47   =   ulx removehook
         48   =   ulx removehookcl
         49   =   ulx resetmap
         50   =   ulx resettimescale
         51   =   ulx restrict
         52   =   ulx runscript
         53   =   ulx runscriptcl
         54   =   ulx sasay
         55   =   ulx sbanid
         56   =   ulx sconvar
         57   =   ulx scrash
         58   =   ulx seesasay
         59   =   ulx sendlua
         60   =   ulx setlimit
         61   =   ulx speed
         62   =   ulx srunscript
         63   =   ulx srunscriptcl
         64   =   ulx ssendlua
         65   =   ulx stopsounds
         66   =   ulx stopvote
         67   =   ulx surl
         68   =   ulx timescale
         69   =   ulx unadministrate
         70   =   ulx unbanip
         71   =   ulx unrestrict
         72   =   ulx voteecho
         73   =   xgui_gmsettings
         74   =   xgui_managebans
         75   =   xgui_managegroups
         76   =   xgui_svsettings
         77   =   xgui_urs
      inherit_from   =   vip_admin
   owner:
      allow:
         1   =   darkrp_setmoney
         2   =   ulx addgroup
         3   =   ulx adduser
         4   =   ulx adduserid
         5   =   ulx cban
         6   =   ulx cmode
         7   =   ulx crash
         8   =   ulx fakeban
         9   =   ulx ftp
         10   =   ulx groupallow
         11   =   ulx groupdeny
         12   =   ulx h
         13   =   ulx replenish
         14   =   ulx revive
         15   =   ulx seeasay
         16   =   ulx url
         ulx   =   groupallow
      can_target   =   !%owner
      inherit_from   =   vip_teammanager
   vip_superadmin:
      can_target   =   !%teammanager
      allow:
         1   =   ulx fakeban
      inherit_from   =   superadmin
   vip_moderator:
      can_target   =   !%admin
      allow:
         1   =   ulx uadministrate
      inherit_from   =   moderator
   moderator:
      can_target   =   !%admin
      allow:
         1   =   awarn_remove
         2   =   awarn_view
         3   =   awarn_warn
         4   =   darkrp_getadminweapons
         5   =   fpp_touchotherplayersprops
         6   =   fspectate
         7   =   fspectateteleport
         8   =   ulx administrate
         9   =   ulx bancheck
         10   =   ulx banid
         11   =   ulx bring
         12   =   ulx cloak
         13   =   ulx dban
         14   =   ulx fbring
         15   =   ulx forcerespawn
         16   =   ulx freeze
         17   =   ulx friends
         18   =   ulx fteleport
         19   =   ulx gag
         20   =   ulx god
         21   =   ulx goto
         22   =   ulx hp
         23   =   ulx jail
         24   =   ulx kick
         25   =   ulx mute
         26   =   ulx noclip
         27   =   ulx physgunplayer
         28   =   ulx resetmap
         29   =   ulx return
         30   =   ulx seeasay
         31   =   ulx send
         32   =   ulx setwarp
         33   =   ulx slay
         34   =   ulx spectate
         35   =   ulx teleport
         36   =   ulx uadministrate
         37   =   ulx unadministrate
         38   =   ulx unban
         39   =   ulx uncloak
         40   =   ulx unfreeze
         41   =   ulx ungag
         42   =   ulx ungod
         43   =   ulx unjail
         44   =   ulx unmute
         45   =   ulx unwatch
         46   =   ulx warp
         47   =   ulx watch
         48   =   ulx watchlist
         49   =   xgui_managebans
         ulx multiban   =   * 1:1w
         ulx give   =   $^ <weapon_physgun>
         ulx cexec   =   * <ulx motd>
         spectate   =   !%Admin
         ulx ban   =   * 1:1w
      inherit_from   =   vip_user
   user:
      can_target   =   !%trusted
      allow:
         1   =   ulx asay
         2   =   ulx donate
         3   =   ulx help
         4   =   ulx motd
         5   =   ulx profile
         6   =   ulx psay
         7   =   ulx soundlist
         8   =   ulx thetime
         9   =   ulx thirdperson
         10   =   ulx urs_echo_commands
         11   =   ulx urs_echo_spawns
         12   =   ulx urs_overwrite_sbox
         13   =   ulx urs_weaponpickups
         14   =   ulx usermanagementhelp
         15   =   ulx version
         16   =   ulx who
   vip_teammanager:
      can_target   =   !%owner
      allow:
         1   =   ulx removegroup
         2   =   ulx removeuser
         3   =   ulx removeuserid
         4   =   ulx renamegroup
         5   =   ulx setgroupcantarget
         6   =   ulx userallow
         7   =   ulx userallowid
         8   =   ulx userdeny
         9   =   ulx userdenyid
      inherit_from   =   teammanager
   admin:
      can_target   =   !%superadmin
      allow:
         1   =   awarn_remove
         2   =   awarn_view
         3   =   awarn_warn
         4   =   darkrp_admincommands
         5   =   darkrp_getadminweapons
         6   =   darkrp_getjob_cp
         7   =   darkrp_getjob_mayor
         8   =   darkrp_seeevents
         9   =   darkrp_setdoorowner
         10   =   fpp_cleanup
         11   =   fpp_touchotherplayersprops
         12   =   fspectate
         13   =   fspectateteleport
         14   =   playx access
         15   =   ulx administrate
         16   =   ulx armor
         17   =   ulx ban
         18   =   ulx bancheck
         19   =   ulx blind
         20   =   ulx bot
         21   =   ulx bring
         22   =   ulx cancelcmd
         23   =   ulx chattime
         24   =   ulx cleardecals
         25   =   ulx cloak
         26   =   ulx color
         27   =   ulx csay
         28   =   ulx csaycolor
         29   =   ulx dban
         30   =   ulx deaths
         31   =   ulx enter
         32   =   ulx exit
         33   =   ulx explode
         34   =   ulx fbring
         35   =   ulx forcerespawn
         36   =   ulx frags
         37   =   ulx freeze
         38   =   ulx friends
         39   =   ulx fteleport
         40   =   ulx gag
         41   =   ulx gimp
         42   =   ulx give
         43   =   ulx giveammo
         44   =   ulx god
         45   =   ulx goto
         46   =   ulx hp
         47   =   ulx id
         48   =   ulx ignite
         49   =   ulx jail
         50   =   ulx jailtp
         51   =   ulx jumppower
         52   =   ulx kick
         53   =   ulx kickafternamechanges
         54   =   ulx kickafternamechangescooldown
         55   =   ulx kickafternamechangeswarning
         56   =   ulx kickbots
         57   =   ulx launch
         58   =   ulx map
         59   =   ulx material
         60   =   ulx mechatenabled
         61   =   ulx model
         62   =   ulx motdfile
         63   =   ulx motdurl
         64   =   ulx multiban
         65   =   ulx mute
         66   =   ulx noclip
         67   =   ulx notepad
         68   =   ulx notifications
         69   =   ulx pgag
         70   =   ulx physgunplayer
         71   =   ulx playsound
         72   =   ulx printpgags
         73   =   ulx ragdoll
         74   =   ulx relayblacklist
         75   =   ulx relayunblacklist
         76   =   ulx removeragdolls
         77   =   ulx removetrail
         78   =   ulx reservedslots
         79   =   ulx resetcolor
         80   =   ulx resetmaterial
         81   =   ulx return
         82   =   ulx rslots
         83   =   ulx rslotsmode
         84   =   ulx rslotsvisible
         85   =   ulx sban
         86   =   ulx scale
         87   =   ulx seeanonymousechoes
         88   =   ulx send
         89   =   ulx serverinfo
         90   =   ulx setammo
         91   =   ulx setname
         92   =   ulx setwarp
         93   =   ulx sgive
         94   =   ulx shock
         95   =   ulx showmotd
         96   =   ulx slap
         97   =   ulx slay
         98   =   ulx spawnecho
         99   =   ulx spectate
         100   =   ulx sslay
         101   =   ulx stopvote
         102   =   ulx strip
         103   =   ulx teleport
         104   =   ulx timedcmd
         105   =   ulx trail
         106   =   ulx tsay
         107   =   ulx tsaycolor
         108   =   ulx uadministrate
         109   =   ulx unban
         110   =   ulx unblind
         111   =   ulx uncloak
         112   =   ulx unfreeze
         113   =   ulx ungag
         114   =   ulx ungimp
         115   =   ulx ungod
         116   =   ulx unignite
         117   =   ulx unigniteall
         118   =   ulx unjail
         119   =   ulx unmute
         120   =   ulx unpgag
         121   =   ulx unragdoll
         122   =   ulx unwatch
         123   =   ulx veto
         124   =   ulx vote
         125   =   ulx voteban
         126   =   ulx votebanminvotes
         127   =   ulx votebansuccessratio
         128   =   ulx votegagminvotes
         129   =   ulx votegagsuccessratio
         130   =   ulx votekick
         131   =   ulx votekickminvotes
         132   =   ulx votekicksuccessratio
         133   =   ulx votemap2
         134   =   ulx votemap2minvotes
         135   =   ulx votemap2successratio
         136   =   ulx votemapenabled
         137   =   ulx votemapmapmode
         138   =   ulx votemapmintime
         139   =   ulx votemapminvotes
         140   =   ulx votemapsuccessratio
         141   =   ulx votemapvetotime
         142   =   ulx votemapwaittime
         143   =   ulx votemuteminvotes
         144   =   ulx votemutesuccessratio
         145   =   ulx warp
         146   =   ulx watch
         147   =   ulx watchlist
         148   =   ulx welcomemessage
         149   =   ulx whip
      inherit_from   =   vip_moderator
   noaccess:
      allow:
      can_target   =   !*
      inherit_from   =   user
   teammanager:
      can_target   =   !%owner
      allow:
         1   =   ulx addgroup
         2   =   ulx adduser
         3   =   ulx adduserid
         4   =   ulx groupallow
         5   =   ulx groupdeny
         6   =   ulx removegroup
         7   =   ulx removeuser
         8   =   ulx removeuserid
         9   =   ulx renamegroup
         10   =   ulx setgroupcantarget
         11   =   ulx url
         12   =   ulx userallow
         13   =   ulx userallowid
         14   =   ulx userdeny
         15   =   ulx userdenyid
      inherit_from   =   vip_superadmin
   vip_admin:
      can_target   =   !%superadmin
      allow:
      inherit_from   =   admin


ULib.ucl.authed (#=8):
   3536776984:
      group   =   user
      allow:
      deny:
      guest   =   true
   1522868793:
      group   =   user
      allow:
      deny:
      guest   =   true
   3214923947:
      name   =   Mr. Lolo
      deny:
      allow:
      group   =   owner
   2481116774:
      allow:
      name   =   Nexytpowa
      deny:
      group   =   moderator
   1238368828:
      group   =   user
      allow:
      deny:
      guest   =   true
   1586624056:
      group   =   user
      allow:
      deny:
      guest   =   true
   3212813347:
      group   =   user
      allow:
      deny:
      guest   =   true
   3878740387:
      group   =   user
      allow:
      deny:
      guest   =   true


Garrysmod default file (#=1):
   Users:
      superadmin:
      admin:


Active workshop addons on this server:
Advanced Duplicator 2            workshop ID 773402917
Atlaschatlsx content             workshop ID 357985071
Auto-Cleaning Decals [No ULX and more admins mod] workshop ID 412608410
Gulag Prisoners                  workshop ID 304035368
Invisible PlayerModel            workshop ID 1136617425
German Allgemeine-SS Soldiers    workshop ID 293638097
Improved Stacker                 workshop ID 264467687
SmartSnap                        workshop ID 104815552
WW2 Weapons                      workshop ID 106550832
WW2 Weapons II                   workshop ID 428127970
All WWII DOD Weapons For Gmod 13 workshop ID 132835998
Sniper Elite v2 - Hitler         workshop ID 116797740
PermaProps                       workshop ID 220336312
3D2D Textscreens                 workshop ID 109643223
Winchester M1897                 workshop ID 961286815
Sieg Heil Swep REUPLOAD          workshop ID 1099389338
UTime                            workshop ID 657474627
The Sit Anywhere Script!         workshop ID 108176967
URS                              workshop ID 112423325
Precision Tool                   workshop ID 104482086
Enhanced Sawmill Content Pack    workshop ID 1091022309
Simple Mining System Models      workshop ID 1102742127
Bank Robbery System              workshop ID 389445061
DurgzMod (Drugs Mod)             workshop ID 696374067
Prone Mod - Standalone Version   workshop ID 1100368137
Enhanced Battlefield 3 Russian playermodels workshop ID 694701717
Enhanced Battlefield 3 Russian playermodels materials workshop ID 694700909
Dr. Schwaiger                    workshop ID 191412471
Seinfeld                         workshop ID 877271291
DoD:S Weapons on M9K Base        workshop ID 114795977
APromoteGUI                      workshop ID 226312488
Ragdoll Death                    workshop ID 412681281
Fps Booster                      workshop ID 1169579845
Mercedes-Benz 770                workshop ID 849232712
Metro's Shared Textures + Props  workshop ID 769908782
Anti-AFK Plugin                  workshop ID 311164219
Vape SWEP                        workshop ID 673698301
Star Wars Lightsabers Extension  workshop ID 671544612
WW2 Japanese NPCs                workshop ID 394142478
WW2 Soviet NPCs                  workshop ID 104557674
Vape Player Model                workshop ID 1090189081
Reichmarks                       workshop ID 152331136
Simple Thirdperson               workshop ID 207948202
Red Orchestra 2 Redux - Soviets  workshop ID 536307366
Gopniks                          workshop ID 239531104
Joseph Stalin PLAYERMODEL        workshop ID 800436810
Player SetName For Ulx           workshop ID 373927048
Sniper Elite V2 Soviet Playermodels workshop ID 203869383
Gmod Legs 3                      workshop ID 112806637
Wiremod                          workshop ID 160250458
Playable Piano                   workshop ID 104548572
Red Orchestra 2 - German Playermodels Extra Pack Part 1 workshop ID 871141044
Red Orchestra 2 - German Playermodels Extra Pack Part 2 workshop ID 871144339
ulx Physgun Freeze Script        workshop ID 825240170
Wolfenstein Soldats              workshop ID 446840634

Active legacy addons on this server:
3d2d_textscreens_109643223     
Arivia                           by Richard, version 2.0.2
[darkrp]_bank_robbery_system_389445061
[scriptfodder]_[#1872]_jarvin_585120165
advanced_duplicator_2_773402917
Advanced Oil Mod                 by , version 1 (00/00/00)
advert_revert                   
all_wwii_dod_weapons_for_gmod_13_132835998
atlaschat                       
atlaschat_content_357985071     
auto-cleaning_decals_[no_ulx_and_more_admins_mod]_412608410
AWarn2                           by Mr.President, version 3.5
bodyGroupr                       by Arizard, version 1.1.1 (15/05/2014)
Press Agency                     by EnnX49, version 1 (2016)
Cuffs                            by my_hat_stinks, version 1
CustomCommands                   by Cobalt77, version 4.4
DarkRP Modification addon        by FPtje, version 1 (00/00/00)
dr._schwaiger_191412471         
durgzmod_(the_original_gmod_drugs_mod)_696374067
Enhanced Meth Laboratory         by EnnX49, version 1 (2014)
enhanced_russian_military_playermodels_694701717
enhanced_russian_military_playermodels_materials_694700909
enhanced_sawmill_content_pack_1091022309
Enhanced Sawmill for DarkRP      by JamesBr, version 1.0.2 (2014)
esc                             
fire_extinguisher_104607228     
flufreports                     
gdrugs_-_content_571156806     
german_allgemeine-ss_soldiers_293638097
gulag_prisoners_304035368       
improved_stacker_264467687     
invisible_playermodel_1136617425
itemstore                       
leveling-system                 
nyan_gun_123277559             
permaprops_220336312           
playx_106516163                 
prometheus                     
rape_swep_104910430             
red_orchestra_2_redux_-_soviets_536307366
sieg_heil_swep_[reupload]_1099389338
simple_mining_system           
simple_mining_system_models_1102742127
sniper_elite_v2_-_hitler_116797740
sniper_elite_v2_soviet_playermodels_203869383
ss_snow_officer_757603724       
steamcall                       
the_opium_factory_content_970566268
the_sit_anywhere_script!_108176967
ULib                             by Team Ulysses, version 2.63d (00/00/00)
ultimate_disguise_kit_v1.1.6   
ULX                              by Team Ulysses, version 3.73d (00/00/00)
urs_112423325                   
utime_657474627                 
vape player model               
winchester_m1897_961286815     
ww2_weapons_106550832           
ww2_weapons_ii_428127970       



PS: I reinstalled ulx, but not the SVN version the another and restarted server, thats reason because only few players now.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Hanging
« Reply #3 on: January 08, 2018, 11:02:48 AM »
Lol.lua is your issue. Ulib is only mentioned in stack trace because we add additional hook capability.  The name looool sounds like an exploit. Search google for name of that file and the word hack or exploit or DOS and bet you can find more info.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Hanging
« Reply #4 on: January 08, 2018, 12:26:54 PM »
xD, I copy and paste the code of gmod forums... the lol name is because i saved it as lol...


Content:


local lastthink = SysTime()
local times = 0
hook.Add("Think", "antiloop", function()
   lastthink = SysTime()
end)
timer.Simple(120, function()
   debug.sethook(function(cnt)
      if SysTime() - lastthink > 10 then
         times = times + 1
         lastthink = SysTime()
         if times < 3 then
            print("ALERT")
         else
            times = 0
            file.Append("loops.txt", debug.traceback() .. "\n\r\n\r")
            error("crash")
         end
      end
   end, "c", 100000000)
end)

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hanging
« Reply #5 on: January 08, 2018, 12:41:10 PM »
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.
« Last Edit: January 08, 2018, 12:45:23 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Hanging
« Reply #6 on: January 08, 2018, 01:51:16 PM »
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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hanging
« Reply #7 on: January 08, 2018, 03:34:28 PM »
I didn't realize the hook was a ULib error path. Guess I glossed over that lol
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Hanging
« Reply #8 on: January 08, 2018, 10:10:26 PM »
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>




Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Hanging
« Reply #9 on: January 08, 2018, 11:42:11 PM »
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.

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Hanging
« Reply #10 on: January 09, 2018, 06:32:33 AM »
can i upload my addon list? and tell  me if you think an addon is doing it? i cant disable every addons because then nobody can play...

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hanging
« Reply #11 on: January 09, 2018, 06:49:22 AM »
We see your add-on list with the debuginfo. But there's so many add-ons it could be any one of them. It's tedious but if you don't want the server to keep crashing that's the best way to.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline LoloMan2

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Hanging
« Reply #12 on: January 09, 2018, 07:03:59 AM »
I will try delete on small groups... I can't delete every because i will lost players. Also, the playermodels can't be right? They only have .mdl files etc... And the weapons? Another thing what i finded and can help is that:


[ERROR] addons/pac3-master/lua/pac3/core/client/part_pool.lua:44: Player is NULL(!?)
  1. UniqueID - [C]:-1
   2. parts_from_ent - addons/pac3-master/lua/pac3/core/client/part_pool.lua:44
    3. fn - addons/pac3-master/lua/pac3/core/client/part_pool.lua:393
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:109



[ERROR] Unauthed player
  1. query - [C]:-1
   2. fn - addons/ulib/lua/ulib/shared/cami_ulib.lua:18
    3. Call - addons/ulib/lua/ulib/shared/hook.lua:109
     4. PlayerHasAccess - addons/ulib/lua/ulib/shared/cami_global.lua:370
      5. calculatePlayerPrivilege - gamemodes/auschwitzrp/gamemode/modules/fpp/pp/sh_settings.lua:133
       6. recalculateCanTouch - gamemodes/auschwitzrp/gamemode/modules/fpp/pp/server/ownability.lua:228
        7. CPPISetOwner - gamemodes/auschwitzrp/gamemode/modules/fpp/pp/sh_cppi.lua:55
         8. unknown - addons/simple_mining_system/lua/entities/mining_refinery/init.lua:19
          9. Spawn - [C]:-1
           10. defaultSpawn - gamemodes/auschwitzrp/gamemode/modules/base/sh_createitems.lua:308
            11. callback - gamemodes/auschwitzrp/gamemode/modules/base/sh_createitems.lua:359
             12. callback - gamemodes/auschwitzrp/gamemode/modules/chat/sv_chat.lua:17
              13. unknown - gamemodes/auschwitzrp/gamemode/modules/chat/sv_chat.lua:256


[ERROR] addons/climb_swep_2_113495466/lua/weapons/climb_swep2/init.lua:65: attempt to index field 'ClimbSlideSound' (a nil value)
  1. fn - addons/climb_swep_2_113495466/lua/weapons/climb_swep2/init.lua:65
   2. unknown - addons/ulib/lua/ulib/shared/hook.lu
               

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Hanging
« Reply #13 on: January 09, 2018, 12:49:37 PM »
It could be any addon. Even player models.

Please stop posting your errors. The errors could be unrelated. Unless you get an error RIGHT before it crashes, it likely isn't going to help find the addon.

I have given you the way to fix it. You might not like it.. but it's the only way.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Hanging
« Reply #14 on: January 09, 2018, 12:50:23 PM »
This process might lose you players, but your server crashing all the time probably isn't going to help either.

You should be trying to run a stable server. Getting rid of unnecessary addons, and especially finding any trouble ones is how you do that.