<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx</link><description>Look at the threads.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10395100</link><pubDate>Tue, 19 Feb 2013 05:21:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10395100</guid><dc:creator>Gabe</dc:creator><description>&lt;p&gt;I had assumed that WER was going to silently create a small crash dump and then at some later point send it to MS, whereupon MS might say &amp;quot;next time you hit this crash, capture additional information X&amp;quot;.&lt;/p&gt;
&lt;p&gt;Regardless, it sounds like you&amp;#39;re saying WER put up UI to ask if the user wants to give permission. Did the user who reported the issue not notice the UI, or did they ignore it because they didn&amp;#39;t realize it had to do with their issue?&lt;/p&gt;
&lt;div class="post"&gt;[&lt;em&gt;(It could have been done the way you suggested, but that means everybody has to hit the crash &lt;span style="text-decoration:underline;"&gt;twice&lt;/span&gt; before the information can be collected. And if the problem is sporadic, it may never get collected since it would require lightning to strike twice.) This happened in a lab, so there is nobody to look at the screen. The testing system reported &amp;quot;test X is unresponsive&amp;quot; and the developers connected to the machine and found this. -Raymond&lt;/em&gt;]&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10395100" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10395089</link><pubDate>Tue, 19 Feb 2013 04:41:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10395089</guid><dc:creator>alegr1</dc:creator><description>&lt;p&gt;Microsoft is just an umbrella corporation for Contoso. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10395089" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394925</link><pubDate>Mon, 18 Feb 2013 17:06:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394925</guid><dc:creator>Joshua</dc:creator><description>&lt;p&gt;Wow. Raymond got it ErikF didn&amp;#39;t. My general idea is whatever handles that are being used for the LPC would be closed anyway when WER terminates the process so it could potentially close them now. I overlooked LPC by Windows messaging as opposed to kernel32 handles.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394925" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394860</link><pubDate>Mon, 18 Feb 2013 14:03:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394860</guid><dc:creator>ErikF</dc:creator><description>&lt;p&gt;@Joshua: Yanking a program&amp;#39;s infrastructure out from under it is simply delaying when the program is going to crash and burn. See &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/oldnewthing/archive/2005/09/12/463977.aspx"&gt;blogs.msdn.com/.../463977.aspx&lt;/a&gt; for possible things that can happen when a program is presented with WAIT_ABANDONED; the answer to &amp;quot;What can I do with invalid handles?&amp;quot; is &amp;quot;Not much.&amp;quot;&lt;/p&gt;
&lt;p&gt;Terminating a hung process is probably better all around because you don&amp;#39;t leave programs in unstable states where they think that everything&amp;#39;s OK but in reality nothing is!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394860" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394719</link><pubDate>Mon, 18 Feb 2013 03:53:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394719</guid><dc:creator>Joshua</dc:creator><description>&lt;p&gt;[The only way to &amp;quot;unhang&amp;quot; the process is to terminate it, at which point it&amp;#39;s too late to generate the crash report. WER can&amp;#39;t generate the report until the user gives permission, because generating the report includes transmitting information to Microsoft to ask, &amp;quot;Hey, I hit this failure, do you want me to capture any data beyond the default crash dump?&amp;quot; -Raymond]&lt;/p&gt;
&lt;p&gt;Close all open handles. Anybody waiting for it gets WAIT_ABANDONED_*. Since they&amp;#39;re external to the calling process, WAIT_ABANDONED_* should already be handled. I can&amp;#39;t believe I had to write that.&lt;/p&gt;
&lt;div class="post"&gt;[&lt;em&gt;Um, WAIT_ABANDONED is not a valid status code when waiting for a process handle. And you didn&amp;#39;t clean up other externally-visible state, like window handles, or remove the process from the Process List (because some apps do FindProcessByName). And then you have the impossible situation of a process that still exists but is not present in the process list. -Raymond&lt;/em&gt;]&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394719" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394434</link><pubDate>Sat, 16 Feb 2013 12:44:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394434</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Debugging a rocket: &lt;a rel="nofollow" target="_new" href="http://ti.arc.nasa.gov/m/pub-archive/176h/0176%20(Havelund).pdf"&gt;ti.arc.nasa.gov/.../0176%20(Havelund).pdf&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394434" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394215</link><pubDate>Sat, 16 Feb 2013 06:12:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394215</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;@kog: &amp;quot;if you mess up the rocket surgery the rocket could exploade costing millions of dollars and lives. If you messe up debugging you have to emm, try again.&amp;quot;&lt;/p&gt;
&lt;p&gt;Unless you&amp;#39;re debugging a rocket.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394215" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394205</link><pubDate>Sat, 16 Feb 2013 05:19:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394205</guid><dc:creator>Gabe</dc:creator><description>&lt;p&gt;It seems to me like this hang should be temporary. Shouldn&amp;#39;t WEP generate the report and then &amp;quot;unhang&amp;quot;, somehow releasing the request made by the Y component, while simultaneously producing a report of the cause of the crash?&lt;/p&gt;
&lt;p&gt;Maybe the next question is &amp;quot;Why did WEP hang?&amp;quot;&lt;/p&gt;
&lt;div class="post"&gt;[&lt;em&gt;The only way to &amp;quot;unhang&amp;quot; the process is to terminate it, at which point it&amp;#39;s too late to generate the crash report. WER can&amp;#39;t generate the report until the user gives permission, because generating the report includes transmitting information to Microsoft to ask, &amp;quot;Hey, I hit this failure, do you want me to capture any data beyond the default crash dump?&amp;quot; -Raymond&lt;/em&gt;]&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394205" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394161</link><pubDate>Sat, 16 Feb 2013 00:22:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394161</guid><dc:creator>Maurits [MSFT]</dc:creator><description>&lt;p&gt;The big problem with rocket surgery is the malpractice insurance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394161" width="1" height="1"&gt;</description></item><item><title>re: Debug session: Why is an LPC server not responding?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2013/02/15/10393837.aspx#10394076</link><pubDate>Fri, 15 Feb 2013 17:59:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10394076</guid><dc:creator>kog999</dc:creator><description>&lt;p&gt;&amp;quot;Fortunately, this is debugging and not rocket surgery&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Does one require less knowledge and skill than the other?&amp;quot;&lt;/p&gt;
&lt;p&gt;not really about skill but if you mess up the rocket surgery the rocket could exploade costing millions of dollars and lives. If you messe up debugging you have to emm, try again.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10394076" width="1" height="1"&gt;</description></item></channel></rss>