Open racket-bug-submit opened 12 years ago
A few minutes ago, antirealist@gmail.com wrote:
In a racket REPL, (require xrepl) drives CPU use to ~94%.
Oddly, this does not occur if racket is started with "racket -il xrepl".
I don't think that xrepl does anything that could lead to that by itself, but maybe the problem is with firing up the readline reader?
Some questions:
Is it also similarly broken if you put the (require xrepl) line in your racketrc file?
To see where the file is expected to be, evaluate this: (find-system-path 'init-file). (Note that the file should not have a `#lang' line!)
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
It happens on my macosx machine, so probably you can find yourself a machine at NEU to reproduce this problem. I guess that'll be faster than this conversation.
On Sun, Mar 11, 2012 at 7:36 PM, Eli Barzilay <eli@barzilay.org> wrote:
> A few minutes ago, antirealist@gmail.com wrote:
>> In a racket REPL, (require xrepl) drives CPU use to ~94%.
>>
>> Oddly, this does not occur if racket is started with "racket -il
>> xrepl".
>
> I don't think that xrepl does anything that could lead to that by
> itself, but maybe the problem is with firing up the readline reader?
>
> Some questions:
>
> 1. Do you actually get a working (x)repl after the require?
>
> 2. If not, then what backtrace do you see when you hit Ctrl+C?
>
> 3. What happens when you try (require readline/rep) in the repl?
>
> 4. Is it also similarly broken if you put the (require xrepl) line in
> your racketrc file?
>
> To see where the file is expected to be, evaluate this:
> (find-system-path 'init-file). (Note that the file should not have
> a `#lang' line!)
>
> --
> ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
> http://barzilay.org/ Maze is Life!
--Apple-Mail=_487F7D25-93BA-4F3D-82E2-2F60EB3DD54D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii
On Mar 11, 2012, at 5:36 PM, Eli Barzilay wrote:
A few minutes ago, antirealist@gmail.com wrote:
In a racket REPL, (require xrepl) drives CPU use to ~94%.
Oddly, this does not occur if racket is started with "racket -il xrepl".
I don't think that xrepl does anything that could lead to that by itself, but maybe the problem is with firing up the readline reader?
What the heck, students taking exams, I can reproduce this as well:
Some questions:
- Do you actually get a working (x)repl after the require?
Yes.
- If not, then what backtrace do you see when you hit Ctrl+C?
N/A.
- What happens when you try (require readline/rep) in the repl?
99% CPU, same as the above issue.
- Is it also similarly broken if you put the (require xrepl) line in your racketrc file?
No, putting it in my .racketrc does not lead to increased CPU, I see the xrepl prompt and everything seems fine.
John
To see where the file is expected to be, evaluate this: (find-system-path 'init-file). (Note that the file should not have a `#lang' line!)
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life!
--Apple-Mail=_487F7D25-93BA-4F3D-82E2-2F60EB3DD54D Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOYzCCBnkw ggVhoAMCAQICAwJUJjANBgkqhkiG9w0BAQUFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0 YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB MB4XDTExMDMyMjA2MTYwMVoXDTEyMDMyMjA2MDcxMlowgZcxIDAeBgNVBA0TFzM4NjMyMy1SVENV Tk9qT0djeEg2MjI5MR4wHAYDVQQKExVQZXJzb25hIE5vdCBWYWxpZGF0ZWQxKTAnBgNVBAMTIFN0 YXJ0Q29tIEZyZWUgQ2VydGlmaWNhdGUgTWVtYmVyMSgwJgYJKoZIhvcNAQkBFhljbGVtZW50c0Bi cmluY2tlcmhvZmYub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu0R3uG+e0KM1 NrTNpiDzDENXxwMkkdz2v1hYIn6l1sGcU2v7jwVzIUgXA0RTJO/IJWJCeIT/NGsXH4N4UH1uM6Cx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qT+BAEhLC8wUUMATf5X7VXKq8VmwZjuqjC+bZv JTgXu5Lu5gW2yXvSWeOqWgEmZMgn2r2MsiFh2DEp927cg669LPxEiW0CbrtGB1AXhF/9YK+C705i dq06UyQvnzGTQQ1K2JHIvb6/oF1PHyfe+GzsCKJIcOe/E4qI9NN4W6mAQPZDxbf68JJemYZg+lSe kAAAAAAAAA==
--Apple-Mail=_487F7D25-93BA-4F3D-82E2-2F60EB3DD54D--
This should be closed now; got it fixed recently in f1e70516524b96c6746a4004393b57aa46b7eb84
@dyoo, I don't think you meant to comment here.
Originally submitted by Stephen Austin on: Sun Mar 11 20:28:01 -0400 2012
In a racket REPL, (require xrepl) drives CPU use to ~94%.
Oddly, this does not occur if racket is started with "racket -il xrepl".
Steps to Reproduce:
Release:
Environment:
This bug was converted from Gnats bug 12626.
[anon-submit; antirealist at gmail dot com]