Sunday, August 06, 2023

Re: gzdoom update to 4.10.0

On Sun, Aug 06, 2023 at 12:20:48PM +0300, Timo Myyrä wrote:

[...]

> > -- D_DoomInit();
> > -
> > - extern void D_ConfirmSendStats();
> > - D_ConfirmSendStats();
>
> Thanks for the diff.
> Does this run for you? I get following:
> [tmy@asteroid gzdoom]$ gzdoom
> GZDoom <unknown version> - - SDL version
> Compiled on Aug 6 2023
>
> OS: OpenBSD 7.3 on amd64
> GZDoom version <unknown version>
> Please select a game wad (or 0 to exit):
> 1. Freedoom: Phase 1 (freedoom1)
> 2. Freedoom: Phase 2 (freedoom2)
> Which one? 2
> gzdoom(41929) in free(): bogus pointer (double free?) 0x79cea25bfad0
> Abort trap (core dumped)
> [tmy@asteroid gzdoom]$ sysctl vm.malloc_conf
> vm.malloc_conf=CF
>
> Timo
>

Hm, I initially thought I got the same thing, but then it turns out
that I had vulkan backend enabled in ~/.config/gzdoom/gzdoom.ini
(vid_preferbackend=1). After changing that back to default opengl (0),
it works as expected again without the error you have:

$ cd /usr/local/share/games/doom
$ gzdoom

Note I adjusted all the /usr/share/... paths in gzdoom.ini while at it to
point them to /usr/local/share/...

No comments:

Post a Comment