From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#16479: 24.3.50; daemon freeze with tty menus Date: Fri, 17 Jan 2014 04:39:55 -0500 Message-ID: <87y52fgd5g.fsf@holos.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389951629 23577 80.91.229.3 (17 Jan 2014 09:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 09:40:29 +0000 (UTC) To: 16479@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 10:40:32 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W45ug-0000tg-MC for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 10:40:30 +0100 Original-Received: from localhost ([::1]:37081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45uf-00076p-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 04:40:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45uP-00076Y-1N for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:40:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W45uF-0002TB-H2 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:40:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45uF-0002Sl-D6 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W45uE-0004uO-Rl for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138995155018789 (code B ref -1); Fri, 17 Jan 2014 09:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jan 2014 09:39:10 +0000 Original-Received: from localhost ([127.0.0.1]:54432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W45tN-0004sy-DW for submit@debbugs.gnu.org; Fri, 17 Jan 2014 04:39:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51494) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W45tI-0004sm-VS for submit@debbugs.gnu.org; Fri, 17 Jan 2014 04:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W45t9-0002GN-A9 for submit@debbugs.gnu.org; Fri, 17 Jan 2014 04:39:04 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45t9-0002GJ-6V for submit@debbugs.gnu.org; Fri, 17 Jan 2014 04:38:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45t1-0006dr-J8 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:38:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W45sr-0002EQ-3k for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:38:47 -0500 Original-Received: from mail-qa0-f49.google.com ([209.85.216.49]:46135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45sq-0002EM-V2 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 04:38:37 -0500 Original-Received: by mail-qa0-f49.google.com with SMTP id w8so3045243qac.22 for ; Fri, 17 Jan 2014 01:38:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=0OROiF83sjxuQKmHWrOr2h+14pLtlQaX5NWbzZc1mKw=; b=XG58CuAng0P8hUdxMWw4prJHH0CLLH1Ec2SO9m1dGMNqlO8IyVTlRcLUewksY3v4V+ Kzu7Pd3abdKA/LomfnCAdp1ocDSPNeA3T2orfuiyhhOnuPlN1VLS/rR4lONdW1I+Dvhq 1afLxWr2BdHd6lg+QBpnVGUzz+obbkfEXqm0Sor3BVcEs6zIDIZ7tTpr5GpTk/VkjDZQ cuurW+77I0v1mXvK5pvi9jL+bZJPJwCGTRPTU2He2h9Q5HUSwHR5rj0k53E7QADC0IOe fbnkzi5Oo747hzqsMa/WFmrcJR3hiNYx1W/GOZ2HqwtRigWR5JFkSgmqDsWjIjzEhy6T QPVw== X-Gm-Message-State: ALoCoQkQ2xkl50/nUZ5rcZ/H42KbLCi309Y9KQyfh+ODNSrJfv3VP3GZ/zeQwXR0JlNy70GAMxYI X-Received: by 10.224.127.131 with SMTP id g3mr1340887qas.98.1389951516315; Fri, 17 Jan 2014 01:38:36 -0800 (PST) Original-Received: from holos.localdomain (c-68-55-201-85.hsd1.md.comcast.net. [68.55.201.85]) by mx.google.com with ESMTPSA id u4sm13667111qai.21.2014.01.17.01.38.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2014 01:38:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83636 Archived-At: >From emacs --daemon -Q: $ emacsclient -t M-x menu-bar-mode RET At this point, the daemon is started, and a client is open with a tty menu selected. Leaving the first client alone, open a new one $ emacsclient -t Now emacs is frozen. Here is the tail of a strace attached to the daemon, which I helped crash by closing one of the clients. 04:10:03 open("/usr/share/emacs/24.3.50/lisp/obsolete/term/screen-256color.gz", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 04:10:03 open("/usr/share/emacs/24.3.50/lisp/term/screen.elc", O_RDONLY|O_CLOEXEC) = 15 04:10:03 fstat(15, {st_mode=S_IFREG|0644, st_size=616, ...}) = 0 04:10:03 close(15) = 0 04:10:03 stat("/home/mvo", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 04:10:03 write(14, "\33[H\33[J", 6) = 6 04:10:03 --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- 04:10:03 rt_sigreturn() = 6 04:10:03 ioctl(14, FIONREAD, [0]) = 0 04:10:03 ioctl(7, FIONREAD, [0]) = 0 04:10:03 write(14, "\33[25;1H\33[?25lWhen done with this"..., 75) = 75 04:10:03 --- SIGIO {si_signo=SIGIO, si_code=SI_TKILL, si_pid=18845, si_uid=1000} --- 04:10:03 rt_sigreturn() = 4611686018528051200 04:10:03 ioctl(14, FIONREAD, [0]) = 0 04:10:03 ioctl(7, FIONREAD, [0]) = 0 04:10:03 ioctl(14, FIONREAD, [0]) = 0 04:10:03 ioctl(7, FIONREAD, [0]) = 0 04:10:03 pselect6(15, [4 5 6 7 8 13 14], [], NULL, {100000, 0}, {NULL, 8}) = 1 (in [14], left {99996, 327603809}) 04:10:06 ioctl(14, FIONREAD, [15746688]) = -1 EIO (Input/output error) 04:10:06 write(14, "\33[25;1H\33[K", 10) = -1 EIO (Input/output error) 04:10:06 write(14, "\33[?1l\33>\33[34h\33[?25h\33[?1049l\33[39;4"..., 35) = -1 EIO (Input/output error) 04:10:06 fdatasync(14) = -1 EINVAL (Invalid argument) 04:10:06 fcntl(14, F_SETFL, O_RDWR|O_LARGEFILE) = 0 04:10:06 fcntl(14, F_SETOWN, 0) = 0 04:10:06 fcntl(14, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) 04:10:06 fcntl(14, F_SETFL, O_RDWR|O_LARGEFILE) = 0 04:10:06 ioctl(14, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = -1 EIO (Input/output error) 04:10:06 close(14) = 0 04:10:06 ioctl(7, FIONREAD, [0]) = 0 04:10:06 pselect6(14, [4 5 6 7 8 13], [], NULL, {100000, 0}, {NULL, 8}) = 1 (in [13], left {99999, 999991184}) 04:10:06 read(13, "", 4096) = 0 04:10:06 close(13) = 0 04:10:06 pselect6(14, [5 6 7], NULL, NULL, {0, 0}, {NULL, 8}) = 0 (Timeout) 04:10:06 ioctl(7, FIONREAD, [0]) = 0 04:10:06 pselect6(14, [4 5 6 7 8], [], NULL, {100000, 0}, {NULL, 8}) = 1 (in [7], left {99997, 207503468}) 04:10:09 --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- 04:10:09 rt_sigreturn() = 1 04:10:09 ioctl(7, FIONREAD, [1]) = 0 04:10:09 read(7, "\16", 1) = 1 04:10:09 ioctl(7, FIONREAD, [0]) = 0 04:10:09 ioctl(7, FIONREAD, [0]) = 0 04:10:09 rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTORER|SA_RESTART, 0x7f24323773e0}, {0x4f3300, ~[KILL STOP RTMIN RT_1], SA_RESTORER, 0x7f24326fb870}, 8) = 0 04:10:09 getpgrp() = 18845 04:10:09 ioctl(0, TIOCGPGRP, [32548]) = -1 ENOTTY (Inappropriate ioctl for device) 04:10:09 close(6) = 0 04:10:09 close(5) = 0 04:10:09 open("/home/mvo/.emacs.d/auto-save-list/.saves-18845-holos.localdomain~", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 5 04:10:09 fcntl(5, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE) 04:10:09 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 04:10:09 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f24291d7000 04:10:09 lseek(5, 0, SEEK_CUR) = 0 04:10:09 close(5) = 0 04:10:09 munmap(0x7f24291d7000, 4096) = 0 04:10:09 rt_sigprocmask(SIG_BLOCK, [WINCH IO], NULL, 8) = 0 04:10:09 rt_sigaction(SIGIO, {SIG_IGN, [IO], SA_RESTORER|SA_RESTART, 0x7f24323773e0}, {0x4dd260, [INT QUIT ALRM CHLD PROF WINCH IO], SA_RESTORER, 0x7f24326fb870}, 8) = 0 04:10:09 futex(0x7f24326ea1b0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 04:10:09 futex(0x7f242fa123f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 04:10:09 write(2, "\nBacktrace:\n", 12) = 12 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4f41eb", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4dae5e", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4f4243", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4a47ef", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4a5b15", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4a87e8", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"460a3c", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b6fb", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"57f63d", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b1af", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b51b", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"57f63d", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b1af", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b51b", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54cb87", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"5476a3", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b6eb", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"57f63d", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b51b", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"54b84a", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4e902d", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"549b4e", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4db2ee", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"549a5b", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4df867", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"4dfb52", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"413c55", 6}, {"]\n", 2}], 4) = 16 04:10:09 writev(2, [{"/usr/lib/libc.so.6", 18}, {"(", 1}, {"__libc_start_main", 17}, {"+0x", 3}, {"f5", 2}, {")", 1}, {"[0x", 3}, {"7f2432363b05", 12}, {"]\n", 2}], 9) = 59 04:10:09 writev(2, [{"emacs", 5}, {"[0x", 3}, {"414713", 6}, {"]\n", 2}], 4) = 16 04:10:09 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 04:10:09 tgkill(18845, 18845, SIGABRT) = 0 04:10:09 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=18845, si_uid=1000} --- 04:10:09 +++ killed by SIGABRT +++ In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2014-01-17 on holos Repository revision: Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=lucid --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x r e p o TAB r t TAB RET Recent messages: ("emacs") Starting Emacs daemon. Loading term/xterm...done When done with this frame, type C-x 5 0 Making completion list... delete-backward-char: Text is read-only [4 times] Load-path shadows: /usr/share/emacs/site-lisp/timeclock hides /usr/share/emacs/24.3.50/lisp/calendar/timeclock Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu xterm server windmove edmacro kmacro cl-loaddefs cl-lib time-date paren zenburn-theme 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 x-toolkit x multi-tty emacs)