Hi Anastis, Do you have the same problem if you use Alchemi.ManagerExec.exe? The problem might be related only to the Manager's service implementation.
Regards, Tibor > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:alchemi- > [EMAIL PROTECTED] On Behalf Of Anastis > Sourgoutsidis > Sent: Monday, June 12, 2006 1:20 PM > To: [email protected] > Subject: [Alchemi-developers] Unhandled "AccessViolationException" in > 1.0.4 > > Hi, > I've already posted this in the users' list but didn't got any > response, so I'm posting it here as well. I do apologize if my action is > an annoying repetition. > > I'm running the Manager as a service, using SQL2000, but I've also tried > different configurations like inMemory storage and ManagerExec, and it > happens every time. > When I'm running any of the sample programs, execution flows normally > and I get the results from the executor (same pc). When I exit the > application though, the Manager crashes and I have to start it manually > again. This happens every time i run a sample. The last few lines of the > manager's logfiles say: > ------------------- > 2006-06-10 14:37:41,498 [4320] DEBUG - > GManager:Owner_StopApplication():0 - App. > a912d0eb-b43a-40e6-86ad-0b3022cfc800 stopped > > 2006-06-10 14:37:41,528 [4320] ERROR - Unhandled Exception in Alchemi > Manager Service: sender = Name: Alchemi.ManagerService.exe > There are no context policies. > > System.AccessViolationException: Attempted to read or write protected > memory. This is often an indication that other memory is corrupt. > at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult > (SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& > bytesTransferred, Boolean wait, IntPtr ignored) > at > System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 > errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) > at > System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 > errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) > -------------------- > > I've noticed that this happens when I close an application, but not when > I disconnect from the manager, e.g. I can connect and disconnect > multiple times to the manager using Alchemi.Console, but the Manager > only crashes when I close the Alchemi.Console window. > > I've tried compiling and running the Manager from the sources, but the > same thing happens. Furthermore, even in debug mode, when the excetion > is raised, there is no indication as to where it was raised. > > Any help would be greatly appreciated, > > Regards, > > Anastis Sourgoutsidis > University of Teesside, UK > > > > _______________________________________________ > Alchemi-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/alchemi-developers _______________________________________________ Alchemi-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alchemi-developers
