[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53420: 29.0.50; NULL cairo context while frame resize, causes segfau
From: |
Po Lu |
Subject: |
bug#53420: 29.0.50; NULL cairo context while frame resize, causes segfault with visible-bell |
Date: |
Sat, 22 Jan 2022 09:13:20 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Antonio Carzaniga <antonio.carzaniga@usi.ch> writes:
> M-x set-variable RET visible-bell
>
> Now resize the emacs frame and at the same time give a keyboard command
> that causes emacs to ring the bell. I know it's not a common thing to
> do, in fact I just happened to do that by mistake. Specifically for me,
> s-<up> maximizes the frame vertically, and I also pressed <down>, which
> causes emacs to complain that s-<down> is undefined and therefore ring
> the bell.
>
> Anyway, now emacs crashes. A bit of analysis reveals the following
> sequence of events (logged using gdb) in which the cairo context
> associated with the selected frame is temporarily set to null during the
> frame-resize operation, and pgtk_ring_bell and then pgtk_flash are
> called before the cairo context is properly restored.
Thanks, should be fixed now.