|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Access violation reading location 0xbaadf00d: Microsoft Visual Studio is busySince 2 days I have some mostly anoying problem with my application when debugging: My application sometims freezes, and I get this balloon: "Microsoft Visual Studio is busy" And than the unhandled exception: "First-chance exception at 0x79e9be2b in MyApplication.exe: 0xC0000005: Access violation reading location 0xbaadf00d." And in the output window also: "The program '[3152] MyApplication.exe: Managed' has exited with code 1073807364 (0x40010004). The program '[3152] MyApplication.exe: Native' has exited with code 0 (0x0)." I don't think finding a solution now will be possible, but what bugs me is the fact that I don't know why and where this happens? I don't have any clue in which project/file/method this problem happens. Is there a way to see more information when such a thing happens? Thanks a lot in advance, Pieter
Show quote
"Pieter" <pietercou***@hotmail.com> wrote in message This is probably a fairly serious problem, and perhaps nothing to do with news:%236D40eiWGHA.1348@TK2MSFTNGP05.phx.gbl... > Hi, > > Since 2 days I have some mostly anoying problem with my application when > debugging: > > My application sometims freezes, and I get this balloon: > "Microsoft Visual Studio is busy" > > And than the unhandled exception: > "First-chance exception at 0x79e9be2b in MyApplication.exe: 0xC0000005: > Access violation reading location 0xbaadf00d." > > And in the output window also: > "The program '[3152] MyApplication.exe: Managed' has exited with code > 1073807364 (0x40010004). > The program '[3152] MyApplication.exe: Native' has exited with code 0 > (0x0)." > > I don't think finding a solution now will be possible, but what bugs me is > the fact that I don't know why and where this happens? I don't have any > clue in which project/file/method this problem happens. > > Is there a way to see more information when such a thing happens? your code. Unless you did it intentially in a C++ program, 0xbaadf00d almost certainly means an uninitalized pointer down in native code somewhere. Are you using any third party libraries? I'd certainly start to lean towards other people's code in this case(its one of the rare ones, managed code should not generate that error) As to how to try to figure out roughly where it happens, the best option I know if is tracing. If you have your app spit out trace lines in every major method you can figure out roughtly where the issue occured, atleast if it is in your code. I don't think much else can be done though. Hi,
Thanks for the answer. I didn't use any third party libraries, but I did integrate this article (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/dragdrop_datagrid.asp for moveing column-headers) in my DataGrid, and I'm almost sure it started after this. It contains some funky methods like BitBlt Lib "gdi32.dll", GetWindowDC Lib "user32.dll", ReleaseDC Lib "user32.dll". But because of the fact that I got this problem on moments that had nothing to do with this code, I didn't really suspected it. I also got it this weekend with a whole new test project, that didn't contain anything of it: just a simple form to test something, and during debugging it freezed also and I got also the "Microsoft Visual Studio is busy"... I don't think it's due to my pc? It's a freshly installed laptop (less than 1 month), with AMD DualCore +4400 proessor, 2 giga RAM, .. it should be enough... :-) I'll try with tracing, but I'm affraid it won't help me a lot. Thanks, Pieter
Show quote
"Pieter" <pietercou***@hotmail.com> wrote in message Your machine is probably fine. At this point I'd guess an IDE problem. Try news:%237Dy1cHXGHA.3448@TK2MSFTNGP03.phx.gbl... > Hi, > > Thanks for the answer. > I didn't use any third party libraries, but I did integrate this article > (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/dragdrop_datagrid.asp > for moveing column-headers) in my DataGrid, and I'm almost sure it started > after this. It contains some funky methods like BitBlt Lib "gdi32.dll", > GetWindowDC Lib "user32.dll", ReleaseDC Lib "user32.dll". > > But because of the fact that I got this problem on moments that had > nothing to do with this code, I didn't really suspected it. I also got it > this weekend with a whole new test project, that didn't contain anything > of it: just a simple form to test something, and during debugging it > freezed also and I got also the "Microsoft Visual Studio is busy"... > > I don't think it's due to my pc? It's a freshly installed laptop (less > than 1 month), with AMD DualCore +4400 proessor, 2 giga RAM, .. it should > be enough... :-) > > I'll try with tracing, but I'm affraid it won't help me a lot. reinstalling visual studio maybe? I get this "Microsoft Visual Studio is busy" message constantly.
Sometimes if I just Step Over a line, it won't advance to the next line. Clicking around the source code will cause the balloon to popup over the task tray. It will also say something about visual studio is waiting to complete an internal operation and to contact Microsoft if it happens repeatedly. I usually have to close down the application by right clicking in the task bar because nothing in VS2005 works any longer. Then I'll get an error message about debugging something for which it has no source code for ("There is no source code available for the current location." and buttons to 'OK' or "Show Disassembly"), and then I'm back in the debugger as if nothing happened. Happens several times a day. Very annoying. I think it has something to do with some COM, OCX, or ActiveX controls that I've included in the project but it's so random that it's hard to replicate. Exactly what happens with me :-(
I did a system restore yesterday to a some days before I started to get this problem, and untill now everything goes right... <haywo***@hotmail.com> wrote in message Show quote news:1144787833.521644.107640@i40g2000cwc.googlegroups.com... >I get this "Microsoft Visual Studio is busy" message constantly. > Sometimes if I just Step Over a line, it won't advance to the next > line. Clicking around the source code will cause the balloon to popup > over the task tray. It will also say something about visual studio is > waiting to complete an internal operation and to contact Microsoft if > it happens repeatedly. I usually have to close down the application by > right clicking in the task bar because nothing in VS2005 works any > longer. Then I'll get an error message about debugging something for > which it has no source code for ("There is no source code available for > the current location." and buttons to 'OK' or "Show Disassembly"), and > then I'm back in the debugger as if nothing happened. Happens several > times a day. Very annoying. I think it has something to do with some > COM, OCX, or ActiveX controls that I've included in the project but > it's so random that it's hard to replicate. > |
|||||||||||||||||||||||