unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Miles Bader" <miles@gnu.org>
To: "Dan Nicolaescu" <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: annoying behavior of emacs --daemon
Date: Tue, 4 Nov 2008 18:47:08 +0900	[thread overview]
Message-ID: <fc339e4a0811040147v752012fbub1e61db38cc88ef0@mail.gmail.com> (raw)
In-Reply-To: <200811040855.mA48tmJb020747@mothra.ics.uci.edu>

On Tue, Nov 4, 2008 at 5:55 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
>  > >   > When using --daemon, you initially have no frames.  You can then make
>  > >   > new frames with emacsclient -c or emacsclient -t, but if they're X
>  > >   > frames, closing the last such created frame (with C-x # or C-x C-c)
>  > >   > kills the emacs process!
>
> I still cannot reproduce this, with emacs freshly checked out and after
> a "make maintainer-clean" and /bin/rm -f /tmp/emacs*/server
>
> Can you please try to debug and find out why emacs dies for you?

Hmm, it seems to segfault in xlib, though I'm not sure why.  I'm using
a gtk emacs; are you also?

1509	    if (terminal->reference_count == 0)
(gdb) n
1515		Fdelete_terminal (tmp, NILP (force) ? Qt : force);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0xb780dfc0 in _XSend () from /usr/lib/libX11.so.6
(gdb) ba
#0  0xb780dfc0 in _XSend () from /usr/lib/libX11.so.6
#1  0xb780e1b2 in _XFlush () from /usr/lib/libX11.so.6
#2  0xb77e5d71 in XFlush () from /usr/lib/libX11.so.6
#3  0xb7839700 in ?? () from /usr/lib/libX11.so.6
#4  0x0881a940 in ?? ()
#5  0xb78b53ec in ?? () from /usr/lib/libX11.so.6
#6  0xbfffb188 in ?? ()
#7  0xb7838de2 in _XimFlush () from /usr/lib/libX11.so.6
Backtrace stopped: frame did not save the PC

Lisp Backtrace:
"delete-frame" (0xbfffc374)
"server-delete-client" (0xbfffc4b4)
"server-save-buffers-kill-terminal" (0xbfffc5e4)
"save-buffers-kill-terminal" (0xbfffc764)
"call-interactively" (0xbfffc924)

-Miles
-- 
Do not taunt Happy Fun Ball.




  reply	other threads:[~2008-11-04  9:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04  5:48 annoying behavior of emacs --daemon Miles Bader
2008-11-04  6:34 ` Dan Nicolaescu
2008-11-04  7:28   ` Miles Bader
2008-11-04  8:55     ` Dan Nicolaescu
2008-11-04  9:47       ` Miles Bader [this message]
2008-11-04 13:03         ` Liang Wang
2008-11-04 13:49           ` Miles Bader
2008-11-04 16:48             ` Chong Yidong
2008-11-04 15:12         ` Dan Nicolaescu
2008-11-04 15:51           ` Miles Bader
2008-11-04  9:24     ` unclear [was: annoying] " Stephen J. Turnbull
2008-11-04 16:55       ` unclear Chong Yidong
2008-11-05 17:57         ` unclear Ulrich Mueller

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=fc339e4a0811040147v752012fbub1e61db38cc88ef0@mail.gmail.com \
    --to=miles@gnu.org \
    --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 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).