Hi Bernard,
This is an assertion fault inside the code-generator. Probably the easiest way to deal with this would be for me to try compiling the code under the debugger. I can get it to trap when the exception is raised and see what is happening. It doesn't matter if the code is quite large so long as it is possible to compile it just by "using" a file. Could you either email it to me directly or put it somewhere I can pick it up?

Regards,
David

On 29/11/2017 17:39, Bernard Berthomieu wrote:
Hi David,

I just noticed the problem below [not critical for me].

When compiling a particular application on Ubuntu 14.04, 64 bit, with the
latest PolyML revision (Git version v5.7.1-7-g01482bf), I get the exception :

     ...
     Exception- InternalError: asGenReg raised while compiling
    Exception- Fail "Exception- InternalError: asGenReg raised while compiling" raised

Exactly the same exception is raised, at the same place, when compiling that
application on Macosx (Sierra).

--

After some digging, it appears that the latest revision that compiles successfully
the application was that one:

     commit aa3b02654b38ad3faadc60c5960702cba6be87df
     Author: David Matthews <[email protected]>
     Date:   Fri Sep 22 19:13:26 2017 +0100

The next (commit dbffbc3778c12209f5fa0ac5a715105609eefc69) fails to
compile earlier than the latest, with error:
Fail "Exception- InternalError: AllocStore: in set raised while compiling"

The next one (commit fdefe56be03fe4fb4fe540c88ec1372e0cd4dab8) fails exactly
as the latest revision does.


The application is fairly large and involves many files, so I did not try yet to isolate the part in sml source that fails to compile.  But I suppose there
are some means that I don't know to print more precise information while
compiling ...

Best,
   Bernard.
_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to