a member function in one of my classes is returning a pointer to another class, during debugged execution it gives me an access violation on the return statement

can anyone tell me what usually causes this? thanx