From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs freezes - how to troubleshoot, build with assertions Date: Sat, 02 Nov 2013 14:52:57 +0200 Message-ID: <83txfv9d92.fsf@gnu.org> References: <5274EE7F.6050508@poczta.onet.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383396800 31588 80.91.229.3 (2 Nov 2013 12:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 12:53:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jarek Czekalski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 02 13:53:24 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Vcahf-0007PE-If for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2013 13:53:23 +0100 Original-Received: from localhost ([::1]:41924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcahf-0003hy-8x for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2013 08:53:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcahX-0003hj-FV for emacs-devel@gnu.org; Sat, 02 Nov 2013 08:53:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcahR-0005O1-UA for emacs-devel@gnu.org; Sat, 02 Nov 2013 08:53:15 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcahR-0005Nt-Ls for emacs-devel@gnu.org; Sat, 02 Nov 2013 08:53:09 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVM00H00ZLJ4400@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 02 Nov 2013 14:53:07 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVM00H7YZSJ2Q30@a-mtaout20.012.net.il>; Sat, 02 Nov 2013 14:53:07 +0200 (IST) In-reply-to: <5274EE7F.6050508@poczta.onet.pl> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164862 Archived-At: > Date: Sat, 02 Nov 2013 13:22:23 +0100 > From: Jarek Czekalski > > Emacs freezes when using scroll bar with mouse. I'd like to pin it down, > but I can't see a starting place. Tried searching info for "assert" and > "freez", searched "configure" options for "ass". Still no idea how to > debug it. The usual way to debug freezes is to attach the debugger to the frozen process, and produce a backtrace. Also, etc/DEBUG describes how to debug infinite loops (if that is what's happening); search for "If the symptom of the bug is that Emacs fails to respond". > I guess I have to build Emacs with assertions. That is always the preferred way, when you are running the development code. > I am a bit frustrated when I have to ask the list because I can't find > the starting point. Is the info hidden somewhere or absent at all? If > this is absent, could you please put it somewhere? Is the above the starting point you were looking for? If not, please elaborate about what would you like to find as a starting point.