all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Marc-André Lureau" <marcandre.lureau@gmail.com>
To: "Dan Nicolaescu" <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: emacsclient unsuspend error (using -daemon)
Date: Tue, 4 Nov 2008 02:32:39 +0200	[thread overview]
Message-ID: <e29894ca0811031632w601cac4es8f73a7482a40c4f2@mail.gmail.com> (raw)
In-Reply-To: <200811032231.mA3MVTob003715@mothra.ics.uci.edu>

Hi

On Tue, Nov 4, 2008 at 12:31 AM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
> "Marc-André Lureau" <marcandre.lureau@gmail.com> writes:
> OS?

Sorry, forgot that:

Linux pipo 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 GNU/Linux

Debian unstable/experimental.

> Are you sure that this "emacs-snapshot" that you are running here is the
> same as the one you compiled yesterday?
> By default emacs does not create anything called emacs-snapshot...

Yes, it's the debian emacs-snapshot package, that I used to compile
with the up to date repository verson.

> Please run emacsclient from lib-src/emacsclient to make sure the correct
> version is used.

elmarco@pipo ~/git/emacs (master)$ src/emacs -Q -daemon
("src/emacs" "-Q")
For information about GNU Emacs and the GNU system, type C-h C-a.
elmarco@pipo ~/git/emacs (master)$ lib-src/emacsclient -t
elmarco@pipo ~/git/emacs (master)$ fg
lib-src/emacsclient -t
*ERROR*: Invalid terminal device

> What terminal emulator are you using?  Can you try to attach with gdb to
> emacsclient and see where the error is coming from?

I tried with xterm (235), gnome-terminal 2.22.3, and urxvt 9.05. I use
X.org 1.5.2 (7.4~4)

Gdb session:

some SIGSTPT and SIGSTOP

Breakpoint 1, send_to_emacs (s=3, data=0x804ad20 "-suspend \n")

some SIGSTPT and SIGSTOP

Breakpoint 3, 0x46a95c36 in fprintf ()
(gdb) print string
$1 = "-error Invalid terminal device\0

Note: this happen during "suspend", not the resume.

could you help me to digg into emacs, where should I set the bp?

thanks
-- 
Marc-André Lureau




  reply	other threads:[~2008-11-04  0:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 21:41 emacsclient unsuspend error (using -daemon) Marc-André Lureau
2008-11-03 14:34 ` Dan Nicolaescu
2008-11-03 22:10   ` Marc-André Lureau
2008-11-03 22:31     ` Dan Nicolaescu
2008-11-04  0:32       ` Marc-André Lureau [this message]
2008-11-04  1:06         ` Dan Nicolaescu
2008-11-04 18:42 ` Chong Yidong
2009-02-10 12:37   ` Marc-André Lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e29894ca0811031632w601cac4es8f73a7482a40c4f2@mail.gmail.com \
    --to=marcandre.lureau@gmail.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.