edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] infinite loop
Date: Thu, 20 Feb 2014 10:01:02 -0500	[thread overview]
Message-ID: <20140120100102.eklhad@comcast.net> (raw)

I will respond to some of your other questions in a bit, but first ...

the hog memory button, as it is today, with jspool = 8, though I don't
think pool size matters, I push it , get my numbers, get the error;
then I push it again and edbrowse falls into an infinite spinning loop inside
JS_CallFunctionName().
The load average jumps up to 1.
You have to ^| quit to break out.

Now, even stranger, in buffers .c,
at line 4346 is jSyncup().
Just before that put this line in.

printf("findField returns xx\n", 27);

It's just a print statement, that's all, but it fixes the infinite loop.

Even stranger, remove the argument 27 from the print statement,
it isn't being used anyways, and the infinite loop is back.
Probably the strangest repeatable thing I've seen in 30 years of programming.

Karl Dahlke

             reply	other threads:[~2014-02-20 15:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 15:01 Karl Dahlke [this message]
2014-02-20 20:25 ` Adam Thompson
2017-01-27 12:43 Karl Dahlke
2017-01-27 14:51 Karl Dahlke
2019-09-10  8:13 [edbrowse-dev] " Karl Dahlke

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

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

  git send-email \
    --in-reply-to=20140120100102.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /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.
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 NNTP newsgroup(s).