world of goo 1.41 crash

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
world of goo 1.41 crashanubisg110/18/2009 - 09:51

if i try to run "WorldOfGoo" i get that:

anubis@suse-laptop:~/Scrivania> WorldOfGoo
/usr/bin/WorldOfGoo: line 30:  4362 Segmentation fault      $BIN $@

It looks like World of Goo crashed! If you need support, please include the
contents of the log file in your problem report.
The log file is stored at: /home/anubis/.WorldOfGoo/WorldOfGoo.log

WorldOfGoo.log content is:

http://pastebin.com/m4d129e7e

running instead WorldOfGoo.bin32 i got:

http://pastebin.com/m5cb63599

with that log:
<br />[t=0.00] FileOpen("properties/config.txt", 17, 0xbfc67720) failed!<br />[t=0.00] Failed to read persistent data from "/home/anubis/.WorldOfGoo/pers2.dat"!<br />[t=0.00] Locale it_IT.UTF-8 matched to language it.<br />[t=0.00] Primary language: it<br />[t=0.00] could not load image "icons/128x128"<br />[t=0.00] Created 800x600 (32 bpp) graphics surface.<br />[t=0.00] Created virtual viewport of size 800(+0)x600(+0)<br />[t=0.00] Using audio driver: pulse<br />[t=0.00] resized from 800x600 to 800x600

more infos:

exporting the LD_LIBRARY_PATH i have:

anubis@suse-laptop:/opt/WorldOfGoo> export LD_LIBRARY_PATH=./libs32/:"$LD_LIBRARY_PATH"<br />anubis@suse-laptop:/opt/WorldOfGoo> ./WorldOfGoo.bin32 <br />Segmentation fault<br /><br />anubis@suse-laptop:/opt/WorldOfGoo> gdb --exec=./WorldOfGoo.bin32 <br />GNU gdb (GDB) SUSE (6.8.91.20090930-1.1)<br />Copyright (C) 2009 Free Software Foundation, Inc.<br />License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br />and "show warranty" for details.<br />This GDB was configured as "i586-suse-linux".<br />For bug reporting instructions, please see:<br /><http://www.gnu.org/software/gdb/bugs/>.<br />(gdb) r<br />Starting program: /opt/WorldOfGoo/WorldOfGoo.bin32 <br />[Thread debugging using libthread_db enabled]<br />Detaching after fork from child process 5314.<br /><br />Program received signal SIGSEGV, Segmentation fault.<br />0x000084d6 in ?? ()<br />(gdb) <br />

Re: world of goo 1.41 crashanubisg110/18/2009 - 10:03

using world wide SDL libraries ( /usr/lib/ecc)

the game starts (i need to cd /opt/WorldOfGoo or just remove export LD_LIBRARY_PATH=./libs32/:"$LD_LIBRARY_PATH" from main script)

i think the bug is on your version of libSDL

i hope i can provide you more infos.

Re: world of goo 1.41 crashSoultaker10/18/2009 - 10:47

Hmm, interesting. I'm not in a good position to fix anything, but maybe I can help debug this. (If nothing else, it might be useful to know what goes wrong in order to diagnose other problems.)

For starters, could you run md5sum /opt/WorldOfGoo/*bin* /opt/WorldOfGoo/libs*/*so* and post the output, to check if any of the binaries were corrupted?

What's in WorldOfGoo.log if you run with your system's libraries?

Re: world of goo 1.41 crashanubisg110/18/2009 - 10:53

sure.. here the infos you need:

anubis@suse-laptop:/opt/WorldOfGoo> md5sum /opt/WorldOfGoo/*bin* /opt/WorldOfGoo/libs*/*so*<br />6c4c959f4100ed255020947fe9643f58  /opt/WorldOfGoo/WorldOfGoo.bin32<br />fadc9d96c740467c7368a503b598bb4b  /opt/WorldOfGoo/WorldOfGoo.bin64<br />cfb65d4057a6239839da524bd4de01fb  /opt/WorldOfGoo/libs32/libogg.so.0<br />f38b9c2f26ad675b19f5da77a81fade6  /opt/WorldOfGoo/libs32/libSDL-1.2.so.0<br />87bd89814d769249551b54cc72bceb2e  /opt/WorldOfGoo/libs32/libSDL_mixer-1.2.so.0<br />83ad263879e2db9554bba9567c49ff4d  /opt/WorldOfGoo/libs32/libvorbisfile.so.3<br />042f8592b22db7f06fec22c595680690  /opt/WorldOfGoo/libs32/libvorbis.so.0<br />19b6aab54084e64d213d51b392842100  /opt/WorldOfGoo/libs64/libogg.so.0<br />31bbad5dca653c97b55b47cfeed91c7f  /opt/WorldOfGoo/libs64/libSDL-1.2.so.0<br />dd312ced38dc000b6a795871d10e2588  /opt/WorldOfGoo/libs64/libSDL_mixer-1.2.so.0<br />fa10ab848369a2a984d9b1afd84d4f4c  /opt/WorldOfGoo/libs64/libvorbisfile.so.3<br />7713bde8c2d5154d1d4a0a0a53da9f3b  /opt/WorldOfGoo/libs64/libvorbis.so.0<br /><br /><br />[t=0.00] Failed to read persistent data from "/home/anubis/.WorldOfGoo/pers2.dat"!<br />[t=0.00] Locale it_IT.UTF-8 matched to language it.<br />[t=0.00] Primary language: it<br />[t=0.00] Created 800x600 (32 bpp) graphics surface.<br />[t=0.00] Created virtual viewport of size 800(+0)x600(+0)<br />[t=0.00] Using audio driver: alsa<br />[t=0.00] resized from 800x600 to 800x600<br />[t=0.00] loading game (version 1.41linux)...<br />[t=0.13] could not load image "res/images/flags/xx"<br />[t=0.63] Game paused...<br />[t=0.63] FileOpen("res/levels/MapWorldView/newmail.anim.binltl", 17, 0xb3210ef4) failed!<br />[t=0.63] FileOpen("res/levels/MapWorldView/MapWorldView/rot_1rps.anim.binltl", 17, 0xb3210ef4) failed!<br />[t=0.63] Game resumed after 0.286 seconds<br />[t=3.52] loading game complete.<br />[t=3.52] FileOpen("res/levels/IslandUi/newmail.anim.binltl", 17, 0xbfc3f854) failed!<br />[t=3.54] STATE TRANSITION: INIT --> WORLD (after 4 sec)<br />[t=5.00] fps=49.8 ups=50.0<br />[t=10.00] fps=50.0 ups=50.0<br />[t=11.03] TotalRunningTime = 13 seconds<br />[t=11.03] ----- destroying scene factory: -----<br />[t=11.03] -------------------------------------<br />[t=11.03] ----- destroying movie factory: -----<br />[t=11.03]        releasing movie 'levelinfotransition_out' refcount=1<br />[t=11.03]        releasing movie 'gooTransition_loop' refcount=1<br />[t=11.03]        releasing movie 'levelFadeOut' refcount=1<br />[t=11.03]        releasing movie 'gooTransition_in' refcount=1<br />[t=11.03]        releasing movie 'signpostDlg_in' refcount=1<br />[t=11.03]        releasing movie 'signpostDlg_loop' refcount=1<br />[t=11.03]        releasing movie 'levelinfotransition_main' refcount=1<br />[t=11.03]        releasing movie 'levelinfotransition_in' refcount=1<br />[t=11.03]        releasing movie 'gooTransition_out' refcount=1<br />[t=11.03]        releasing movie 'signpostDlg_flipin' refcount=1<br />[t=11.03]        releasing movie 'signpostDlg_flipout' refcount=1<br />[t=11.03]        releasing movie 'signpostDlg_out' refcount=1<br />[t=11.03]        releasing movie 'signpostDlgIsh_in' refcount=1<br />[t=11.03]        releasing movie 'signpostDlgIsh_loop' refcount=1<br />[t=11.03]        releasing movie 'signpostDlgIsh_flipin' refcount=1<br />[t=11.03]        releasing movie 'signpostDlgIsh_flipout' refcount=1<br />[t=11.03]        releasing movie 'signpostDlgIsh_out' refcount=1<br />[t=11.03]        releasing movie 'eol_1_in' refcount=1<br />[t=11.03]        releasing movie 'eol_2_fillwait' refcount=1<br />[t=11.03]        releasing movie 'eol_2.5_statsin' refcount=1<br />[t=11.03]        releasing movie 'eol_3_handleup' refcount=1<br />[t=11.03]        releasing movie 'eol_4_waitclick' refcount=1<br />[t=11.03]        releasing movie 'eol_5_handlepull' refcount=1<br />[t=11.03]        releasing movie 'eol_6_travel' refcount=1<br />[t=11.03]        releasing movie 'eol_7_islandin' refcount=1<br />[t=11.03]        releasing movie '2dboyLogo' refcount=1<br />[t=11.03]        releasing movie 'MomTextSwap_displayloop' refcount=1<br />[t=11.03]        releasing movie 'MomTextSwap_swap' refcount=1<br />[t=11.03] -------------------------------------<br />[t=11.03] InhibitGnomeScreensaver destructor: killing child process 22744...<br />

Re: world of goo 1.41 crashSoultaker10/18/2009 - 11:21

Thanks! All of this looks fine. The executables (WorldOfGoo.bin{32,64}) seem to be different than in the other packages, but this is probably caused by the package building. Just to be 100% sure that this difference is harmless, you could try extracting the .tar.gz and see if that has the same problems. (But I suspect it does.)

So then it boils down to what you already suspected: one of the bundled libraries doesn't work properly on your system. If it works for you, you could empty the libs32 directory entirely and system libraries instead. Or try renaming the libraries one by one to pinpoint which one exactly breaks things.

Re: world of goo 1.41 crashanubisg110/18/2009 - 12:24

as you sed also tar.gz do not work...

the problem looks to be related into

libSDL-1.2.so.0

once i renamed it, the game starts, but crasch again... that probably becuase of that:

[t=0.00] SDL_SetVideoMode(800, 600, 0, 2684354562) failed: Failed loading libGL.so.1

on what i know that's probably caused by libs32/libSDL_mixer-1.2.so.0 that is NOT compiled on the system wide /usr/lib/libSDL-1.2.so.0

infact, if i rename libSDL_mixer-1.2.so.0 so that should not be used (and the system wide one is used instead) it complain no more about it, but still crasch.

it crash with that debug output:

(gdb) r<br />Starting program: /home/anubis/Scaricati/WorldOfGoo/WorldOfGoo.bin32 <br />[Thread debugging using libthread_db enabled]<br />Detaching after fork from child process 29455.<br /><br />Program received signal SIGSEGV, Segmentation fault.<br />__cxa_finalize (d=0xb67e4220) at cxa_finalize.c:44<br />44 cxa_finalize.c: No such file or directory.<br /> in cxa_finalize.c<br />

Re: world of goo 1.41 crashanubisg110/18/2009 - 12:28

the crash do not happend if i rename

libvorbis.so.0


mmmm...

that's interesting...

renaming libvorbis.so.0 and using all the others original libs provided by wog, no crash happend...

the wrong lib looks to be that one

Re: world of goo 1.41 crashanubisg110/18/2009 - 12:30

ok.. i can confirm that... the broken lib is libvorbis.so.0

Re: world of goo 1.41 crashSoultaker10/18/2009 - 13:54

So to summarize: if you rename/remove libvorbis.so.0 from the libs32 directory, and leave all the other files as they are, the game runs correctly for you?

Re: world of goo 1.41 crashanubisg110/18/2009 - 15:30

[quote author=Soultaker link=topic=2113.msg14694#msg14694 date=1255892067]
So to summarize: if you rename/remove libvorbis.so.0 from the libs32 directory, and leave all the other files as they are, the game runs correctly for you?




exactly

Re: world of goo 1.41 crashyoho10/25/2009 - 08:00

Same problem here running Mandriva Cooker (future 2010.0). The system-wide libs are ok, but using the WoG-provided ones makes the game crash at startup.

Re: world of goo 1.41 crashanubisg110/25/2009 - 08:57

[quote author=yoho link=topic=2113.msg14903#msg14903 date=1256475652]
Same problem here running Mandriva Cooker (future 2010.0). The system-wide libs are ok, but using the WoG-provided ones makes the game crash at startup.


just to confirm here, can you try to delete/rename the package lib libvorbis.so.0?

that will allow you to use all package libs excluding the broken one (that should be libvorbis.so.0) that instead will we "world wide"

Re: world of goo 1.41 crashyoho10/25/2009 - 12:37

I've tried this : WoG doesn't crash anymore but I have no sound. I don't know which libogg and libvorbis is shipped with WoG. My versions are : libogg 1.1.4, libvorbis 1.2.3

Re: world of goo 1.41 crashSoultaker10/26/2009 - 14:06

Hmm, this is still pretty strange. Could you try replacing the existing files in /opt/WorldOfGoo/libs32 with the updated versions here and see if that fixes it? (anubisg1: could you give this a try as well?)

Re: world of goo 1.41 crashanubisg110/26/2009 - 18:35

[quote author=Soultaker link=topic=2113.msg14945#msg14945 date=1256584011]
Hmm, this is still pretty strange. Could you try replacing the existing files in /opt/WorldOfGoo/libs32 with the updated versions here and see if that fixes it? (anubisg1: could you give this a try as well?)


looks such libs fix the issue. ;)

btw.. i red the startscript, there is a small bug...

you should change:

export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"

to

export LD_LIBRARY_PATH="$LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

please refer here: http://stick.gk2.sk/blog/2009/10/wrong-usage-of-ld_library_path/

for a deeper axplanation

Re: world of goo 1.41 crashSoultaker10/26/2009 - 18:56

Great, thanks for testing! I hope this works for yoho as well. Then I'm inclined to say this was a bug in libogg 1.1.3 or libvorbis 1.2.0 which was fixed in version 1.1.4 or 1.2.3 (respectively). (Phew, not my fault! Although this is the downside of shipping libraries with the game...)

Quote:
btw.. i red the startscript, there is a small bug...
you should change:
export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"
to
export LD_LIBRARY_PATH="$LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

Hmm, that's a good point. I hadn't expected an empty string to refer to the current directory. It's not a problem in this case because the launcher script sets the current working directory first (so if the game was installed properly, there are no libraries to load there) but it's a good thing to remember anyway. Thanks! :)

Re: world of goo 1.41 crashyoho10/27/2009 - 15:54

Yes these libs fix the problem ! I hope they'll appear in a next patch, thanks :D

Re: world of goo 1.41 crashSoultaker11/08/2009 - 12:41

Please continue discussion of this issue here: Game not starting on Mandriva 2010.