Crash inside CXTPPropertyGridItem |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 03 October 2007 at 6:57am |
Hello,
one of our clients had a strange crash on an XP SP2: The crashdump from client shows that the crash (0xc0000005) occurs inside GetAccessibleRole(), on the highlighted line, when an access to pvarRole is being made (assigning a value of zero through VT_EMPTY). What can be the problem? Is it possible to fix this? |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
The call stack shown by VS seems incorrect to me now. Obviously, MFC's CFrameWnd will never call any XTP method directly. Is it possible that crashdump files are interpreted incorrectly, thus we cannot trust the call stacks shown by Visual Studio?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Crush dump for Release build can be wrong. If he can reproduce it each time, may be you send Debug version to customer to check it ?
for future we will add check if pVarRole != NULL before set it. but actually it have be non Null always. May be he can write what he did to reproduce this crush ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Yes, too bad that he cannot reproduce it with a well-known procedure. It just crashes with the same callstack from time to time.
Can you please explain shortly what is GetAccessibleRole() used for in XTP? Thank you, in advance! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
add in first line of CXTPPropertyGridItem::GetAccessibleRole
if (!pvarRole)
return E_INVALIDARG; and please send him to test.
Think you can send him Debug version to make better call stack.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |