unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Elias Schwerdtfeger <nachtwaechter@tamagothi.de>
Cc: 25451@debbugs.gnu.org
Subject: bug#25451: 24.5; Freeze after while-keyword in sh-mode
Date: Sat, 14 Jan 2017 17:37:50 -0500	[thread overview]
Message-ID: <CAM-tV-85ps9fh+Jo=+NSXKWKP7yNb994k2EruZ0QgUj5ZcBitg@mail.gmail.com> (raw)
In-Reply-To: <905d96c6-951c-ca3c-cedf-cbdfc2cb34d6@tamagothi.de>

On Sat, Jan 14, 2017 at 3:54 PM, Elias Schwerdtfeger
<nachtwaechter@tamagothi.de> wrote:
>
> While typing the following, rather ordinary shell script in sh-mode,
> Emacs freezes and consumes full CPU. I had to kill the process.
>
> --- snip ---
> #!/bin/sh
> ########################################################################
> #
> # location-cascade
> # $Id$
> #
> # Requires 'lynx'
> #
> ########################################################################
>
> # User-agent
> # internet exploiter 10 for best results from spammy sites ;)
> UA='Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)'
>
> httpcode=0
> uri=$1
> while
> --- snip ---
>
> The bug is fully reproducible after recover-this-buffer.

I'm sure what this means, and I'm not able to reproduce this.

Is this reproducible from emacs -Q?
Can you reproduce it by just copying that text into a sh-mode buffer,
or does it only happen while typing?
Can you get a backtrace if you send SIGUSR2 to Emacs when it's stuck?





  reply	other threads:[~2017-01-14 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-14 20:54 bug#25451: 24.5; Freeze after while-keyword in sh-mode Elias Schwerdtfeger
2017-01-14 22:37 ` Noam Postavsky [this message]
2017-01-14 23:05   ` Elias Schwerdtfeger
2017-01-15  4:03     ` npostavs

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='CAM-tV-85ps9fh+Jo=+NSXKWKP7yNb994k2EruZ0QgUj5ZcBitg@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=25451@debbugs.gnu.org \
    --cc=nachtwaechter@tamagothi.de \
    /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).