• Announcements

    • Spaff

      These Forums are closing!   10/04/2019

      After more than a decade of serving this community well, these forums have finally run their course and it's time to close them down. That doesn't mean we want to close the doors on our community, quite the opposite!
      Our discord server grows ever busier by the day, and we encourage all Double Fine fans to meet us over there www.discord.gg/doublefine In a short time these forums will become a read only archive and will remain that way until they become needed again.
      You never know, it might happen.  There is... a prophecy. Thank you all for being part of these forums, and remember that the fun is definitely not over - so please join us on Discord! Love ya, Spaff, Tim, Info Cow, and all of Double Fine.
Sign in to follow this  
DF Anna

Can’t Run Game [Linux Edition]

Recommended Posts

Just thought I'd add my "me too". Running Debian Wheezy with a quad AMD and a GTX 460.

Spanks!

Share this post


Link to post
Share on other sites

Same problem, I get "Segmentation fault". Before the 700MB update everything ran fine. Archlinux x64 with Intel 4400 graphics here.

Share this post


Link to post
Share on other sites

Hello,

Same problem here, SegFault after the big Update. (Archlinux X64, Macbook pro 13' 2012)

Share this post


Link to post
Share on other sites

One more person with the segfault issue. It was also running fine for me before. I was pleasantly surprised (when it was running) as my laptop is pretty lightweight. It was nice I could play it before I do my next upgrade.

Share this post


Link to post
Share on other sites

OK, I got the segfault people have been discussing, so (before I looked at the forum and realised it was a common problem) I deleted the whole game from Steam and re-installed it, and now I'm not getting a segfault at all, I'm getting:


$ ./run.sh 

mkdir: cannot create directory ‘lib’: File exists

./BrokenAge: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

It turns out this is because "run.sh" tries to make symlinks in the lib directory and screws things up: it creates a symlink named "lib/libSDL2-2.0.so.0" which links to "./lib/libSDL2-2.0.so.0.0.0", which means that applications wind up looking for "lib/./lib/libSDL2-2.0.so.0.0.0" which obviously doesn't exist. This fixes it:


--- run.sh-orig    2014-01-27 13:44:05.339009057 +1100

+++ run.sh    2014-01-27 13:48:52.407792603 +1100

@@ -5,10 +5,10 @@

fi



if [ ! -f ./lib/libSDL2.so ]; then

-   ln -s ./lib/libSDL2-2.0.so.0.0.0 ./lib/libSDL2.so

+   ln -sf libSDL2-2.0.so.0.0.0 ./lib/libSDL2.so

fi

if [ ! -f ./lib/libSDL2-2.0.so.0 ]; then

-   ln -s ./lib/libSDL2-2.0.so.0.0.0 ./lib/libSDL2-2.0.so.0

+   ln -sf libSDL2-2.0.so.0.0.0 ./lib/libSDL2-2.0.so.0

fi



LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib ./BrokenAge $1

\ No newline at end of file

As for the segfault, just in case this helps:


$ LD_LIBRARY_PATH=$PWD/lib gdb ./BrokenAge 

[...]

[New Thread 0xf779cb40 (LWP 29340)]

[New Thread 0xf255db40 (LWP 29341)]

[Thread 0xf255db40 (LWP 29341) exited]

[New Thread 0xf255db40 (LWP 29342)]

[New Thread 0xf655eb40 (LWP 29343)]



Program received signal SIGSEGV, Segmentation fault.

0x00000000 in ?? ()

(gdb) bt

#0  0x00000000 in ?? ()

#1  0x082d5f8f in MOAILuaClass::InitLuaFactoryClass (this=0x89fff78, data=..., 

   state=...)

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/MOAILuaObject.cpp:856

#2  0x08514f2a in MOAILuaFactoryClass::Register (this=0x89fff78)

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/MOAILuaObject-impl.h:73

#3  0x08513a80 in MOAICoroutine::RegisterLuaType ()

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/MOAICoroutine.h:55

#4  0x0851349c in moaicore::InitGlobals (globals=0x8a21238)

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/moaicore.cpp:109

#5  0x083d8de6 in AKUCreateContext ()

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/aku/AKU.cpp:143

#6  0x082b18c6 in GameRefreshContext (argc=4, argv=0xffffd6d0)

   at /dfp/burs/dfp-dfa-rc/Dfa/Code/Host-SDL/Src/SDLHost.cpp:1905

#7  0x082b17ca in GameHost (argc=4, argv_=0xffffd7e4)

   at /dfp/burs/dfp-dfa-rc/Dfa/Code/Host-SDL/Src/SDLHost.cpp:1772

#8  0x082b416f in SteamMain (argc=1, argv=0xffffd7e4)

   at /dfp/burs/dfp-dfa-rc/Dfa/Code/Host-SDL/Src/main.cpp:142

#9  0x082b4192 in main (argc=1, argv=0xffffd7e4)

   at /dfp/burs/dfp-dfa-rc/Dfa/Code/Host-SDL/Src/main.cpp:212

(gdb) up

#1  0x082d5f8f in MOAILuaClass::InitLuaFactoryClass (this=0x89fff78, data=..., 

   state=...)

   at /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/MOAILuaObject.cpp:856

856    /dfp/burs/dfp-dfa-rc/Common/Code/Moai/src/moaicore/MOAILuaObject.cpp: No such file or directory.

(gdb) info args

this = 0x89fff78

data = @0xffffd598: { = { = {_vptr.RTTIBase = 0x89b1ee8, 

     mRTTI = 0x87b61c4 , mThis = 0xfffffffe}, 

   mCanary = 0xfffffffe}, _vptr.MOAILuaObject = 0x89b1ee8, mContain = {

   mRef = 142303684}, mMemberTable = {mRef = -2, mOwnsRef = 254, mWeak = 255, 

   static STRONG_REF = false, static WEAK_REF = true}, mUserdata = {

   mRef = -11008, mOwnsRef = 254, mWeak = 255, static STRONG_REF = false, 

   static WEAK_REF = true}}

state = @0xffffd524: {

 _vptr.MOAILuaState = 0x87509e0 , 

 mState = 0x89f0448}

(gdb) info locals

top = 0

Share this post


Link to post
Share on other sites

Same problem here, game no longer runs after last update. I have exactly the same stack trace as Screwtape (after fixing the libSDL2.so links).

I'm running kubuntu 13.10 64 bits.

Now, if you guys would be so very kind to provide the source, I could perhaps try to write a patch... :P

Share this post


Link to post
Share on other sites

Hey guys. We are really sorry for this and are fixing the problem right now. We'll patch as soon as we found a solution.

Thanks for your patience.

Share this post


Link to post
Share on other sites
Just in case it's helpful here's a complete backtrace with locals and threads. I wanted to add is an an attachment but text files don't seem to be allowed (which is rather stupid if you ask me).

http://pastebin.com/RXTtj15g

Super helpful! Thanks dude.

Share this post


Link to post
Share on other sites

I do hope you had some relaxation time this weekend, Oliver, but I'm glad you're back on the case. Thanks so much for all of the hard work, DF!

Share this post


Link to post
Share on other sites

Okay this issue should now be resolved. Please let us know if you are still having trouble running the game.

Sorry again for the inconvenience.

Share this post


Link to post
Share on other sites

Ditto here. Thanks for supporting us. I know that supporting a whole different OS can be though, and we linux guys are still a small market. I hope it evens out that we are more than willing to fire debuggers and send stack traces.

Share this post


Link to post
Share on other sites

Update fixed the problem. Thank you so very much! Thank you for being so responsive, and for always treating Linux users so well.

Share this post


Link to post
Share on other sites
Sign in to follow this