From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Madhu Newsgroups: gmane.emacs.bugs Subject: bug#59733: 29.0.50; unrespnsive Xaw menus Date: Sun, 04 Dec 2022 10:54:22 +0530 (IST) Message-ID: <20221204.105422.2186177425946290377.enometh@meer.net> References: <87v8mvs1yf.fsf@yahoo.com> <20221201.195427.1026297851528992380.enometh@meer.net> <87mt86sjiw.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="34876"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59733@debbugs.gnu.org To: luangruo@yahoo.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 04 06:26:14 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 1p1hW1-0008ur-Ts for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Dec 2022 06:26:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1hVs-0004xB-Le; Sun, 04 Dec 2022 00:26: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 1p1hVr-0004x3-1m for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 00:26: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 1p1hVq-0007m3-Py for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 00:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1hVq-0006Yd-A1 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 00:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Madhu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2022 05:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59733 X-GNU-PR-Package: emacs Original-Received: via spool by 59733-submit@debbugs.gnu.org id=B59733.167013155125201 (code B ref 59733); Sun, 04 Dec 2022 05:26:02 +0000 Original-Received: (at 59733) by debbugs.gnu.org; 4 Dec 2022 05:25:51 +0000 Original-Received: from localhost ([127.0.0.1]:55341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1hVe-0006YP-Qm for submit@debbugs.gnu.org; Sun, 04 Dec 2022 00:25:51 -0500 Original-Received: from smtp4.ctinetworks.com ([205.166.61.185]:44740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1hVb-0006YJ-SS for 59733@debbugs.gnu.org; Sun, 04 Dec 2022 00:25:48 -0500 Original-Received: from smtp6.ctinetworks.com (smtp6.ctinetworks.com [205.166.61.199]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp4.ctinetworks.com (Postfix) with ESMTPS id A5568176910; Sun, 4 Dec 2022 00:25:36 -0500 (EST) Original-Received: from localhost (unknown [117.193.1.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp6.ctinetworks.com (Postfix) with ESMTPSA id 3BD2286C10; Sun, 4 Dec 2022 00:25:33 -0500 (EST) In-Reply-To: <87mt86sjiw.fsf@yahoo.com> X-Mailer: Mew version 6.8 on Emacs 30.0.50 X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: A5568176910.AAD07 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-Watermark: 1670995541.52011@W0za5qTEQsm2IpWYofkPlA 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:249891 Archived-At: * Po Lu <87mt86sjiw.fsf@yahoo.com> Wrote on Fri, 02 Dec 2022 09:04:39 +0800 > Well, could you please do what I asked in the other reports? Namely, to > put a breakpoint on the call to XtGrabKeyboard on xlwmenu.c, and see > what it returns, from another machine? [Maybe this can be done on the same machine with xpra. Right now I'm set up walking between two rooms... it's tricky as the frame display can lock up and the process has to be killed.] (gdb) r Starting program: /12/build/emacs/build-xt/src/emacs -Q (gdb) sharedlib libXaw (gdb) sharedlib libX11 (gdb) b xlwmenu.c:2879 Breakpoint 3 at 0x68f973: file ../../lwlib/xlwmenu.c, line 2879. (gdb) c Continuing. Thread 1 "emacs" hit Breakpoint 3, pop_up_menu (event=0xea2ba0, mw=0xfc5fa0) at ../../lwlib/xlwmenu.c:2879 2879 if (XtGrabPointer ((Widget)mw, False, (gdb) s XtGrabPointer (widget=widget@entry=0xfc5fa0, owner_events=owner_events@entry=0 '\000', event_mask=event_mask@entry=204, pointer_mode=pointer_mode@entry=1, keyboard_mode=keyboard_mode@entry=1, confine_to=confine_to@entry=0, cursor=33554483, time=224367550) at /usr/src/debug/x11-libs/libXt-1.2.1/libXt-1.2.1/src/PassivGrab.c:993 993 WIDGET_TO_APPCON(widget); (gdb) s (gdb) finish Run till exit from #0 XGrabPointer (dpy=0xdf4980, grab_window=33554493, owner_events=owner_events@entry=0, event_mask=event_mask@entry=204, pointer_mode=pointer_mode@entry=1, keyboard_mode=keyboard_mode@entry=1, confine_to=0, curs=33554483, time=224367550) at /usr/src/debug/x11-libs/libX11-1.8.1/libX11-1.8.1/src/GrPointer.c:47 GrabDevice (widget=widget@entry=0xfc5fa0, owner_events=owner_events@entry=0 '\000', pointer_mode=pointer_mode@entry=1, keyboard_mode=1, event_mask=event_mask@entry=204, confine_to=0, cursor=33554483, time=224367550, isKeyboard=0 '\000') at /usr/src/debug/x11-libs/libXt-1.2.1/libXt-1.2.1/src/PassivGrab.c:895 895 if (returnVal == GrabSuccess) { Value returned is $2 = 0 The upshot is XtGrabPointer returns 0 and the menu becomes unresponsive[1] When it works, i.e. when XtGrabPointer returns True, It seems I'm not able to step into XtGrabPointer as `s' puts me on the next line of pop_up_menu. This is a heads up, if you have further instructions. PS (can the typo in the Subject line be fixed)