<div dir="ltr">Then I think that that means that the message came from rep.rkt's no-user-evaluation-message function and that you either should have gotten a dialog with an explanation for why it terminated, or you have the preference 'drracket:show-killed-dialog set to #f. I think that the only two explanations are that 'exit' was called or that your ran out of memory, but it may also be the case that you'd get a dialog with no explanation. This could happen with this program, for example:<div>
<br></div><div><div>#lang racket</div><div>(custodian-shutdown-all (current-custodian))</div></div><div><br></div><div>or this one:</div><div><br></div><div><div>#lang racket</div><div>(kill-thread (current-thread))</div>
</div><div><br></div><div><br></div><div>Or, it may be the case that you'd get a dialog with no explanation when you ran out of memory, if there's a bug (race-condition or something possibly).</div><div><br></div>
<div>I don't see how you'd get the yellow/black warning message without getting a dialog, tho, unless you have that pref set.</div><div><br></div><div>Not much help, I know. Sorry.</div><div><br></div><div>Robby</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 10:52 AM, Neil Toronto <span dir="ltr"><<a href="mailto:neil.toronto@gmail.com" target="_blank">neil.toronto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Black on yellow.<div class="im"><br>
<br>
On 10/07/2013 09:50 AM, Robby Findler wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Was it black on yellow or red?<br>
<br>
Robby<br>
<br>
<br>
On Mon, Oct 7, 2013 at 10:32 AM, Neil Toronto <<a href="mailto:neil.toronto@gmail.com" target="_blank">neil.toronto@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:neil.toronto@gmail.com" target="_blank">neil.toronto@gmail.com</a><u></u>>> wrote:<br>
<br>
I have a long-running random simulation that spits out debug<br>
messages. I extrapolated that it would take 20 hours to get<br>
5,000,000 samples, and let it run for a day. Here's what I saw when<br>
I returned:<br>
<br>
<br></div>
Welcome to DrRacket, version 5.90.0.9--2013-10-04(876995d5/<u></u>__d) [3m].<div><div class="h5"><br>
Language: typed/racket [custom]; memory limit: 1024 MB.<br>
starting...<br>
sample-search-tree returned failure<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
i = 100<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
<br>
[...]<br>
<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
i = 2605500<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
refinement-sample-point returned #f<br>
<br>
Interactions disabled<br>
|<br>
<br>
560157:0 720.77MB<br>
<br>
<br>
Fear my ASCII art status bar.<br>
<br>
"720.77MB" is what I got after clicking the GC indicator. (Before,<br>
it was about 300MB.) There were no command-line messages from DrRacket.<br>
<br>
I don't think this is an out-of-memory problem. DrRacket has been<br>
good about asking for more during other simulations, my limit is set<br>
to 1024MB, and I really doubt I'm allocating a 304MB temporary object.<br>
<br>
I wrote a small program to print 600000 debug messages, thinking it<br>
was a limit on the number of lines in the REPL, and it ran to<br>
completion.<br>
<br>
For full disclosure: I paused and restarted DrRacket from the<br>
command line (fg; ctrl-z; bg) a few times while the simulation was<br>
running, so I could use my laptop unplugged without draining the<br>
battery.<br>
<br>
Besides running out of memory, what else could cause a program to<br>
halt with "Interactions disabled", and how can I avoid it?<br>
<br>
Neil ⊥<br>
_________________________<br>
Racket Developers list:<br></div></div>
<a href="http://lists.racket-lang.org/__dev" target="_blank">http://lists.racket-lang.org/_<u></u>_dev</a> <<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/<u></u>dev</a>><br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>