About Store Forum Documentation Contact



Post Reply 
[BUG] Vehicle Tutorial Access Violation
Author Message
fatcoder Offline
Member

Post: #1
[BUG] Vehicle Tutorial Access Violation
When you exit the vehicle tutorial there is an access violation relating to deleting the wheels. I'm guessing this has probably been in there since these changes back in December.

Quote:-removed Wheel::update, now it's called automatically
-Wheel class is now more safe, now you can call its methods even after deleting the vehicle in which case the calls will be ignored

Guess the wheel isn't as safe as you thought... lol
02-05-2011 06:07 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: [BUG] Vehicle Tutorial Access Violation
Thanks, however I do not have this issue.
Can anyone else confirm this?

Could you attach screenshot with debug/callstack visible?
Also please check here first - http://www.esenthel.com/community/showth...p?tid=2862
02-05-2011 11:57 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: [BUG] Vehicle Tutorial Access Violation
I don't have it too.
02-05-2011 01:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #4
RE: [BUG] Vehicle Tutorial Access Violation
Hmmm... yesterday the problem was occuring in both my code and in the tutorial code, but now today it only happens in my code. So I'm guessing something in my code is corrupting the memory. Oh well, I'll fix it. It breaks in Wheel.h. I've attached the call stack anyway, but it's all EE internal stuff, but it might let you point something out for me as to where I should look.

Quote:
Quote:-removed Wheel::update, now it's called automatically
-Wheel class is now more safe, now you can call its methods even after deleting the vehicle in which case the calls will be ignored

Guess the wheel isn't as safe as you thought... lol

I renege this comment smile


Attached File(s) Image(s)
   
(This post was last modified: 02-06-2011 01:21 AM by fatcoder.)
02-06-2011 01:20 AM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #5
RE: [BUG] Vehicle Tutorial Access Violation
or you want to delete something that isn't there anymore. We dont see whats created in this class... or another class is accessing it while another class is deleting it somewhere else. So you really need to look around and debug the classes where this function is used.

There is always evil somewhere, you just have to look for it properly.
02-06-2011 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply