bizarre program termination

  • Thread starter Thread starter Lee Crabtree
  • Start date Start date
L

Lee Crabtree

My app is being written in Visual C# Express. I've started to have a
rather bizarre program termination. It's not very consistent, but I've
noticed this line in the Output window:

The program '[3436] app.exe: Managed' has exited with code -1073741819
(0xc0000005).

A quick google search only revealed a problem with lsass dying with the
same error code. What could cause that error code, and what's the
resolution?

Lee Crabtree
 
Lee,

0xc0000005 is an access violation error code. I suspect that you are trying
to access memory that you have deleted. This type of error can be
inconsistant because if garbage collection hasn't happened. That area of
memory is still there.

Kim
 
Hmm...strange that a search wouldn't show me that. Seems like that
error code would be pretty well known. Thanks for the heads up.

Lee
 
Lee,

Just look for the error code. Not the full text of the error message.
Remember that with software most new stuff is built on the old stuff. So if
the entire error message isn't found, then a search on just the error code
often points you in the right direction.

Good luck,

Kim Greenlee
 
Back
Top