From unknown Sat Aug 16 20:56:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6623 <6623@debbugs.gnu.org> To: bug#6623 <6623@debbugs.gnu.org> Subject: Status: GDB does not response until extra keyborad input Reply-To: bug#6623 <6623@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:56:04 +0000 retitle 6623 GDB does not response until extra keyborad input reassign 6623 emacs submitter 6623 Le Stern severity 6623 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 13 02:32:18 2010 Received: (at submit) by debbugs.gnu.org; 13 Jul 2010 06:32:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYZ2P-0007GR-F0 for submit@debbugs.gnu.org; Tue, 13 Jul 2010 02:32:18 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYXa-00073R-L7 for submit@debbugs.gnu.org; Tue, 13 Jul 2010 02:00:27 -0400 Received: from lists.gnu.org ([199.232.76.165]:37669) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OYYXf-0004hc-Cu for submit@debbugs.gnu.org; Tue, 13 Jul 2010 02:00:31 -0400 Received: from [140.186.70.92] (port=41885 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYYXd-0002nb-Lf for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYYXc-0004w7-0t for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:29 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:56643) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYXb-0004w0-Rr for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:27 -0400 Received: by vws1 with SMTP id 1so3673113vws.0 for ; Mon, 12 Jul 2010 23:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=p09lD4pNZRpjVlkrRygnrGHhw6YQ/cx+JHCgDYldm4M=; b=xoOmrkQzNC2CQcJccFn5O0ypq437SaMs4aK6tn2phw7rptgXQCpN4Z7FzsKIK6LIo5 q1V/o4240a97kmXDJujLTK96RS+T6hoYRUb7ewINCtTPC2bq/mEqbjDB6THNZygSaR6f Bhbi2dzmDcz1kQ+Vbv9MeJOm0fXEJuq9XtGXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rawePwPQOqZRhKK2+IYibpzX2Owb0IqU5E5t+fKmPoZb9rCtx+r7IvvulfdV+oCGwA fidialXgjMxxZs3iTT2/N5H3P+doT1KN0cH5rCRp20CUJLEXwgXEwPi48ZNMMPwvFbnu 1sR7Xv0eJbFcSQGdDk7pOsiqVPFcgU13Xc8lQ= MIME-Version: 1.0 Received: by 10.220.60.203 with SMTP id q11mr7533988vch.168.1279000826314; Mon, 12 Jul 2010 23:00:26 -0700 (PDT) Received: by 10.220.162.204 with HTTP; Mon, 12 Jul 2010 23:00:26 -0700 (PDT) Date: Tue, 13 Jul 2010 14:00:26 +0800 Message-ID: Subject: GDB does not response until extra keyborad input From: Le Stern To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=e0cb4e887b3beb803d048b3e9504 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 13 Jul 2010 02:32:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --e0cb4e887b3beb803d048b3e9504 Content-Type: text/plain; charset=ISO-8859-1 I encounter the problem for a long time on emacs repo trunk, is this a bug? ./emacs -Q M-x gdb => gdb -i=mi after above action, the display is ... GNU gdb (GDB) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . -111:**--F1 *gud* Bot L11 (Debugger:run [initializing...])--------- === the state of gud is initializing instead of ready. after input enter key the state will change into ready. the backtrace => (gdb) bt #0 0x0000003769ecb053 in __select_nocancel () from /lib64/libc.so.6 #1 0x00000000004cf1fc in xg_select (max_fds=, rfds=0x7fff8fb49240, wfds=0x0, efds=0x0, timeout=0x7fff8$ #2 0x000000000058fd5f in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=$ #3 0x0000000000415a08 in sit_for (timeout=120, reading=1, do_display=1) at ~/emacs/trunk/src/dispnew.c:6059 #4 0x00000000004ee85a in read_char (commandflag=1, nmaps=3, maps=0x7fff8fb49800, prev_event=11611746, used_mouse_menu=0x7ff$ #5 0x00000000004efd78 in read_key_sequence (keybuf=0x7fff8fb49a20, bufsize=30, prompt=11611746, dont_downcase_last=0, can_r$ #6 0x00000000004f203f in command_loop_1 () at ~/emacs/trunk/src/keyboard.c:1618 #7 0x0000000000550250 in internal_condition_case (bfun=0x4f1e90 , handlers=11663554, hfun=0x4ec430 ) at ~/emacs/trunk/src/keyboard.c:1341 #9 0x0000000000550347 in internal_catch (tag=, func=0x4ec090 , arg=11611746) at ~/emac$ #10 0x00000000004ec263 in command_loop () at ~/emacs/trunk/src/keyboard.c:1320 #11 0x00000000004ec608 in recursive_edit_1 () at ~/emacs/trunk/src/keyboard.c:943 #12 0x00000000004ec75f in Frecursive_edit () at ~/emacs/trunk/src/keyboard.c:1005 #13 0x00000000004dff4b in main (argc=, argv=0x7fff8fb4a2f8) at ~/emacs/trunk/src/emacs.c:1778 --e0cb4e887b3beb803d048b3e9504 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I encounter the problem for a long time on emacs repo trunk, is this a= bug?

./emacs -Q
M-x gdb
=3D> gdb -i= =3Dmi

after above action, the display is =A0...

GNU gdb (GDB) 7.1
Copyright (C) 2010 Free Sof= tware Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later= <http://gnu.org/licenses/g= pl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. =A0Type "= show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
=
For bug reporting instructions, please see:

-111:**--F1 =A0*gud* =A0 =A0 =A0 =A0 =A0Bot L11 =A0 =A0= (Debugger:run [initializing...])---------

= =3D=3D=3D the state of gud is initializing instead of ready. after input en= ter key the state will change into ready.

the backtrace =3D>


(gdb) bt
#0 =A00x0000003769ecb053 in __select_nocance= l () from /lib64/libc.so.6
#1 =A00x00000000004cf1fc in xg_select = (max_fds=3D<value optimized out>, rfds=3D0x7fff8fb49240, wfds=3D0x0, = efds=3D0x0, timeout=3D0x7fff8$
#2 =A00x000000000058fd5f in wait_reading_process_output (time_limit=3D= 30, microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D$
#3 =A00x0000000000415a08 in sit_for (timeout=3D120, reading=3D1, do_disp= lay=3D1) at ~/emacs/trunk/src/dispnew.c:6059
#4 =A00x00000000004ee85a in read_char (commandflag=3D1, nmaps=3D3, map= s=3D0x7fff8fb49800, prev_event=3D11611746, used_mouse_menu=3D0x7ff$
#5 =A00x00000000004efd78 in read_key_sequence (keybuf=3D0x7fff8fb49a20, = bufsize=3D30, prompt=3D11611746, dont_downcase_last=3D0, can_r$
#6 =A00x00000000004f203f in command_loop_1 () at ~/emacs/trunk/src/key= board.c:1618
#7 =A00x0000000000550250 in internal_condition_case = (bfun=3D0x4f1e90 <command_loop_1>, handlers=3D11663554, hfun=3D0x4ec4= 30 <cmd_err$
#8 =A00x00000000004ec0aa in command_loop_2 (ignore=3D<value optimiz= ed out>) at ~/emacs/trunk/src/keyboard.c:1341
#9 =A00x00000000= 00550347 in internal_catch (tag=3D<value optimized out>, func=3D0x4ec= 090 <command_loop_2>, arg=3D11611746) at ~/emac$
#10 0x00000000004ec263 in command_loop () at ~/emacs/trunk/src/keyboar= d.c:1320
#11 0x00000000004ec608 in recursive_edit_1 () at ~/emacs= /trunk/src/keyboard.c:943
#12 0x00000000004ec75f in Frecursive_ed= it () at ~/emacs/trunk/src/keyboard.c:1005
#13 0x00000000004dff4b in main (argc=3D<value optimized out>, ar= gv=3D0x7fff8fb4a2f8) at ~/emacs/trunk/src/emacs.c:1778

=
--e0cb4e887b3beb803d048b3e9504-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 19:01:43 2010 Received: (at control) by debbugs.gnu.org; 20 Aug 2010 23:01:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Omaal-0007X3-Ny for submit@debbugs.gnu.org; Fri, 20 Aug 2010 19:01:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Omaaj-0007Wy-ME for control@debbugs.gnu.org; Fri, 20 Aug 2010 19:01:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Omabs-0006nv-Dk; Fri, 20 Aug 2010 19:02:52 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19567.2460.309112.647466@fencepost.gnu.org> Date: Fri, 20 Aug 2010 19:02:52 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: d,S1|AE$zNIz2bl5"[#du?,a\bS?\}UzT-DWvU9+G{Ka=QrJ%}IbLDP[ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 6623 6703 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 20:22:50 2011 Received: (at 6623) by debbugs.gnu.org; 29 Oct 2011 00:22:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJwhG-0007Dr-Ei for submit@debbugs.gnu.org; Fri, 28 Oct 2011 20:22:50 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJwhE-0007Dk-DR for 6623@debbugs.gnu.org; Fri, 28 Oct 2011 20:22:48 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RJwfK-0001xl-NU; Fri, 28 Oct 2011 20:20:50 -0400 From: Glenn Morris To: Le Stern Subject: Re: bug#6623: GDB does not response until extra keyborad input References: X-Spook: War on Terrorism bce codes president TWA Clinton X-Ran: 'l=)Swo+h0'{NK2k]#+iB>xIiYIGlK58olFY9{As~{#@6n#=Bl`R?-tkN=,AHl8=5DPoEO X-Hue: white X-Attribution: GM Date: Fri, 28 Oct 2011 20:20:50 -0400 In-Reply-To: (Le Stern's message of "Tue, 13 Jul 2010 14:00:26 +0800") Message-ID: <1m8vo47in1.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 6623 Cc: 6623@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) I think this might have been fixed by the fix for bug#9839. Please try the Emacs trunk or the 24.0.91 pretest when it appears and let us know if you still see this issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 00:53:30 2012 Received: (at control) by debbugs.gnu.org; 19 Apr 2012 04:53:30 +0000 Received: from localhost ([127.0.0.1]:40722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKjN4-00023H-32 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 00:53:30 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41392 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKjN2-00023A-LX for control@debbugs.gnu.org; Thu, 19 Apr 2012 00:53:29 -0400 Received: from [155.69.16.255] (port=63039 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SKjMk-0005wL-LV for control@debbugs.gnu.org; Thu, 19 Apr 2012 00:53:11 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6623 Date: Thu, 19 Apr 2012 12:53:03 +0800 Message-ID: <87y5ps1fww.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 6623 thanks From unknown Sat Aug 16 20:56:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 May 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator