Corrupted stack

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Corrupted stack

Post by simon.schvartzman » Fri Apr 16, 2021 5:36 pm

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
Simon
________________________________________
To ";" or not to ";" that is the question

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Corrupted stack

Post by richmond62 » Fri Apr 16, 2021 5:44 pm

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."

simon.schvartzman
Posts: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Corrupted stack

Post by simon.schvartzman » Fri Apr 16, 2021 6:00 pm

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...
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Corrupted stack

Post by jacque » Sat Apr 17, 2021 4:54 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Corrupted stack

Post by simon.schvartzman » Sat Apr 17, 2021 5:07 pm

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
Simon
________________________________________
To ";" or not to ";" that is the question

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Corrupted stack

Post by FourthWorld » Sat Apr 17, 2021 6:15 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

simon.schvartzman
Posts: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Corrupted stack

Post by simon.schvartzman » Sat Apr 17, 2021 6:39 pm

@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!
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “Talking LiveCode”