From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval Date: Sat, 26 Jul 2014 09:42:25 +0300 Message-ID: <83k370ipta.fsf@gnu.org> References: <877g31dojo.fsf@holos.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1406357007 24752 80.91.229.3 (26 Jul 2014 06:43:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2014 06:43:27 +0000 (UTC) Cc: 18112@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 26 08:43:19 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 1XAvhO-0007rc-JE for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 08:43:18 +0200 Original-Received: from localhost ([::1]:58001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAvhN-0001SX-OU for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 02:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAvhF-0001RV-7b for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 02:43:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAvh9-0004gW-GB for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 02:43:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAvh9-0004gS-D3 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 02:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XAvh8-0007gj-JD for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 02:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Jul 2014 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18112-submit@debbugs.gnu.org id=B18112.140635694629494 (code B ref 18112); Sat, 26 Jul 2014 06:43:02 +0000 Original-Received: (at 18112) by debbugs.gnu.org; 26 Jul 2014 06:42:26 +0000 Original-Received: from localhost ([127.0.0.1]:38452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAvgY-0007fe-8h for submit@debbugs.gnu.org; Sat, 26 Jul 2014 02:42:26 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:45457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAvgU-0007fK-EW for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 02:42:23 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N9B00A003KQQ500@mtaout24.012.net.il> for 18112@debbugs.gnu.org; Sat, 26 Jul 2014 09:38:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B007N43RM6E30@mtaout24.012.net.il>; Sat, 26 Jul 2014 09:38:10 +0300 (IDT) In-reply-to: <877g31dojo.fsf@holos.localdomain> X-012-Sender: halo1@inter.net.il 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:91810 Archived-At: > From: Mark Oteiza > Date: Fri, 25 Jul 2014 19:08:43 -0400 > > 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. Thanks. Please use the procedure in etc/DEBUG to find out where it loops. The procedure calls for using the "finish" command until some frame doesn't return, then stepping with "next" through that frame to see where and why it loops.