From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60144: 30.0.50; PGTK Emacs crashes after signal Date: Sun, 18 Dec 2022 14:22:04 +0800 Message-ID: <87a63lfcz7.fsf@yahoo.com> References: <87edsxfop0.fsf@yahoo.com> <83359dgt7v.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12716"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60144@debbugs.gnu.org, karl@karlotness.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 18 07:23:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1p6n54-00030F-Qa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Dec 2022 07:23:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6n4i-0008SY-3x; Sun, 18 Dec 2022 01:23:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6n4g-0008SF-Ov for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2022 01:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6n4g-0001Tg-HH for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2022 01:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6n4g-0001bo-6M for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2022 01:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Dec 2022 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60144 X-GNU-PR-Package: emacs Original-Received: via spool by 60144-submit@debbugs.gnu.org id=B60144.16713445416153 (code B ref 60144); Sun, 18 Dec 2022 06:23:02 +0000 Original-Received: (at 60144) by debbugs.gnu.org; 18 Dec 2022 06:22:21 +0000 Original-Received: from localhost ([127.0.0.1]:60250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6n41-0001bA-9m for submit@debbugs.gnu.org; Sun, 18 Dec 2022 01:22:21 -0500 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:34478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6n3z-0001b2-QH for 60144@debbugs.gnu.org; Sun, 18 Dec 2022 01:22:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1671344532; bh=aeDQSq5NKpSwS5BwLtzdE9XyxNxfY6qqIVk7yjOA+C8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=YcqULCiGs3dCibs+GAlrz6IW9mvNQ7CZM1NocAzsyEKaKU3TbOTR+Abq4spEfXloVPX8uTaM8FNOBRlGS4uDgk82lhKzHlgus2GgGHfKSlVXNbS0OYfyIzpnC4y/c0gxFRVIAnixWCofhDtHl28qxfkQdbjQ7nLX+psK2s5ezb5ySJs+EAUrD7/zRDRuETPy2BPUk8/LqvgtSaaPbfypBsRJMKalcjcJl/1nw5JCepNzvDu0enbvzUyxXdRoz2SjW2l/jDbXCqEvtdQjpqOSO/X4An3336Dh3c92jVBXpYkeipUi3SiXM3MnPboJqkVNVHngxw0WSBy+ykgE/5rzJQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1671344532; bh=vTFt6aXMMHImzsYBpqUbaqah2uzjQLq85GFV0tWyteI=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=qv5pSTpi60fcwyVYe3zH6wwEmi8cH8whg9797VSfArIt1xVH6Rh4rfupwzYvm6oBR3ZvFajvyzq29q+xTmz57q5aWJM+8Ia+5vmrI+JLSd+hN5OZyFHtL3yuHL04oRTK+sokOcj6eUe4OjWHMRyiaepXNm3Fqhcyq1ot+3oaqXL+IZvlsM0RIb1TsezgSU93JR34gsoY7DKqjNDj+ugoKaqUHiolWAOYWi3ahfx7u8M5q5RSpo0olXgzoqS8+nhnbiJN43Jw/bYrDLfKKRYOIyRhStIdD+rsJUSVt/VaA/pQTpugT7yZmMHKNmHRWLHpfZUoIaPFYYNVAtmnaNaLWA== X-YMail-OSG: I32OXi4VM1mM4b22EDR.nc8VR.1cwzav0z08fVtfpbizejcMgt2JfJ13jfVZfYb eCHrLC54hVXGDeOTYBAbpliNQxtGH.6HsNwFh0zQogqYoyClJ9qgfJa_zDX8nvkL4zUnkxPEUabT TmLoXHg6wIPk5yomi.cUpY.DYQhTt3gMwUyP84LUCBU5sob09PkAZA7T3L4PIIC20h1ks8EnUR9o n42n7K9qB3WtoDD.j5Wvz9BePQKn6knnDnbcBbb_rcx8J4haCaayGopRs5MqGMuioVabS0ccsGjO CptWF8_RyTMW_sEaZfeH0ySWw7_OL.DkQ3kBNNJptcjyw6dz4Ss8ue04YjKJxSwzmGeeAC7_h8oH In2U3.nEdNlO8qc9s.Yhl8C5X4zcCRufRXPR2cvATv.MXmt8n_aIfF9Vno6F2n6bKpkP.hXDRRos _HEj6kOcqWJRyGnDGAqlBSTJIzxqFTLYMhooqJ33smYkNVG7j5XI6uVXVl3J6_3hzg.H.dKec3jT 7A8XGK4jexPvlQQFrko47I7N7rMhc5bRURXUHfYh4ic5e3BV7dkLtXs1E_aFcb5YtdWW6PcPpsOj lg1Aqgp1a6r4PRtHvgrH10pfknWewFBmaMp756_UAV1FPcxWVbq8HQQ60_LUSHUfO.OZi.807ikt JPvqLZC92tvou19Qas18NcEv.O5Fj03hZy65bJEGatFOuYdHUEG2CSOTVH6AOAXkWMzeXmUZJUIa SWJyyXGi8N8B8_ynOv5SKr5CB7qALKcKDpC_LXC5RHpq.OUae0Mp72v_mRx_8AAFPhgL1ZoT5hVD oT6sWqec4BunNDnxp8i11LQ0wQwpcxNLdGVk6vafAc X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sun, 18 Dec 2022 06:22:12 +0000 Original-Received: by hermes--production-sg3-b666c6484-fp465 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 607338c3e3510f23f9c8dd08519dbdc8; Sun, 18 Dec 2022 06:22:10 +0000 (UTC) In-Reply-To: <83359dgt7v.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Dec 2022 07:45:56 +0200") X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251334 Archived-At: Eli Zaretskii writes: > You cannot require that from note_mouse_highlight, since it looks up > text and overlay properties, and those can signal an error if the > position is outside the valid/reachable range of buffer positions. How about simply wrapping those calls in internal_catch_all/internal_condition_case? > Do you understand why note_mouse_highlight was called in this > scenario? The backtrace seems strange: why should GTK care about our > mouse highlight? What happens here is that Emacs is reading input through GTK, either inside xg_select or the read_socket_hook. GTK then detects some mouse motion and calls the motion event handler for the frame's widget, which in turn calls note_mouse_movement.