Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Crash in CXTPFramePaintManager::CalcFrameCaption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash in CXTPFramePaintManager::CalcFrameCaption

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Crash in CXTPFramePaintManager::CalcFrameCaption
    Posted: 15 May 2023 at 10:24am
I got a crash from customer in CXTPFramePaintManager::CalcFrameCaption where pFrameHook->GetSite() return nullptr at start-up. Happened once so far and unfortunately additional information.  Has anyone else gotten the same crash? Ideas for potential causes except out of memory? (The crash is from a dmp file)


Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2023 at 11:08am
CJ is very inconsistent with null pointer checks and with nulling out "back pointers" after calling to release an object causing it to be deleted. I don't recall adding a check to this code but that looks like something you would want to do here in your source.
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 293
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2023 at 4:23am
Hello

Can you please provide more detailed information and steps to take,
screenshots or video can be useful as well. If it cannot be re-produced in any of our sample applications provided I would appreciate you sending a small code snippet or ideally a sample application so that we could debug it.

Regards,
Artem Gontarenko
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2023 at 8:41am
Unfortunately I don't have any more information than the crash dmp file provides. And today we had another customer sending a dmp file showing the same crash. Could a nullptr check be introduced there?
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.140 seconds.