unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jarek Czekalski <jarekczek@poczta.onet.pl>
Cc: emacs-devel@gnu.org
Subject: Re: emacs freezes - how to troubleshoot, build with assertions
Date: Sat, 02 Nov 2013 14:52:57 +0200	[thread overview]
Message-ID: <83txfv9d92.fsf@gnu.org> (raw)
In-Reply-To: <5274EE7F.6050508@poczta.onet.pl>

> Date: Sat, 02 Nov 2013 13:22:23 +0100
> From: Jarek Czekalski <jarekczek@poczta.onet.pl>
> 
> 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.



  reply	other threads:[~2013-11-02 12:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02 12:22 emacs freezes - how to troubleshoot, build with assertions Jarek Czekalski
2013-11-02 12:52 ` Eli Zaretskii [this message]
2013-11-02 14:22   ` Jarek Czekalski
2013-11-02 16:22     ` Eli Zaretskii
2013-11-03  0:16     ` Xue Fuqiao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83txfv9d92.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).