Hello,
I have a problem with E_prefetchAbort exception. In my code I am creating object inside main function like that:
ClassType Object;
and passing its pointer to created task (lets call it MainTask). Inside the MainTask I have the pointer and I am calling an INIT non-static method of this class. It is still OK at this point. Inside Object->Init method I am creating another task (lets call it ProcessingTask) with higher priority and this is a static method of another class. So it is called immediatelly. Inside ProcessingTask static method I received an argument of pointer to a class which is a member of 'ClassType Object' and I want to call its method but here I am receiving this exception.
What is more interesting if I will change "ClassType Object;" inside main to "static ClassType Object" or "ClassType *Object = new ClassType()" or I will make it global outside main function I am not receiving this exception anymore. Can somebody explain me why it is like that?