Page 1 of 1

[0.15.28] Steam Version Factorio segfaults on loading [Curl init]

Posted: Wed Jul 12, 2017 10:24 am
by k0user

Code: Select all

k@netrisk:~/workspace/libexcept/src$ uname -a
Linux netrisk 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

k@netrisk:~/workspace/libexcept/src$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

Code: Select all

k@netrisk:~/.steam/steam/steamapps/common/Factorio/bin/x64$ valgrind ./factorio                                                                                                                          [304/1870]
==29023== Memcheck, a memory error detector
==29023== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==29023== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==29023== Command: ./factorio
==29023== 
==29023== Invalid read of size 8
==29023==    at 0xFD6B40: err_string_data_LHASH_COMP (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD5A49: getrn (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD5CF1: lh_insert (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD7146: int_err_set_item (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD6B93: err_load_strings (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD734A: ERR_load_ERR_strings (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xFD82E8: ERR_load_crypto_strings (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xF90428: SSL_load_error_strings (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xF54A49: Curl_ossl_init (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xF425F2: global_init (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==    by 0xCEE989: CurlInitializer (Downloader.cpp:14)
==29023==    by 0xCEE989: __static_initialization_and_destruction_0(int, int) [clone .constprop.70755] (Downloader.cpp:18)
==29023==    by 0x11D376C: __libc_csu_init (in /home/k/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio)
==29023==  Address 0x8f9afa0 is not stack'd, malloc'd or (recently) free'd
running game under steam

Re: [0.15.28] Steam Version Factorio segfaults on loading [Curl init]

Posted: Thu Jul 13, 2017 6:54 am
by k0user
Hi again. I found out that libcurl was initializing openssl, and the last one was loading engine with plugins. I turned off all plugins (like gost, etc) and now it's working. FIY.
thanks a lot

please close this topic

Re: [0.15.28] Steam Version Factorio segfaults on loading [Curl init]

Posted: Thu Jul 13, 2017 11:48 am
by posila
Hi, I am glad you were able to figure it out. I moved the thread to technical help, so if anyone has the same issue they can find it.