Trouble getting Gargoyle to run on openSUSE 13.1

46 views
Skip to first unread message

Karl Ove Hufthammer

unread,
Nov 24, 2013, 5:33:57 AM11/24/13
to gargl...@googlegroups.com
Dear list members,

I have just upgraded from openSUSE 12.3 to 13.1, and find
that Gargoyle doesn’t run anymore. I have compiled the
latest SVN version (after deleting the build folder),
and the compilation seems to work, but when I try to run
a game, I get these error messages:

*** Error in `bocfel': double free or corruption (out): 0x00000000020f9a10 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7410f)[0x7fe0f590f10f]
/lib64/libc.so.6(+0x7996e)[0x7fe0f591496e]
/lib64/libc.so.6(+0x7a647)[0x7fe0f5915647]
/usr/lib64/libSDL_mixer-1.2.so.0(+0xd8df)[0x7fe0f4fd08df]
/usr/lib64/libSDL_mixer-1.2.so.0(+0xc1f9)[0x7fe0f4fcf1f9]
/usr/lib64/libSDL_mixer-1.2.so.0(Mix_OpenAudio+0x8d)[0x7fe0f4fcddad]
/home/huftis/utvikling/gargoyle/svn/garglk-read-only/build/dist/libgarglk.so(gli_initialize_sound+0x7a)[0x7fe0f85e19fa]
/home/huftis/utvikling/gargoyle/svn/garglk-read-only/build/dist/libgarglk.so(gli_startup+0xab)[0x7fe0f85dfe8b]
bocfel[0x4026fc]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fe0f58bcbe5]
bocfel[0x402751]
======= Memory map: ========
00400000-00416000 r-xp 00000000 00:21 751373 /home/huftis/utvikling/gargoyle/svn/garglk-read-only/build/dist/bocfel
00616000-00617000 r--p 00016000 00:21 751373 /home/huftis/utvikling/gargoyle/svn/garglk-read-only/build/dist/bocfel
00617000-00618000 rw-p 00017000 00:21 751373 /home/huftis/utvikling/gargoyle/svn/garglk-read-only/build/dist/bocfel
00618000-0067f000 rw-p 00000000 00:00 0
01efa000-023b6000 rw-p 00000000 00:00 0 [heap]
7fe0d0000000-7fe0d0021000 rw-p 00000000 00:00 0
7fe0d0021000-7fe0d4000000 ---p 00000000 00:00 0
7fe0d7fff000-7fe0dc000000 rw-s 00000000 00:0f 41899 /dev/shm/pulse-shm-2215082532
7fe0dc000000-7fe0dc021000 rw-p 00000000 00:00 0
7fe0dc021000-7fe0e0000000 ---p 00000000 00:00 0
7fe0e2e78000-7fe0e2e79000 ---p 00000000 00:00 0
7fe0e2e79000-7fe0e3679000 rw-p 00000000 00:00 0 [stack:5291]
7fe0e3679000-7fe0e37ff000 r--p 00000000 08:01 1191419 /usr/share/fonts/truetype/CharisSILBI.ttf
[… lots of similar error messages …]

This is for a .z8 game. For .blb and .tads games I get similar error messages,
but with ’bocfel’ replaced by other interpreter binaries.

This is on a 64-bit system, but I get similar error messages on a 32-bit system.

Any ideas what’s wrong, and how to fix it?

--
Karl Ove Hufthammer

Chris Spiegel

unread,
Nov 25, 2013, 4:36:01 PM11/25/13
to gargl...@googlegroups.com
On 11/24/2013 02:33 AM, Karl Ove Hufthammer wrote:
> Dear list members,
>
> I have just upgraded from openSUSE 12.3 to 13.1, and find
> that Gargoyle doesn�t run anymore. I have compiled the
> latest SVN version (after deleting the build folder),
> and the compilation seems to work, but when I try to run
> a game, I get these error messages:
>
> *** Error in `bocfel': double free or corruption (out): 0x00000000020f9a10 ***

[ ... ]

> Any ideas what�s wrong, and how to fix it?

I was able to reproduce this, and it looks like a bug in the version of
libmikmod that comes with openSUSE 13.1.

I tried compiling the latest version of libmikmod (version 3.3.3) and
pointing to it via $LD_LIBRARY_PATH and it ran without a hitch.
Valgrind reported no errors either, while it does report errors with the
included version of libmikmod.

I then tried building libmikmod 3.2.0, which is the version that comes
with openSUSE, and when I pointed to this version with $LD_LIBRARY_PATH,
the problem reappeared.

In addition, http://mikmod.sf.net/ has this to say: �All who are using
libmikmod-3.2.0 (or the interim 3.3.1-beta) must upgrade to the new
libmikmod-3.3.2 version�, so there are apparently known, serious bugs in
the openSUSE version.

So, try building the latest libmikmod by hand and seeing if that fixes
the problem. In any case, it does not appear to be a Gargoyle bug.

Chris.
Reply all
Reply to author
Forward
0 new messages