protonscr

segmentation fault on libcurl.so from dedicated team fortress 2

steamclosed MOVED: Team Fortress 2
ValveSoftware/steam-for-linux#4780 · opened 2016-12-29 by joshuacox · updated 2019-07-18 · 5 comments · github
Jjoshuacox 2016-12-29 github

Your system information

  • Steam client version: NA
  • Distribution (e.g. Ubuntu): Debian Stretch
  • Opted into Steam client beta?:No
  • Have you checked for system updates?: Yes

server.cfg

exec server_mvm

Steps for reproducing this issue:

  1. start up TF2 dedicated server with the above 'server_mvm' as the exec line in server.cfg
/tmp/dumps/assert_20161229120020_1.dmp                                                                                                                 
assert_20161229120020_1.dmp[984]: Finished uploading minidump (out-of-process): success = no                                                           
assert_20161229120020_1.dmp[984]: Finished uploading minidump (out-of-process): success = no                                                           
assert_20161229120020_1.dmp[984]: error: libcurl.so: cannot open shared object file: No such file or directory                                         
assert_20161229120020_1.dmp[984]: error: libcurl.so: cannot open shared object file: No such file or directory                                         
assert_20161229120020_1.dmp[984]: file ''/tmp/dumps/assert_20161229120020_1.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''                                                                                                                                       
assert_20161229120020_1.dmp[984]: file ''/tmp/dumps/assert_20161229120020_1.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''        
                                                                                                                               
Segmentation fault    

Which 'libcurl.so' is it looking for?

# apt-file search libcurl.so
cupt-dbg: /usr/lib/debug/usr/lib/cupt3-0/downloadmethods/libcurl.so
libcupt3-0-downloadmethod-curl: /usr/lib/cupt3-0/downloadmethods/libcurl.so
libcurl3: /usr/lib/x86_64-linux-gnu/libcurl.so.3
libcurl3: /usr/lib/x86_64-linux-gnu/libcurl.so.4
libcurl3: /usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
libcurl4-gnutls-dev: /usr/lib/x86_64-linux-gnu/libcurl.so
libcurl4-nss-dev: /usr/lib/x86_64-linux-gnu/libcurl.so
libcurl4-openssl-dev: /usr/lib/x86_64-linux-gnu/libcurl.so
Kkisak-valve maintainer 2016-12-29 github

Hello @joshuacox, the libcurl.so libraries you listed are all 64 bit while the dedicated server is looking for a 32 bit variant.

Note: resolving the missing libcurl.so may not fix the crash, in this context it should just let the server send the minidump to Valve.

Jjoshuacox 2016-12-29 github

which 32bit version should I install?

Kkisak-valve maintainer 2016-12-29 github

This is a guess, but I would try the 32 bit variants of one of the libcurl4 packages.

Jjoshuacox 2016-12-29 github

I went with libcurl4-gnutls-dev:i386 which did solve the libcurl issue,

Using map cycle file 'cfg/mapcycle.txt'.
Set motd from file 'cfg/motd_default.txt'.  ('cfg/motd.txt' was not found.)
Set motd_text from file 'cfg/motd_text_default.txt'.  ('cfg/motd_text.txt' was not found.)
Connection to game coordinator established.
tf_server_identity_account_id not set; not logging into registered account
assert_20161229170457_1.dmp[128]: Uploading dump (out-of-process)
/tmp/dumps/assert_20161229170457_1.dmp
assert_20161229170457_1.dmp[128]: Uploading dump (out-of-process)
/tmp/dumps/assert_20161229170457_1.dmp

Segmentation fault

debug.log is here https://gist.github.com/joshuacox/ea2c37ca2adb46b93a934827e0988f64

Jjoshuacox 2016-12-29 github

turned out it was me using the external ip as the +ip option, amongst other issues as well, still working it all out here: https://github.com/Thalhalla/tf2

Nothing extracted yet.