<?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 : Deadlock in CXTPAccessible ctor</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Deadlock in CXTPAccessible ctor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:46:32 +0000</pubDate>
  <lastBuildDate>Fri, 26 Jun 2009 17:38:13 +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=14626</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[Deadlock in CXTPAccessible ctor : I usually do start debugging and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50371&amp;title=deadlock-in-cxtpaccessible-ctor#50371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14626<br /><strong>Posted:</strong> 26 June 2009 at 5:38pm<br /><br />I usually do start debugging and stop debugging that via the keyboard. This has just started fairly recently, probably in the last few weeks. The lockup can occur right away as we build our first ribbon or when I open our first document and we build the ribbon for that document (MDI app). Since the DLL is already loaded (according to the modules window), I am not sure what would cause the lockup. There is a way DLL loading can cause deadlock (usually during thread/process attach by referencing another DLL) but I don't believe that is what is going on. I know that one can also deadlock waiting on symbol files to load if one loads the MS symbols on demand and after performing the first load on demand a call to load a web page into an app occurs using the IE web browser control's LoadPage API. That only happens in debug and the explorer browser control and Visual Studio debugger both can end up waiting on a network related critical section (or some synchronization object). I contacted MS about that last year and the only resolution is to wait until after the page loads to manually load the user32.dll symbols. When I look at the threads, I do not see the same routine on the stack that indicates the process is waiting on the network CS so I rule that out too.]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 17:38:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50371&amp;title=deadlock-in-cxtpaccessible-ctor#50371</guid>
  </item> 
  <item>
   <title><![CDATA[Deadlock in CXTPAccessible ctor : Does this happen when you perform...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50357&amp;title=deadlock-in-cxtpaccessible-ctor#50357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14626<br /><strong>Posted:</strong> 26 June 2009 at 10:12am<br /><br /><P>Does this happen when you perform the typical "stop debugging, start debugging" operation? E.g. Shift+F5, F5.</P>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 10:12:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50357&amp;title=deadlock-in-cxtpaccessible-ctor#50357</guid>
  </item> 
  <item>
   <title><![CDATA[Deadlock in CXTPAccessible ctor :  When starting our app in debug...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50354&amp;title=deadlock-in-cxtpaccessible-ctor#50354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14626<br /><strong>Posted:</strong> 26 June 2009 at 9:18am<br /><br /><FONT size=2><DIV>When starting our app in debug mode we sometimes hang up while we are initializing the command ribbon. The call stack shows the main thread is suspended by a <a href="mailto:_ZwWiatForSingle&#079;bject@12" target="_blank">_ZwWiatForSingleObject@12</A>() call. The immediate cause of the hangup is the CXTPAccessible ctor making a call to Init user32.dll.</DIV><DIV>&nbsp;</DIV><DIV>CXTPAccessible::CXTPAccessible()</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp; m_modUser32.Init(_T(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"user32.dll"</FONT></FONT><FONT size=2>));</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>The modules window shows me user32.dll has been loaded (symbols are not loaded). I have no reports of this occurring in release builds. Has any one else seen this behavior? Restarting debug is our only way out of this.</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 09:18:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14626&amp;PID=50354&amp;title=deadlock-in-cxtpaccessible-ctor#50354</guid>
  </item> 
 </channel>
</rss>