[phobos] windows breakage

Don Clugston dclugston at googlemail.com
Thu Apr 7 02:30:50 PDT 2011


The segfault is caused by failing to check for an out of memory error.
To turn it into an ICE (obviously it's better to give a nice error
message):
outbuf.c, line 90:

#else
        if (buf)
            buf = (unsigned char *) realloc(buf,len);
        else
            buf = (unsigned char *) malloc(len);
#endif
+        assert(buf);
        pend = buf + len;


On 6 April 2011 21:17, Brad Roberts <braddr at puremagic.com> wrote:
> Something recently seems to have broken the windows phobos tests.  I think
> it was something in the merge that Andrei did yesterday:
>
> checkout log:
> http://d.puremagic.com/test-results/test_data.ghtml?dataid=56228
>
> phobos test log:
> http://d.puremagic.com/test-results/test_data.ghtml?dataid=56248
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>


More information about the phobos mailing list