![]() |
Segmentation fault after configuration screens [SOLVED] - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html) +--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html) +---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html) +---- Thread: Segmentation fault after configuration screens [SOLVED] (/thread-4598.html) |
Segmentation fault after configuration screens [SOLVED] - SirAlaran - 09-20-2010 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:
Code: #0 0x00000000008585f0 in hpl::cGuiGfxElement::GetImageSize() () Code: ERROR: Texture manager Couldn't load bitmap '/home/alaran/games/Amnesia/graphics/general/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. RE: Segmentation fault after configuration screens [SOLVED] - Urkle - 09-20-2010 Actually that is not the best solution.. The issue there is that your system libJPEG is libjpeg8 which is not compatible with libjpeg62.. However your system symlinks libjpeg62 to your libjpeg8 implementation.. Thus lbIL won't open JPG files. A sideeffect of using a "newer" libIL is that some graphics do not load correctly due to a bug in libIL 1.7.8. you MUST use libIL 1.6.8 (Plus some patches to fix saving jpgs). The version of lib + patches we are using is based on the Fedore 9 RPM package. (DeviL-1.6.8-0.15.rc2.fc9.src.rpm). A cleaner solution is to simply symlink the included libjpeg62 into the main game libs folder (all the included libraries are in libs/all). In the upcoming patch I will simply force the use of the included libjpeg library. |