Menu

#17 Storage leak with incorrect state machine

None
closed
Runtime (19)
5
2012-09-26
2005-10-07
No

There is a storage leak if a state machine action that is not marked <<final>> or named Delete deletes the instance. The leak is caused by the deliberate raising of ColdFrame.Exceptions.Use_Error.

Discussion

  • Simon Wright

    Simon Wright - 2005-10-07

    Logged In: YES
    user_id=917025

    ColdFrame bug # 0334.

     
  • Simon Wright

    Simon Wright - 2005-11-01

    Logged In: YES
    user_id=917025

    This is reclassified as a Feature; a state machine which does this is
    wrong, and needs fixing.

     
  • Simon Wright

    Simon Wright - 2005-11-02

    Logged In: YES
    user_id=917025

    On second thoughts, it's a Bad Thing to leave the model unrecoverable
    even by teardown!

     
  • Simon Wright

    Simon Wright - 2005-11-02

    Logged In: YES
    user_id=917025

    The instance concerned is now left where Tear_Down can find it, so that it
    will get reaped.

     
  • Simon Wright

    Simon Wright - 2012-09-26
    • labels: --> Runtime
    • milestone: -->
     
  • Simon Wright

    Simon Wright - 2012-09-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1 @@
    -There is a storage leak if a state machine action that is not
    -marked <<final>> or named Delete deletes the
    -instance. The leak is caused by the deliberate raising
    -of ColdFrame.Exceptions.Use_Error.
    +There is a storage leak if a state machine action that is not marked `<<final>>` or named Delete deletes the instance. The leak is caused by the deliberate raising of ColdFrame.Exceptions.Use_Error.
    
     

Log in to post a comment.

MongoDB Logo MongoDB