On Sat, May 28, 2022 at 10:42:39AM +0100, Luis Henriques wrote: > >Synopsis: Xorg segfauls shortly after upgrade to latest snapshot (27 May) > >Category: system > >Environment: > System : OpenBSD 7.1 > Details : OpenBSD 7.1-current (GENERIC.MP) #557: Fri May 27 > 23:32:40 MDT 2022 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > Shortly after upgrading to the latest snapshot, and running 'pkg_add > -u', Xorg crashed. I'm attaching the Xorg.0.log file, which seems to > point to a bug in ws. > >How-To-Repeat: > No idea how to repeat it. > >Fix:
Hi, If you think my recent commit to ws.c causes this, this commit only removes a bogus call to free() in the error path of a failed memory allocation. You're very unlikely to have reached that code branch in a normal situation. Without a way to reproduce the crash and without a stack trace, it's going to be hard to tell where the bug is or to fix it. -- Matthieu Herrb