$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [boost-users][StateChart] polymorphic_downcast failure
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2009-04-30 08:44:15
Hi Igor
> The above failure occurs in
> reaction_dispatcher::derived_with_action::react().
Such a failure usually means that the involved event has had its destructor
called. How do you allocate events? On the stack or with new and
intrusive_ptr?
> IIUC, state_machine tries to invoke in_state_reaction that's defined
> for an event, which is unrelated to the one being processed. What
> logical error in my state-machine might cause such a problem?
I've never seen any other causes than the one I mentioned above. If you can
rule that out then I'll need code I can debug.
HTH & Regards,
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.