Click here to Skip to main content
12,762,900 members (37,643 online)
Rate this:
Please Sign up or sign in to vote.
See more: VC6 C++

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) "
Faulting application _______, version, 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 5-Jan-11 0:51am
Updated 5-Jan-11 0:52am
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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.
Espen Harlinn 17-Mar-11 10:39am
Instructive - my 5
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

[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 ([^])
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Why can't you look at Microsoft? Click here.
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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 5 Feb 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100