On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> I compiled it on -current on power pc and when I start barony I get this
> error, please find gdb backtrace :
>
> $ gdb barony
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "powerpc-unknown-openbsd6.3"...
> (gdb) run
> Starting program: /usr/local/bin/barony
> [00-40-01] Data path is /usr/local/share/games/barony
>
> Program received signal SIGABRT, Aborted.
> 0xc086f7d0 in thrkill () at {standard input}:5
> 5 {standard input}: No such file or directory.
> in {standard input}
> Current language: auto; currently asm
> (gdb) backtrace
> #0 0xc086f7d0 in thrkill () at {standard input}:5
> #1 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #2 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #3 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #4 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #5 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #6 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #7 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #8 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #9 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> #10 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> ) at /usr/src/lib/libc/sys/stack_protector.c:79
> Previous frame inner to this frame (corrupt stack?)
I tried it on amd64 - installed the package, downloaded Barony: Cursed Edition
from gog.com, innoextract, then copied all the game files to
/usr/local/share/games/barony. It counts through all the 400-something assets
that it loads, but afterwards just exits without any error.
The version on gog.com is listed as 2.0.7 and is probably outdated. I think
a README with some details on this and maybe the game data folder may be
useful.
I'll probably have to wait for an update on gog.com before being able to test.