<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Weird crashes</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Weird crashes</description>
  <pubDate>Wed, 13 May 2026 21:24:56 -700</pubDate>
  <lastBuildDate>Thu, 08 Sep 2011 12:15:05 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2940</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Weird crashes : You&amp;#039;re right it was a hit...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11646#11646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 08-Sep-2011 at 12:15pm<br /><br /><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">You're right it was a hit and miss to get it to fail. In addition, if I recycled the app pool by using the Recycle button in the IIS Manager, or if I use BrowserHttp (Default button checked), then switch to using ClientHttp (WebClient button checked), it'll make it even harder to get the exception, sometimes to the point of never.<div><br></div><div>I discussed this with a senior engineer and we think that it's a multi-threading issue with the dynamic type resolution. We will open a bug report for this.</div><div><br></div><div>Thanks for the test app again.</div></div></span>]]>
   </description>
   <pubDate>Thu, 08 Sep 2011 12:15:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11646#11646</guid>
  </item> 
  <item>
   <title>Weird crashes : Thanks for the repro sample jblosser....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11644#11644</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 08-Sep-2011 at 11:05am<br /><br />Thanks for the repro sample jblosser. Please give me some time to analyze it and I'll get back to you as soon as possible.]]>
   </description>
   <pubDate>Thu, 08 Sep 2011 11:05:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11644#11644</guid>
  </item> 
  <item>
   <title>Weird crashes : I&amp;#039;ve uploaded a test app...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11637#11637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1253" rel="nofollow">jblosser</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 07-Sep-2011 at 9:42am<br /><br /><span ="Apple-style-span" style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">I've uploaded a test app that can duplicate the problem here:<div><br></div><div><a href="https://skydrive.live.com/?cid=21b926b84c38c250&amp;sc=&#100;ocuments&amp;uc=1&amp;id=21B926B84C38C250%21362#" target="_blank">https://skydrive.live.com/?cid=21b926b84c38c250&amp;sc=documents&amp;uc=1&amp;id=21B926B84C38C250%21362#</a><br></div><div><br></div><div>Steps to repro:</div><div>Run the app</div><div>Set the # of requests to 15 or so</div><div>Hit start (it'll do a bunch of parallel queries)</div><div>Edit the web.config &nbsp;(this should recycle the app pool)</div><div>Hit start again (should fail)</div><div><br></div><div>Reload the silverlight web page</div><div>Hit start (should still fail)</div><div><br></div><div>It can sometimes be hit-or-miss for me with this project -- so you might have to try it a few times for it to start bombing.</div></div></span>]]>
   </description>
   <pubDate>Wed, 07 Sep 2011 09:42:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11637#11637</guid>
  </item> 
  <item>
   <title>Weird crashes : jblosser;Our first suspicion was...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11622#11622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 02-Sep-2011 at 2:39pm<br /><br />jblosser;<div><br></div><div>Our first suspicion was wrong. We're unable to get any exception in our testing.</div><div><br></div><div>Could you post some code snippets of your workaround? Perhaps, something like before and after the workaround?</div><div><br></div><div>Could you also post your debug log and the DevForce version that you're using?</div><div><br></div><div>Thanks!</div>]]>
   </description>
   <pubDate>Fri, 02 Sep 2011 14:39:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11622#11622</guid>
  </item> 
  <item>
   <title>Weird crashes : If it helps you any, I worked...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11620#11620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1253" rel="nofollow">jblosser</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 02-Sep-2011 at 9:33am<br /><br />If it helps you any, I worked around this issue by making the Group By anonymous projection "unique" per query by giving the Group By columns an Alias with a random name (that I ended up remapping to the correct column name on the results).<div><br></div><div>So I suspect it is something to do with re-using an invalid cached Anonymous class that appears to have the same signature (but apparently doesn't for whatever reason).</div>]]>
   </description>
   <pubDate>Fri, 02 Sep 2011 09:33:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11620#11620</guid>
  </item> 
  <item>
   <title>Weird crashes : Hi jblosser;We think that it has...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11616#11616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 01-Sep-2011 at 3:30pm<br /><br />Hi jblosser;<div><br></div><div>We think that it has something to do with anonymous types and dynamic LINQ queries. We're going to do some testing here to confirm this and give you an update as soon as possible.</div>]]>
   </description>
   <pubDate>Thu, 01 Sep 2011 15:30:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11616#11616</guid>
  </item> 
  <item>
   <title>Weird crashes : Sorry for rambling a bit, I&amp;#039;m...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11608#11608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1253" rel="nofollow">jblosser</a><br /><strong>Subject:</strong> 2940<br /><strong>Posted:</strong> 31-Aug-2011 at 10:48am<br /><br /><div>Sorry for rambling a bit, I'm trying to figure out how to put my issue into words...</div><div><br></div>I'm trying to improve performance of my application a bit and have run into something really strange, perhaps someone else can help give me some insight.<div><br></div><div>I have a Silverlight app that I'm doing some dynamic queries with (so dynamic where clauses, group by, aggregate selects)</div><div><br></div><div>So I might have as an example:</div><div><br></div><div>var query = &lt;some EntityQuery&gt;.GroupBy(x =&gt; new { x.Foo, x.Bar }).Select(x =&gt; new { Key = x.Key, Agg = x.Sum(y =&gt; y.Baz));</div><div><br></div><div>But since it is all dynamic, I'm doing it with the&nbsp;<span ="Apple-style-span" style="color: rgb43, 145, 175; font-family: C&#111;nsolas; font-size: 13px; line-height: 18px; white-space: pre; ">AnonymousProjectionSelector.</span></div><div><font ="Apple-style-span" color="#2b91af" face="C&#111;nsolas" size="2"><span ="Apple-style-span" style="line-height: 18px; white-space: pre;"><br></span></font></div><div>Everything works fine and peachy most of the time... but here is the weird part.</div><div><br></div><div>If I turn off WCF SessionState (or using client HTTP stack) which allows Silverlight to run multiple queries in parallel (see here&nbsp;<a href="http://weblogs.asp.net/olakarlss&#111;n/archive/2010/05/20/simultaneously-calling-multiple-methods-&#111;n-a-wcf-service-from-silverlight.aspx" target="_blank">http://weblogs.asp.net/olakarlsson/archive/2010/05/20/simultaneously-calling-multiple-methods-on-a-wcf-service-from-silverlight.aspx</a>)&nbsp;everything still works fine</div><div><br></div><div><i><b>Until</b> I recycle the app pool.</i></div><div><br></div><div>Then I start getting this exception:</div><div>Caught exception: System.ArgumentException: Property '_IB_DLP_pW9cXja0eElRI&#091;System.String&#093; Key' is not defined for type '_IB_D78dbXbXUGgLyuM2&#091;_IB_DLP_pW9cXja0eElRI&#091;System.String&#093;,System.Nullable`1&#091;System.Decimal&#093;&#093;' at IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor.HandleException(Exception e, PersistenceFailure failureType) at IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor.OnExecuteQuery() at IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor.Execute(IEntityQuery entityQuery, SessionBundle sessionBundle, IEntityServer entityServer) at IdeaBlade.EntityModel.Server.EntityServer.Fetch(SessionBundle sessionBundle, IEntityQuerySurrogate surrogate) at SyncInvokeFetch(Object , Object&#091;&#093; , Object&#091;&#093; ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object&#091;&#093; inputs, Object&#091;&#093;&amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</div><div><br></div><div><br></div><div>Any thoughts on what could possibly cause this? It seems like a strange set of circumstances, but I can't figure out why it is happening only in that one (common) scenario...</div>]]>
   </description>
   <pubDate>Wed, 31 Aug 2011 10:48:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2940&amp;PID=11608#11608</guid>
  </item> 
 </channel>
</rss>