Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6
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) "
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 4-Jan-11 23:51pm
Edited 4-Jan-11 23:52pm
v2
Rate this: bad
good
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.
  Permalink  
Comments
Espen Harlinn at 17-Mar-11 10:39am
   
Instructive - my 5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Why can't you look at Microsoft? Click here.
  Permalink  
v2
Comments
varsha_vm at 5-Jan-11 8:06am
   
Hi I couldn't find anything related/applicable to my query. Thats why posted here...
Rate this: bad
good
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 (http://en.wikipedia.org/wiki/Stack_overflow[^])
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 439
1 ChintanShukla 310
2 Gihan Liyanage 298
3 RyanDev 250
4 Richard Deeming 220
0 Sergey Alexandrovich Kryukov 8,906
1 OriginalGriff 7,771
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 5 Feb 2011
Copyright © CodeProject, 1999-2014
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