unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs daemon crash
@ 2018-09-21  3:50 hx
  2018-09-21  7:07 ` Eli Zaretskii
  2018-09-21 13:24 ` John Shahid
  0 siblings, 2 replies; 5+ messages in thread
From: hx @ 2018-09-21  3:50 UTC (permalink / raw)
  To: emacs-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-24 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21  3:50 emacs daemon crash hx
2018-09-21  7:07 ` Eli Zaretskii
2018-09-21  8:57   ` hx
2018-09-24 13:24   ` John Shahid
2018-09-21 13:24 ` John Shahid

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).