|
Hi Tibor, yes, I 'm having the exact same problem when using the Alchemi.ManagerExec.exe, and I've tred both the binary and the source versions, just in case. The interesting thing that I noticed today is that when an application (the PiCalculator in this case) finishes execution, there is some disk activity for 5-10 seconds. If I close the application during this time-frame, the Manager crashes. But if I wait for 10 seconds or so until the disk activity stops, and the I close the application, the Manager will not crash. I looks like the Manager wants the application open for a little bit more after the GApplicationFinish(ApplicationFinished) callback is invoked. (BTW, when I'm mentioning "closing" the application, I don't mean prematurely, or by pressing the console's X button. I just press the enter key to satisfy the last Console.ReadLine(); ) I will try to investigate further the problem, as I need it working for my MSc dissertation, but as I'm really new to Alchemi, I don't think I'll achieve much. Any help will be greatly appreciated. Regards, Anastis Tibor Biro wrote: 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
