On Sat, Jun 1, 2019, at 17:39, Daniel Moerner wrote: > >Synopsis: Xenocara crashes when resizing editor window if editing same > >file > >Category: user > >Environment: > System : OpenBSD 6.5 > Details : OpenBSD 6.5 (GENERIC.MP) #1: Mon May 27 18:27:59 CEST > 2019 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > > When I use emacs and acme (from plan9port) to edit the same text file, > I can reproducibly crash Xenocara and return myself to a xenodm login > screen by aggressively resizing the acme window. I tested this with > both fvwm and cwm. See more details > ihttps://github.com/openbsd/xenocara/commit/4fd0ec7f37876473a4f16a0e4a6dc6c55974d317n > the How-To-Repeat section > below. > > (Sorry, I'm not sure exactly what category this falls under.) > > >How-To-Repeat: > > Install editors/emacs and plan9/plan9port. Run emacs and 9 acme. Have > both open the same text file. Position the acme window around the > emacs window and start to resize it. > > After a few movements of the mouse, it appears that Xenocara > crashes. I get returned to a xenodm login prompt. I reproduced this > with both cwm and fvwm, and I was able to get the crash 100% of the > time, although sometimes you need to move your mouse around a bit > while resizing the window. The one thing that's not clearly > reproducible about this bug is that sometimes I can then log in again > with xenodm, sometimes it appears that I can't type anything---but I > can switch to a virtual console and login and reboot. > > I get the following message in /var/log/Xorg.0.log: >
<snip crash/dmesg> I had this exact same crash with acme, which ended up being solved by the following commit (which is also in -current): https://github.com/openbsd/xenocara/commit/4fd0ec7f37876473a4f16a0e4a6dc6c55974d317 I know the fix says it's only for multi-GPU systems, but I managed to grab a stacktrace from my (single-GPU) system which showed the same stacktrace pattern. Haven't had any crashes since applying that patch.
