Thread: Visual Studio 2010 - BSOD, always crashing...

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    244

    Unhappy Visual Studio 2010 - BSOD, always crashing...

    hey guys...

    most of you are probably using VS 2010 right now. i'm using VS 2010 Express (C#) and i have some problems lately.

    it's cool, it sure is better than the 2008 one with all this cool looking wpf interface.

    but i keep getting BSODs with no error code like ABCD_LESS_OR_GREATER_OR_WHATEVER, just default BSOD text with no good info.

    and it usually happens when i lay both hands at my keyboard and start typing. i read about this problem but no solutions found?

    come on microsoft! can't you just crash 'normally' and just crash VS, not my whole computer.
    like 5 times now i've lost my source code overwritten with zero bytes.. god dammid ...

    no, i'm not screaming, just hoping someone knows how to fix this.
    thanks

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I haven't gotten a blue screen of death since XP.

    Anyway, if you want help, you're going to have to give us details about your system.

    EDIT: Actually, I take that back. I got it once on Vista when I updated my BIOS with ACPI support and had forgotten to enable it in the Windows registry before I did so.
    Last edited by SlyMaelstrom; 07-07-2010 at 11:02 AM.
    Sent from my iPadŽ

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    that was most helpful to me. thanks for the reply, my problems are all solved now ;D

    no serious, does anyone experience similar issues or know where they come from and how to solve them?

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes. Make sure your computer writes a crash dump everytime you get a BSOD.
    Now, download and install the microsoft windows debugging tools.
    Crash your computer. Reboot.
    Open the crash dump file in the windbg program. Click on the analyse link. Open the help file and look for the error name. There should be helpful information there about the cause. And in the windbg program, hopefully also what driver caused the problem.
    You either have some bad software installed or some bad drivers.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    i know the exact cause: it's typing in Visual Studio 2010. never type anything in vs2010!
    i guess this is very well known, but i haven't found a solution yet. reporting the error to MS is one thing, but i really got to get this solved, otherwise my pc will crash like 3 times a day!

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Visual Studio cannot crash your computer!
    Reporting this error probably is unlikely to help!
    Do the steps mentioned above. You have some software/driver spooking!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    no, it's most definitely VS ! visual studio was always open when the BSOD occured and i was always going to type on the keyboard when the bluescreen occured.
    that issue was reported more than once as i found out in the internet.

    and i only have gfx drivers installed manualy, which never made problems for years. the bluescreens didn't even give an error message...

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Why do you continue to be difficult? A software-mode application cannot, and I repeat, cannot cause a BSOD.
    ONLY driver-mode applications/drivers can.
    So do us all a favor, and do the research steps above. Find the culprit instead of coming here and making up excuses.

    Clearly, Visual Studio is the trigger that causes this driver-mode code to cause a BSOD, but VS itself is not the culprit.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Update your graphics driver. VS2010's Editor works with WPF internally, which means that ancient drivers will sometimes BSOD. I've had that with all WPF applications I wrote in VS2008 and now that the VS editor itself is in WPF, even VS itself will maker your older gfx driver scream
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  10. #10
    Registered User
    Join Date
    Jan 2008
    Posts
    244
    my gfx drivers are the latest. Sapphire X1900 GT with 10.2 driver version.
    installing the older version didn't work either.

    @Elysia: you can indeed cause BSOD by software.
    Code:
    using System;
    using System.Diagnostics;
    using System.Runtime.InteropServices;
    
    class P
    {
    	static void Main()
    	{
    		Process p = Process.GetCurrentProcess();
    		int e = 1;
    		NtSetInformationProcess(p.Handle, 29, ref e, 4);
    		p.Kill();
    	}
    	[DllImport("ntdll")]
    	static extern int NtSetInformationProcess(IntPtr p, int c, ref int i, int l);
    }
    execute this and you'll get blue! this is just one example. i guess there are hundreds of ways. this stuff doesn't belong here, i just wanted to proof you wrong pal ;D
    Last edited by Devils Child; 07-08-2010 at 10:49 AM.

  11. #11
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    If you're using undocumented internal APIs, you're going to have sue yourself. Never do that.
    But enough of this nonsense. Obviously you just don't want to listen. I am finished with you.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    I echo everything Elysia has said.

    Devils Child: Elysia gave a very clear set of steps you can use to try and find the source of the problem. Follow those steps. From your responses, I take it that you thought to yourself, "oh that list of steps is too long, there's no way it can help me solve the problem". If you need clarification on one of the steps, then ask, but don't belittle Elysia and try to say he's wrong.

    What Elysia is telling you is a fact of life about how modern operating systems work. Now take the knowledge he has graciously given you and try solving your problem rather than being stubborn.
    My Website

    "Circular logic is good because it is."

  13. #13
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Yes, you're better of belittling me and saying I'm wrong (Even though you still have yet to provide any additional system information that could aid us in helping you as I initially suggested). I suppose you prefer just forcing everyone to take shots in the dark and whine some more when they don't solve your problem.

    I don't suppose it would be too late to reference this:
    How To Ask Questions The Smart Way
    Sent from my iPadŽ

  14. #14
    Registered User
    Join Date
    Jul 2010
    Posts
    1
    Try disabling UAC worked for me

  15. #15
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    To fix a BSOD? I doubt that.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LDAP Query
    By Travoiz in forum C++ Programming
    Replies: 0
    Last Post: 08-13-2009, 02:58 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM