On Tuesday, February 16th, 2021 at 6:37 PM, Klemens Nanni <k...@openbsd.org> 
wrote:

> There are only two duplicate symbols so it might be an easy fix
>
> (FreeBSD still packages 2.0.2, FWIW) but the game reproducibly crashes
>
> for me on startup on amd64; here's a debug build with `COPTS=-fcommon':
>
> Program terminated with signal SIGSEGV, Segmentation fault.
>
> #0 0x00000b0f4be95937 in SDL_DestroyTexture_REAL ()
>
> from /usr/local/lib/libSDL2.so.0.9
>
> [Current thread is 1 (process 477861)]
>
> (gdb) bt
>
> #0 0x00000b0f4be95937 in SDL_DestroyTexture_REAL ()
>
> from /usr/local/lib/libSDL2.so.0.9
>
> #1 0x00000b0c85304c9b in SDLFreeBitmapTextures (bitmap=<optimized out>) at 
> sdl.c:486
>
>     #2  0x00000b0c852f1f48 in FreeImageTextures (pos=2245) at image.c:380
>     #3  FreeAllImageTextures () at image.c:391
>     #4  0x00000b0c8524a114 in InitImageTextures () at init.c:266
>     #5  0x00000b0c8526cf95 in ChangeViewportPropertiesIfNeeded () at 
> tools.c:9311
>     #6  0x00000b0c8526f29c in DrawMainMenu () at screens.c:1531
>     #7  0x00000b0c852528d3 in OpenAll () at init.c:6080
>     #8  0x00000b0c85249991 in main (argc=<optimized out>, argv=<optimized 
> out>) at main.c:7758
>
>
> It briefly shows a window that looks like a loading screen, things move
>
> but then it segfaults after about a second.
>

Does the update I posted a few days back help?
https://marc.info/?l=openbsd-ports&m=161332490221938&w=2

The update works on my amd64 machine.

~Brian

Reply via email to