Re: very elusive ml-build issue
John Reppy <[email protected]> Tue, 20 Feb 2007 22:32:55 -0600
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
So I think that I understand the source of the bug now. The problem is in the SaveCState/RestoreCState calls that bracket the BuildLiterals operation. The SaveCState function allocates a heap record to preserve C variables across potential GCs; in this case the record has two elements, which means that it gets converted to a tagless pair object when a GC happens in BuildLiterals. Since the RestoreCState function depends on the object length to figure out how many values to restore, it fails. It should be pretty easy to code a fix. - John On Feb 20, 2007, at 7:38 PM, Dave Herman wrote: >> Have you been able to reproduce this error on any system other >> than cygwin? I'll try my Intel >> Mac when I get home, since perhaps it is an intel-specific problem. > > On the only mac I have available to me at the moment, it crashed > with a bus error at 2000, and built fine at 1000. I'll try my PPC > mac at home, too, but it's even wimpier than the one I have at work. > > Thanks, > 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