Meachamp / gmodws

GMPublish functionality without graphical steam
26 stars 5 forks source link

GLIBCXX_3.4.26 #6

Closed ApertureDevelopment closed 4 years ago

ApertureDevelopment commented 4 years ago

Heyo again, today was the first time I needed your GModWS again, and I got the following error: ./gmodws: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./gmodws)

I am using Debian 10 buster, and I think the g++ package hasn't been updated for debian yet

ApertureDevelopment commented 4 years ago

I also can't compile it myself as it seems

Meachamp commented 4 years ago

gmodws.zip Here's a version compiled on an older system. Also fixed compiling on other g++ versions a bit, so you could try that again if you need to.

ApertureDevelopment commented 4 years ago

While it seemed to work, no new change has been published to the workshop

Here is the GModWS log:

[13:35:22] :     [Step 3/3] Loaded.
[13:35:22]W:     [Step 3/3] CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
[13:35:22]W:     [Step 3/3] CAppInfoCacheReadFromDiskThread took 227 milliseconds to initialize
[13:35:23]W:     [Step 3/3] /data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
[13:35:23]W:     [Step 3/3] /data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
[13:35:23] :     [Step 3/3] /data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
[13:35:23]W:     [Step 3/3] steamp2pvoice.cpp (161) : Assertion Failed: s_libVideoFuncs.InitFunctions( LIBVIDEO_LIBRARY_NAME )
[13:35:23] :     [Step 3/3] Failed to init SDL priority manager: SDL not found
[13:35:23] :     [Step 3/3] Failed to set thread priority: per-thread setup failed
[13:35:23] :     [Step 3/3] Failed to set thread dynamic priority: setpriority failed -1
[13:35:23] :     [Step 3/3] Failed to set thread priority: set failed for priority 8
[13:35:23] :     [Step 3/3] Failed to set thread priority: per-thread setup failed
[13:35:23] :     [Step 3/3] Failed to set thread dynamic priority: setpriority failed -1
[13:35:23] :     [Step 3/3] Failed to set thread priority: set failed for priority 8
[13:35:23] :     [Step 3/3] CHIDDeviceListSDL(): Couldn't load libSDL2-2.0.so.0, not enumerating devices
[13:35:23] :     [Step 3/3] Failed to set thread priority: per-thread setup failed
[13:35:23] :     [Step 3/3] Failed to set thread priority: per-thread setup failed
[13:35:23] :     [Step 3/3] /data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
[13:35:23]W:     [Step 3/3] sh: 1: /home/teamcity-agent/gmod/gmodws/../ubuntu12_64/gldriverquery: not found
[13:35:23] :     [Step 3/3] steamp2pvoice.cpp (161) : Assertion Failed: s_libVideoFuncs.InitFunctions( LIBVIDEO_LIBRARY_NAME )
[13:35:23] :     [Step 3/3] Loaded client id: >REMOVED<
[13:35:23] :     [Step 3/3] Listening for IPv4 broadcast on: 27036
[13:35:23] :     [Step 3/3] Listening for connections on: 0.0.0.0:27036
[13:35:23] :     [Step 3/3] Trying logon state....
[13:35:23] :     [Step 3/3] STEAMID:76561198090797684
[13:35:23]W:     [Step 3/3] sh: 1: /home/teamcity-agent/gmod/gmodws/../ubuntu12_32/gldriverquery: not found
[13:35:24] :     [Step 3/3] Opted-in Controller Mask for AppId 0: 0
[13:35:24] :     [Step 3/3] Logged in.
[13:35:24] :     [Step 3/3] Starting Item Update.
[13:35:24] :     [Step 3/3] Setting Item Content.
[13:35:24] :     [Step 3/3] Submitting item update.
[13:35:24] :     [Step 3/3] 
[13:35:24] :     [Step 3/3] Item update complete.
[13:35:26] :     [Step 3/3] CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 21 items discarded.
[13:35:26] :     [Step 3/3] CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 239 items discarded.
[13:35:26] :     [Step 3/3] Exiting workitem thread
ApertureDevelopment commented 4 years ago

I tried Both, a self compiled version and your pre-compiled one. Neither published a new update to the workshop

Meachamp commented 4 years ago

gmodws.zip I've added some more debug magic to figure this one out. Try this version, and I'll try to get the functionality rolled in to the main release soon. Sorry for all the trouble this has caused!

ApertureDevelopment commented 4 years ago

Now it worked, but I created a new addon for testing this because I can't always try to update a released addon

./gmodws captain1342 2091891205 ./addon.gma "Test"
Loaded.
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
/data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
/data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
Warning: failed to init SDL thread priority manager: SDL not found
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
CHIDDeviceListSDL(): Couldn't load libSDL2-2.0.so.0, not enumerating devices
/data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
/data/src/public/tier1/interface.h (264) : Assertion Failed: m_pModule
/data/src/clientdll/steamp2pvoice.cpp (161) : Assertion Failed: s_libVideoFuncs.InitFunctions( LIBVIDEO_LIBRARY_NAME )
/data/src/clientdll/steamp2pvoice.cpp (161) : Assertion Failed: s_libVideoFuncs.InitFunctions( LIBVIDEO_LIBRARY_NAME )
CAppInfoCacheReadFromDiskThread took 1109 milliseconds to initialize
IUGC: 0x557f24116520
Set CCheckCallback
Setting Creds: >removed<
sh: 1: /home/teamcity-agent/testing/../ubuntu12_64/gldriverquery: not found
Loaded client id: >removed<
Listening for IPv4 broadcast on: 27036
Listening for connections on: 0.0.0.0:27036
Trying logon state....
Opted-in Controller Mask for AppId 0: 0
STEAMID:76561198090797684
sh: 1: /home/teamcity-agent/testing/../ubuntu12_32/gldriverquery: not found
sh: 1: /home/teamcity-agent/testing/../ubuntu12_64/vulkandriverquery: not found
Logged in.
Starting Item Update.
Update handle: 15788962463425624645
Absolute path: "/home/teamcity-agent/testing/./addon.gma"
Setting Item Content.
Submitting item update.
Call Result: 15788962463425624645
Received broadcast message from client 1006914207732385613 (WIN10PRO-APDEV): 1006914207732385613:27036
Progress: 100%
pbFailed: 0
CallResultStatus: 1
m_eResult: 1
m_bUserNeedsToAcceptWorkshopLegalAgreement: 0
IsAPICallCompleted Result: 0
Item update complete.
Exiting workitem thread
ApertureDevelopment commented 4 years ago

Well there is one thing I did different, I used the Steamclient.so from the steamcmd instead of the shipped one

Meachamp commented 4 years ago

That one definitely did work, yeah. The new steamclient.so won't make a difference right now, but updating it in the future could break as vtables change. See what you get with your current addon. Particularly I'm interested in m_eResult.

ApertureDevelopment commented 4 years ago

I already updated the addon using the beta built you gave me, now it worked

Meachamp commented 4 years ago

I've added a release with error handling improvements and linked against an older version of glibc, so that should hopefully resolve the issues you've been having.