Hi,
I have just installed vs2008 on a clean windows 2003 x64 (virtual vmware)
machine. I am unable to start any unittest and they fail with either by a
forced restart of vistual studio or an error message saying that
VSTestHosts.exe is unable to start, or:
Failed to queue test run 'XXXX': Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
When it crasches I find the error below in the event log.
What I did to fix this:
- Log in as a different user (Administrator)
- Created an new solution with one class and one test
- Revert to snapshot taken just after I installed this new vm
- Reinstalled VS2008 entrely
I am not ably to run any tests and I am kind off stuck here. Are there any
known issues with unittest on x64?
Knd regards,
Martijn Kaag
www.kaag.eu
Event Type: Error
Event Source: Microsoft Visual Studio
Event Category: None
Event ID: 5000
Date: 2/11/2008
Time: 6:19:53 PM
User: N/A
Computer: VS2008
Description:
EventType clr20r3, P1 devenv.exe, P2 9.0.21022.8, P3 47317b3d, P4
system.windows.forms, P5 2.0.0.0, P6 471ebf68, P7 16c4, P8 3a, P9
system.nullreferenceexception, P10 NIL.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 64 00 65 00 76 00 .d.e.v.
0018: 65 00 6e 00 76 00 2e 00 e.n.v...
0020: 65 00 78 00 65 00 2c 00 e.x.e.,.
0028: 20 00 39 00 2e 00 30 00 .9...0.
0030: 2e 00 32 00 31 00 30 00 ..2.1.0.
0038: 32 00 32 00 2e 00 38 00 2.2...8.
0040: 2c 00 20 00 34 00 37 00 ,. .4.7.
0048: 33 00 31 00 37 00 62 00 3.1.7.b.
0050: 33 00 64 00 2c 00 20 00 3.d.,. .
0058: 73 00 79 00 73 00 74 00 s.y.s.t.
0060: 65 00 6d 00 2e 00 77 00 e.m...w.
0068: 69 00 6e 00 64 00 6f 00 i.n.d.o.
0070: 77 00 73 00 2e 00 66 00 w.s...f.
0078: 6f 00 72 00 6d 00 73 00 o.r.m.s.
0080: 2c 00 20 00 32 00 2e 00 ,. .2...
0088: 30 00 2e 00 30 00 2e 00 0...0...
0090: 30 00 2c 00 20 00 34 00 0.,. .4.
0098: 37 00 31 00 65 00 62 00 7.1.e.b.
00a0: 66 00 36 00 38 00 2c 00 f.6.8.,.
00a8: 20 00 31 00 36 00 63 00 .1.6.c.
00b0: 34 00 2c 00 20 00 33 00 4.,. .3.
00b8: 61 00 2c 00 20 00 73 00 a.,. .s.
00c0: 79 00 73 00 74 00 65 00 y.s.t.e.
00c8: 6d 00 2e 00 6e 00 75 00 m...n.u.
00d0: 6c 00 6c 00 72 00 65 00 l.l.r.e.
00d8: 66 00 65 00 72 00 65 00 f.e.r.e.
00e0: 6e 00 63 00 65 00 65 00 n.c.e.e.
00e8: 78 00 63 00 65 00 70 00 x.c.e.p.
00f0: 74 00 69 00 6f 00 6e 00 t.i.o.n.
00f8: 20 00 4e 00 49 00 4c 00 .N.I.L.
0100: 0d 00 0a 00 ....
Martijn Kaag - 13 Feb 2008 10:58 GMT
UPDATE: I have "solved" this issue by continueing development on a
virtualized x86 w2003 image.
Since VS2008 is a 32 bit application the performance advantages of running
on x64 seem negible.
Martijn Kaag
www.kaag.eu
NB I would still appreciate a response from microsoft to confirm that my
MSDN premium licence is properly linked to my newsgroup alias. Thanks!