corrupted file


    Jul 09 2008 | 11:19 am
    damn, a patch i've spent ages on has suddenly stopped loading - max just crashes without an error when i try to load the patch, or sometimes gives an unhandled exception error, to do with access violation. i didnt make a backup. stupid.
    i can still open it as text though, is there any way to work out why it's become corrupted? has this ever happened to anyone else?
    [code] max v2; [/code]

    • Jul 09 2008 | 12:43 pm
      I could open you patch in max5, but it produced a stack overflow. max says : through: this object was involved in a stack overflow pointing to "r #0-setlength" try renaming this receive in a text editor, and you should be able to open it again.
      Mathieu
    • Jul 09 2008 | 1:33 pm
      perfect! thanks. i made something infinite by mistake.
    • Jul 09 2008 | 7:46 pm
      In a pinch, if this happens again, you can erase any loadbang or loadmess objects using a text editor. Since nothing happens in a patch until one of these or an interaction, no patch (should) crash at first. Also you can load the file with loadbangs etc. disabled, some control-key combination you hold down (that I don't remember) when you say "Open..."
      This has happened to me once, another stack overflow thing. Killing the loadbang let me see the problem, whew. "Save As..." constantly! :)
      --CJ
    • Jul 09 2008 | 8:42 pm
      On 9 juil. 08, at 21:46, Seejay James wrote:
      > > In a pinch, if this happens again, you can erase any loadbang or > loadmess objects using a text editor. Since nothing happens in a > patch until one of these or an interaction, no patch (should) crash > at first. Also you can load the file with loadbangs etc. disabled, > some control-key combination you hold down (that I don't remember) > when you say "Open..."
      command+shift on mac (ctrl+shift on windows) while you open the patch.
      Best, ej
    • Jul 10 2008 | 9:04 am
      thanks all