<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Race condition crash in DockingPane Manager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Race condition crash in DockingPane Manager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 13:27:39 +0000</pubDate>
  <lastBuildDate>Thu, 11 Jan 2018 20:48:36 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23456</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Race condition crash in DockingPane Manager : Any updates or response for this?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76470&amp;title=race-condition-crash-in-dockingpane-manager#76470</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23456<br /><strong>Posted:</strong> 11 January 2018 at 8:48pm<br /><br />Any updates or response for this?&nbsp; We're getting several crashdumps reported per day about this.&nbsp; I'd rather not have to patch the toolkit myself.]]>
   </description>
   <pubDate>Thu, 11 Jan 2018 20:48:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76470&amp;title=race-condition-crash-in-dockingpane-manager#76470</guid>
  </item> 
  <item>
   <title><![CDATA[Race condition crash in DockingPane Manager : actually we are getting quite...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76422&amp;title=race-condition-crash-in-dockingpane-manager#76422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23456<br /><strong>Posted:</strong> 17 December 2017 at 6:48pm<br /><br />actually we are getting quite a few crash dumps from a number of customers with this problem.&nbsp; I don't know if it's always the same message or not.]]>
   </description>
   <pubDate>Sun, 17 Dec 2017 18:48:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76422&amp;title=race-condition-crash-in-dockingpane-manager#76422</guid>
  </item> 
  <item>
   <title><![CDATA[Race condition crash in DockingPane Manager : so it looks like the problem may...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76188&amp;title=race-condition-crash-in-dockingpane-manager#76188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23456<br /><strong>Posted:</strong> 03 October 2017 at 7:48pm<br /><br />so it looks like the problem may be where in&nbsp;<span style=": rgb248, 248, 252;">CXTPDockingPaneManager::RecalcFrameLayout it calls PeekMessage but doesn't expect there to be any message there except maybe WM_SIZE.</span><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">The message being processed in the call to RecalcFramesLayout is 0x0000001A (WM_WININICHANGE ????)</span></div><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">So maybe the user set screen magnification or something while they were setting this up.</span></div><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">I don't like the PeekMessage to remove a WM_SIZE then re-injecting it with PostMessage.&nbsp; PeekMessage dispatches all messages prior to a matching one.</span></div>]]>
   </description>
   <pubDate>Tue, 03 Oct 2017 19:48:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76188&amp;title=race-condition-crash-in-dockingpane-manager#76188</guid>
  </item> 
  <item>
   <title><![CDATA[Race condition crash in DockingPane Manager : HiI&amp;#039;m seeing a crash report...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76187&amp;title=race-condition-crash-in-dockingpane-manager#76187</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 23456<br /><strong>Posted:</strong> 03 October 2017 at 7:34pm<br /><br /><div>Hi</div><div><br></div><div>I'm seeing a crash report in codejock in some (rare) cases when trying to install docking panes.</div><div><br></div><div>It happens in RecalcFramesLayout where it calls GetPaneStack().&nbsp; GetPaneStack() references m_pLayout, which at this point is NULL (as the call to CreateLayout() inside&nbsp;&nbsp;InstallDockingPanes hasn't returned yet).</div><div><br></div><div>This is in the same call-stack as InstallDockingPanes, where it's assigning the result of CreateLayout() to m_pLayout, so the call to CreateLayout is going up to RecalcFramesLayout before it returned and assigned m_pLayout, then GetPaneStack&nbsp;doesn't check if m_pLayout is NULL before dereferencing it.</div><div><br></div><div>here's the call stack from our loaded minidump.&nbsp; Sorry, this forum doesn't seem to support code snippet markup :( (can insert movie but not code????)</div><div><br></div><div><br></div><div><div>&nbsp;<b><span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneManager::RecalcFramesLayout() Line 1362<span style="white-space:pre">	</span>C++</b></div><div><b>&nbsp;</b><span style="white-space:pre">	</span>mfc140u.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2300<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneManager::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 1598<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::WindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2078<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 265<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::SendMessageToDescendants(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam, int bDeep, int bOnlyPerm) Line 3004<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::SendMessageToDescendants(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam, int bDeep, int bOnlyPerm) Line 2992<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::SendMessageToDescendants(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam, int bDeep, int bOnlyPerm) Line 2992<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::OnDisplayChange(unsigned int nImageDepth, int cxScreen, int cyScreen) Line 3630<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2300<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPCommandBarsSiteBase&lt;CFrameWnd&gt;::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 202<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::WindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2078<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 265<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 417<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxWndProcBase(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 299<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!UserCallWinProcCheckWow()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!CallWindowProcW()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPHookManager::HookWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 433<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!UserCallWinProcCheckWow()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!DispatchClientMessage()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!__fnINSTRINGNULL()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>ntdll.dll!KiUserCallbackDispatcherContinue()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>win32u.dll!NtUserPeekMessage()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!PeekMessageW()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneManager::RecalcFrameLayout(CXTPDockingPaneBase * pPane, int bDelay) Line 1494<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneSplitterContainer::_InsertPane(CXTPDockingPaneBase * pPane, CXTPDockingPaneBase * pNeighbour, int bAfter) Line 476<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneSplitterContainer::Init(CXTPDockingPaneBase * pPane, int bHoriz, CWnd * pFrame) Line 386<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneLayout::CXTPDockingPaneLayout(CXTPDockingPaneManager * pManager) Line 72<span style="white-space:pre">	</span>C++</div><div><b>&nbsp;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneManager::CreateLayout() Line 1181<span style="white-space:pre">	</span>C++</b></div><div>&gt;<span style="white-space:pre">	</span>ToolkitPro1801vc140x64U.dll!CXTPDockingPaneManager::InstallDockingPanes(CWnd * pSite, bool bClipChildren) Line 883<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>Standard.dll!NavContainer::OnCreate(tagCREATESTRUCTW * lpCreateStruct) Line 545<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2271<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::WindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2078<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 265<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 417<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxWndProcBase(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 299<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!UserCallWinProcCheckWow()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!DispatchClientMessage()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!__fnINLPCREATESTRUCT()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>ntdll.dll!KiUserCallbackDispatcherContinue()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>win32u.dll!NtUserCreateWindowEx()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!VerNtUserCreateWindowEx()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!CreateWindowInternal()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>user32.dll!CreateWindowExW()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!IsolationAwareCreateWindowExW(unsigned long dwExStyle, const wchar_t * lpClassName, const wchar_t * lpWindowName, unsigned long dwStyle, int X, int Y, int nWidth, int nHeight, HWND__ * hWndParent, HMENU__ * hMenu, HINSTANCE__ * hInstance, void * lpParam) Line 454<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::CreateEx(unsigned long dwExStyle, const wchar_t * lpszClassName, const wchar_t * lpszWindowName, unsigned long dwStyle, int x, int y, int nWidth, int nHeight, HWND__ * hWndParent, HMENU__ * nIDorHMenu, void * lpParam) Line 724<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWnd::Create(const wchar_t * lpszClassName, const wchar_t * lpszWindowName, unsigned long dwStyle, const tagRECT &amp; rect, CWnd * pParentWnd, unsigned int nID, CCreateContext * pContext) Line 790<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>Standard.dll!SPI::GUICreateInterface(HWND__ * hParent) Line 22<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>GateKeeper.exe!CGateKeeperApp::CreateInterface() Line 1165<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>GateKeeper.exe!CGateKeeperApp::OnUpdate(unsigned __int64 wParam, __int64 lParam) Line 1008<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWinThread::DispatchThreadMessageEx(tagMSG * pMsg) Line 771<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxInternalPreTranslateMessage(tagMSG * pMsg) Line 227<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxInternalPumpMessage() Line 178<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!CWinThread::Run() Line 629<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>mfc140u.dll!AfxWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpCmdLine, int nCmdShow) Line 47<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>GateKeeper.exe!__scrt_common_main_seh() Line 253<span style="white-space:pre">	</span>C++</div><div>&nbsp;<span style="white-space:pre">	</span>kernel32.dll!BaseThreadInitThunk()<span style="white-space:pre">	</span>Unknown</div><div>&nbsp;<span style="white-space:pre">	</span>ntdll.dll!RtlUserThreadStart()<span style="white-space:pre">	</span>Unknown</div></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 03 Oct 2017 19:34:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23456&amp;PID=76187&amp;title=race-condition-crash-in-dockingpane-manager#76187</guid>
  </item> 
 </channel>
</rss>