Author Topic: After update server crashes after I ban someone  (Read 6862 times)

0 Members and 3 Guests are viewing this topic.

Offline chris198727

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
After update server crashes after I ban someone
« on: July 10, 2014, 05:50:11 PM »
I run a dedicated server and when i ulx ban someone the server crashes
this is what it shows in the window
addons ulx lua ulx modules sh chat.lua:250 tried to use a null entitity
addons.ulib.lua.shared.hook.lua:103
  something like that.
here is the crash log

Microsoft (R) Windows Debugger Version 6.3.9600.17029 X86
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\c\Desktop\srcds_1678491_crash_2014_7_11T0_22_8C0.mdmp]
Comment: 'Crash
Uptime( 1.858244 )

Memory
memusage( 73 % )
totalPhysical Mb(4091.61)
freePhysical Mb(1092.69)
totalPaging Mb(5171.61)
freePaging Mb(2655.86)
totalVirtualMem Mb(4095.88)
freeVirtualMem Mb(3546.66)
extendedVirtualFree Mb(0.00)

Process Memory
WorkingSetSize Mb(60.62)
QuotaPagedPoolUsage Mb(0.22)
QuotaNonPagedPoolUsage: Mb(0.03)
PagefileUsage: Mb(70.73)

Paged Pool
prev PP PAGES: used: 0, free 0
final PP PAGES: used: 0, free 0
memallocfail? = 0
Active: inactive SpawnCount 0 MapLoad Count 0
Error count 0, end demo 0, abort count 0

ConVars (non-default)

var   value   default
host_workshop_collection
   '282351492' ''
sv_timeout
   '180' '65'
sv_client_predict
   '1' '-1'
deathmatch
   '1' '0'
hostname
   'Garry's Mod' ''
sv_allow_voice_from_file
   '0' '1'
hostport
   '27018' '27015'
datacachesize
   '256' '64'
r_flashlightdepthtexture
   '0' '1'
mat_motion_blur_enabled
   '0' '1'
joy_xcontroller_found
   '0' '1'

Console History (reversed)

15(1.368737):  Adding Filesystem Addon 'c:\deathrun\garrysmod\addons\ulx'
14(1.368259):  Adding Filesystem Addon 'c:\deathrun\garrysmod\addons\ulib'
13(1.367557):  Adding Filesystem Addon 'c:\deathrun\garrysmod\addons\pointshop-master'
12(1.367129):  Adding Filesystem Addon 'c:\deathrun\garrysmod\addons\modernmotd'
11(1.366575):  Adding Filesystem Addon 'c:\deathrun\garrysmod\addons\hatschat2'
10(1.247928):  Mounting Addon 'Batgirl' (232037613)
9(1.146656):  Assigned anonymous gameserver Steam ID [A-1:1469280260(4460)].
8(1.145310):     Public IP is 192.223.30.168.
7(1.145072):  Connection to Steam servers successful.
6(1.144072):  Collection has 1 Addons
5(0.536250):  Calling GetCollectionDetails
4(0.535963): 
3(0.535539):  Fetching Workshop Addons..2(0.241185):  Logging into anonymous gameserver account.
1(0.090372):  Initializing Steam libraries for secure Internet server
'
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.           *
* Use .symfix to have the debugger choose a symbol path.                   *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
Windows 8 Version 9200 MP (4 procs) Free x86 compatible
Product: Server, suite: TerminalServer SingleUserTS
Built by: 6.2.9200.16384 (win8_rtm.120725-1247)
Machine Name:
Debug session time: Thu Jul 10 19:22:08.000 2014 (UTC - 5:00)
System Uptime: not available
Process Uptime: 0 days 0:00:33.000
................................................................
........................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(c28.dd8): Access violation - code c0000005 (first/second chance not available)
*** WARNING: Unable to verify timestamp for ntdll.dll
*** ERROR: Module load completed but symbols could not be loaded for ntdll.dll
Unable to load image C:\Windows\System32\KERNELBASE.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for KERNELBASE.dll
*** ERROR: Module load completed but symbols could not be loaded for KERNELBASE.dll
eax=00000000 ebx=239b1f98 ecx=1fd1eda8 edx=0210c840 esi=239b1f50 edi=239b1f60
eip=776de9e4 esp=002bb514 ebp=002bb520 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
ntdll+0x2e9e4:
776de9e4 c20800          ret     8


Any help in resolving this will be great.  This all started after the server update
« Last Edit: July 10, 2014, 06:20:10 PM by chris198727 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: After update server crashes after I ban someone
« Reply #1 on: July 10, 2014, 06:20:41 PM »
I .. umm.. Hmm.. I'm not sure how banning could cause something like that. Are you running any sort of modified ban system for ulx? global bans, storing bans in SQL, etc.?

Try creating a backup of your server's data/ulib/bans.txt and cfg/banned_users.cfg files, then temporarily remove them from your server to start with a fresh ban list, and see if that helps.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline chris198727

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: After update server crashes after I ban someone
« Reply #2 on: July 10, 2014, 06:38:08 PM »
I tried removing ulx globalban and that didn't help

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: After update server crashes after I ban someone
« Reply #3 on: July 10, 2014, 07:38:48 PM »
It's highly unlikely that ULX is causing this problem- Crashes like this usually occur with third party modules and dlls (which ulx globalban may be using). Perhaps someone else here has more experience with it and can be of more help than I.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline chris198727

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: After update server crashes after I ban someone
« Reply #4 on: July 10, 2014, 07:49:14 PM »
thank you for trying to help but I think the top 2 lines are what is causing the crash but I don't know how to resolve it.  i gave the file names and the line the error is happening on let me post it
hook.lua line 103 is :
   table.insert( Hooks[ event_name ], { name=name, fn=func, priority=priority } )
   BackwardsHooks[ event_name ][ name ] = func -- Keep the classic style too so we won't break anything
   sortHooks( event_name )
end

chat.lua line 250
   if not ply.lastChatTime then ply.lastChatTime = 0 end

   local chattime = chattime_cvar:GetFloat()
   if chattime <= 0 then return end


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: After update server crashes after I ban someone
« Reply #5 on: July 10, 2014, 09:20:04 PM »
Chris,
Thanks, We're familiar with stack tracing of lua code.
Did you do as stickly man suggested?
Shut server down.
Then;
Try creating a backup of your server's data/ulib/bans.txt and cfg/banned_users.cfg files, then temporarily remove them from your server to start with a fresh ban list, and see if that helps.
Then start server back up. Yes, you won't have any bans that were temporary anymore, or the info from them, but that will determine if something in the bans file got corrupted.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline chris198727

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: After update server crashes after I ban someone
« Reply #6 on: July 11, 2014, 08:54:07 PM »
Yes i tried all that and after installing it all from scratch from the site I am still getting the error

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: After update server crashes after I ban someone
« Reply #7 on: July 11, 2014, 09:34:34 PM »
From server console, please run "ulx debuginfo" and attach the file it creates to your next post using "attachments and other options" menu.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: After update server crashes after I ban someone
« Reply #8 on: July 12, 2014, 10:01:31 AM »
Is your issue related to what's going on in this thread? http://forums.ulyssesmod.net/index.php/topic,7411.0.html
Does it only occur when you use chat commands?

I still have the same recommendation though- try removing all of your other addons, modules (.dlls), and gamemodes EXCEPT ULX, and see if the issue still occurs. If it doesn't then add each addon back in one at a time until the problem comes back.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline chris198727

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: After update server crashes after I ban someone
« Reply #9 on: July 12, 2014, 07:35:10 PM »
Until I get this resolved.  Is there a way to disable using chat commands in ulx so admins can't crash my servers? Like where they can only use the menu?

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given