From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Stern Newsgroups: gmane.emacs.bugs Subject: bug#6623: GDB does not response until extra keyborad input Date: Tue, 13 Jul 2010 14:00:26 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e0cb4e887b3beb803d048b3e9504 X-Trace: dough.gmane.org 1279004655 31532 80.91.229.12 (13 Jul 2010 07:04:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 07:04:15 +0000 (UTC) To: 6623@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 13 09:04:12 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYZXD-0005pP-NX for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 09:04:08 +0200 Original-Received: from localhost ([127.0.0.1]:51011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYZXC-0004AV-Vk for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 03:04:07 -0400 Original-Received: from [140.186.70.92] (port=60804 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYZTT-0002Ug-1C for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 03:00:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYZTR-0004ry-JE for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 03:00:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51798) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYZTR-0004ru-Hk for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 03:00:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYZ37-0007Gl-QL; Tue, 13 Jul 2010 02:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Le Stern Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jul 2010 06:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127900273827930 (code B ref -1); Tue, 13 Jul 2010 06:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2010 06:32:18 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.220.60.203 with SMTP id q11mr7533988vch.168.1279000826314; Mon, 12 Jul 2010 23:00:26 -0700 (PDT) Original-Received: by 10.220.162.204 with HTTP; Mon, 12 Jul 2010 23:00:26 -0700 (PDT) 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-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 Resent-Date: Tue, 13 Jul 2010 02:33:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 13 Jul 2010 03:02:45 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38473 Archived-At: --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--