VS2005 crashes often when compiling - visual-studio

I can change one small thing commenting/un-commenting it and VS2005 will either crash or not crash for no additional reason in either case.
Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 8.0.50727.867
Application Timestamp: 45d2c842
Fault Module Name: StackHash_0646
Fault Module Version: 6.1.7601.17725
Fault Module Timestamp: 4ec49b8f
Exception Code: c0000374
Exception Offset: 000ce6c3
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 0646
Additional Information 2: 06468f0034e46fb7e5e65a0a8a306ffb
Additional Information 3: 9aba
Additional Information 4: 9abaaa502ccb3837971bddc9d127747d
Since the above is really of no help to me, is there some way I can diagnose what's going on? All I'm able to get out of debugging the compile crash (in VS2005) that is that there is a corrupted heap.

Some options you can try out:
You can get a log when booting Visual Studio using /log as attribute.
http://msdn.microsoft.com/en-us/library/vstudio/ms241272(v=vs.80).aspx
Creating a crash dump
http://blogs.msdn.com/b/mikhailarkhipov/archive/2006/07/25/678308.aspx
Uninstall ReSharpen (if you use it)
Reinstall Visual Studio
Create a new Windows User and see if you get the same trouble

Ehh.. Solution: Get rid of the outdated buggy IDE and upgrade to a more recent one. Went to VSC15. No crashes since.

Related

VB6 Crystal Reports 8.5.0.217 - Access Violation Application Crash

Background:
Our company uses Crystal Reports in our legacy product written in VB6 which I'm performing some maintenance duties for.
Its using version 8.5.0.217 [RTM] with no service packs.
The Problem:
Has worked perfectly on Windows XP x86 to date.
In Windows 7 [x86 and x64] we get an Access Violation followed by an application crash and no further usable error information.
The Details:
The application crashes with a large datasets for any report using the active x viewer.
Visual Studio will crash whilst debugging.
The offending code is here:
Crv_Obj(0).ReportSource = ReportParametersFrm.Report
Crv_Obj(0).EnablePopupMenu = True
Crv_Obj(0).ViewReport
I have checked that:
Crv_Obj(0) is a valid object reference.
ReportParametersFrm.Report is a valid reference.
The only information I have is from the event viewer:
Faulting application name: Pyramid.exe, version: 2.2.0.8, time stamp: 0x51e53053
Faulting module name: craxdrt.dll, version: 8.5.0.217, time stamp: 0x3a849e1a
Exception code: 0xc0000005
Fault offset: 0x002ac3d1
Faulting process id: 0x15a8
Faulting application start time: 0x01ce8228a295c8c8
Faulting application path: C:\Program Files\Pyramid\Pyramid.exe
Faulting module path: C:\Program Files\Pyramid\CrystalSys\craxdrt.dll
I have also tried:
Disabling the DEP to no effect.
Changing Compatibility to Windows XP and below.
Running as both privileged and nonprivileged users.
Tried adding in new error handlers to catch the error
[Fruitlessly] searching on Google and this site.
Contacting SAP [to then be ignored].
What I need help with:
Have you seen this before?
Are there any workarounds or something I should be looking for that is obviously wrong?
Is there more recent version of Crystal that supports VB6 or at least
an upgrade path that you know of that I can attempt?
Any and all help would be most appreciated.
After quite a lot of research and digging around it seems that a slightly newer version of craxdrt.dll crviewer.dll fixes the problem.
Simply a case of replacing these libraries in the application lib folder and in C:\Windows\System32\
I've put a copy of the libs here in the event anyone else has this problem as there was very little consistent help/information out there on the internet.

All of a sudden can't open solution in VS2010 - why?

So all of a sudden every time I open this one particular solution it crashes and gives me the following error. Anyone know what might be causing this? Here is the error I get:
Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 10.0.40219.1
Application Timestamp: 4d5f2a73
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18015
Fault Module Timestamp: 50b83c8a
Exception Code: e0434352
Exception Offset: 0000c41f
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional information about the problem:
LCID: 1033
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Just found the answer accidentally by searching the MSDN forums:
DELETE THE .SUO FILE
This fixed it! Thanks everyone!
This is a dublicate question (Why is Visual Studio crashing after a few seconds [StackOverflow], Visual Studio crash [StackOverflow]).
Possible Solutions
StackOverflow
StackExchange
MSDN Forums
Also see
/LCID (devenv.exe) [MSDN]

qt creator error : program exited with code -1073741819

I am working on a video processing project using Qt and Opencv with Qt Creator IDE in Windows 7 32bit. I have been successful compiling and running my code. But when I close the gui of my application Windows pops up an error :
MyProgram.exe has stopped working
Problem signature:
Problem Event Name: APPCRASH
Application Name: QtTracker3.exe
Application Version: 0.0.0.0
Application Timestamp: 5107b5da
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16695
Fault Module Timestamp: 4cc7ab44
Exception Code: c0000005
Exception Offset: 00052073
OS Version: 6.1.7600.2.3.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I am not a professional programmer and I need not to know whether this happens because my poor programming skills or something else..
Exception code c0000005 is an access violation, also known as general protection fault. The program is reading from, or writing to, an address which is not part of the virtual address space. A very common cause is that you are de-referencing a stale pointer. In other words, the pointer was once valid, but you have subsequently freed it. Then later when you attempt to access it, an exception is raised.
The exception is faulting in ntdll.dll which is a system DLL. That means that something in your program is passing invalid data to a system API.
In order to solve this problem you will likely need to run under the debugger and let the debugger break at the point in the code where the exception occurs. Then you can attempt to work out why the memory that is being accessed is invalid.
That's something that you can do, but we cannot. You have the code, we do not. So, we can't give you any more help than this. In any case, there's no need to despair–these problems are usually easy enough to solve with the help of a debugger.
Sometimes delete the contents of your build directory and try to compile again just to make sure nothing is caching.

Developer tools crashing IE9

I have a problem on a website with IE9 which requires me to open the developer tools in that browser. That is when my real problem occurs as IE9 simply crashes and reports the following error:
Problem signature:
Problem Event Name: APPCRASH
Application Name: iexplore.exe
Application Version: 9.0.8112.16447
Application Timestamp: 4fca012b
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17651
Fault Module Timestamp: 4e21213c
Exception Code: e06d7363
Exception Offset: 000000000000cacd
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1030
Additional Information 1: 4200
Additional Information 2: 42004fe80739b889628da270848694a8
Additional Information 3: 7bb7
Additional Information 4: 7bb73118f9bbd17fcc14066196aedb9d
I also get the error with the following code:
Exception Code: c000041d
IE9 kindly restarts without any dev tools to help me.
Any idea what might cause this ?
Thanks in advance
Reset and fixing did not solve it. On the other hand, a complete uninstall-reinstall procedure using the corresponding windows update did the trick.
For anyone interested here's how: http://windows.microsoft.com/en-US/windows7/how-do-i-install-or-uninstall-internet-explorer-9
Thanks for the suggestion Marc!
Cheers
Reset Internet Explorer settings and check if that fixes the issue.
Run the “Fix it” from the following article:
http://support.microsoft.com/kb/923737

Fluent NHib causing visual studio 2010 hanging at runtime

Just installed and migrated a 2008 solution on Vista ultimate 64 and .net 4.0. Everything builds and tests run surprisingly well but I got the hang description below while trying to run the app under SQLite.
It turns out that the hang has got something to do when the call is made for FNH to build the session factory during a run, the only feedback I get is that the database wasn't configure properly without any inner exception. The strange part is that the exact code works perfectly under tests.
Any clues?
FluentNHibernate.Cfg.FluentConfigurationException was unhandled
Message: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
* Database was not configured through Database method.
Description: A problem caused this
program to stop interacting with
Windows.
Problem signature: Problem Event
Name: AppHangB1 Application
Name: devenv.exe Application
Version: 10.0.30319.1 Application
Timestamp: 4ba1fab3 Hang
Signature: b9ed Hang Type: 6152
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 1033 Additional Hang
Signature
1: 005de38e6b4bb3afd8e147932c6431cc
Additional Hang Signature 2: d54c
Additional Hang Signature
3: 05f671c8289bf8dd31e6ccfe265baa77
Additional Hang Signature 4: 784c
Additional Hang Signature
5: c8207f54dadf3eb38dfcf1ae152f4229
Additional Hang Signature 6: ff83
Additional Hang Signature
7: 220932152f3f04fffb6ca3abf15e6dc6
This is a SQLite issue, not FNH; see this post

Resources