GNU bug report logs - #29548
25.2; How to DEBUG get-device-terminal

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Live System User <nyc4bos@HIDDEN>; Keywords: moreinfo; merged with #22362, #23378; dated Sun, 3 Dec 2017 15:43:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 29548 <at> debbugs.gnu.org:


Received: (at 29548) by debbugs.gnu.org; 6 Dec 2017 19:56:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 06 14:56:55 2017
Received: from localhost ([127.0.0.1]:49562 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eMfoM-0003OV-LX
	for submit <at> debbugs.gnu.org; Wed, 06 Dec 2017 14:56:54 -0500
Received: from mail-wr0-f169.google.com ([209.85.128.169]:40743)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1eMfoJ-0003OG-Fu
 for 29548 <at> debbugs.gnu.org; Wed, 06 Dec 2017 14:56:51 -0500
Received: by mail-wr0-f169.google.com with SMTP id q9so5142204wre.7
 for <29548 <at> debbugs.gnu.org>; Wed, 06 Dec 2017 11:56:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=+ycH8oDI0kVP0qvUkxDJJVCVgU44RFqpc0WppasBteI=;
 b=ThhqCQTxJ64/r/3ifkgC1tv753M8J+5XRq86SH9Id466W/s6skhP6FpExbqAAgn1ln
 hpNg8POzNrOWNhXbrbLAqF5v/V5JZIEd4kO3od8a4CewA5REiJ4Qh2+tF5eillSU7zO/
 q4H+RR9mAkEeu5d+WfpN6ZtCld7swvYeKR/sNryIOm2yLmjMhNWQ1D4zbs9wztDGqOL8
 pQmh44vIukxnPWGWwBB2Fcgjq6RNyCjVTogRTtdJgfe4mYvc0KLSlfdzpu0R2+5o6Aej
 dKFry2fuHIUsErQpN+Mw9c4kwdHcOlVHc8/qu2mmgqL8nC0LxBuEuFXUP1Fv+LdoPxcJ
 CJcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=+ycH8oDI0kVP0qvUkxDJJVCVgU44RFqpc0WppasBteI=;
 b=QxgcXJmy6oWLskY/60miEoQsNrC6D05U3/yrhWrHFI71iAO5IwFOqgo9RuZiltmw0o
 t5h9+ByEnRXsJjFgE3k6uidp2B+rD8fdqahl52cCcKPawpNV4VSqZfdWGA6+bIgwQhfM
 +NfJlRYGxJy/PcIuMRFtXEpbDeaMRLulOL6MaJyVqUAYULiyUWsaBKVuHmmYOiOgcMHH
 v+i2nwVMUwRxdEVUwCCvz0SS3OsTsZIHj8bGfPwUZPLKUA/sw70X15MuhxFNDzrFvD2y
 22IGNqeSMYWpWdJFucZE/wnVvBBBf1b+Kkwwbn1cH8bobM1gDWNYyN+NKnK1ZR2y/IiT
 oCZA==
X-Gm-Message-State: AJaThX5CeQ6DajXUXUAc7guQkjSC9G4EaH1iigKChEoRXpHD4mu0YTce
 xZ5BKMgWt1qB8rwlu0cOcymWYeRUynh1oG6uyUI=
X-Google-Smtp-Source: AGs4zMY1ovTxaM7RvuJNiMvLaIzcEONF7V+bNtHjDWBWsDQEoYsWUgohmbSqZJ4kwh8rGTL/DFBlMOtxa6pO2xsgDEo=
X-Received: by 10.223.136.162 with SMTP id f31mr21219896wrf.130.1512590205715; 
 Wed, 06 Dec 2017 11:56:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.151.116 with HTTP; Wed, 6 Dec 2017 11:56:45 -0800 (PST)
In-Reply-To: <87609j1yla.fsf@HIDDEN>
References: <87d13v24zb.fsf@HIDDEN> <87k1y3iyj0.fsf@HIDDEN>
 <87609j1yla.fsf@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Wed, 6 Dec 2017 14:56:45 -0500
X-Google-Sender-Auth: mr1s42gS52y1X-XZP0NlnsO_iB8
Message-ID: <CAM-tV-8u8TaFzrFBQWvsox+h5AvNxk2GP9w8U3Wy22BWgobFVw@HIDDEN>
Subject: Re: bug#29548: 25.2; How to DEBUG get-device-terminal
To: Live System User <nyc4bos@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 29548
Cc: 29548 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

On Wed, Dec 6, 2017 at 1:49 PM, Live System User <nyc4bos@HIDDEN> wrote:

> Lisp Backtrace:
> "signal" (0x5e974a98)
> "error" (0x5e974c48)
> "get-device-terminal" (0x5e974e08)
> "frames-on-display-list" (0x5e974fc0)
> 0x8a6a38 PVEC_COMPILED
> "mapcar" (0x5e9753a8)
> "internal--before-save-selected-window" (0x5e9755b0)

So this function is getting the terminal list by calling
list-terminals. Try printing them out in gdb, by entering the
following:

define print_terminal_list
set $t = terminal_list
while $t
print *$t
set $t = $t->next_terminal
end
end
print_terminal_list

The gdb command window should like this when you do that

(gdb) define print_terminal_list
Type commands for definition of "print_terminal_list".
End with a line saying just "end".
>set $t = terminal_list
>while $t
 >print *$t
 >set $t = $t->next_terminal
 >end
>end
(gdb) print_terminal_list
$7 = {
...[printout of terminals follows]




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29548; Package emacs. Full text available.

Message received at 29548 <at> debbugs.gnu.org:


Received: (at 29548) by debbugs.gnu.org; 6 Dec 2017 18:49:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 06 13:49:20 2017
Received: from localhost ([127.0.0.1]:49420 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eMekx-0008ES-Q3
	for submit <at> debbugs.gnu.org; Wed, 06 Dec 2017 13:49:20 -0500
Received: from omr-m006e.mx.aol.com ([204.29.186.6]:61188)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nyc4bos@HIDDEN>) id 1eMeku-0008EC-Jm
 for 29548 <at> debbugs.gnu.org; Wed, 06 Dec 2017 13:49:17 -0500
Received: from mtaout-mab01.mx.aol.com (mtaout-mab01.mx.aol.com
 [172.26.249.81])
 by omr-m006e.mx.aol.com (Outbound Mail Relay) with ESMTP id 542F938000AD;
 Wed,  6 Dec 2017 13:49:11 -0500 (EST)
Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net
 [73.16.70.190])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mtaout-mab01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 4DBCA38000089; Wed,  6 Dec 2017 13:49:10 -0500 (EST)
From: Live System User <nyc4bos@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#29548: 25.2; How to DEBUG get-device-terminal
In-Reply-To: <87k1y3iyj0.fsf@HIDDEN> (Noam Postavsky's message
 of "Sun, 03 Dec 2017 11:09:23 -0500")
References: <87d13v24zb.fsf@HIDDEN> <87k1y3iyj0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Date: Wed, 06 Dec 2017 13:49:05 -0500
Message-ID: <87609j1yla.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
x-aol-global-disposition: G
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20150623; t=1512586151;
 bh=wm5+SDGrs+nl/+BXLffXabCDJs6kGPKwdUC2zX5O5ZE=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=4oxLMsGGvaiHDJwLkTCmg144WH6oBRiJZ6CY/7kpX7y5LEK9cPInkxnZf4Ik4cv8J
 CfnIEIqhZB95soizG4oi5IqDp8HZ8mWsqIuSY2SCe2mw1nQkogu4LRqNOtVZs177tu
 nT5L2wHy9hMC6oMXx86S9H7KkSf1PuePiNQ1zJaI=
x-aol-sid: 3039ac1af9515a283ba67403
X-AOL-IP: 73.16.70.190
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 29548
Cc: 29548 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Noam Postavsky <npostavs@HIDDEN> writes:

> Live System User <nyc4bos@HIDDEN> writes:
>
>> Hi,
>>
>>         I currently have an Emacs (GUI) proceaa giving the
>>         error:
>>
>> get-device-terminal: Invalid argument #<terminal 5> in
>> 'get-device-terminal'
>> Error running timer battery-update-handler' (error Invalid argument
>> #<terminal 5> in 'get-device-terminal'")
>>
>>         I belive this happened in my setup after I did the following
>>         in conjuction with an Emacs daemon process:
>>
>>           (From a terminall shell prompt)
>>           $ emacsclient -c file1.txt
>>           (Emacs frame pops up)
>>
>>           From another terminal shell prompt::
>>           $ emacsclient -t file1.txt
>>           (terminal shows Emacs with file1.txt buffer)
>>           'C-x 5 0' "(delete-frame)" in Emacs (TTY)
>>           (terminal "clears" -- Emacs (TTY) mo longer on scree, as
>>           expected, but mot returned to system shell prompt)
>>           (Emacs (GUI) frame starts showing 'get-device-terminql'
>>           error messages abd is umresponsive to any keyboard input)
>>
>>           This Emacs process is still avaiable to GDB, if useful.
>
> Looks like that error comes from a condition-case-unless-debug handler
> (in timer-event-handler).  Can you set `debug-on-error' from an
> emacsclient and get a backtrace?  Otherwise I think 'break Fsignal' in
> GDB should give some info as well (make sure that src/.gdbinit is
> sourced so you get a lisp backtrace in addition to the C one).

$  emacsclient --eval "(setq debug-on-error t)"
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
*ERROR*: Invalid argument #<terminal 5> in =E2=80=98get-device-terminal=E2=
=80=99



(gdb) source ~/.gdbinit.emacs-25=20
Warning: /home/liveuser/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from te=
rminal]
DISPLAY =3D :0
TERM =3D gnome-256color
Breakpoint 1 at 0x4f17d0: file ../../src/emacs.c, line 353.
Temporary breakpoint 2 at 0x50a490: init_sys_modes. (3 locations)
(gdb) break Fsignal
Breakpoint 3 at 0x566a50: file ../../src/eval.c, line 1470.
(gdb) c
Continuing.

Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=3DXIL(0x4b00),=20
    data=3DXIL(0x2451413)) at ../../src/eval.c:1470
1470	{
(gdb) list
1465	See Info anchor `(elisp)Definition of signal' for some details on how =
this
1466	error message is constructed.
1467	If the signal is handled, DATA is made available to the handler.
1468	See also the function `condition-case'.  */)
1469	  (Lisp_Object error_symbol, Lisp_Object data)
1470	{
1471	  /* When memory is full, ERROR-SYMBOL is nil,
1472	     and DATA is (REAL-ERROR-SYMBOL . REAL-DATA).
1473	     That is a special case--don't do this in other situations.  */
1474	  Lisp_Object conditions;
(gdb)=20
(gdb) bt
#0  Fsignal (error_symbol=3DXIL(0x4b00), data=3DXIL(0x2451413))
    at ../../src/eval.c:1470
#1  0x00000000005668d5 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7ffe5e=
974a90)
    at ../../src/eval.c:2702
#2  0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3D<optimized out>, nargs=3Dnargs@entry=3D2, args=3D<optim=
ized out>,=20
    args@entry=3D0x878274 <pure+104404>) at ../../src/bytecode.c:880
#3  0x0000000000566416 in funcall_lambda (fun=3DXIL(0x7ffe5e974ce0),=20
    nargs=3Dnargs@entry=3D2, arg_vector=3D0x878274 <pure+104404>,=20
    arg_vector@entry=3D0x7ffe5e974c48) at ../../src/eval.c:2863
#4  0x00000000005666db in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7ffe5e=
974c40)
    at ../../src/eval.c:2760
#5  0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3D<optimized out>, nargs=3Dnargs@entry=3D1, args=3D<optim=
ized out>,=20
    args@entry=3D0x97c484 <pure+1169892>) at ../../src/bytecode.c:880
#6  0x0000000000566416 in funcall_lambda (fun=3DXIL(0x7ffe5e974ea0),=20
    nargs=3Dnargs@entry=3D1, arg_vector=3D0x97c484 <pure+1169892>,=20
    arg_vector@entry=3D0x7ffe5e974e08) at ../../src/eval.c:2863
#7  0x00000000005666db in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7ffe5e=
974e00)
    at ../../src/eval.c:2760
#8  0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
---Type <return> to continue, or q <return> to quit---
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3D<optimized out>, nargs=3Dnargs@entry=3D1, args=3D<optim=
ized out>,=20
    args@entry=3D0x97c5d4 <pure+1170228>) at ../../src/bytecode.c:880
#9  0x0000000000566416 in funcall_lambda (fun=3DXIL(0x7ffe5e975040),=20
    nargs=3Dnargs@entry=3D1, arg_vector=3D0x97c5d4 <pure+1170228>,=20
    arg_vector@entry=3D0x7ffe5e974fc0) at ../../src/eval.c:2863
#10 0x00000000005666db in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7ffe5e=
974fb8)
    at ../../src/eval.c:2760
#11 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#12 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x8a6a3d),=20
    nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7ffe5e9751c8)
    at ../../src/eval.c:2929
#13 0x00000000005666db in Ffuncall (nargs=3Dnargs@entry=3D2,=20
    args=3Dargs@entry=3D0x7ffe5e9751c0) at ../../src/eval.c:2760
#14 0x00000000005669da in call1 (fn=3Dfn@entry=3DXIL(0x8a6a3d),=20
    arg1=3D<optimized out>) at ../../src/eval.c:2558
#15 0x000000000056daaa in mapcar1 (leni=3Dleni@entry=3D3,=20
    vals=3Dvals@entry=3D0x7ffe5e975250, fn=3Dfn@entry=3DXIL(0x8a6a3d),=20
    seq=3Dseq@entry=3DXIL(0x2452103)) at ../../src/fns.c:2522
#16 0x000000000056e175 in Fmapcar (function=3DXIL(0x8a6a3d),=20
---Type <return> to continue, or q <return> to quit---
    sequence=3DXIL(0x2452103)) at ../../src/fns.c:2587
#17 0x00000000005668d5 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7ffe5e=
9753a0)
    at ../../src/eval.c:2702
#18 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#19 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x8a69bd),=20
    nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@entry=3D0x7ffe5e9755b0)
    at ../../src/eval.c:2929
#20 0x00000000005666db in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7ffe5e=
9755a8)
    at ../../src/eval.c:2760
#21 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#22 0x00000000005662ed in funcall_lambda (fun=3Dfun@entry=3DXIL(0x8acec5),=
=20
    nargs=3Dnargs@entry=3D3, arg_vector=3Darg_vector@entry=3D0x7ffe5e975710)
    at ../../src/eval.c:2929
#23 0x0000000000565768 in apply_lambda (fun=3DXIL(0x8acec5),=20
    args=3D<optimized out>, count=3Dcount@entry=3D26) at ../../src/eval.c:2=
800
#24 0x0000000000565aca in eval_sub (form=3D<optimized out>)
    at ../../src/eval.c:2247
---Type <return> to continue, or q <return> to quit---
#25 0x000000000056645d in Fprogn (body=3DXIL(0x25d0603)) at ../../src/eval.=
c:431
#26 funcall_lambda (fun=3DXIL(0x25d05c3), nargs=3Dnargs@entry=3D0,=20
    arg_vector=3Darg_vector@entry=3D0x7ffe5e9759e8) at ../../src/eval.c:2922
#27 0x00000000005666db in Ffuncall (nargs=3D1, args=3D0x7ffe5e9759e0)
    at ../../src/eval.c:2760
#28 0x0000000000566939 in funcall_nil (nargs=3D<optimized out>,=20
    args=3D<optimized out>) at ../../src/eval.c:2338
#29 0x0000000000564a55 in run_hook_with_args (nargs=3D1, args=3D0x7ffe5e975=
9e0,=20
    funcall=3D0x566930 <funcall_nil>) at ../../src/eval.c:2515
#30 0x0000000000564c33 in run_hook_with_args (funcall=3D<optimized out>,=20
    args=3D<optimized out>, nargs=3D<optimized out>) at ../../src/eval.c:23=
61
#31 Frun_hook_with_args (args=3D0x7ffe5e9759e0, nargs=3D1) at ../../src/eva=
l.c:2380
#32 run_hook (hook=3D<optimized out>) at ../../src/eval.c:2528
#33 Frun_hooks (nargs=3D1, args=3D0x7ffe5e975ac8) at ../../src/eval.c:2362
#34 0x00000000005667e9 in Ffuncall (nargs=3Dnargs@entry=3D2,=20
    args=3Dargs@entry=3D0x7ffe5e975ac0) at ../../src/eval.c:2679
#35 0x00000000005669da in call1 (fn=3D<optimized out>,=20
    arg1=3Darg1@entry=3DXIL(0x2e80)) at ../../src/eval.c:2558
#36 0x000000000051107a in Fget_buffer_create (buffer_or_name=3D<optimized o=
ut>)
    at ../../src/buffer.c:591
#37 0x00000000005668e0 in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7ffe5e=
975bc0)
    at ../../src/eval.c:2699
#38 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
---Type <return> to continue, or q <return> to quit---
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3D<optimized out>, nargs=3Dnargs@entry=3D1, args=3D<optim=
ized out>,=20
    args@entry=3D0x8c314c <pure+411308>) at ../../src/bytecode.c:880
#39 0x0000000000566416 in funcall_lambda (fun=3DXIL(0x7ffe5e975e30),=20
    nargs=3Dnargs@entry=3D1, arg_vector=3D0x8c314c <pure+411308>,=20
    arg_vector@entry=3D0x7ffe5e975d60) at ../../src/eval.c:2863
#40 0x00000000005666db in Ffuncall (nargs=3D2, args=3Dargs@entry=3D0x7ffe5e=
975d58)
    at ../../src/eval.c:2760
#41 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#42 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x1357aa5),=20
    nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@entry=3D0x7ffe5e975fc0)
    at ../../src/eval.c:2929
#43 0x00000000005666db in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7ffe5e=
975fb8)
    at ../../src/eval.c:2760
#44 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#45 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x1355a05),=20
    nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@entry=3D0x7ffe5e9761e0)
---Type <return> to continue, or q <return> to quit---
    at ../../src/eval.c:2929
#46 0x00000000005666db in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7ffe5e=
9761d8)
    at ../../src/eval.c:2760
#47 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#48 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x135594d),=20
    nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@entry=3D0x7ffe5e976508)
    at ../../src/eval.c:2929
#49 0x00000000005666db in Ffuncall (nargs=3Dnargs@entry=3D1,=20
    args=3Dargs@entry=3D0x7ffe5e976500) at ../../src/eval.c:2760
#50 0x0000000000567d0c in Fapply (nargs=3D2, args=3D0x7ffe5e976500)
    at ../../src/eval.c:2280
#51 0x00000000005667e9 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7ffe5e=
9764f8)
    at ../../src/eval.c:2679
#52 0x000000000059f173 in exec_byte_code (bytestr=3D<optimized out>,=20
    vector=3D<optimized out>, maxdepth=3D<optimized out>,=20
    args_template=3Dargs_template@entry=3DXIL(0), nargs=3Dnargs@entry=3D0,=
=20
    args=3D<optimized out>, args@entry=3D0x0) at ../../src/bytecode.c:880
#53 0x00000000005662ed in funcall_lambda (fun=3DXIL(0x9b3855),=20
    nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7ffe5e976718)
    at ../../src/eval.c:2929
---Type <return> to continue, or q <return> to quit---
#54 0x00000000005666db in Ffuncall (nargs=3Dnargs@entry=3D2,=20
    args=3Dargs@entry=3D0x7ffe5e976710) at ../../src/eval.c:2760
#55 0x00000000005669da in call1 (fn=3Dfn@entry=3DXIL(0xb340),=20
    arg1=3Darg1@entry=3DXIL(0x1356ac5)) at ../../src/eval.c:2558
#56 0x00000000004f7714 in timer_check_2 (idle_timers=3D<optimized out>,=20
    timers=3D<optimized out>) at ../../src/keyboard.c:4432
#57 timer_check () at ../../src/keyboard.c:4494
#58 0x00000000005a9851 in wait_reading_process_output (
    time_limit=3Dtime_limit@entry=3D0, nsecs=3Dnsecs@entry=3D0,=20
    read_kbd=3Dread_kbd@entry=3D-1, do_display=3Dtrue,=20
    wait_for_cell=3Dwait_for_cell@entry=3DXIL(0), wait_proc=3Dwait_proc@ent=
ry=3D0x0,=20
    just_wait_proc=3D0) at ../../src/process.c:4600
#59 0x00000000004fc80c in kbd_buffer_get_event (end_time=3D0x0,=20
    used_mouse_menu=3D0x7ffe5e9773cb, kbp=3D<synthetic pointer>)
    at ../../src/keyboard.c:3824
#60 read_event_from_main_queue (used_mouse_menu=3D0x7ffe5e9773cb,=20
    local_getcjmp=3D0x7ffe5e976fe0, end_time=3D0x0) at ../../src/keyboard.c=
:2153
#61 read_decoded_event_from_main_queue (used_mouse_menu=3D<optimized out>,=
=20
    prev_event=3D<optimized out>, local_getcjmp=3D<optimized out>,=20
    end_time=3D<optimized out>) at ../../src/keyboard.c:2216
#62 read_char (commandflag=3Dcommandflag@entry=3D1, map=3Dmap@entry=3DXIL(0=
x1f9cd43),=20
    prev_event=3DXIL(0), used_mouse_menu=3Dused_mouse_menu@entry=3D0x7ffe5e=
9773cb,=20
    end_time=3Dend_time@entry=3D0x0) at ../../src/keyboard.c:2804
---Type <return> to continue, or q <return> to quit---
#63 0x00000000004fe62d in read_key_sequence (
    keybuf=3Dkeybuf@entry=3D0x7ffe5e9774c0, prompt=3Dprompt@entry=3DXIL(0),=
=20
    dont_downcase_last=3Ddont_downcase_last@entry=3Dfalse,=20
    can_return_switch_frame=3Dcan_return_switch_frame@entry=3Dtrue,=20
    fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue,=20
    prevent_redisplay=3Dprevent_redisplay@entry=3Dfalse, bufsize=3D30)
    at ../../src/keyboard.c:9068
#64 0x0000000000500264 in command_loop_1 () at ../../src/keyboard.c:1370
#65 0x0000000000565002 in internal_condition_case (
    bfun=3Dbfun@entry=3D0x500040 <command_loop_1>,=20
    handlers=3Dhandlers@entry=3DXIL(0x4b00), hfun=3Dhfun@entry=3D0x4f68c0 <=
cmd_error>)
    at ../../src/eval.c:1315
#66 0x00000000004f1cf4 in command_loop_2 (ignore=3Dignore@entry=3DXIL(0))
    at ../../src/keyboard.c:1112
#67 0x0000000000564fa3 in internal_catch (tag=3Dtag@entry=3DXIL(0xb580),=20
    func=3Dfunc@entry=3D0x4f1cd0 <command_loop_2>, arg=3Darg@entry=3DXIL(0))
    at ../../src/eval.c:1080
#68 0x00000000004f1cb0 in command_loop () at ../../src/keyboard.c:1091
#69 0x00000000004f64b7 in recursive_edit_1 () at ../../src/keyboard.c:697
#70 0x00000000004f6808 in Frecursive_edit () at ../../src/keyboard.c:768
#71 0x000000000041a032 in main (argc=3D2, argv=3D0x7ffe5e977848)
    at ../../src/emacs.c:1629

---Type <return> to continue, or q <return> to quit---
Lisp Backtrace:
"signal" (0x5e974a98)
"error" (0x5e974c48)
"get-device-terminal" (0x5e974e08)
"frames-on-display-list" (0x5e974fc0)
0x8a6a38 PVEC_COMPILED
"mapcar" (0x5e9753a8)
"internal--before-save-selected-window" (0x5e9755b0)
"walk-windows" (0x5e975710)
0x25d05c0 Lisp type 3
"run-hooks" (0x5e975ac8)
"get-buffer-create" (0x5e975bc8)
"generate-new-buffer" (0x5e975d60)
"battery-linux-sysfs" (0x5e975fc0)
"battery-update" (0x5e9761e0)
"battery-update-handler" (0x5e976508)
"apply" (0x5e976500)
"timer-event-handler" (0x5e976718)








Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29548; Package emacs. Full text available.
Merged 22362 23378 29548. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 29548 <at> debbugs.gnu.org:


Received: (at 29548) by debbugs.gnu.org; 3 Dec 2017 16:09:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 03 11:09:32 2017
Received: from localhost ([127.0.0.1]:43586 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLWpg-00087F-1h
	for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:09:32 -0500
Received: from mail-it0-f44.google.com ([209.85.214.44]:42610)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1eLWpe-000872-RI
 for 29548 <at> debbugs.gnu.org; Sun, 03 Dec 2017 11:09:31 -0500
Received: by mail-it0-f44.google.com with SMTP id p139so7391253itb.1
 for <29548 <at> debbugs.gnu.org>; Sun, 03 Dec 2017 08:09:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=Z0mnk1Mf/QJ5sEhr4Io3aFHNb+GbTkpaTCurcZBhJfo=;
 b=FLWQm/TKPXy4yrMLXA31x114oMHvsrSb4Kt5VVY6D2rmjyhK+qwserpwm67J6iM58T
 Fr8ae2ARoTP+AiZ4Ko0roGGGKCapnsUSZVdRn7lTnipEUIXIE6Y61vFba1tkGng5m/Kt
 ltHZ08POplJrrsI+IvLGaGAi1+GzrsmSh6N0bEqsRz4BsSq+wJI0FKMk0vxp629xF8Rf
 utz7DKt5bkZiEZbPiTZlJnXzw+dsN5UsSg5gcSXV0XUTDMe+c2tasm9BnyJvnbFnjemi
 0Uf6kd9fCAtjcOUXjZA3Rf6yLLPH/VYCbu2b9Y9H/AMKXMWSKkA5ikn41Na6/P1Ni1M5
 g/0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=Z0mnk1Mf/QJ5sEhr4Io3aFHNb+GbTkpaTCurcZBhJfo=;
 b=r748QEbny7TII0GD6rkNrnDRgQo8hvA/cMYVcRTzUlVxUoa1nx0GpVpkX1tLuLh/sz
 bND2PJ7fn4kf4NfWsX8w5uHwnvrXzwIVIkc8/dl3Ub3Lrs6G4tGGGtcDKed5OHHS3JA9
 iO4f2zF6hMyjgzStVXJ8NxtCTCKlIpQPmopjHnH5IUKON60Gh8LZerNzEOw1yPsY1qVm
 t11PuQkdeEGjlsGCoztSdsXF42INsx2LgrcJLwUXNDpGHtnzAFbaCEpShyeKyxCtpa7W
 CqasUO7LcGkgKpcOn+IdtFUSAN2xxRqMGqaWbS1f/NgjW/ErKjofXfXtNI7OCuioluFh
 XLQQ==
X-Gm-Message-State: AKGB3mLvHSVcQAh4GFYard5lE5PN0LVsv1i0leHp+HEJh3I24/hbG9a7
 hIyWAq83uSBhMNF1uj96XyBSLw==
X-Google-Smtp-Source: AGs4zMabPT7O3LNZ8+AN2kOKd3H4x4XNqhA07sedjO38bsmXZSmTpkgU82tyx6bcOtoIl5prbHK4tg==
X-Received: by 10.36.222.68 with SMTP id d65mr1417053itg.67.1512317365186;
 Sun, 03 Dec 2017 08:09:25 -0800 (PST)
Received: from zebian ([45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id 140sm1241039itx.3.2017.12.03.08.09.24
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 03 Dec 2017 08:09:24 -0800 (PST)
From: Noam Postavsky <npostavs@HIDDEN>
To: Live System User <nyc4bos@HIDDEN>
Subject: Re: bug#29548: 25.2; How to DEBUG get-device-terminal
References: <87d13v24zb.fsf@HIDDEN>
Date: Sun, 03 Dec 2017 11:09:23 -0500
In-Reply-To: <87d13v24zb.fsf@HIDDEN> (Live System User's message of "Sun, 03
 Dec 2017 10:42:00 -0500")
Message-ID: <87k1y3iyj0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 29548
Cc: 29548 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.1 (/)

Live System User <nyc4bos@HIDDEN> writes:

> Hi,
>
>         I currently have an Emacs (GUI) proceaa giving the
>         error:
>
> get-device-terminal: Invalid argument #<terminal 5> in
> 'get-device-terminal'
> Error running timer battery-update-handler' (error Invalid argument
> #<terminal 5> in 'get-device-terminal'")
>
>         I belive this happened in my setup after I did the following
>         in conjuction with an Emacs daemon process:
>
>           (From a terminall shell prompt)
>           $ emacsclient -c file1.txt
>           (Emacs frame pops up)
>
>           From another terminal shell prompt::
>           $ emacsclient -t file1.txt
>           (terminal shows Emacs with file1.txt buffer)
>           'C-x 5 0' "(delete-frame)" in Emacs (TTY)
>           (terminal "clears" -- Emacs (TTY) mo longer on scree, as
>           expected, but mot returned to system shell prompt)
>           (Emacs (GUI) frame starts showing 'get-device-terminql'
>           error messages abd is umresponsive to any keyboard input)
>
>           This Emacs process is still avaiable to GDB, if useful.

Looks like that error comes from a condition-case-unless-debug handler
(in timer-event-handler).  Can you set `debug-on-error' from an
emacsclient and get a backtrace?  Otherwise I think 'break Fsignal' in
GDB should give some info as well (make sure that src/.gdbinit is
sourced so you get a lisp backtrace in addition to the C one).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29548; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Dec 2017 15:42:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 03 10:42:17 2017
Received: from localhost ([127.0.0.1]:43539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eLWPJ-0005W2-Ek
	for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 10:42:17 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38712)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nyc4bos@HIDDEN>) id 1eLWPH-0005Vl-SF
 for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 10:42:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1eLWPB-0005UF-8w
 for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 10:42:10 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51859)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nyc4bos@HIDDEN>) id 1eLWPB-0005U8-5f
 for submit <at> debbugs.gnu.org; Sun, 03 Dec 2017 10:42:09 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57915)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1eLWP9-0005Ln-Fs
 for bug-gnu-emacs@HIDDEN; Sun, 03 Dec 2017 10:42:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1eLWP6-0005TM-Ad
 for bug-gnu-emacs@HIDDEN; Sun, 03 Dec 2017 10:42:07 -0500
Received: from omr-a005e.mx.aol.com ([204.29.186.50]:55871)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nyc4bos@HIDDEN>) id 1eLWP6-0005Ss-68
 for bug-gnu-emacs@HIDDEN; Sun, 03 Dec 2017 10:42:04 -0500
Received: from mtaout-aao01.mx.aol.com (mtaout-aao01.mx.aol.com [172.27.21.13])
 by omr-a005e.mx.aol.com (Outbound Mail Relay) with ESMTP id 611913800087
 for <bug-gnu-emacs@HIDDEN>; Sun,  3 Dec 2017 10:42:02 -0500 (EST)
Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net
 [73.16.70.190])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mtaout-aao01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 C54A338000089
 for <bug-gnu-emacs@HIDDEN>; Sun,  3 Dec 2017 10:42:01 -0500 (EST)
From: Live System User <nyc4bos@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; How to DEBUG get-device-terminal
Date: Sun, 03 Dec 2017 10:42:00 -0500
Message-ID: <87d13v24zb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
x-aol-global-disposition: G
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20150623; t=1512315722;
 bh=QRHrA5WYv+OH4YKqe+aJYKgeDfZn2HLy/hhCSdw364o=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=R8WXcc9OTDfRYFxVan8cqyk7Cj8ypzSYj/mDlYT0eNsePq9oGabPtzYToBoTpLVNC
 jqSzs1jmdgxOrfoXiEvmCL4AynFTQ8cNZAj8bdT7PNKbXjVdEmgQnH4X9aWV0cDRD7
 x+FcwPL9RdjOBDYGhRfZQe2hkABxfKcBTfZWjSqM=
x-aol-sid: 3039ac1b150d5a241b496bb6
X-AOL-IP: 73.16.70.190
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


Hi,

        I currently have an Emacs (GUI) proceaa giving the
        error:

get-device-terminal: Invalid argument #<terminal 5> in
'get-device-terminal'
Error running timer battery-update-handler' (error Invalid argument
#<terminal 5> in 'get-device-terminal'")

        I belive this happened in my setup after I did the following
        in conjuction with an Emacs daemon process:

          (From a terminall shell prompt)
          $ emacsclient -c file1.txt
          (Emacs frame pops up)

          From another terminal shell prompt::
          $ emacsclient -t file1.txt
          (terminal shows Emacs with file1.txt buffer)
          'C-x 5 0' "(delete-frame)" in Emacs (TTY)
          (terminal "clears" -- Emacs (TTY) mo longer on scree, as
          expected, but mot returned to system shell prompt)
          (Emacs (GUI) frame starts showing 'get-device-terminql'
          error messages abd is umresponsive to any keyboard input)

          This Emacs process is still avaiable to GDB, if useful.

          If not, the only thing else I can do is to kill the Emacs
          process(es) from the command line.

          Please advixe.

          Thanks.

          



In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.10)
 of 2017-05-02 built on buildvm-17.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.11803000
Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Summary

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-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
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
nnimap read 136k from imap.aim.com [2 times]
nnimap read 152k from imap.aim.com
nnimap read 160k from imap.aim.com [2 times]
nnimap read 176k from imap.aim.com
nnimap read 184k from imap.aim.com
Fetching headers for nnimap+aol:INBOX...done
Scoring...done
Sorting threads...done
Generating summary...done
Quit
previous-line: Beginning of buffer [9 times]

Load-path shadows:
None found.

Features:
(shadow emacsbug sendmail sort gnus-cite smiley ansi-color shr-color
color shr dom subr-x browse-url mail-extr gnus-async gnus-bcklg qp
gnus-ml disp-table cursor-sensor nndraft nnmh nndoc mm-archive jka-compr
timezone url-http url-gw url-cache url-auth url-handlers utf-7 rfc2104
nnfolder network-stream nsm starttls gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache epa-file epa derived
nnreddit mm-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq
eieio eieio-core cl-macs url-vars json map seq byte-opt bytecomp
byte-compile cl-extra cconv gnus-art mm-uu mml2015 mm-view mml-smime
smime dig mailcap cl gv sieve sieve-mode sieve-manage nnir gnus-sum
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls
gnutls utf7 netrc parse-time gnus-spec gnus-int gnus-range message dired
format-spec rfc822 mml mml-sec password-cache epg epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems wid-edit nnoo
nnheader gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase
cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded 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
dbusbind inotify dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 341497 43309)
 (symbols 48 125854 0)
 (miscs 40 215 249)
 (strings 32 108374 6729)
 (string-bytes 1 3799327)
 (vectors 16 26887)
 (vector-slots 8 926120 60648)
 (floats 8 571 497)
 (intervals 56 11919 146)
 (buffers 976 45)
 (heap 1024 65802 17295))




Acknowledgement sent to Live System User <nyc4bos@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#29548; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 6 Dec 2017 20:00:02 UTC

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