A stack "revCursors" is already in memory

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

DavJans
Posts: 270
Joined: Thu Dec 12, 2013 4:21 pm
Location: Spokane, WA USA

A stack "revCursors" is already in memory

Post by DavJans » Tue Jul 28, 2020 10:23 pm

I get this every time I open my stack. I tried rebooting, I tried copying the stack to another computer with a fresh never before installed livecode. When I try to Save as a stand alone I get this same error. 'A stack "revCursors" is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss.' then the same error but "revCopiedIcons" then a third error:

There was an error while saving the standalone application
257,1532,77,200276
449,1532,19
535,1532,77
253,1532,77
490,1532,77
490,1532,77
490,1532,77
253,1532,77
241,1506,1,revCopyIcons
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,1407,1,revCopyIcons
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,546,1,revCopyResources
241,546,1,revStandaloneCopyInclusions
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,857,1,revStandaloneCopyInclusions
490,857,1
241,812,revSaveAsWindowsStandalone
353,0,0,stack "C:/Program Files
(x86)/RunRev/LiveCode Indy
9.6/Toolset/libraries/revsavesstandalone.livecodescrip
573,375,1,revSaveAsWindowsStandalone
587,375,1
490,375,1
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: A stack "revCursors" is already in memory

Post by dunbarx » Wed Jul 29, 2020 1:58 am

Every time you open?

I only get this every time I try to make a standalone. it is harmless, but annoying.

Craig

SparkOut
Posts: 2839
Joined: Sun Sep 23, 2007 4:58 pm

Re: A stack "revCursors" is already in memory

Post by SparkOut » Wed Jul 29, 2020 7:32 am

That used to happen to me "every time off and on" in some versions, but I have not had it happen for a while now. (I think not since last year maybe.) If on Windows, try removing all plugins. Close LC completely and check for any "invisible" instances in the task manager, including any updater instances. Delete the preferences file. Maybe reboot for good measure, just out of habit. Try again.

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

Re: A stack "revCursors" is already in memory

Post by FourthWorld » Wed Jul 29, 2020 10:21 am

Do you have a stack named "revCursors" in your stack file? The Project Browser can show you. If so, delete it.

Bonus points if you can figure it how it got there. I've heard of this circumstance, but have not been able to reproduce it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: A stack "revCursors" is already in memory

Post by Thierry » Wed Jul 29, 2020 11:09 am

Bonus points if you can figure it how it got there. I've heard of this circumstance,
but have not been able to reproduce it.
Out of memory and a while ago, this seems to be one way:

Select the pattern box,right side. ( I've done it by mistake)

sunnYscreenshot 2020-07-29 à 12.03.21.jpg

Select "Cancel"

sunnYscreenshot 2020-07-29 à 12.03.49.jpg

and that was it... revCursors was there.

Regards,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 365
Joined: Mon Jun 10, 2013 1:32 pm

Re: A stack "revCursors" is already in memory

Post by Lagi Pittas » Wed Jul 29, 2020 2:04 pm

Hi All,

I used to get it every so often but I think I worked out what it was but can't remember if it happened every time. It seemed to happen 99% of the time when I "SAVED" with a different name (for safety/backup/milestone) and then decide to create a standalone straight after.

What I always do now is if I want to save with a new name I then exit and load up the latest version named. Don't think it has happened since.

It makes sense I think. Should be an easy bug to fix

Stack is called AAA you save it as BBB and create a standalone but now the IDE has AAA and BBB referenced somehow.


I just did a test with a simple stack of 2 cards and 100 lines of code - no problem.
I loaded my main program where I have had the problem from version 6 onward (and only once (i think) on an early version of 9) and not once on the current version. And I had no problem at all.

I'm still 99.5% sure that is the major problem but there maybe others to do we the script editor having dangling references after "SAVING" with a new name.


Regards lagi

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

Re: A stack "revCursors" is already in memory

Post by FourthWorld » Wed Jul 29, 2020 7:45 pm

Thierry wrote:
Wed Jul 29, 2020 11:09 am
Bonus points if you can figure it how it got there. I've heard of this circumstance,
but have not been able to reproduce it.
Out of memory and a while ago, this seems to be one way:

Select the pattern box,right side. ( I've done it by mistake)


sunnYscreenshot 2020-07-29 à 12.03.21.jpg


Select "Cancel"


sunnYscreenshot 2020-07-29 à 12.03.49.jpg


and that was it... revCursors was there.

Regards,

Thierry
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack. Maybe they fixed it, or maybe another step is needed to reproduce it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: A stack "revCursors" is already in memory

Post by Thierry » Wed Jul 29, 2020 8:41 pm

FourthWorld wrote:
Wed Jul 29, 2020 7:45 pm
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack.
Maybe they fixed it, or maybe another step is needed to reproduce it.
As I said; out of memory.. So I might have been wrong,
which is not the first and certainly not the last time :)

Regards,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

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

Re: A stack "revCursors" is already in memory

Post by FourthWorld » Wed Jul 29, 2020 8:55 pm

Thierry wrote:
Wed Jul 29, 2020 8:41 pm
FourthWorld wrote:
Wed Jul 29, 2020 7:45 pm
Thanks, Thierry. I just tried that recipe in v9.6.1rc1 and it didn't copy "revCursors" into the mainstack.
Maybe they fixed it, or maybe another step is needed to reproduce it.
As I said; out of memory.. So I might have been wrong,
which is not the first and certainly not the last time :)
No worries. It's the closest thing to a recipe I've seen on this yet. I'm hoping it'll spark someone else's memory so we can pin this down.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

DavJans
Posts: 270
Joined: Thu Dec 12, 2013 4:21 pm
Location: Spokane, WA USA

Re: A stack "revCursors" is already in memory

Post by DavJans » Mon Aug 03, 2020 6:21 pm

FourthWorld wrote:
Wed Jul 29, 2020 10:21 am
Do you have a stack named "revCursors" in your stack file? The Project Browser can show you. If so, delete it.
This fixed it, but now it takes almost 20 minutes to safe as a stand alone. I can deal with that. Thank you all.
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: A stack "revCursors" is already in memory

Post by dunbarx » Mon Aug 03, 2020 6:49 pm

In all my projects, I set inclusions manually. I always include "cursors". I am not sure this is the same thing, but it seems so.

Anyway, I always get the dialog when making a standalone, but never when simply saving a stack. This dialog appeared out of nowhere a couple of years ago, likely with an LC update.
This fixed it, but now it takes almost 20 minutes to safe as a stand alone
Making my largest standalone (one mainStack with 16 cards, five subStacks of one card each, 9,000 lines of actual working code) never takes more than one minute.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: A stack "revCursors" is already in memory

Post by dunbarx » Mon Aug 03, 2020 7:00 pm

I just checked the PB for the "splash" stack from which I make my main standalone. It includes "revCursors" and "revMacCursors". Always has.

Craig

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

Re: A stack "revCursors" is already in memory

Post by FourthWorld » Mon Aug 03, 2020 10:04 pm

dunbarx wrote:
Mon Aug 03, 2020 7:00 pm
I just checked the PB for the "splash" stack from which I make my main standalone. It includes "revCursors" and "revMacCursors". Always has.
Do you get an error when building a standalone?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: A stack "revCursors" is already in memory

Post by dunbarx » Tue Aug 04, 2020 3:39 am

Richard.

Never an error. I simply dismiss the dialog, which I expect each build, and the process continues just fine. I believe I have to dismiss twice, in fact. I will check that tomorrow.

Craig

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

Re: A stack "revCursors" is already in memory

Post by FourthWorld » Tue Aug 04, 2020 4:31 am

dunbarx wrote:
Tue Aug 04, 2020 3:39 am
Never an error. I simply dismiss the dialog...
My bad, I meant warning.

Do you recall how those got there? Are they useful to you in your development stack file?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”