MaTachi. LINUX + BITCOIN Jul 21, 2013 @ 2:18pm
[SOLVED] Segmentation fault when starting the game on Linux
When I try to start the game I'm getting the following error:

Loading library ./lib/32/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
/home/matachi/.local/share/Steam/SteamApps/common/The Book of Unwritten Tales/bout.sh: line 8: 3261 Segmentation fault (core dumped) LD_LIBRARY_PATH=$BASE_LIB_PATH/$BITS/:$LD_LIBRARY_PATH $BASE_BIN_PATH/$BITS/$EXE_NAME
Game removed: AppID 215160 "The Book of Unwritten Tales", ProcID 3260

(steam:3104): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3104): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.


It's weird because the game ran fine earlier today. I have tried to reboot but that didn't help, and I also reinstalled the game without any luck. What could possibly be the error and how do I fix it?
Last edited by MaTachi. LINUX + BITCOIN; Jul 22, 2013 @ 6:57am
Showing 1-2 of 2 comments
< >
MaTachi. LINUX + BITCOIN Jul 22, 2013 @ 6:56am 
Today I got the following error instead:


MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library ./lib/32/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 20 (RRGetCrtcInfo)
Crtc id in failed request: 0x0
Serial number of failed request: 23
Current serial number in output stream: 23
Game removed: AppID 215160 "The Book of Unwritten Tales", ProcID 2183

(steam:2061): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2061): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2061): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.



But I managed to "fix" it! Since I'm running dual monitor, I typically turn my secondary monitor off through xrandr in the terminal. However, that is apparently not enough for running this game. My primary monitor also has to explicity be set to primary through xrandr.

The two xrandr commands:
xrandr --output DVI-D-0 --off
xrandr --output DVI-I-1 --primary
TheMechanist Jul 10 @ 12:05am 
Please note this error can also happen if your not using a dual monitor setup. The error message will look very similar to the one above (I don't have mine anymore).
This is related to a bug in the package "ubuntu-drivers-common". At least in Ubuntu 14.04 with the prop. NV drivers.
You will notice it by running "xrandr -q" and finding another active monitor, even though this device isn't connected. It can't be disabled by xrandr and therefore the game crashes each time, because it will try to run on the ghost VGA monitor.
Solution is to install a fix from the proposed source. A detailed instruction from the fix creators with all necessary information can be found here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1296020/comments/35
Another bug concerning the crash of the game when try to go to the Settings is fixed by a user compiled library. For more info look here:
Originally posted by Jafinto:
I can reproduce this issue. System info at the bottom of this page.

If I replace the RenderSystem_GL.so with one that I compiled[dl.dropbox.com] myself (taken from the Ubuntu 12.04 package source), I can access the settings menu. Note: I do not recommend running libraries one has downloaded from the internet.

*zip*
I hope this does help some people.
I currently have it working flawless up to chapter 3 (haven't played further) with nvidia-331 with using prime-select nvidia (Geforce GT540K).
It really sucks that those quite common bugs are not fixed, at least the "Settings" bug :/
Showing 1-2 of 2 comments
< >
Per page: 15 30 50