emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Merging the pgtk branch


From: Yuuki Harano
Subject: Re: Merging the pgtk branch
Date: Mon, 06 Dec 2021 22:12:37 +0900 (JST)

On Mon, 06 Dec 2021 12:41:30 +0800,
        Po Lu <luangruo@yahoo.com> wrote:
> Evaluting the following code is enough to make it emit tens of GLib
> warning messages (the product of use-after-frees) and eventually crash:
> 
>   (make-frame `((parent-frame . ,(selected-frame))))

"Tens of GLib warnings messages" does not reproduce for me.  Gtk+ 3.24.30.
Please tell me the detail.

I found a way to crash:
----
(setq f1 (selected-frame))
(setq f2 (make-frame))
(setq f (make-frame `((parent-frame . ,f1) (width . 10) (height . 5))))
(modify-frame-parameters f1 `((parent-frame . ,f2)))
(modify-frame-parameters f1 `((parent-frame . ,nil)))
----
I'll debug this.

-- 
Yuuki Harano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]