GNU bug report logs - #6360
24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported"

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Sat, 5 Jun 2010 21:06:01 UTC

Severity: normal

Merged with 4604, 22569

Found in versions 24.0.50, 24.5

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6360 in the body.
You can then email your comments to 6360 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6360; Package emacs. (Sat, 05 Jun 2010 21:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Welsh Duggan <md5i <at> md5i.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Jun 2010 21:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Welsh Duggan <md5i <at> md5i.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50;
	TRAMP with gud/gdb causing "File error: pty association is not
	supported"
Date: Sat, 05 Jun 2010 16:58:56 -0400
[Message part 1 (text/plain, inline)]
Emacs built from bzr trunk:
revision-id: dann <at> ics.uci.edu-20100605095622-dbbu1plvzfg1dfwf
date: 2010-06-05 02:56:22 -0700
build-date: 2010-06-05 16:58:33 -0400
revno: 100533
branch-nick: trunk

Using TRAMP method scpc and attempting run gdb on a remote file/server,
I am getting the following error:

File error: pty association is not supported for `gdb-inferior'

I have included my TRAMP debug buffer as part of this report:

[Message part 2 (text/plain, attachment)]
[Message part 3 (text/plain, inline)]


In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-06-05 on maru
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--without-toolkit-scroll-bars''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  display-time-mode: t
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  tooltip-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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<return> <switch-frame> M-x M-p M-p M-p <return> M-p 
<return> y <switch-frame> C-x b * t r <tab> <return> 
<switch-frame> <escape> > <help-echo> <switch-frame> 
C-x b * d e b <tab> <return> <escape> < C-v C-v C-v 
C-v C-v C-x 1 C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v 
C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v 
C-v C-v C-v C-v C-r g d b <help-echo> <switch-frame> 
C-h i m t r a m p <return> i p t y <return> s p t y 
<return> s <return> C-n C-p C-x b <return> C-x k M-x 
r e p o r t - e m <tab> <return>

Recent messages:
Ispell process killed
Starting new Ispell process [default] ...
Mark set
Mark saved where search started
Ispell process killed
Starting new Ispell process [default] ...
Composing main Info directory...done
Info-index: No `pty' in index
Info-search: Search failed: "pty"
Ispell process killed

Load-path shadows:
/usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words
/usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent
/usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode
/home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn
/usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song
/usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat
/usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock
/usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init

Features:
(shadow sort info mule-util gnus-cite reporter emacsbug gdb-mi bindat
json gud multi-isearch tabify man ansi-color noutline outline gnus-topic
nnfolder utf-7 utf7 rfc2104 netrc nnimap imap nndraft nnmh bbdb-gnus
bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
smime dig mailcap gnus-cache edmacro kmacro gnus-demon nntp nnir
gnus-sum gnus-group time-date gnus-undo nnmail mail-source nnoo
gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader
flyspell ispell server uptimes pp uniquify descr-text help-mode view
tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp
tramp-cmds tramp auth-source gnus-util format-spec tramp-compat trampver
time sieve-manage password-cache rng-loc rng-uri rng-parse rng-match
rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
sgml-mode psvn wid-edit log-edit pcvs-util add-log diff-mode easy-mmode
inf-caml camldebug thingatpt derived shell caml-types caml-emacs
caml-font caml advice help-fns advice-preload compile imenu message
sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mailabbrev mail-utils gmm-utils mailheader generic-x debian-el
debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone
ange-ftp comint regexp-opt ring cl cl-19 tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag 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 loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting gtk x-toolkit x
multi-tty emacs)

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6360; Package emacs. (Sun, 06 Jun 2010 18:34:01 GMT) Full text and rfc822 format available.

Message #8 received at 6360 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 6360 <at> debbugs.gnu.org
Subject: Re: bug#6360: 24.0.50;
	TRAMP with gud/gdb causing "File error: pty association is not
	supported"
Date: Sun, 06 Jun 2010 20:33:36 +0200
Michael Welsh Duggan <md5i <at> md5i.com> writes:

> Using TRAMP method scpc and attempting run gdb on a remote file/server,
> I am getting the following error:
>
> File error: pty association is not supported for `gdb-inferior'
>
> I have included my TRAMP debug buffer as part of this report:

It's the same problem as reported in Bug#4604. I still have no idea how
to solve it.

Best regards, Michael.




Merged 4604 6360. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 07 Jun 2010 05:24:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6360; Package emacs. (Wed, 28 Jul 2010 10:47:02 GMT) Full text and rfc822 format available.

Message #13 received at 6360 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 6360 <at> debbugs.gnu.org, Nick Roberts <nickrob <at> snap.net.nz>
Subject: Re: bug#6360: 24.0.50;
	TRAMP with gud/gdb causing "File error: pty association is not
	supported"
Date: Wed, 28 Jul 2010 12:46:35 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Michael Welsh Duggan <md5i <at> md5i.com> writes:
>
>> Using TRAMP method scpc and attempting run gdb on a remote file/server,
>> I am getting the following error:
>>
>> File error: pty association is not supported for `gdb-inferior'
>>
>> I have included my TRAMP debug buffer as part of this report:
>
> It's the same problem as reported in Bug#4604. I still have no idea how
> to solve it.

I've just committed patches to the trunk which allow Tramp to handle
remote ttys. Some simple minded test cases work for me. However, there
are still problems:

The buffer "*input/output of emacs*" shows the error message

&"warning: GDB: Failed to set controlling terminal: Operation not
permitted\n"

Source files seem to be loaded as local files (which works in my case,
because I have used "/ssh::...")

Somebody with more knowledge about gdb (Nick?) might check the issues.

Best regards, Michael.




Owner recorded as michael.albinus <at> gmx.de. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sun, 03 Jul 2011 17:41:02 GMT) Full text and rfc822 format available.

Forcibly Merged 4604 6360 22569. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sun, 21 Aug 2016 08:37:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Sep 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.