Raised This Month: $51 Target: $400
 12% 

[EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots


Post New Thread Reply   
 
Thread Tools Display Modes
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 11-30-2011 , 11:06   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #911

My server will hang with this extension if it restarts because of an update or if I execute a "_restart" via rcon
Last console entries:
Code:
Dropped replay from server (Server shutting down)
L 11/29/2011 - 22:49:05: server_message: "quit"
L 11/29/2011 - 22:49:05: Log file closed
L 11/29/2011 - 22:49:05: server_message: "restart"
*** glibc detected *** ./srcds_linux: double free or corruption (!prev): 0x0c0da378 ***
======= Backtrace: =========
/lib32/libc.so.6[0xf751210c]
/lib32/libc.so.6(cfree+0x85)[0xf7514145]
bin/libtier0.so(_ZdlPv+0x22)[0xf771a116]
/orangebox/tf/addons/sourcemod/extensions/cbaseserver.ext.2.ep2v.so[0xedd2189e]
/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so[0xee73241b]
/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so[0xee7316b6]
/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so[0xee75543e]
/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so[0xee74c3f2]
/orangebox/tf/../tf/addons/metamod/bin/metamod.2.ep2v.so[0xeecd0846]
/orangebox/tf/../tf/addons/metamod/bin/metamod.2.ep2v.so[0xeecd0b54]
/orangebox/tf/../tf/addons/metamod/bin/metamod.2.ep2v.so[0xeeccb402]
/orangebox/tf/../tf/addons/metamod/bin/metamod.2.ep2v.so[0xeece4145]
/orangebox/tf/../tf/addons/metamod/bin/server.so[0xeed086e8]
/orangebox/bin/engine.so[0xf6c78e23]
/orangebox/bin/engine.so[0xf6c7096a]
/orangebox/bin/engine.so[0xf6c8ca1b]
/orangebox/bin/engine.so[0xf6ca7c98]
/orangebox/bin/engine.so[0xf6c8d81a]
bin/dedicated.so[0xf703d106]
bin/dedicated.so[0xf7040bc8]
bin/dedicated.so[0xf70428ac]
bin/dedicated.so[0xf7040bc8]
bin/dedicated.so[0xf703d56d]
bin/dedicated.so(DedicatedMain+0x25)[0xf703e9e5]
./srcds_linux[0x80488ad]
/lib32/libc.so.6(__libc_start_main+0xe5)[0xf74bb42d]
./srcds_linux[0x8048731]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:03 5685269                            /orangebox/srcds_linux
08049000-0804a000 rw-p 00000000 08:03 5685269                            /orangebox/srcds_linux
09793000-097d4000 rw-p 00000000 00:00 0                                  [heap]
097d4000-097d6000 rwxp 00000000 00:00 0                                  [heap]
097d6000-09888000 rw-p 00000000 00:00 0                                  [heap]
09888000-0988a000 rwxp 00000000 00:00 0                                  [heap]
0988a000-09f9c000 rw-p 00000000 00:00 0                                  [heap]
09f9c000-09f9e000 rwxp 00000000 00:00 0                                  [heap]
09f9e000-0a09a000 rw-p 00000000 00:00 0                                  [heap]
0a09a000-0a09c000 rwxp 00000000 00:00 0                                  [heap]
0a09c000-0a693000 rw-p 00000000 00:00 0                                  [heap]
0a693000-0a695000 rwxp 00000000 00:00 0                                  [heap]
0a695000-0a887000 rw-p 00000000 00:00 0                                  [heap]
0a887000-0a889000 rwxp 00000000 00:00 0                                  [heap]
0a889000-0a913000 rw-p 00000000 00:00 0                                  [heap]
0a913000-0a915000 rwxp 00000000 00:00 0                                  [heap]
0a915000-0a9b2000 rw-p 00000000 00:00 0                                  [heap]
0a9b2000-0a9b5000 rwxp 00000000 00:00 0                                  [heap]
0a9b5000-0a9b6000 rw-p 00000000 00:00 0                                  [heap]
0a9b6000-0a9b8000 rwxp 00000000 00:00 0                                  [heap]
0a9b8000-0a9b9000 rw-p 00000000 00:00 0                                  [heap]
0a9b9000-0a9bc000 rwxp 00000000 00:00 0                                  [heap]
0a9bc000-0ab53000 rw-p 00000000 00:00 0                                  [heap]
0ab53000-0ab55000 rwxp 00000000 00:00 0                                  [heap]
0ab55000-0ab6d000 rw-p 00000000 00:00 0                                  [heap]
0ab6d000-0ab70000 rwxp 00000000 00:00 0                                  [heap]
0ab70000-0ac6a000 rw-p 00000000 00:00 0                                  [heap]
0ac6a000-0ac6c000 rwxp 00000000 00:00 0                                  [heap]
0ac6c000-0addb000 rw-p 00000000 00:00 0                                  [heap]
0addb000-0addd000 rwxp 00000000 00:00 0                                  [heap]
0addd000-0adde000 rw-p 00000000 00:00 0                                  [heap]
0adde000-0ade0000 rwxp 00000000 00:00 0                                  [heap]
0ade0000-0ae34000 rw-p 00000000 00:00 0                                  [heap]
0ae34000-0ae36000 rwxp 00000000 00:00 0                                  [heap]
0ae36000-0aebc000 rw-p 00000000 00:00 0                                  [heap]
0aebc000-0aebe000 rwxp 00000000 00:00 0                                  [heap]
0aebe000-0af7e000 rw-p 00000000 00:00 0                                  [heap]
0af7e000-0af80000 rwxp 00000000 00:00 0                                  [heap]
0af80000-0b0a5000 rw-p 00000000 00:00 0                                  [heap]
0b0a5000-0b0a8000 rwxp 00000000 00:00 0                                  [heap]
0b0a8000-0b0a9000 rw-p 00000000 00:00 0                                  [heap]
0b0a9000-0b0ac000 rwxp 00000000 00:00 0                                  [heap]
0b0ac000-0b11a000 rw-p 00000000 00:00 0                                  [heap]
0b11a000-0b11c000 rwxp 00000000 00:00 0                                  [heap]
0b11c000-0b13d000 rw-p 00000000 00:00 0                                  [heap]
0b13d000-0b13f000 rwxp 00000000 00:00 0                                  [heap]
0b13f000-0b6b6000 rw-p 00000000 00:00 0                                  [heap]
0b6b6000-0b6b8000 rwxp 00000000 00:00 0                                  [heap]
0b6b8000-0bb81000 rw-p 00000000 00:00 0                                  [heap]
0bb81000-0bb83000 rwxp 00000000 00:00 0                                  [heap]
0bb83000-0bd68000 rw-p 00000000 00:00 0                                  [heap]
0bd68000-0bd6a000 rwxp 00000000 00:00 0                                  [heap]
0bd6a000-0be6e000 rw-p 00000000 00:00 0                                  [heap]
0be6e000-0be70000 rwxp 00000000 00:00 0                                  [heap]
0be70000-0c068000 rw-p 00000000 00:00 0                                  [heap]
0c068000-0c06a000 rwxp 00000000 00:00 0                                  [heap]
0c06a000-0c06c000 rw-p 00000000 00:00 0                                  [heap]
0c06c000-0c070000 rwxp 00000000 00:00 0                                  [heap]
0c070000-0c07c000 rw-p 00000000 00:00 0                                  [heap]
0c07c000-0c07f000 rwxp 00000000 00:00 0                                  [heap]
0c07f000-0c085000 rw-p 00000000 00:00 0                                  [heap]
0c085000-0c088000 rwxp 00000000 00:00 0                                  [heap]
0c088000-0c0c2000 rw-p 00000000 00:00 0                                  [heap]
0c0c2000-0c0c4000 rwxp 00000000 00:00 0                                  [heap]
0c0c4000-0c0dd000 rw-p 00000000 00:00 0                                  [heap]
0c0dd000-0c0df000 rwxp 00000000 00:00 0                                  [heap]
0c0df000-0c0e1000 rw-p 00000000 00:00 0                                  [heap]PreMinidumpCallback: updating dump comment
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
If I remove the extension the server will restart.
gH0sTy is offline
wizzrobe
Junior Member
Join Date: Oct 2011
Old 12-08-2011 , 10:58   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #912

I've seen this same crash/hang effect you describe gHOsTy. I never bothered to test removing the cbaseserver extension as you did. When I tried it, I saw the same thing. The server restarts fine. Now we just need a fix.
wizzrobe is offline
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 12-21-2011 , 04:34   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #913

what is the last good version of this extension for 1.5.0-hg3456 ?

there is version 1.1 and 2.0 in http://users.alliedmods.net/~psychonic/builds/cbaseserver/

and in 1.1 there is 2 types of version

it is not very clear :/

Then, do you have the possibility to add support for L4D1 please ? (yes there is players still playing this game ^^)

Last edited by PlayBoy31; 12-21-2011 at 07:36.
PlayBoy31 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-21-2011 , 07:56   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #914

Quote:
Originally Posted by PlayBoy31 View Post
what is the last good version of this extension for 1.5.0-hg3456 ?

there is version 1.1 and 2.0 in http://users.alliedmods.net/~psychonic/builds/cbaseserver/

and in 1.1 there is 2 types of version

it is not very clear :/
Use the only one that's attached to the first post.

Quote:
Originally Posted by PlayBoy31 View Post
Then, do you have the possibility to add support for L4D1 please ? (yes there is players still playing this game ^^)
Won't happen. The L4D/2 engine is different. It's been tried before and it didn't work. I didn't really care to dig into why. Someone else is free to have a crack at it if they want.
psychonic is offline
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 12-21-2011 , 09:59   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #915

Thanks for your reply
PlayBoy31 is offline
chuj
Member
Join Date: Jan 2012
Location: Kraków, Poland
Old 01-28-2012 , 06:58   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #916

hi, it doesn't work for me with sourcebans - it only works for admins from admin_simple.ini, looks like admins from admins.cfg+admin_groups.cfg doesn't work ("Server is full").
chuj is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 01-28-2012 , 15:21   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #917

threaded SQL requests are too slow for the plugin, unfortunately, admins.cfg should work though

Last edited by Jamster; 01-28-2012 at 15:23.
Jamster is offline
chuj
Member
Join Date: Jan 2012
Location: Kraków, Poland
Old 01-29-2012 , 05:26   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #918

So if I use only admin.cfg (without admin_groups.cfg), and add flags per user (not groups) in sourcebans it should work?
chuj is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 01-29-2012 , 12:10   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #919

If your reserved/admins are in any of the regular files (admins_simple.ini and/or admins/groups.cfg) it should work fine, it's possible your .cfg(s) is/are not setup right? If you post it someone may be able to correct it for you (remove any info you don't want people to see, naturally).

Last edited by Jamster; 01-29-2012 at 12:10.
Jamster is offline
chuj
Member
Join Date: Jan 2012
Location: Kraków, Poland
Old 01-29-2012 , 15:18   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #920

Well, I will post my .cfg files (they are updating froum sourcebans database):
admins.cfg:

xxx

It doesn't work for reserved slots even if I set z flag, or any other flags.
But if I set SteamID + any flag in admins_simple.ini it works

Last edited by chuj; 10-02-2012 at 12:06.
chuj is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode