|On accessing a class member variable, the process crashes.
The class variable is a structure instance of size 108 bytes which is properly padded.
On Get_proc() which returns the structure pointer(address of the instance) it crashes.
The Get_proc() is called from another class scope.
The Stack points within the Get_proc() call and then accessing the structure address it crashes. The structure pointer is not NULL.
On making the structure instance scope as global, it does not crash.
Please do give your inputs.
user_m is a properly padded aligned structure with variables BYTE and WORD.