The Notebook front end is known to hang sometimes when reading notebook files with an error messages similar to:
File .../Untitled-1.mb appears to be broken for OMPR.257.0
We have not found the cause for this, but it only affects the Notebook's X Window front end, not the mathematica engine itself. So the command line interface invoked by 'math' is unaffected by this bug.