From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuuki Harano Newsgroups: gmane.emacs.devel Subject: Re: Merging the pgtk branch Date: Mon, 06 Dec 2021 22:12:37 +0900 (JST) Organization: Ingage Inc. Message-ID: <20211206.221237.2152450596025177115.masm@luna.pink.masm11.me> References: <83o85v2g02.fsf@gnu.org> <87bl1upn3k.fsf@yahoo.com> <8735n6pcp1.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1378"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: luangruo@yahoo.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 14:41:21 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muEF6-000AcD-3d for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 14:41:20 +0100 Original-Received: from localhost ([::1]:40252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muEF5-0000e4-34 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 08:41:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDnT-0001vt-Ir for emacs-devel@gnu.org; Mon, 06 Dec 2021 08:12:47 -0500 Original-Received: from shiro.masm11.me ([150.95.182.25]:56412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDnP-0005Bm-VI; Mon, 06 Dec 2021 08:12:47 -0500 Original-Received: from luna.pink.masm11.me (i153-144-34-242.s41.a033.ap.plala.or.jp [153.144.34.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shiro.masm11.me (Postfix) with ESMTPSA id A89EFC014E; Mon, 6 Dec 2021 22:12:38 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1638796358; bh=pZbeUUOv5VRpJu2zUY5q6DSqeS3bq/0wBbrQYqVePYI=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=rT/blIhHJ/hpOjDmZBzDvxmdIJW62N2KIBCqR4GYIw5EZSOAIp+MM7Z0kqBPQaUEE TmGsjve/aq3h39Lh5mZ/OiR3GrV0l7mBDvp8fBCQsRr06kRiD0BWnVPJ6s18GuW3HD uN7Eau3RDYFXJ3saalwmrZ+RTMS5gSG2OspCUj4A= In-Reply-To: <8735n6pcp1.fsf@yahoo.com> X-Mailer: Mew version 6.8 on Emacs 29.0 Received-SPF: pass client-ip=150.95.182.25; envelope-from=masm@masm11.me; helo=shiro.masm11.me X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281104 Archived-At: On Mon, 06 Dec 2021 12:41:30 +0800, Po Lu 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