Thread overview
[phobos] automated test failures
Sep 26, 2010
Brad Roberts
[dmd-internals] automated test failures
Sep 26, 2010
Walter Bright
Sep 26, 2010
SHOO
Sep 26, 2010
Brad Roberts
Sep 26, 2010
Rainer Schuetze
[phobos] Could anyone rewrite win32.mak? (automated test failures)
Sep 27, 2010
Shin Fujishiro
Sep 28, 2010
Rainer Schuetze
September 26, 2010
The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.

The error:
    http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766

    unittest
    object.Error: Privileged Instruction

The changes between this run and the previously successful run:
    http://www.dsource.org/projects/dmd/changeset/689
    http://www.dsource.org/projects/phobos/changeset/2049

Later,
Brad
September 26, 2010
The unittests run successfully with the current compiler and the older Phobos. Must be 2049.

Brad Roberts wrote:
> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
>
> The error:
>     http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>
>     unittest
>     object.Error: Privileged Instruction
>
> The changes between this run and the previously successful run:
>     http://www.dsource.org/projects/dmd/changeset/689
>     http://www.dsource.org/projects/phobos/changeset/2049
>
> Later,
> Brad
>
> 
September 26, 2010
  Maybe, this problem is caused by OPTLINK.

See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904

(2010/09/26 17:40), Brad Roberts wrote:
> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
>
> The error:
>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>
>      unittest
>      object.Error: Privileged Instruction
>
> The changes between this run and the previously successful run:
>      http://www.dsource.org/projects/dmd/changeset/689
>      http://www.dsource.org/projects/phobos/changeset/2049
>
> Later,
> Brad
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
September 26, 2010
I just updated that auto-tester to the 8.00.8 version of link.exe (I'd moved stuff around and reverted to the .5 version that comes with the dmc.zip that I have been using accidentally).  Run 900 and beyond use .8, but it doesn't help with this bug.

Is anyone else able to reproduce this?

Later,
Brad

On 9/26/2010 4:42 AM, SHOO wrote:
>  Maybe, this problem is caused by OPTLINK.
> 
> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904
> 
> (2010/09/26 17:40), Brad Roberts wrote:
>> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
>>
>> The error:
>>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>>
>>      unittest
>>      object.Error: Privileged Instruction
>>
>> The changes between this run and the previously successful run:
>>      http://www.dsource.org/projects/dmd/changeset/689
>>      http://www.dsource.org/projects/phobos/changeset/2049
>>
>> Later,
>> Brad


September 26, 2010
Yes, it's reproducible, but the effect can vary easily by adding/removing symbols to/from the object file. I get "access violation" or "Win32 exception" after an update.

The latest svn revision produces 16784 symbols causing any symbols above 16384 to be relocated as the first symbols in the object file. See http://d.puremagic.com/issues/show_bug.cgi?id=3372

A workaround is to split the compilation into two steps producing smaller object files.

Rainer

Brad Roberts wrote:
> I just updated that auto-tester to the 8.00.8 version of link.exe (I'd moved stuff around and reverted to the .5 version that comes with the dmc.zip that I have been using accidentally).  Run 900 and beyond use .8, but it doesn't help with this bug.
> 
> Is anyone else able to reproduce this?
> 
> Later,
> Brad
> 
> On 9/26/2010 4:42 AM, SHOO wrote:
>>  Maybe, this problem is caused by OPTLINK.
>>
>> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904
>>
>> (2010/09/26 17:40), Brad Roberts wrote:
>>> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
>>>
>>> The error:
>>>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>>>
>>>      unittest
>>>      object.Error: Privileged Instruction
>>>
>>> The changes between this run and the previously successful run:
>>>      http://www.dsource.org/projects/dmd/changeset/689
>>>      http://www.dsource.org/projects/phobos/changeset/2049
>>>
>>> Later,
>>> Brad

September 27, 2010
Then, could anyone refactor win32.mak so that each module's tests run individually like posix.mak?  I can't write/test digitalmars' makefile.


Shin

Rainer Schuetze <r.sagitario at gmx.de> wrote:
> Yes, it's reproducible, but the effect can vary easily by adding/removing symbols to/from the object file. I get "access violation" or "Win32 exception" after an update.
> 
> The latest svn revision produces 16784 symbols causing any symbols above 16384 to be relocated as the first symbols in the object file. See http://d.puremagic.com/issues/show_bug.cgi?id=3372
> 
> A workaround is to split the compilation into two steps producing smaller object files.
> 
> Rainer
> 
> Brad Roberts wrote:
> > I just updated that auto-tester to the 8.00.8 version of link.exe (I'd moved stuff around and reverted to the .5 version that comes with the dmc.zip that I have been using accidentally).  Run 900 and beyond use .8, but it doesn't help with this bug.
> > 
> > Is anyone else able to reproduce this?
> > 
> > Later,
> > Brad
> > 
> > On 9/26/2010 4:42 AM, SHOO wrote:
> >>  Maybe, this problem is caused by OPTLINK.
> >>
> >> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904
> >>
> >> (2010/09/26 17:40), Brad Roberts wrote:
> >>> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
> >>>
> >>> The error:
> >>>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
> >>>
> >>>      unittest
> >>>      object.Error: Privileged Instruction
> >>>
> >>> The changes between this run and the previously successful run:
> >>>      http://www.dsource.org/projects/dmd/changeset/689
> >>>      http://www.dsource.org/projects/phobos/changeset/2049
> >>>
> >>> Later,
> >>> Brad
September 28, 2010
I didn't try to compile each module separately, but here's the patch to the makefile splitting the compilation into two parts to bring the unittests back to live. (Though I was hoping that the occurrence of this nasty bug with the phobos unittests would have encouraged Walter to fix it in the linker... ;-) )

Rainer

Shin Fujishiro wrote:
> Then, could anyone refactor win32.mak so that each module's tests run individually like posix.mak?  I can't write/test digitalmars' makefile.
> 
> 
> Shin
> 
> Rainer Schuetze <r.sagitario at gmx.de> wrote:
>> Yes, it's reproducible, but the effect can vary easily by adding/removing symbols to/from the object file. I get "access violation" or "Win32 exception" after an update.
>>
>> The latest svn revision produces 16784 symbols causing any symbols above 16384 to be relocated as the first symbols in the object file. See http://d.puremagic.com/issues/show_bug.cgi?id=3372
>>
>> A workaround is to split the compilation into two steps producing smaller object files.
>>
>> Rainer
>>
>> Brad Roberts wrote:
>>> I just updated that auto-tester to the 8.00.8 version of link.exe (I'd moved stuff around and reverted to the .5 version that comes with the dmc.zip that I have been using accidentally).  Run 900 and beyond use .8, but it doesn't help with this bug.
>>>
>>> Is anyone else able to reproduce this?
>>>
>>> Later,
>>> Brad
>>>
>>> On 9/26/2010 4:42 AM, SHOO wrote:
>>>>  Maybe, this problem is caused by OPTLINK.
>>>>
>>>> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904
>>>>
>>>> (2010/09/26 17:40), Brad Roberts wrote:
>>>>> The automated win32 phobos tests started failing at the 22:20 test run.  Linux is fine still.
>>>>>
>>>>> The error:
>>>>>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>>>>>
>>>>>      unittest
>>>>>      object.Error: Privileged Instruction
>>>>>
>>>>> The changes between this run and the previously successful run:
>>>>>      http://www.dsource.org/projects/dmd/changeset/689
>>>>>      http://www.dsource.org/projects/phobos/changeset/2049
>>>>>
>>>>> Later,
>>>>> Brad

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unittest.patch
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100928/4ac3f6b3/attachment.ksh>