Please note that you can subscribe to the individual forums. A subscription for news only covers the news.
Error message: "...invalid or unknown memory block"
Sometimes when I try to start the programme I get an error message:
“Application made attempt to free invalid or unknown memory block.” (Image attached).
Click ‘OK’ and the box continues to pop up on a loop. Have to close VM with task manager. Reboot cures it.
I didn't copy the error report available with the popup - should've done, but I don't understand it. Next time...
I don't see or recognise any clues in the VM report.
I recently moved from version 4 to 4.1 and have both programmes on the hard drive in distinct folders. Could this be an issue?
Any thoughts welcomed.
I think you forgot the attachment. 😉
And this time?
Maybe I'm not getting the system here: click 'choose file', choose file, hit 'answer'. ?
Still not. But now I remembered that there are restrictions on what file types can be uploaded. I have added .el.
Can you please try again. If it still doesn't work, please send it to firstname.lastname@example.org. Sorry for the inconvenience.
Sven, with the credits you have for inconveniencing me., you could probably stab me and get away with it.
Let me know if this still fails...
PS. It happened again yesterday. I have a hunch there was a clash between files of the previous and current VM. I've done some tidying up. Programme opened ok this morning, but it often did anyway.
Thank you, now it worked. I will look into it. I don't know how soon it will be, because I am quite busy at the moment with the work I get paid for. 😀
Ok. In your time.
It has just happened again, while I was dicking around with time conditionalls. Looking through the script, there's some madness piling up in the variables and comparisons. I'll keep tidying and let you know if the problem goes away.
I had been encountering that error over the past week as well. I was using VM 4.1, there was no upgrade, but I did update my script. It was resolved by rebooting so I didn't think much of it. But then I also noticed I wasn't receiving any jobs that were being set by timers. I rebooted because my computer was working on the slower side and suddenly I'm receiving punishments from jobs that I never received. It says I received them days ago but I never did. There was an update to Windows that was installed during this. Could this be a Windows issue? It seems when I completed the update things have improved and I'm now receiving the jobs that were on timers. It took a few reboots for that to occur. Unfortunately, now there are multiple punishments from jobs I never received. I will send you the .el file that was generated a few days ago as well as the report I recently received with multiple punishments generated for timed jobs I never received.
Thanks for your help Sven. It's much appreciated.
From the error report files, I can see that both these errors occurred while opening a new script for the first time. Some error must have happened while reading the script.
Do any of you have a script that causes the problem every time? If yes, I would very much like to see it?
Is it possible that the script file was somehow reserved by another program? En editor, a backup program or other?
If it happens in other situations than opening a new script, I would like the VirMst4.el file from that situation. If possible with the report file and the status file.
@Simon: Having 4.0 and 4.1 in different folders is no problem. If you alternately starts them with same status file, problems might occur. But not problems like this.
Thanks for the confirmation about having two versions of VM.
The problem occurred again when opening for the first time today. I don’t think I’d added anything since the last time. I tried to restart three or four times, using Task Manager to stop the loop. Then I closed the web browser, Notepad, and file manager. Then the programme started.
I closed the programme while writing a response. Then opened again and got the error! Closed the browser and immediately it opened ok. Some minutes later, after closing the programme and logging into the forum, I got the error again. This time, I just logged out before trying again, and VM opened.
I’ve spent some time opening and closing the browser, the programme and making changes to the script, and haven’t been able to replicate the problem on demand, or at all. Feel like a rain dancer.
The latest .el file is attached.
Do I have a script that reliably causes the problem? No. Not reliably. The error began to appear when I started introducing a system-like thing to manage !zzDeadline and !zzMaxtime and associated info to the sub, but that’s also when I changed to version 4.1 and when Russia moved on Ukraine. Wait a minute...!
I’ll share the script if you think it could be connected.
That puzzles me! I cannot figure out how the web browser can influence VM. It could have the report open, but I do that all the time when testing, so it should not be a problem.
I can see in the VirMst4.el file that you this time opened an existing status file. But otherwise, the problem occurs at the same place in the program, while opening the script.
Because of your test with opening and closing programs, I think that the problem has something to do with the script file being held in some way. But if that is the case, I want to give a better error message.
I would like the script, please. You can send it to email@example.com. Don't upload it here.
Also, I would like you to try the latest VirMst 4.2 beta version. Partly to make sure that the problem has not been solved now, and partly because I improved some error messages. I don't know if the messages I changed, are the relevant in this context. But it was the best I could think of.
I'll send the script. Do you want me to try 4.2 Beta 6 or 7?
The problem occurred today on first opening while I had the browser open: closed browser and immediately VM opened ok. Just as I'm writing this, about an hour after opening, it occurs to me that I should check again. So I'll close VM and open it and... I now have the error message. I am confident that if I close this browser, all will be well...
Yes. I think that was worth it. Could it be something to do with the settings on Chrome? I haven't changed them recently.
I'll attach the .el.