#46 mged hangs if geometry database disappears

crash or data loss
closed-works-for-me
Sean Morrison
Modeling (29)
2
2008-02-14
2005-07-07
Sean Morrison
No

If the geometry database .g file is moved out from under mged while
mged is using it, mged fails less than gracefully to recover. It hangs
on an l irrecoverably after many message failure to read errors.

Discussion

  • Lee Butler
    Lee Butler
    2006-01-14

    Logged In: YES
    user_id=1179270

    Can you provide steps to reproduce?

    Mged editing is done primarily on disk, not in memory. All changes are written
    to disk almost immediately. On unix systems, removing the file isn't sufficient,
    as the open file handle keeps the deleted file in existence (but not in a directory
    listing) and mged continues merrily. I presume this was an issue over NFS when
    a server went down?

     
  • Lee Butler
    Lee Butler
    2006-01-14

    • status: open --> open-works-for-me
     
  • Sean Morrison
    Sean Morrison
    2008-02-14

    • assigned_to: nobody --> brlcad
    • status: open-works-for-me --> closed-works-for-me
     
  • Sean Morrison
    Sean Morrison
    2008-02-14

    Logged In: YES
    user_id=785737
    Originator: YES

    Don't recall the specific original circumstances, but the original test very likely was over an NFS connection. So removing the file had a little more detrimental effect. Just tested the behavior on a local file system and mged did indeed behave quite graceful after the file was unlinked (aside from expected sub-process failures). Closing this report out.