Skip to content

DPORwHeuristics + Non-determinsm causes unexpected paths #83

Description

@colin-scott

This is to be expected, but if the application exhibits non-determinism, DPOR sometimes crashes with:

[ERROR] [03/15/2015 00:16:03.718] [new-system-5-akka.actor.default-dispatcher-9] [akka://new-system-5/user/raft-member-3] Unexpected path
java.lang.Exception: Unexpected path
        at akka.dispatch.verification.DPORwHeuristics.setParentEvent(DPORwHeuristics.scala:170)
        at akka.dispatch.verification.DPORwHeuristics.schedule_new_message(DPORwHeuristics.scala:446)
        at akka.dispatch.verification.Instrumenter.afterMessageReceive(Instrumenter.scala:263)
        at sample.WeaveActor.ajc$after$sample_WeaveActor$3$79e3ab71(WeaveActor.aj:53)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
        at akka.actor.ActorCell.invoke(ActorCell.scala:487)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
        at akka.dispatch.Mailbox.run(Mailbox.scala:220)
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
        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)
~                                                                                                                   

Not sure if we should necessarily crash or not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions