all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hx <silent2600@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: emacs daemon crash
Date: Fri, 21 Sep 2018 11:50:59 +0800	[thread overview]
Message-ID: <CAALPCHtDjBOyXWunbXe9SRqPjJVyBVZNwfNqpD99Mx9CJaG9LQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

emacs26 on i386 linux,

two sessions both su from root to a normal user ( #su - user )

1$ emacs -nw -q --fg-daemon


### I should run "script /dev/null" first, but didn't
2$ emacsclient -t
*ERROR*: Could not open file: /dev/pts/2
2$ emacsclient -t
### daemon crash here.

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
__strcmp_sse4_2 () at ../sysdeps/i386/i686/multiarch/strcmp-sse4.S:229
229     ../sysdeps/i386/i686/multiarch/strcmp-sse4.S: No such file or
directory.
(gdb) bt
#0  __strcmp_sse4_2 () at ../sysdeps/i386/i686/multiarch/strcmp-sse4.S:229
#1  0x080f2812 in get_named_terminal ()
#2  0x080f0e7b in init_tty ()
#3  0x08068579 in Fmake_terminal_frame ()
#4  0x0819f00a in Ffuncall ()
#5  0x081d9f38 in exec_byte_code ()
#6  0x0819ec9b in funcall_lambda ()
#7  0x0819ef6b in Ffuncall ()
#8  0x081d9f38 in exec_byte_code ()
#9  0x0819ec9b in funcall_lambda ()
#10 0x0819ef6b in Ffuncall ()
#11 0x081a0c1c in Fapply ()
#12 0x0819f00a in Ffuncall ()



looks like in terminal.c get_named_terminal(), the first parameter of
strcmp() is NULL

[-- Attachment #2: Type: text/html, Size: 1610 bytes --]

             reply	other threads:[~2018-09-21  3:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21  3:50 hx [this message]
2018-09-21  7:07 ` emacs daemon crash Eli Zaretskii
2018-09-21  8:57   ` hx
2018-09-24 13:24   ` John Shahid
2018-09-21 13:24 ` John Shahid

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=CAALPCHtDjBOyXWunbXe9SRqPjJVyBVZNwfNqpD99Mx9CJaG9LQ@mail.gmail.com \
    --to=silent2600@gmail.com \
    --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.