Re: very elusive ml-build issue
Matthias Blume <[email protected]> Fri, 16 Feb 2007 18:07:44 -0600
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Dave, can you try the following: Edit bin/.link-sml by changing the last line into exec "$RUN" @SMLverbose @SMLboot="$BOOT" @SMLheap="$HEAP" "$@" (i.e., add @SMLverbose after "$RUN"). Then re-run the ml-build command for your project. You should see a log of what is being loaded, executed, and linked by the runtime system during link time. The very last line should read something like [Loading .cm/x86-unix/727-export.sml] where 727 is some random number. The execution of the code in this file is what triggers a call of SMLofNJ.exportFn -- which ultimately should produce the heap image. Let me know what you see, and maybe we can go from there. Matthias On Feb 16, 2007, at 5:32 PM, Dave Herman wrote: > Kinda drowning here... I've narrowed it down at least this far: the > problem is happening during the execution of > > bin/.run/run.x86-cygwin @SMLboot=nnnnn-BOOTLIST @SMLheap=sml > > which is supposed to create the heapfile, but it sometimes doesn't. > I've > tried narrowing down what conditions affect the problem. It actually > seems to be independent of whether it's compiled with backtraces or > not > (sometimes works with, sometimes not; sometimes works without, > sometimes > not). I would send code to demonstrate, but I can't reproduce it > anywhere except in the context of our entire library. > > Sigh. > > Dave > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Smlnj-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smlnj-list > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV