Great detective work, Rick, thanks a lot!

> 16 apr 2015 kl. 15:37 skrev Rick Latrine <[email protected]>:
> 
> I've found the cause of sudden termination.
> 
> The method akka.remote.EndpointManager#createEndpoint contains an assertion:
> assert(writing || refuseUid.isEmpty)
> 
> If an endpoint which was previously quarantined reconnects, refuseUid is 
> existing.
> As the remote endpoint sends a message it a reading endpoint must be created 
> - writing is false.
> 
> The resulting AssertionError smashes through all supervising parents until 
> the ActorSystem terminates.
> 
> This is the stacktrace right before the AssertionError is thrown:
> 
> "Node-A-akka.remote.default-remote-dispatcher-6@1930" prio=5 tid=0x10 nid=NA 
> runnable
>   java.lang.Thread.State: RUNNABLE
>       at 
> akka.remote.EndpointManager.akka$remote$EndpointManager$$createEndpoint(Remoting.scala:759)
>       at 
> akka.remote.EndpointManager.createAndRegisterEndpoint(Remoting.scala:665)
>       at 
> akka.remote.EndpointManager.handleInboundAssociation(Remoting.scala:644)
>       at 
> akka.remote.EndpointManager$$anonfun$handleStashedInbound$1.apply(Remoting.scala:424)
>       at 
> akka.remote.EndpointManager$$anonfun$handleStashedInbound$1.apply(Remoting.scala:424)
>       at scala.collection.Iterator$class.foreach(Iterator.scala:727)
>       at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
>       at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
>       at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
>       at akka.remote.EndpointManager.handleStashedInbound(Remoting.scala:424)
>       at 
> akka.remote.EndpointManager$$anonfun$1.applyOrElse(Remoting.scala:596)
>       at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
>       at akka.remote.EndpointManager.aroundReceive(Remoting.scala:394)
>       at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
>       at akka.actor.ActorCell.invoke(ActorCell.scala:487)
>       at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
>       at akka.dispatch.Mailbox.run(Mailbox.scala:221)
>       at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
>       at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>       at 
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>       at 
> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>       at 
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> 
> 
> It seems to be a bug, shall I file a ticket?
> 
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <https://groups.google.com/group/akka-user>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/akka-user 
> <http://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
twitter: @rolandkuhn
 <http://twitter.com/#!/rolandkuhn>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to