Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hi

While closing the Windows Service Application I get following error message
"Application popup: OPTSFTPService.exe - Application Error : The exception unknown software exception (0xc0000008) occurred in the application at location 0x7c8285f3."
. The message box is with "OK" and "Cancel"

Also the following Event log meesage is observed in the Event log(Application) "
MSIL
Faulting application _______, version 1.0.0.1, faulting module ntdll.dll, version 5.2.3790.4455, fault address 0x000285f3.
"

However this application works fine in the Debug mode. The OS used is Win 2003 Server SP2.

I started getting this error after about 18-21 Dec. I have checked the Windows Updates after that date but the documentation doesn't give any clue.

Need help

Thanks in advance.
Posted
Updated 4-Jan-11 23:52pm
v2

I've commonly seen applications work in Debug mode and not work as Release. A lot of times the problem is a buffer overflow somewhere. Debug usually allows some memory overflow (by allocating extra memory) without crashing to allow the developer to be able to troubleshoot the application without crashing immediately.
 
Share this answer
 
Comments
Espen Harlinn 17-Mar-11 10:39am    
Instructive - my 5
[rant]I hate answers like that[^]. If you don't know. Don't answer[/rant]

There are several possibilities for culprits for this one, Varsha.
It's not specific to a Service Application. It normally happens on Exit of the application. So, therefore, it's most likely something to do with memory allocation and object disposing.

If you know exactly where this is occurring, you can try disposing the object yourself before exiting. If you don't know what object or where this is happening, you can handle the error in general and try get some more info about its location.

Also, this could be due to an array that is bigger than its original size that has overwritten something else in memory (If you know of any dodgey arrays in your code, check those).

Another idea could be a Stack Overflow (http://en.wikipedia.org/wiki/Stack_overflow[^])
 
Share this answer
 
v2
Why can't you look at Microsoft? Click here.
 
Share this answer
 
v2
Comments
varsha_vm 5-Jan-11 8:06am    
Hi I couldn't find anything related/applicable to my query. Thats why posted here...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900