Archived

This forum has been archived. Please start a new discussion on GitHub.

Error when shutting down process

Hi,

I am getting this error when I shut down my freeze process. Can someone tell me what might be causing this error?

[ Berkeley DB: DbEnv "sched_db": transaction has active cursors ]
[ Berkeley DB: DbEnv "sched_db": PANIC: Invalid argument ]
[ Berkeley DB: DbEnv "sched_db": PANIC: DB_RUNRECOVERY: Fatal error, run database recovery ]
error: Saving thread killed by exception: EvictorI.cpp:1638: Freeze::DatabaseException:
DbTxn::abort: DB_RUNRECOVERY: Fatal error, run database recovery
Aborted (core dumped)

Thanks,

Comments

  • Bug Found

    Hi,

    Just in case someone else hits the same thing, for me this was caused by failing to add the factory for the class type to the communicator. Duh. Would be nice to have the thing fail in a better way, though.
  • Hmmm...

    When the receiver can't unmarshal a class because there is no factory, it gets a NoFactoryException. I suspect what might have happened is that your code didn't handle that exception, or handled it too late, causing Freeze to terminate in an abnormal way.

    Could you check if that is the case? If not, we probably should have a look--you are right, the app indeed shouldn't terminate in such a rude way ;)

    Cheers,

    Michi.
  • Followup

    I'll look into this.

    Cheers,