The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Segmentation fault after configuration screens [SOLVED]
SirAlaran Offline
Junior Member

Posts: 1
Threads: 1
Joined: Sep 2010
Reputation: 0
#1
Solved: 8 Years, 1 Month, 3 Weeks ago Segmentation fault after configuration screens [SOLVED]

Hello. I ran into a somewhat nasty bug, which I solved myself. I've created this thread to share the fix with everyone. Note. This applies to the 64-bit Linux version. It may or may not apply to the 32-bit Linux version.

Symptoms:
  1. The Frictional Games logo doesn't show up when you first start the game.
  2. The screens that give you an introduction to the game and ask you to adjust the gamma settings have no background images.
  3. The game segfaults after you click through the intro screens.
  4. You get a backtrace from GDB similar to the one below:
Backtrace:
#0  0x00000000008585f0 in hpl::cGuiGfxElement::GetImageSize() ()
#1  0x00000000007a15cc in cLuxLoadScreenHandler::DrawMenuScreen() ()
#2  0x0000000000923abd in hpl::cUpdater::SetContainer(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#3  0x00000000006dfddc in cLuxPreMenu::Update(float) ()
#4  0x0000000000924737 in hpl::cUpdater::RunMessage(hpl::eUpdateableMessage, float) ()
#5  0x000000000092548b in hpl::cEngine::Run() ()
#6  0x00000000006880e0 in hplMain(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#7  0x0000000000910aa9 in main ()
hpl.log entry:
ERROR: Texture manager Couldn't load bitmap '/home/alaran/games/Amnesia/graphics/general/menu_loading_screen.jpg'
ERROR: Could not load texture 'menu_loading_screen.jpg'!

Solution
Copy your system's IL library over the one in installDirectory/Amnesia/libs64/libIL.so.1. In my case it was located at /usr/lib/libIL.so.1.1.0. Once you do this, the game should start.
09-20-2010, 06:11 AM
Find


Messages In This Thread
Segmentation fault after configuration screens [SOLVED] - by SirAlaran - 09-20-2010, 06:11 AM



Users browsing this thread: 1 Guest(s)