<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Matthew Flatt wrote at 05/23/2011 05:19 PM:
<blockquote cite="mid:20110523211923.5E1F56500E7@mail-svr1.cs.utah.edu"
type="cite">
<pre wrap="">At Mon, 23 May 2011 14:51:19 -0400, Neil Van Dyke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">The first PLT internals question I expect to look into is whether, in
the stack tace, "require"s are still being processed (by which I mean
evaluation has not yet proceeded into the non-"require" body of the main Scheme file).
</pre>
</blockquote>
<pre wrap=""><!---->
Yes. It looks like evaluation is four `require's deep (not counting the original module). By looking at `menv->module->name' in frame 353, you might be able to tell which module is being run.
</pre>
</blockquote>
<br>
Scheme_Object 0x7fff2f7adc30 type=147 Scheme_Object 0x7fff2f7c8580
type=45 scheme_unix_path_type $5 = 0x7fff2f7bbd40
"/usr/local/plt-4.2.5/lib/plt/collects/srfi/14/char-set.ss"<br>
<br>
During loading of that module is not an unlikely time for
"integer_to_char" to be called, too.<br>
<br>
That's a disappointingly innocuous-looking module. And, from what I've
found so far, the dependency graph on that module doesn't directly
implicate a less-innocuous module.<br>
<br>
I have another question: At some point, the Scheme application code
does an "eval" of a file, and that file has "require"s, which likely
pull in that SRFI-14 module indirectly (just like the code that does
the "eval"). Can you tell from the stack trace whether or not we are
evaluating such an "eval"?<br>
<br>
<div class="moz-signature">-- <br>
<a class="moz-txt-link-freetext" href="http://www.neilvandyke.org/">http://www.neilvandyke.org/</a>
</div>
</body>
</html>