Yeah, that sounds like it could be the culprit.  I'd have to dig into the
code more to know for sure.

I propose that while we're looking into the problem we also investigate the
feasibility of migrating the custom collections to use .NET 2.0 generics.
Just a thought -- any objections?

-Matt


On 3/2/07, Jonathan Mitchem <[EMAIL PROTECTED]> wrote:

My first impressions are that there is a multi-threading bug in the "in
memory" storage implementation within the Manager, such that we are
simultaneously attempting to modifying a collection while iterating through
it.

I will take a look at this further, and I expect the change will be in a
later release of Alchemi.

Jonathan

On 3/2/07, vronk < [EMAIL PROTECTED]> wrote:
>
> Hi Alchemi Developers,
>
> we use alchemi grid application since 1 year.
> Sometimes we have a problem with executors.
>
> We use Alchemi 1.0.5 with in memory database.
> If the manager and 2 executors runs about
> 2 days we notice an exception in the executor.
> This exception concerns a GThread.
> The GThread crashes and calculate not to the end.
>
> This execption seems to occur randomly.
>
> In the executor i can found the following exception
> message:
>
> ...
>
> 2007-03-02 18:51:20,656 [ExecuteThreadInAppDomain-thread] WARN  - grid
> thread #
> 7e0ba4ec-51e3-4a0f-ac74-99492e9d732f.1 failed (
> System.InvalidOperationException)
>
> System.InvalidOperationException: Collection was modified; enumeration
> operation may not execute.
>
> Server stack trace:
>    at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
>    at Alchemi.Manager.Storage.InMemoryManagerStorage.GetThread(String
> applicationId, Int32 threadId)
>    at Alchemi.Manager.MThread.set_State(ThreadState value)
>    at Alchemi.Manager.GManager.Executor_SetFinishedThread(SecurityCredentials
> sc, ThreadIdentifier ti,
> Byte[] thread, Exception e)
>    at
> 
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
> md, Object[] args,
> Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&
> outArgs)
>    at
> 
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
> md,
> Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext, Object[]& outArgs)
>    at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
> msg, Int32 methodPtr,
> Boolean fExecuteInContext)
>
> Exception rethrown at [0]:
>    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg)
>    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)
>    at Alchemi.Core.IManager.Executor_SetFinishedThread(SecurityCredentials
> sc, ThreadIdentifier ti, Byte[]
> thread, Exception e)
>    at Alchemi.Executor.GExecutor.ExecuteThreadInAppDomain()
> 2007-03-02 18:51:20,687 [ExecuteThreadInAppDomain-thread] INFO  - Exited
> ExecuteThreadInAppDomain...
>
> 2007-03-02 18:51:20,687 [ExecuteThreadInAppDomain-thread] INFO  -
> Started ExecuteThreadInAppDomain...
>
> ...
>
> I have no clue wy this problem occurs.
> Please take a look on this problem.
>
> Thanks in advance!
>
> Frank Piorko
>
>
> -------------------------------------------------------------------------
>
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> alchemi-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alchemi-users
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users

Reply via email to