Page 1 of 1

Corrupted stack

Posted: Fri Apr 16, 2021 5:36 pm
by simon.schvartzman
Hi all, not sure it there is a solution for this but I'll try, may be someone has gone throught the same problem before and has a magic solution...

I was working on a LC project when my Mac started complaining about running out of memory and I had to force power off/on

Now when I try to open the project I was working on I got this error message
Screen Shot 2021-04-16 at 13.22.48.png
and the project that originally was around 500K now it > 4G !

Where should I look for the backup file?

Any other hints?

I'd really appreciate any help in order to save me 2+ days or rework.

Regards

Re: Corrupted stack

Posted: Fri Apr 16, 2021 5:44 pm
by richmond62
viewtopic.php?t=3846

"If the save is interrupted for any reason (power cutoff, force-quit, etc.), the stack file may not be complete and will be regarded as corrupt, but the "~*" copy will be in the same folder -- if you see that copy, in most cases you can safely quite Rev, move the corrupted file to the trash, remove the tilde from the copied file, and re-launch Rev to get back to work with everything in place as of your last successful save."

Re: Corrupted stack

Posted: Fri Apr 16, 2021 6:00 pm
by simon.schvartzman
Thanks Richmond, bad luck there is no backup file in my folder.

I've also noticed that the "Open Recent File" menu shows me files from ages ago. So it seems something happened with LC itself...

Re: Corrupted stack

Posted: Sat Apr 17, 2021 4:54 pm
by jacque
What version of LC are you using? I think there were some memory leaks in one of them.

Backup files are only created during a save so there wouldn't be one after a forced quit. I'm not sure why you'd see files from an old preferences file, that's strange. If you do recreate your work, keep an eye on the file size of the stack and see if it starts growing unreasonably.

Re: Corrupted stack

Posted: Sat Apr 17, 2021 5:07 pm
by simon.schvartzman
Hi Jacque, I was using LC 9.6.1 when crashed. I do have LC.9.6.2 (rc 3) installed as well.

Thanks for the hint about the file size. Will take that into account

Re: Corrupted stack

Posted: Sat Apr 17, 2021 6:15 pm
by FourthWorld
Please file a bug report and make arrangements to send your stack to the team.

True stack file corruption is very rare with LiveCode, and we need to keep it that way.

Bringing this conversation to the engine team will help ensure robust quality for all.

Re: Corrupted stack

Posted: Sat Apr 17, 2021 6:39 pm
by simon.schvartzman
@FourthWorld if you mean I should send the corrupted stack to the team I'm sorry but since it was >4GB I have deleted it!