memory error

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
monique
Posts: 4
Joined: Sun Jul 04, 2010 9:47 pm

memory error

Post by monique » Wed Feb 08, 2012 11:17 am

I'm quite frequently getting messages like

The instruction at "0x0042efc1" referenced memory at "0x0d74d000".
The memory could not be "read".
Clixk on OK to terminate the program
Click on CANCEL to debug the program

Then the only thing we can do is click on ok to start all over again.
This happens when pushing the tab button to indent the scriptlines.

Is anyone else who has the same problem????
And more important: is there anyone who knows the cause of this???

Klaus
Posts: 14213
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: memory error

Post by Klaus » Wed Feb 08, 2012 5:30 pm

Hi Monique,

welcome to the forum! :D

We need a bit more info!
What LiveCode version?
What platform: Win or Mac or *NIX?
Is this a LiveCode or system message?


Best

Klaus

monique
Posts: 4
Joined: Sun Jul 04, 2010 9:47 pm

Re: memory error

Post by monique » Wed Feb 08, 2012 5:41 pm

hello Klaus,

version of LiveCode is 4.5.3
Windows environment.

I've seen such a kind of problem also when I tried to google it, but still cannot find the cause or solution.

It's very annoying as as long as this is not solved, I have to save my updates again and again to be sure
I don't lose them as a bug like this might appear again.
When it occurs, it's always at a moment when I push the tab button to indent my coding.
(it does not always occur at the push of the tab button)
then when I open my stack again and remove a blanco line or a line that I do not need anymore, often the indenting goes ok.

Regards
Monique

monique
Posts: 4
Joined: Sun Jul 04, 2010 9:47 pm

Re: memory error

Post by monique » Wed Feb 08, 2012 5:42 pm

I just noticed your last question:
but I don't know if this is a LiveCode or system message

Klaus
Posts: 14213
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: memory error

Post by Klaus » Wed Feb 08, 2012 5:48 pm

Hi Monique,

hmmm, did you try to de-install LiveCode and install it again?
Restart Windows?

Sorry, no other idea so far...


Best

Klaus

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: memory error

Post by Mark » Wed Feb 08, 2012 6:45 pm

Hi Monique,

You can try to delete the file
C:\Documents and Settings\USERNAME\Application Data\RunRev\Preferences\livecode.rev

Perhaps you could upload a screenshot of the message?

Additionally, you could try to put true into gRevDevelopment every time you start up LiveCode and see if LiveCode drops into the debugger before crashing. Just execute this from the message box:

Code: Select all

put true into gRevDevelopment
If you see the debugger or a new type of error message, make a screenshot and show it.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: memory error

Post by mwieder » Wed Feb 08, 2012 7:03 pm

To be safe, that should be

Code: Select all

    global gRevDevelopment; put true into gRevDevelopment
but it sounds like your LiveCode installation has gotten corrupted. You shouldn't be able to get out-of-memory-range messages like that doing anything in LiveCode. I'd actually love it if we could - it would make some tasks much easier, but it isn't possible. I'd go with uninstalling and reinstalling from scratch.

monique
Posts: 4
Joined: Sun Jul 04, 2010 9:47 pm

Re: memory error

Post by monique » Thu Feb 09, 2012 9:33 am

ok, thank you all for reacting.
I'll keep you informed about the results....

best regards,
Monique

Post Reply