TestDriven.Net Crashes visual studio both 2008 and 2005.

15 views
Skip to first unread message

Sammy

unread,
Jun 13, 2008, 5:59:10 AM6/13/08
to TestDriven.NET Users
Hi,

Whenever I try to run a test using testdriven.net my instance of
visual studio crashes. I have uninstalled the software and
reinstalled the latest version but still no luck. I don't know what
other information I can give you as there is no error message printed
or anything.

Microsoft Visual Studio 2005
Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: Enterprise

Microsoft Visual Basic 2005 77642-113-3000004-41554
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77642-113-3000004-41554
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77642-113-3000004-41554
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77642-113-3000004-41554
Microsoft Visual J# 2005

Microsoft Visual Studio Tools for Office 77642-113-3000004-41554
Microsoft Visual Studio Tools for the Microsoft Office System

Microsoft Visual Web Developer 2005 77642-113-3000004-41554
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77642-113-3000004-41554
Microsoft Web Application Projects 2005
Version 8.0.50727.867

Visual Studio 2005 Team Edition for Developers
77642-113-3000004-41554
Microsoft Visual Studio 2005 Team Edition for Software Developers

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005

Extensions for Windows WF
Windows Workflow Foundation Tools for Visual Studio

Microsoft Recipe Framework Package 8.0
This package provides services to the guidance packages.

Microsoft Visual Studio 2005 Team Edition for Software Developers -
ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Team Edition for
Software Developers - ENU.
If you later install a more recent service pack, this service pack
will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

Orcas Technology Preview - .NET Framework 3.0 Development Tools 1.0
Microsoft Visual Studio Code Name Orcas Community Technology Preview -
Development Tools for WinFX

Security Update for Microsoft Visual Studio 2005 Team Edition for
Software Developers - ENU (KB937061)
This Security Update is for Microsoft Visual Studio 2005 Team Edition
for Software Developers - ENU.
If you later install a more recent service pack, this Security Update
will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.3042.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.3042.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.3042.00

Update for Microsoft Visual SourceSafe 2005 - ENU (KB943847)
This Update is for Microsoft Visual SourceSafe 2005 - ENU.
If you later install a more recent service pack, this Update will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/943847

Update for Microsoft Visual Studio 2005 Team Edition for Software
Developers - ENU (KB932232)
This Update is for Microsoft Visual Studio 2005 Team Edition for
Software Developers - ENU.
If you later install a more recent service pack, this Update will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/932232

TestDriven.NET 2.13.2184 Personal
For more information, see the TestDriven.NET website at http://www.testdriven.net/.
Development by Jamie Cansdale <ja...@mutantdesign.co.uk>. Copyright
(c) 2002-2008 Mutant Design.

Cheers for any help

Jamie Cansdale

unread,
Jun 13, 2008, 12:05:36 PM6/13/08
to TestDri...@googlegroups.com
Hi Sammy,

I'm not sure what would cause it to crash in both VS 2005 and VS 2008.
There have been very few issues that would Visual Studio to crash.

One possibility is an issue that I blogged about a while back:
http://weblogs.asp.net/nunitaddin/archive/2006/06/07/Security-Apps-Break-.NET-2.0-Remoting.aspx

I think most security applications & firewalls have been updated since
then. It is possible however that you're using an older version and
experiencing this issue.

Can I check that when you say "crash", Visual Studio is exiting rather
than hanging?

It might be worth installing VS 2005 SP1 if you're not already using
it. This has fixed a hanging bug has occurred on a few people's
machines. I'd be surprised if it also fixed it for VS 2008, but you
never know.

Let me know how you get on.

Regards,
Jamie.

--
http://www.testdriven.net
http://weblogs.asp.net/nunitaddin

Sammy

unread,
Jun 16, 2008, 4:14:11 AM6/16/08
to TestDriven.NET Users

Hi Jamie,

I do mean "hang" and not crash but it hangs indefenitaly and I have to
terminate it from the task manager. I have SP1 installed for 2005 and
the other hot fix i cannot install as the installer is for an older
version. Could it be a Vista related problem?

Also is there any logging I could enable to identify at what point it
"hangs" VS?

Cheers

Sam

On Jun 13, 5:05 pm, "Jamie Cansdale" <jcansd...@gmail.com> wrote:
> Hi Sammy,
>
> I'm not sure what would cause it to crash in both VS 2005 and VS 2008.
> There have been very few issues that would Visual Studio to crash.
>
> One possibility is an issue that I blogged about a while back:http://weblogs.asp.net/nunitaddin/archive/2006/06/07/Security-Apps-Br...
>
> I think most security applications & firewalls have been updated since
> then. It is possible however that you're using an older version and
> experiencing this issue.
>
> Can I check that when you say "crash", Visual Studio is exiting rather
> than hanging?
>
> It might be worth installing VS 2005 SP1 if you're not already using
> it. This has fixed a hanging bug has occurred on a few people's
> machines. I'd be surprised if it also fixed it for VS 2008, but you
> never know.
>
> Let me know how you get on.
>
> Regards,
> Jamie.
>
> --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin
> > For more information, visithttp://support.microsoft.com/kb/926601
>
> > Orcas Technology Preview - .NET Framework 3.0 Development Tools   1.0
> > Microsoft Visual Studio Code Name Orcas Community Technology Preview -
> > Development Tools for WinFX
>
> > Security Update for Microsoft Visual Studio 2005 Team Edition for
> > Software Developers - ENU (KB937061)
> > This Security Update is for Microsoft Visual Studio 2005 Team Edition
> > for Software Developers - ENU.
> > If you later install a more recent service pack, this Security Update
> > will be uninstalled automatically.
> > For more information, visithttp://support.microsoft.com/kb/937061
>
> > SQL Server Analysis Services
> > Microsoft SQL Server Analysis Services Designer
> > Version 9.00.3042.00
>
> > SQL Server Integration Services
> > Microsoft SQL Server Integration Services Designer
> > Version 9.00.3042.00
>
> > SQL Server Reporting Services
> > Microsoft SQL Server Reporting Services Designers
> > Version 9.00.3042.00
>
> > Update for Microsoft Visual SourceSafe 2005 - ENU (KB943847)
> > This Update is for Microsoft Visual SourceSafe 2005 - ENU.
> > If you later install a more recent service pack, this Update will be
> > uninstalled automatically.
> > For more information, visithttp://support.microsoft.com/kb/943847
>
> > Update for Microsoft Visual Studio 2005 Team Edition for Software
> > Developers - ENU (KB932232)
> > This Update is for Microsoft Visual Studio 2005 Team Edition for
> > Software Developers - ENU.
> > If you later install a more recent service pack, this Update will be
> > uninstalled automatically.
> > For more information, visithttp://support.microsoft.com/kb/932232
>
> > TestDriven.NET 2.13.2184 Personal
> > For more information, see the TestDriven.NET website athttp://www.testdriven.net/.
> > Development by Jamie Cansdale <ja...@mutantdesign.co.uk>.  Copyright
> > (c) 2002-2008 Mutant Design.
>
> > Cheers for any help- Hide quoted text -
>
> - Show quoted text -

Jamie Cansdale

unread,
Jun 16, 2008, 5:51:14 AM6/16/08
to TestDri...@googlegroups.com
Hi Sammy,

> Could it be a Vista related problem?
>

It could be. Someone else did have a problem with TestDriven.Net
hanging on a Vista machine. In the end they came back with the
following:

"I think I've found the source of my problem, and you'll be pleased to know
it's not your code.

I spent a good part of yesterday working with MS Support services to
troubleshoot my Vista machine. The darn thing was crashing quite often, and
they found that my Broadcom NIC drivers needed to be upgraded from 10.9 to
10.62.

Fast forward to this morning. I'm setting up a nice test environment for
you and *poof* everything is working now.

Since I think you do remoting through TCP, I'm betting the upgraded NIC
driver solved more than one problem."

> Also is there any logging I could enable to identify at what point it
> "hangs" VS?
>

Yes. Can you try running Sysinternals DebugView in the background
before VS hangs. Please send me a copy of the log. Hopefully this will
give us some clues. You can find DebugView here:
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

Regards,
Jamie.

Sammy

unread,
Jun 16, 2008, 6:17:59 AM6/16/08
to TestDriven.NET Users
I have an Intel 82566DM NIC so don't think it is the same problem.
Attached to the topic is the log for 2005.

Cheers

Sammy


On 16 Jun, 10:51, "Jamie Cansdale" <jcansd...@gmail.com> wrote:
> Hi Sammy,
>
> > Could it be a Vista related problem?
>
> It could be. Someone else did have a problem with TestDriven.Net
> hanging on a Vista machine. In the end they came back with the
> following:
>
> "I think I've found the source of my problem, and you'll be pleased to know
> it's not your code.
>
> I spent a good part of yesterday working with MS Support services to
> troubleshoot my Vista machine.  The darn thing was crashing quite often, and
> they found that my Broadcom NIC drivers needed to be upgraded from 10.9 to
> 10.62.
>
> Fast forward to this morning.  I'm setting up a nice test environment for
> you and *poof* everything is working now.
>
> Since I think you do remoting through TCP, I'm betting the upgraded NIC
> driver solved more than one problem."
>
> > Also is there any logging I could enable to identify at what point it
> > "hangs" VS?
>
> Yes. Can you try running Sysinternals DebugView in the background
> before VS hangs. Please send me a copy of the log. Hopefully this will
> give us some clues. You can find DebugView here:http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
>
> Regards,
> Jamie.
>
> --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin
> >> - Show quoted text -- Hide quoted text -

Jamie Cansdale

unread,
Jun 16, 2008, 7:10:01 AM6/16/08
to TestDri...@googlegroups.com
Hi Sammy,

Thanks for the log file. I can see there was a
AccessViolationException thrown when TestDriven.Net attempted to
access one of Visual Studio's code model functions. It is possible
that either Visual Studio is corrupted or there's a problem with
another package or add-in. Are you using any extensions that didn't
come with the default VS 2005 or 2008 install? If you are, could you
try uninstalling them and repeating the test.

One thing that surprises me is that you're experiencing the same issue
with VS 2005 and VS 2008. The two versions are pretty well isolated.
This points to the possibility that it's a lower level COM issue. Have
you noticed any other strange errors on your machine?

Regards,
Jamie.

--
http://www.testdriven.net
http://weblogs.asp.net/nunitaddin

Sam Eastburn

unread,
Jun 16, 2008, 10:38:10 AM6/16/08
to TestDri...@googlegroups.com
Hmmmm I have a couple of Guidance Automation Extensions.. I will try uninstalling these to see if it fixes the problem.
 
Cheers
 
Sam

Sam Eastburn

unread,
Jun 16, 2008, 12:26:59 PM6/16/08
to TestDri...@googlegroups.com
Uninstalling those didn't seem to fix the problem.  I was still getting the access error :(
Reply all
Reply to author
Forward
0 new messages