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#58771: 29.0.50; context submenu can not click when run emacs lucid build. Date: Wed, 11 Jan 2023 17:47:18 +0800 Message-ID: <87ilhdflnd.fsf@yahoo.com> References: <88623.1673420245@alto> 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="21600"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Feng Shu , Stephen Berman , 58771@debbugs.gnu.org, Visuwesh To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 11 10:48:47 2023 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 1pFXix-0005Mi-6h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Jan 2023 10:48:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFXiL-0006iv-Fo; Wed, 11 Jan 2023 04:48:09 -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 1pFXiF-0006iL-26 for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 04:48:03 -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 1pFXiE-0000NV-DS for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 04:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFXiD-0006dh-Ky for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 04:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jan 2023 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58771 X-GNU-PR-Package: emacs Original-Received: via spool by 58771-submit@debbugs.gnu.org id=B58771.167343045725368 (code B ref 58771); Wed, 11 Jan 2023 09:48:01 +0000 Original-Received: (at 58771) by debbugs.gnu.org; 11 Jan 2023 09:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:41734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFXho-0006b5-Lx for submit@debbugs.gnu.org; Wed, 11 Jan 2023 04:47:37 -0500 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:45539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFXhm-0006an-Le for 58771@debbugs.gnu.org; Wed, 11 Jan 2023 04:47:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673430448; bh=LD+KigXHmLpwAOuQ/QCSU0Xb28b/F5t57dZ7Mbhnao0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Dh29G9e0jm8eiHsPHb1mN8t3kZ4VdmAj2Vz5SdNcUSizS2J+ZtBQ7CCNFyh2MJHYV/ueYrx5VhcPV2aDg+8gRpjdGHu0VFFgHat9+rkg7DhvOhyEHVzU/excvTa5QKGZk9A7zNIhnH5NDriHs8VQ1M6arP8plnhJ9Qh27k7nnbzamLpPFjYb1EpoDMg4lqppf1NMg2BpU7FjEG/F6wjUBdn7G1pIDkHChIpB8rUpFKgmuKb0JsumvIYzLSTPHC9BLEXRYkkQGEEwTKTyRMTcKzaGwmoJjzh54UpgTij+XEjbw5GcvN0+45cZkZ+sstvasH6Kq1hc6YG6X8EDpn6S7g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673430448; bh=1d2g/hE86tFBXUnNMbMcmq5Yx//c/Gdeb+ekZXxuHey=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=UIfGm+hv9S1lVwE7GX5dGS8ZxGPUzzPEcAKdKzOvCU6MeM19iBi8kJbdzPYCsRDnr7DbGrmzXCFct16N1eUe+SeNud1Ga366lZMsqD6PU1OUgsyVtGJFOsX2lUvfJV31hW+DjrezNTvhrjYfk/YRW4J65r/aE3JDjwrInuqjLROPhoTXtAdXQG5iitppMFFEa1qoFkNApWZoodeidLg3+MNF189OE+npdjba7b0RhZWz/RX2RC/nmBICOkitR8I6G3veMM+40n34IeiK8HvnnPcrPbGgRgYQ7xd3APWhus2H+WvDS2VN6pMUSyKO0onpyexPUzpD7GB0zydVn9120w== X-YMail-OSG: mLMH8SEVM1m90QlUfH4Sh6fTOoRrc62nAtqdqKIjJ_NLO4r21.BzG8OL5_7J.BU VBmiPT2cbGN8tNEl.hSWpWMF3PUHvsom7TGjS6S8nGRz.huWZo3oSY7vgj37sBg1tsARMPod3LqH qY74O2TtmBEVcEy073Ln79nQc2.h6Zr4JUwTKGDMGbq5dPntpIbz5PzLTKaPxVvGkoisGLnFBiRv 4ZSvaCsRgkml6thORdbs6Ej2ZRlmS.UzeVFJTv4OcJ0Cjif.7hpOi8fIou9KX8BYXyz8j8HZmo9D O8kxK8EilkvU5a1U_jDePRaU8xcyByUOwJAVSSHHdUmXpaX4GAobNTmyQMDB7vU19MVOUZurWrT2 0jldOnGGqUikapcSR54qm3qKcRtceqgzaQmE_r2D.iqiyPzwl.xPFYxCC3giwyZaSxr9KK2YObYw wVqj0Q.t6MOcxkj97Q3nchwkW8P2ySpZTpfYiFEYp8cNdsBC_U9jIq_fzKmtvdFSW.SDJ7mM562i ATqKrWSFS1_9fehEhK7siQgrOzwyqvKUOxBbScd3kOHr4pXejIwOSYddld7rDpoO9YsM6IyFe6i6 hcfnyWhkvVTXfQJ8vkcItty8.Tk6jOJXXQG00TIYMGblO3Eu7sjIDY24PrLOt0c6kJwVhW0o8vdc Vbx6PuTntqQD6U9wTuX8Pjkh9iWyFaxx3sJyKgsftU0e4qWbLSXSKdnlPDXxiizFdQeigIThR1_3 M1dKaVTLR0wGBtJihkrZ4w2zmIORYev2zQ_Xf4cazR3epBskLI68DaHWtG6uvF2dz5c0E5QxmcVT eXlXqQSP.rKvtXM9TgLat0dAwYWZEpwkTKdB6t5q09 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Wed, 11 Jan 2023 09:47:28 +0000 Original-Received: by hermes--production-sg3-5ff5bbd69d-bw2f6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID dd66992a44104cb371bb24f70b6edba9; Wed, 11 Jan 2023 09:47:24 +0000 (UTC) In-Reply-To: <88623.1673420245@alto> (Mike Kupfer's message of "Tue, 10 Jan 2023 22:57:25 -0800") 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:253134 Archived-At: Mike Kupfer writes: > I don't even need to rerun configure. I just added a debug fprintf to > pop_up_menu(), rebuilt Emacs, and the problem vanished. Would you please send me the two different binaries? (Off-list, please, if you're worried about the binaries containing private information.) > I still have the binary that fails. On a hunch, I added a breakpoint at > the start of pop_up_menu(). When the breakpoint triggered, I checked > the value of lucid__menu_grab_keyboard. gdb says > > (gdb) print lucid__menu_grab_keyboard > $2 = false > > Yet *Help* says that the value of lucid--menu_grab_keyboard is t. > > If I do > > M-: (setq lucid--menu_grab_keyboard t) > > and press F10, gdb says lucid__menu_grab_keyboard is still false. > > I did a little more poking around with gdb and found that > lucid__menu_grab_keyboard moves around inside "globals". > > Broken binary: > > (gdb) print &globals.f_lucid__menu_grab_keyboard > $3 = (_Bool *) 0x555555d54a98 > > Working binary: > > (gdb) print &globals.f_lucid__menu_grab_keyboard > $2 = (_Bool *) 0x555555d54ad0 > > This strikes me as more than a little odd. Given that all I did was > add a couple fprintfs, I'd expect the layout of "globals" to stay the > same. I have a hunch. If you touch globals.h in src, does it result in files under the lwlib directory being rebuilt? My guess is globals.h changed but lwlib was not incrementally rebuilt. I guess this means lwlib/*.o has to be made to depend on $(top_builddir)/globals.stamp or somesuch. Thanks.