mav problem

Miscellaneous Forums/General Discussion/mav problem

Hi there.
I wonder if anyone can explain why I suddenly started to get either a memory access violation or an illegal memory address error when I try to run any of the games I wrote. They still work fine when I run them within Blitz and they also work fine if I recompile them. As it's something which happens to all my own games, but no others, I'd really like to know what the problem is and also what the solution is as if I give any copies to friends they can't recompile them.
Thanks for any help.

have you tried all this with debug on? This may give you the information you need.

Have you moved any files around on your hard drive so now file paths may be invalid?

You might have to update your blitz version too. Maybe something you have used in your code has changed since you updated it? Have you updated your graphics card drivers? Are you using any special .dll's?

Hi there,
These were all programmed some time ago and were working fine last time I played any of them. I haven't touched the folder where they've been at all. Haven't added any files or taken any away. Then suddenly I go to run one of the games and get a MAV as it's loading. Then I tried the others. Each gave me either a MAV or an illegal memory address error. I assume, therefore, that the problem isn't a blitz problem but more likely that something has changed within windows itself so anyone have any suggestions as to what it might be?
Thanks for any help.

I had similar issues for the last few months - even with my new PC I had built 2 weeks ago.

I only get the MAV's, illegal memory address & some other errors ( illegal instruction call, object doesn't exist - when it clearly does ) at random times even when running in debug mode.

I did have Xp ( sp3 ) on my new machine. The issues are less frequent since I removed sp3 and upgraded Blitz from v1.96 to v1.99.

The fact is that they still happen now and again so I can understand your frustration. The errors are so random I'm 99.999% confident that it's nothing I'm doing programing wise.

Are you running XP with Sp2 yourself?

I've got Blitz v1.99 and I'm using XP with sp2. I haven't changed anything deliberately and as I don't run the programs that often I can't be sure when the problem would have actually started. I just wonder if something I've downloaded or a windows update or something has caused the problem. It's not a random problem as such as last time I ran one of the games it was fine and then the next time I get the MAV.

Can you narrow it down to anything in particular? What about making a small test, just loading media?

About a year ago Blitz3D suddenly quit working for me, although the problem was a little different.

I was using an old magazine cover disk. Tried a few programs, videos and music. Right after that I tried to use Blitz3D. Every program I ran ( from the IDE ) crashed immediately with "Memory Access Violation". It didn't matter if I used graphics or not, had debug on or off etc. Same crash every time.

I restarted the IDE, rebooted the PC. Nothing helped. But at least I knew exactly when the trouble started. So I used System Restore to go back one day. Problem solved, but I still don't know what caused it.

Very odd... Did you re-install blitz?

Did you re-install blitz?

No. That might have been informative.

The whole experience left a bad impression about what may have been on that cover disk. So I figured a System Restore was in order anyway.

I've just run the programs on my other computer and they work fine so something has changed in Windows. Guess I'll just have to re-compile them.
But thanks for your help anyway.