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#18112: 24.4.50; emacs --daemon infinite loop in find_interval Date: Fri, 25 Jul 2014 19:08:43 -0400 Message-ID: <877g31dojo.fsf@holos.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406329838 24196 80.91.229.3 (25 Jul 2014 23:10:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2014 23:10:38 +0000 (UTC) To: 18112@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 26 01:10:31 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 1XAodA-0004h1-AI for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 01:10:28 +0200 Original-Received: from localhost ([::1]:57177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAod9-0002hg-Dk for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 19:10:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAocu-0002dH-Pw for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:10:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAock-00019w-So for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:10:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAock-00019j-Ol for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XAock-0004pH-9i for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jul 2014 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18112 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.140632976218490 (code B ref -1); Fri, 25 Jul 2014 23:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jul 2014 23:09:22 +0000 Original-Received: from localhost ([127.0.0.1]:38197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAoc5-0004o9-2X for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAoc1-0004nq-LC for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAobm-0000lM-It for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobm-0000lI-FK for submit@debbugs.gnu.org; Fri, 25 Jul 2014 19:09:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobe-0002W0-U7 for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:09:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAobX-0000hH-DM for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:08:54 -0400 Original-Received: from mail-qg0-f49.google.com ([209.85.192.49]:64160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAobX-0000h9-8y for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2014 19:08:47 -0400 Original-Received: by mail-qg0-f49.google.com with SMTP id j107so5801819qga.22 for ; Fri, 25 Jul 2014 16:08:46 -0700 (PDT) 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=6zNbrOHQnSBEqhHkHCF7dhmjuS4M3rAGvcMe0ARDFtI=; b=GssHBiIIZAEN3nnu+Yqz+FKN7KyFA4p7jACA5D/w5YTN8y+pmfcmHeTIi+jNr7jq3W l9JyM5XlR9BSkkoJvxQjwKtSew8k/8uSDry2pC2qK63U2x4zzgFXWH5dHG0AC1yXyEaf +q7Faw2rgPEEmDQjUOiYv+qZrovTSs4jHDCS9+ntuYCPpr87a+Qam0HDib3Mp/Gd1fL+ lyz5fbrthHf/SgGG7cB4v+b5raCtreytzTtqXx7fh/Lmnck4PhJYGDMF87OW6z/SX/Fm wjsTsSeqemyY+iigB7xnuYWqhXtcPL7mzvhopN9jbuNsUMKLTt1r8dE6I7lJ5lViD4XO 6YZg== X-Gm-Message-State: ALoCoQkVzlSZu6BaLr8Yycy/CkXyanVM9/nMryYPLs4ZbjKu9cRKOqwzOvLNi2FMufTcTmX33aEG X-Received: by 10.140.85.166 with SMTP id n35mr31247606qgd.67.1406329726457; Fri, 25 Jul 2014 16:08:46 -0700 (PDT) Original-Received: from holos.localdomain (ip68-100-203-36.dc.dc.cox.net. [68.100.203.36]) by mx.google.com with ESMTPSA id c13sm3258376qaa.11.2014.07.25.16.08.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 16:08:45 -0700 (PDT) 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:91807 Archived-At: Reproducible on my system with tmux 1.9a: 1. emacs --daemon -Q 2. Start tmux in a term emulator and invoke `emacsclient -t` in the tmux window 3. Do `C-x 3` in the client 4. Split horizontally the tmux window into two panes: " 5. Open a new emacsclient in the new pane, exit the client (^X^C), and close the new tmux pane (^D) 6. Interact with the first client. Attaching with gdb the first time: find_interval (tree=0xed9198, position=732) at intervals.c:681 681 in intervals.c (gdb) s 683 in intervals.c (gdb) s 701 in intervals.c (gdb) s 681 in intervals.c (gdb) s 683 in intervals.c (gdb) s 701 in intervals.c Otherwise, setting a breakpoint at find_interval and continuing, `position` changes value but I always end up back at find_interval. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2014-07-24 on holos Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -g -fvar-tracking-assignments' LDFLAGS=-Wl,-O0,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB 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: flycheck-mode: t company-mode: t winner-mode: t 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 Recent input: ESC [ > 0 ; 9 5 ; 0 c ESC x r e p o - e m - b TAB RET Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/24.4.50/lisp/loaddefs hides /home/mvo/.emacs.d/site-lisp/loaddefs Features: (shadow sort gnus-util mail-extr emacsbug message idna dired 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 xterm flycheck find-func help-mode easymenu rx f dash s company-files company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-ropemacs company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company pcase easy-mmode cl-macs gv package windmove edmacro kmacro cl-loaddefs cl-lib saveplace winner ring 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) Memory information: ((conses 16 130940 8879) (symbols 48 21621 0) (miscs 40 46 141) (strings 32 22838 6984) (string-bytes 1 615107) (vectors 16 17827) (vector-slots 8 1133415 211358) (floats 8 92 595) (intervals 56 205 0) (buffers 960 11) (heap 1024 46183 1194))