* bug#25014: 24.5; crashes when X dies
@ 2016-11-24 10:41 Francesco Potortì
2016-11-24 15:05 ` Óscar Fuentes
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Potortì @ 2016-11-24 10:41 UTC (permalink / raw)
To: 25014
I run Emacs in text mode (-nw) under screen. I use screen in an X
virtual terminal. From there, I create a frame under X using
make-frame-on-display. So I have a text frame and a graphic frame.
If X dies, Emacs dies. I wish it did not die, but only deleted the
graphic frame.
The error message (below) says that Emacs cannot recover from X
disconnects. However in this case it has a text frame, it looks strange
to me that it can't even keep running on the text frame. If htis is the
case, is there any workaround?
THanks for caring
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
emacs[0x501963]
emacs[0x4e7f8e]
emacs[0x5019a3]
emacs[0x4bc7df]
emacs[0x4bc89d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XIOError+0x4e)[0x7fbc2aff950e]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XReply+0x3fb)[0x7fbc2aff75eb]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XGetSelectionOwner+0x51)[0x7fbc2afdd861]
emacs[0x4d4f24]
emacs[0x4d5fb0]
emacs[0x4c2b73]
emacs[0x4c4470]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x67ad1)[0x7fbc2ce3ead1]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x67d89)[0x7fbc2ce3ed89]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x79)[0x7fbc2ce09179]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x67b42)[0x7fbc2ce3eb42]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7)[0x7fbc2b7667f7]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aa60)[0x7fbc2b766a60]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fbc2b766b0c]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7fbc2d2fb915]
emacs[0x4bc8f2]
emacs[0x4eedf9]
emacs[0x4f0465]
emacs[0x540e3a]
emacs[0x5611b5]
emacs[0x561810]
emacs[0x4eda52]
emacs[0x4edf91]
emacs[0x4eef18]
emacs[0x4f21c8]
emacs[0x59a5bb]
emacs[0x421e94]
emacs[0x4f3141]
emacs[0x4f42db]
emacs[0x4f5fd0]
emacs[0x5596b7]
emacs[0x4e835e]
emacs[0x55959b]
emacs[0x4ec9b7]
emacs[0x4eccf8]
emacs[0x417fa9]
...
Aborted (core dumped)
~
In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5)
of 2016-09-05 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11804000
System Description: Debian GNU/Linux testing (stretch)
Configured using:
`configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
--with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
'CFLAGS=-g -O2
-fdebug-prefix-map=/build/emacs24-24.5+1=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
-D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'
Important settings:
value of $LC_COLLATE: it_IT.UTF-8
value of $LC_CTYPE: it_IT.UTF-8
value of $LC_NUMERIC: C
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Mail
Minor modes in effect:
TeX-PDF-mode: t
desktop-save-mode: t
shell-dirtrack-mode: t
openwith-mode: t
xterm-mouse-mode: t
display-time-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-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
column-number-mode: t
line-number-mode: t
auto-fill-function: mail-mode-auto-fill
abbrev-mode: t
Recent messages:
0 new messages read
No following nondeleted message
Expunging deleted messages...done
Saving file /home/pot/Mail/GNU...
Wrote /home/pot/Mail/GNU [2 times]
(No new mail has arrived)
0 new messages read
(No changes need to be saved)
Thu, 24 Nov 2016: Sunrise 7:15am (CET), sunset 4:43pm (CET) at Rome (9:28 hours daylight)
Preparing diary...done
Load-path shadows:
~/elisp/bhl hides /usr/share/emacs/24.5/site-lisp/bhl
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.5/lisp/md4
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.5/lisp/hex-util
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.5/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.5/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.5/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.5/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.5/lisp/net/sasl
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.5/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.5/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex
/usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs24/site-lisp/mailcrypt/expect hides /usr/share/emacs/site-lisp/mailcrypt/expect
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp5 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp5
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp6 hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp6
/usr/share/emacs24/site-lisp/mailcrypt/mc-pgp hides /usr/share/emacs/site-lisp/mailcrypt/mc-pgp
/usr/share/emacs24/site-lisp/mailcrypt/mc-toplev hides /usr/share/emacs/site-lisp/mailcrypt/mc-toplev
/usr/share/emacs24/site-lisp/mailcrypt/mailcrypt hides /usr/share/emacs/site-lisp/mailcrypt/mailcrypt
/usr/share/emacs24/site-lisp/mailcrypt/mc-setversion hides /usr/share/emacs/site-lisp/mailcrypt/mc-setversion
/usr/share/emacs24/site-lisp/mailcrypt/mc-remail hides /usr/share/emacs/site-lisp/mailcrypt/mc-remail
/usr/share/emacs24/site-lisp/mailcrypt/mc-gpg hides /usr/share/emacs/site-lisp/mailcrypt/mc-gpg
Features:
(shadow emacsbug etags rmailedit octave rect mailalias rmailout doc-view
time-stamp misearch multi-isearch jka-compr qp parse-time unrmail
rmailmm message mml mml-sec mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader mail-parse rfc2231 bibtex info sh-script smie
executable sgml-mode vc-rcs cc-langs cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs image-mode
octave-mod conf-mode generic vc-dispatcher vc-svn latexenc preview
prv-emacs tex-bar tex-buf toolbar-x noutline outline font-latex latex
easy-mmode edmacro kmacro tex-style tex dbus xml crm tex-mode compile
solar cal-dst server desktop frameset xterm pot skeleton rmailsum rmail
warnings sendmail rfc2047 rfc2045 ietf-drums mail-utils mime-compose
view mule-util vc-hg appt diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs tramp tramp-compat tramp-loaddefs trampver shell pcomplete
format-spec bhl switch-to-shell openwith hi-lock xt-mouse package
epg-config ffap thingatpt url-parse auth-source eieio byte-opt bytecomp
byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core gnus-util
time-date mm-util mail-prsvr password-cache url-vars scroll-in-place
filladapt advice help-fns time quail help-mode mailcrypt rfc822 comint
ansi-color ring dired-x easymenu dired generic-x disp-table debian-el
debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-version vm-vars
vm-init mailcrypt-init preview-latex tex-site auto-loads tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
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
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 393129 45178)
(symbols 48 37536 0)
(miscs 40 3441 2187)
(strings 32 83627 10024)
(string-bytes 1 2686387)
(vectors 16 36468)
(vector-slots 8 1512625 241688)
(floats 8 518 785)
(intervals 56 35130 689)
(buffers 960 93))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#25014: 24.5; crashes when X dies
2016-11-24 10:41 bug#25014: 24.5; crashes when X dies Francesco Potortì
@ 2016-11-24 15:05 ` Óscar Fuentes
0 siblings, 0 replies; 2+ messages in thread
From: Óscar Fuentes @ 2016-11-24 15:05 UTC (permalink / raw)
To: Francesco Potortì; +Cc: 25014-done
Francesco Potortì <pot@gnu.org> writes:
> The error message (below) says that Emacs cannot recover from X
> disconnects. However in this case it has a text frame, it looks strange
> to me that it can't even keep running on the text frame. If htis is the
> case, is there any workaround?
Use an Emacs configured at build time with --with-x-toolkit=lucid, i.e.
one that does not use GTK.
This is definitively an instance of the bug quoted on your message, so
I'm closing this bug report.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-24 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 10:41 bug#25014: 24.5; crashes when X dies Francesco Potortì
2016-11-24 15:05 ` Óscar Fuentes
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).