From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?ISO-8859-1?Q?Marc-Andr=E9_Lureau?=" Newsgroups: gmane.emacs.devel Subject: Re: emacsclient unsuspend error (using -daemon) Date: Tue, 4 Nov 2008 02:32:39 +0200 Message-ID: References: <200811031434.mA3EYMab001644@mothra.ics.uci.edu> <200811032231.mA3MVTob003715@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225758788 7939 80.91.229.12 (4 Nov 2008 00:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 00:33:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 01:34:11 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kx9s1-0006eg-1Z for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 01:34:09 +0100 Original-Received: from localhost ([127.0.0.1]:56714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx9qt-00053x-UR for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2008 19:32:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kx9qk-0004zP-Q0 for emacs-devel@gnu.org; Mon, 03 Nov 2008 19:32:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kx9qg-0004u9-DF for emacs-devel@gnu.org; Mon, 03 Nov 2008 19:32:47 -0500 Original-Received: from [199.232.76.173] (port=56061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx9qe-0004ss-Cf for emacs-devel@gnu.org; Mon, 03 Nov 2008 19:32:44 -0500 Original-Received: from rv-out-0708.google.com ([209.85.198.250]:51950) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kx9qd-0007oh-I3 for emacs-devel@gnu.org; Mon, 03 Nov 2008 19:32:43 -0500 Original-Received: by rv-out-0708.google.com with SMTP id k29so3345188rvb.6 for ; Mon, 03 Nov 2008 16:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qZrq7dRUVUe1eKT/vszaqZT0eYgRoXUWkhD1JWGHWl8=; b=LItzHA9dcUSVEYc6ozaINaAztF/xrqmbExZn9Cg5ttajGkM6tJybg8RuWGP/MxKFXt JgFcSrUxjldT8+QIkSfrW2KjNKKe0Cj6q9azfyVuWIaP2QKuijh20Ra0bODtk+kT2zgs OHcjISNOG2f6V/qQ7KNf9MNVTGwB7Lt2LL7Kk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FavIJe8wcCioycxfT9G2rvQ5rBzyHaYbtPVyg7oTLdMrYpb1js6aW1zO2xT1d7wqXd ZODMakvMxtBvMvO8DLcqaJuE6y1ugYTrm5nCEvHKx1AJMwAoG5jx+U5sqn3wwEY/YOod L1kPkw4njRwaRa5ZXG3DokPBF4feYyoyePkgM= Original-Received: by 10.114.120.1 with SMTP id s1mr506044wac.31.1225758759457; Mon, 03 Nov 2008 16:32:39 -0800 (PST) Original-Received: by 10.114.153.4 with HTTP; Mon, 3 Nov 2008 16:32:39 -0800 (PST) In-Reply-To: <200811032231.mA3MVTob003715@mothra.ics.uci.edu> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105318 Archived-At: Hi On Tue, Nov 4, 2008 at 12:31 AM, Dan Nicolaescu wrote: > "Marc-Andr=E9 Lureau" 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=3D3, data=3D0x804ad20 "-suspend \n") some SIGSTPT and SIGSTOP Breakpoint 3, 0x46a95c36 in fprintf () (gdb) print string $1 =3D "-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 --=20 Marc-Andr=E9 Lureau