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

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 01-28-2021 , 11:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #821

On windows by the way also crash. If there is any plugin that uses dhooks, the server will not start. If you just start dhooks using autoload, then the server starts.
__________________
Accelerator is online now
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 01-28-2021 , 11:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #822

Quote:
Originally Posted by Peace-Maker View Post
Oh, I didn't mean to link STL dynamically. Please have a try with this binary, which is compiled using -static-libstdc++ against SM1.10.
The server won't even start. Accelerator fails to create a crash dump but there is no error already)

Code:
---- Host_NewGame ----
maxplayers set to 32
Host_NewGame on map c1m1_hotel
./srcds_run: line 341: 11238 Segmentation fault      $HL_CMD
__________________

Last edited by Accelerator; 01-28-2021 at 11:03.
Accelerator is online now
MasterMe
Member
Join Date: Mar 2010
Location: Netherlands
Old 01-28-2021 , 11:11   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #823

Ah yes, you are right. I see the bundled libstdc++ only has up through 3.4.16, which is GCC 4.6.1 from 2011. I guess Valve never updated after doing the initial porting back then.

The newer libstdc++ is backwards compatible, so deleting the Valve supplied ones will indeed fix that.

Code:
./bin/libstdc++.so.6
./bin/dedicated/libstdc++.so.6
@Peace-Maker Could you update the release post to indicate these files should be removed? Or perhaps include bundled newer versions from for example Debian i386 architecture https://packages.debian.org/buster/libstdc++6? Thanks.

Edit: I see all the new posts now, will await a bit.

Edit 2: Replacing libs does not work, possibly it's a odd or patched version or there are some other special requirements. Tried replacing with libstdc++ and libgcc_s i386 from system. Result is segmentation fault as posted above.
__________________

Last edited by MasterMe; 01-28-2021 at 11:21.
MasterMe is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-28-2021 , 12:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #824

I can't reproduce those crashes. Could you manually attach a debugger and post a full backtrace of the crash please?

Edit: nevermind, the problem was in the gamedata "Functions" section parser. I'll reupload the packages, hoping there aren't too many people who already upgraded.
__________________

Last edited by Peace-Maker; 01-28-2021 at 12:18.
Peace-Maker is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 01-28-2021 , 12:17   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #825

Quote:
Originally Posted by Peace-Maker View Post
I can't reproduce those crashes. Could you manually attach a debugger and post a full backtrace of the crash please?
On Windows: dhooks.ext.dll + 0x6740

I'll try on Linux tomorrow.
__________________
Accelerator is online now
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-28-2021 , 12:46   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #826

Quote:
Originally Posted by Accelerator74 View Post
On Windows: dhooks.ext.dll + 0x6740

I'll try on Linux tomorrow.
I was able to reproduce it and reuploaded the release.
__________________
Peace-Maker is offline
MasterMe
Member
Join Date: Mar 2010
Location: Netherlands
Old 01-30-2021 , 11:39   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #827

Quote:
Originally Posted by Peace-Maker View Post
Edit: nevermind, the problem was in the gamedata "Functions" section parser. I'll reupload the packages, hoping there aren't too many people who already upgraded.
I have tested it on Linux and can confirm it works properly with both new system libgcc_s and libstdc++ and also the old libraries bundled with the dedicated server. So seems fully resolved, thanks!
__________________
MasterMe is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 02-13-2021 , 17:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #828

Any idea when a Windows update will be released? The current version keeps crashing my servers.
DeathMaster is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-13-2021 , 17:30   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #829

What's the problem? Do you have a crash trace / accelerator installed?
__________________
Peace-Maker is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 02-13-2021 , 19:02   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #830

yes I have accelerator installed
Sent you PM with links

Edit: I rolled back versions and now my issues went away.

Last edited by DeathMaster; 02-14-2021 at 23:11.
DeathMaster 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 13:46.


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