From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aiko Kyle Newsgroups: gmane.emacs.bugs Subject: bug#22569: 24.5; gud/gdb with tramp: warning in setting controlling terminal Date: Fri, 5 Feb 2016 23:27:26 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff254629490d5052b12622f X-Trace: ger.gmane.org 1454732902 20559 80.91.229.3 (6 Feb 2016 04:28:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 04:28:22 +0000 (UTC) To: 22569@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 06 05:28:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRuTk-00069e-IS for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Feb 2016 05:28:12 +0100 Original-Received: from localhost ([::1]:51555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuTg-0000rE-2t for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 23:28:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuTb-0000r5-CJ for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:28:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRuTZ-0001yx-Tl for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:28:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuTZ-0001yt-QI for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRuTZ-0001RX-K0 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aiko Kyle Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2016 04:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22569 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.14547328615520 (code B ref -1); Sat, 06 Feb 2016 04:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2016 04:27:41 +0000 Original-Received: from localhost ([127.0.0.1]:34983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRuTE-0001Qw-FH for submit@debbugs.gnu.org; Fri, 05 Feb 2016 23:27:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49773) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRuTC-0001Qg-Gh for submit@debbugs.gnu.org; Fri, 05 Feb 2016 23:27:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRuT6-0001sJ-03 for submit@debbugs.gnu.org; Fri, 05 Feb 2016 23:27:33 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuT5-0001rr-SZ for submit@debbugs.gnu.org; Fri, 05 Feb 2016 23:27:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuT3-0000or-SD for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:27:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRuT1-0001pZ-US for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:27:29 -0500 Original-Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:33897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRuT1-0001oj-Lu for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 23:27:27 -0500 Original-Received: by mail-ob0-x229.google.com with SMTP id wb13so107102892obb.1 for ; Fri, 05 Feb 2016 20:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6+a4bHVeXVYWGAV3uqMYKMsgBTnxOAjd5cgJRXqVG50=; b=DWKNYp2VQ+fVNJzZheY8wZQv1qF7Of5PHBPfT85Hum4XqM1TdQOmlqqTMA7z7xWjAK GAxIuO43+CUYnxHWao4UX7SwwJFqxMfETe4u9g5lwzAx59HszqFXT1aKKajkxkQNLirl f+AaTXsZxkBf3FyePe4UyWhyPIR+26k0tMP3RhQQsk3wOjBE/MQzp1PJnuE0WqrkvQqf YAWfE7K7uxwCAGv88HSLB1TaRfKTk9W8MyIn8jvJmXORkNpBqh9w/ifYW/SaDWe0ANPK /BbqWER+Z+wwLpnWQl0OUZ8YN2wFk3On68y1yu10hColzNMhiI9nDvG2DRfPPK/C83MO EvZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=6+a4bHVeXVYWGAV3uqMYKMsgBTnxOAjd5cgJRXqVG50=; b=f0uwuqWMzebFCf+yG/5d9vMtVFHGqrPgYAycVtuhoRFCnmmjKw0Ihge0wnPTs8WnoB IVz9yPmsqu3G8x0K5Fo1PYm7irMUjwUWFWhAnthbn0+xW/HW7bf+kmVfioWitN7MPFFb X3H1CotT5OeiloUD+ex38BdUbCfME3zYt9Gjffwm54+582aF3iW0i3wNbg85yNkZOuHV lZcbHzTWUjtvAYaXMVGYeMWAdG/nVmfQpFcEb7T9B9CWOBrTUlhWGU86ojZwPDxcV5aa nwRErkH0Z/gwNeewM9oShCP1mCXS2U8zfgPxqxW9B5iPpxI1ZMty3kAlqW7grmbRLrhk LeXQ== X-Gm-Message-State: AG10YOSGLR56TK3Kpa6vL+/V+czSnylQBU1QzQK0EJP7xu1WUOegKxlCTR3k0A2ZCz+DaoMv7uVhTNo7dSO90A== X-Received: by 10.182.128.34 with SMTP id nl2mr15031568obb.59.1454732846860; Fri, 05 Feb 2016 20:27:26 -0800 (PST) Original-Received: by 10.76.156.234 with HTTP; Fri, 5 Feb 2016 20:27:26 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112544 Archived-At: --e89a8ff254629490d5052b12622f Content-Type: text/plain; charset=UTF-8 When I run gdb on a remote host through tramp I get the following warning in the input/output buffer: "warning: GDB: Failed to set controlling terminal: Operation not permitted\n" Tramp is defaulting to a scp connection to the remote server on which I'm running gdb. I still got it with emacs -q so it definetly not caused by any external packages. It seems bug#4604 and bug#6360 are similar to this but I couldn't find any resolution to these and it has been awhile since these were submitted. In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org Windowing system distributor `Apple', version 10.3.1404 Configured using: `configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: gdb-many-windows: t shell-dirtrack-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Tramp: Checking `vc-registered' for /scp:andrew:/afs/ andrew.cmu.edu/usr4/akyle/private/213/bomb/bomb.c...done Tramp: Inserting `/scp:andrew:/afs/ andrew.cmu.edu/usr4/akyle/private/213/bomb/bomb.c'...done Switched to thread 1 Switched to thread nil Undefined command: "ls". Try "help". End of buffer Undefined command: "ls". Try "help". Switched to thread 1 Making completion list... [2 times] call-interactively: End of buffer [3 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-start cus-load cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs gdb-mi bindat json gud easy-mmode dired tramp-cache tramp-sh tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec advice help-fns help-mode easymenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 153830 10968) (symbols 48 24590 0) (miscs 40 169 224) (strings 32 33803 3614) (string-bytes 1 1066376) (vectors 16 17496) (vector-slots 8 501946 5953) (floats 8 337 357) (intervals 56 996 30) (buffers 960 29)) --e89a8ff254629490d5052b12622f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When I run gdb on a remote host through tramp I get t= he following
warning in the input/output buffer:
"warning: GDB: Failed to set controlling terminal: Operat= ion not
permitted\n"

Tramp is defau= lting to a scp connection to the remote server on which
I'm r= unning gdb.=C2=A0

I still got it with emacs -q so = it definetly not caused by any external
packages. It seems bug#46= 04 and bug#6360 are similar to this but I
couldn't find any r= esolution to these and it has been awhile since these
were submit= ted.

In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.= 0, NS apple-appkit-1265.21)
=C2=A0of 2015-04-10 on builder10-9.porkrind.org
Window= ing system distributor `Apple', version 10.3.1404
Configured = using:
=C2=A0`configure --with-ns '--enable-locallisppath=3D/= Library/Application
=C2=A0Support/Emacs/${version}/site-lisp:/Lib= rary/Application
=C2=A0Support/Emacs/site-lisp''

Important settings:
=C2=A0 value of $LANG: en_US= .UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:=
=C2=A0 gdb-many-windows: t
=C2=A0 shell-dirtrack-mode:= t
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t=
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mo= de: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compre= ssion-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transie= nt-mark-mode: t

Recent messages:
Tramp: = Checking `vc-registered' for /scp:andrew:/afs/andrew.cmu.edu/usr4/akyl= e/private/213/bomb/bomb.c...done
Undefined command: "ls".=C2=A0 Try "help".
End of buffer
<= div>

<= /div>
Features:
(shadow sort mail-extr emacsbug message rfc82= 2 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 ma= ilabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums= mail-utils cus-start cus-load
cc-langs cc-mode cc-fonts cc-guess= cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs gd= b-mi bindat json gud easy-mmode dired
tramp-cache tramp-sh tramp = tramp-compat auth-source eieio byte-opt
bytecomp byte-compile cl-= extra cl-loaddefs cl-lib cconv eieio-core
gnus-util mm-util mail-= prsvr password-cache tramp-loaddefs trampver
shell pcomplete comi= nt ansi-color ring format-spec advice help-fns
help-mode easymenu= time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-flo= at-type mwheel ns-win tool-bar dnd fontset image
regexp-opt fring= e tabulated-list newcomment lisp-mode prog-mode register
page men= u-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-loc= k syntax facemenu font-core frame cham georgian utf-8-lang
misc-l= ang vietnamese tibetan thai tai-viet lao korean japanese hebrew
g= reek romanian slovak czech european ethiopic indian cyrillic chinese
<= div>case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice=
<= div>=C2=A0(vector-slots 8 501946 5953)
=C2=A0(floats 8 337 357)
=C2=A0(intervals 56 996 30)
=C2=A0(buffers 960 29))

--e89a8ff254629490d5052b12622f--